/* ---------- GLOBALNE POSTAVKE ---------- */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;

    /* Pozadinska slika cijele stranice */
    background: url("../img/pozadina.jpg") no-repeat center center fixed;
    background-size: cover;
    background-color: rgba(0,0,0,0.3);
    background-blend-mode: darken;
    color: #222;
}

/* ---------- HEADER ---------- */
header {
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 25px;
    text-align: center;
}

header h1 {
    /* Gradient efekt na tekstu */
    background: linear-gradient(90deg, #4a90e2, #6fb3f2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.2rem;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

/* ---------- GLAVNI CONTAINER ---------- */
.container {
    width: 90%;
    max-width: 960px;
    margin: 30px auto;
    background: rgba(255, 255, 255, 0.9);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1s ease;
}

/* Glass effect */
.container.glass {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* ---------- NASLOVI ---------- */
h2 {
    border-bottom: 3px solid #4a90e2;
    padding-bottom: 8px;
    margin-top: 20px;
    color: #333;
}

/* ---------- SLIKA SEKCIJE ---------- */
.section-image {
    text-align: center;
    margin-bottom: 15px;
}

.section-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ---------- CJENIK ---------- */
.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.price-table th,
.price-table td {
    border: 1px solid #ccc;
    padding: 8px;
}

.price-table th {
    background: linear-gradient(90deg, #4a90e2, #6fb3f2);
    color: white;
    font-weight: bold;
}

.price-table tr:hover {
    background-color: rgba(74,144,226,0.1);
}

/* ---------- PDF KARICE ---------- */
.pdf-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.pdf-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
    text-align: center;
    padding: 15px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    cursor: pointer;
}

.pdf-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
    background-color: rgba(74,144,226,0.05);
}

.pdf-card i {
    font-size: 40px;
    color: #d9534f;
    margin-bottom: 10px;
    transition: transform 0.2s ease;
}

.pdf-card:hover i {
    transform: scale(1.2);
}

.pdf-card a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    display: block;
    margin-top: 8px;
}

.pdf-card a:hover {
    color: #4a90e2;
    text-decoration: underline;
}

/* ---------- FOOTER ---------- */
footer {
    text-align: center;
    padding: 15px;
    margin-top: 30px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 0.9rem;
}

/* ---------- RESPONSIVNOST ---------- */
@media (max-width: 500px) {
    .container {
        padding: 15px;
        margin: 15px auto;
    }

    .pdf-cards {
        grid-template-columns: 1fr;
    }
}

/* ---------- ANIMACIJA ---------- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
