/* =========================================
   FOOTER (boxoffice-footer)
   Matches partials/footer.php classes
   ========================================= */

/* Footer Wrapper */
.boxoffice-footer {
    background: #0f1611;
    padding: 100px 0 40px;
}

.footer-top {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 60px;
    margin-bottom: 40px;
}

.footer-logo-img {
    height: 40px;
    margin-bottom: 20px;
}

.footer-slogan {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 15px;
}

.footer-desc {
    color: var(--text-muted, #888888);
    font-size: 1rem;
    max-width: 400px;
}

.newsletter-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    gap: 15px;
}

.newsletter-form input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 50px;
    color: #fff;
    font-size: 1rem;
    
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-lime, #95B300);
}

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

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-light, #fff);
    font-weight: 600;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-lime, #95B300);
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--accent-lime, #95B300);
    color: var(--bg-dark, #16211A);
}

.footer-copy {
    color: var(--text-muted, #888888);
    font-size: 0.9rem;
    text-align: right;
}

.footer-copy a {
    transition: color 0.3s;
}

.footer-copy a:hover {
    color: var(--text-light, #fff);
}

/* grid-2 helper (dipakai .footer-top) */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 992px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
    }

    .footer-slogan {
        font-size: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }

    .boxoffice-footer {
        padding: 60px 0 30px;
    }
}

/* =========================================
   LEGACY SF-FOOTER (kept for compatibility)
   ========================================= */
:root {
    --footer-bg: linear-gradient(180deg, #020617, #000);
    --text-main: #ffffff;
    --border-color: rgba(255, 255, 255, 0.08);
    --container-max: 1200px;
}

/* =========================================
   FOOTER WRAPPER
   ========================================= */
.sf-footer {
    background: var(--footer-bg);
    padding: clamp(60px, 8vw, 100px) 0 0;
    color: var(--text-main);
    
}

/* =========================================
   MAIN CONTAINER — 4 kolom desktop
   ========================================= */
.sf-footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.6fr 0.7fr 0.9fr 1.1fr;
    gap: 48px;
    align-items: start;
}

/* =========================================
   BRAND
   ========================================= */
.sf-footer-brand {
    display: flex;
    flex-direction: column;
}

.sf-footer-logo-img {
    width: clamp(110px, 12vw, 145px);
    margin-bottom: 20px;
}

.sf-footer-quote {
    
    font-size: clamp(1.1rem, 2vw, 1.45rem);
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 12px;
    color: #f1f5f9;
}

.sf-footer-desc {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 340px;
    margin-bottom: 22px;
}

/* ── Social buttons ── */
.sf-footer-socials {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sf-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-link);
    font-size: 0.8rem;
    text-decoration: none;
    width: fit-content;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.sf-social-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.4);
    color: #d4af37;
}

.sf-social-btn svg {
    flex-shrink: 0;
}

/* =========================================
   NAV
   ========================================= */
.sf-footer-nav-label {
    font-size: 0.63rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #d4af37;
    font-weight: 700;
    margin-bottom: 18px;
}

.sf-nav-links {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.sf-nav-links a {
    font-size: 0.87rem;
    color: var(--text-link);
    text-decoration: none;
    position: relative;
    width: fit-content;
    transition: color 0.25s;
}

.sf-nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 1px;
    background: #d4af37;
    transition: width 0.25s ease;
}

.sf-nav-links a:hover {
    color: #d4af37;
}

.sf-nav-links a:hover::after {
    width: 100%;
}

/* =========================================
   MAP
   ========================================= */
.sf-footer-map {
    display: flex;
    flex-direction: column;
}

.sf-map-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 65%;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    margin-bottom: 12px;
}

.sf-map-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    filter: grayscale(30%) brightness(0.85) contrast(1.05);
    transition: filter 0.3s;
}

.sf-map-wrapper:hover iframe {
    filter: grayscale(0%) brightness(1) contrast(1);
}

.sf-map-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: #94a3b8;
    text-decoration: none;
    width: fit-content;
    transition: color 0.2s;
}

.sf-map-link:hover {
    color: #d4af37;
}

/* =========================================
   FOOTER BOTTOM
   ========================================= */
.sf-footer-bottom {
    margin-top: clamp(52px, 7vw, 80px);
    padding: 22px 24px;
    border-top: 1px solid var(--border-color);
}

.sf-bottom-content {
    max-width: var(--container-max);
    margin: 0 auto;
    text-align: center;
    font-size: 0.76rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* =========================================
   TABLET  ≤ 1024px  — 2+2 grid
   ========================================= */
@media (max-width: 1024px) {
    .sf-footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    /* Brand full width baris pertama */
    .sf-footer-brand {
        grid-column: 1 / -1;
    }

    /* Map full width baris terakhir */
    .sf-footer-map {
        grid-column: 1 / -1;
    }

    .sf-map-wrapper {
        padding-bottom: 38%;
    }
}

/* =========================================
   MOBILE  ≤ 640px  — 1 kolom
   ========================================= */
@media (max-width: 640px) {
    .sf-footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .sf-footer-brand {
        grid-column: auto;
        align-items: center;
    }

    .sf-footer-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .sf-footer-socials {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .sf-footer-map {
        grid-column: auto;
        align-items: center;
    }

    .sf-footer-nav-label {
        text-align: center;
    }

    .sf-nav-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .sf-nav-links a {
        padding: 8px 16px;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 0.8rem;
    }

    .sf-nav-links a::after {
        display: none;
    }

    .sf-nav-links a:active {
        background: rgba(255, 255, 255, 0.12);
        transform: scale(0.96);
    }

    .sf-map-wrapper {
        padding-bottom: 65%;
    }

    .sf-map-link {
        margin: 0 auto;
    }
}
