/* Kudumija Footer Styles — Figma baseline 1440px, vw skaliranje */

/* ===== OUTER WRAPPER ===== */
#kudumija-footer {
    background: #fff;
    color: #fff;
    padding: 2.222vw 0 2.222vw 0; /* 32px gore/dolje @ 1440px */
}

/* ===== FOOTER KARTICA ===== */
/* Figma: width 1396px, height 442px, left 22px, border-radius 8px */
/* background: gradient + slika */
.footer-bg {
    width: 96.944vw;           /* 1396px @ 1440px */
    min-height: 30.694vw;      /* 442px @ 1440px */
    margin-left: 1.528vw;      /* 22px @ 1440px */
    border-radius: 8px;
    background-color: #182532; /* fallback bez slike */
    background-size: cover;
    background-position: center right;
    padding: 4.167vw 0;        /* 60px gore/dolje @ 1440px */
    overflow: hidden;
}

/* ===== LOGO ===== */
.footer-logo {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--red);
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: block;
}

/* ===== KONTAKT ===== */
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.88rem;
    color: #a0b0bf;
    line-height: 1.5;
    text-decoration: none;
}

a.footer-contact-item:hover {
    color: #fff;
}

.footer-contact-item i {
    color: var(--red);
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ===== NAVIGACIJA ===== */
.footer-heading {
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li { margin-bottom: 12px; }

.footer-links a {
    color: #a0b0bf;
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--red); }

/* ===== SOCIAL ===== */
.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-decoration: none;
    margin-right: 10px;
    transition: background-color 0.2s, transform 0.2s;
}

.social-icon:hover {
    background-color: #b33231;
    color: #fff;
    transform: scale(1.1);
}

/* ===== DIVIDER + COPYRIGHT + CERTS ===== */
.footer-divider {
    border-color: rgba(255,255,255,0.1);
    margin: 40px 0 24px 0;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright {
    font-size: 0.82rem;
    color: #6b7f8e;
    margin: 0;
}

.footer-certs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.footer-cert-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    background: #fff;
    border-radius: 4px;
    padding: 4px 8px;
}

@media (max-width: 767px) {
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ===== TABLET ( < 1300px ) ===== */
@media (max-width: 1300px) {
    .footer-bg {
        width: 90vw;
        margin-left: 5vw;
        min-height: auto;
        padding: 40px 0;
    }
}

/* ===== MOBITEL ( < 768px ) ===== */
@media (max-width: 767px) {
    #kudumija-footer {
        padding: 16px 0;
    }

    .footer-bg {
        width: calc(100% - 40px);
        margin-left: 20px;
        border-radius: 8px;
        padding: 32px 0;
        background-position: center;
    }
}
