.site-footer {
    position: relative;
    background-color: var(--crna, #0b0b0b);
    background-image: url('../slike/footer-pozadina.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--bela, #ffffff);
    padding: 64px 0 36px;
    border-top: none;
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 0;
}

.footer-container {
    position: relative;
    z-index: 1;
    width: 80%;
    max-width: 1240px;
    margin: 0 auto;
}

/* Logo gore na sredini */
.footer-logo-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 44px;
}

.footer-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.25s ease;
}

.footer-logo-link:hover {
    transform: scale(1.04);
}

.footer-logo-img {
    height: 84px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.85));
}

/* Tri kolone */
.footer-kolone {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    text-align: center;
    margin-bottom: 48px;
}

.footer-naslov {
    font-family: var(--font-naslovi);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.6px;
    color: var(--zuta);
    margin-bottom: 12px;
}

.footer-tekst {
    font-family: var(--font-tekst);
    font-size: 14px;
    font-weight: 300;
    line-height: 1.65;
    color: var(--bela);
    max-width: 340px;
    margin: 0 auto;
}

/* Horizontalna linija + navigacija u sredini */
.footer-nav-red {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    padding: 20px 0;
    margin-bottom: 26px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 28px;
}

.footer-nav-link {
    font-family: var(--font-tekst);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    color: var(--bela);
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-nav-link:hover {
    color: var(--zuta);
    transform: translateY(-1px);
}

/* Donji red: levo tekst, desno ikonice */
.footer-donji-red {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-kopirajt {
    font-family: var(--font-tekst);
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
}

.footer-mreze {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-mreza-link {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background-color: rgba(0, 0, 0, 0.45);
    color: var(--bela);
    font-size: 18px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.footer-mreza-link:hover {
    background-color: var(--zuta);
    border-color: var(--zuta);
    color: var(--crna);
    transform: translateY(-2px);
}

/* RESPONZIVNOST */
@media (max-width: 900px) {
    .footer-container {
        width: 90%;
    }

    .footer-kolone {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-nav {
        gap: 18px 22px;
    }
}

@media (max-width: 600px) {
    .site-footer {
        padding: 50px 0 28px;
    }

    .footer-logo-img {
        height: 70px;
    }

    .footer-donji-red {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
}