/* ==========================================================================
   FOOTER STYLES (css/footer.css)
   VERSI FIXED - SINKRON PENUH DENGAN NAVBAR 1400px + 20px padding
   ========================================================================== */

   .footer-main {
    background-color: var(--dark-purple);
    color: var(--white);
    padding: 60px 0 0;
    border-top: 4px solid var(--primary-pink);
    width: 100%;
}

.footer-inner {
    /* SYNC DENGAN NAVBAR - max-width 1400px + padding 20px */
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px; /* SAMA PERSIS DENGAN NAVBAR */
    box-sizing: border-box;
    
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 60px;
    align-items: start;
}

/* === BRAND COLUMN === */
.footer-brand {
    max-width: 400px;
}

.footer-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 18px;
    transition: 0.3s;
}

.footer-logo:hover {
    color: var(--primary-pink);
}

.footer-logo span { 
    color: var(--primary-pink); 
}

.footer-desc { 
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem; 
    line-height: 1.7; 
    margin-bottom: 25px;
}

.footer-contact { 
    display: inline-flex;
    align-items: center; 
    gap: 10px; 
    font-size: 0.9rem; 
    font-weight: 500;
    padding: 12px 0;
}

.footer-contact i { 
    color: var(--primary-pink);
    font-size: 1.1rem;
}

.footer-contact a { 
    color: var(--white); 
    text-decoration: none; 
    transition: 0.3s;
}

.footer-contact a:hover { 
    color: var(--primary-pink); 
}

/* === MENU COLUMNS === */
.footer-col {
    /* Biarkan lebar menyesuaikan konten */
}

.footer-heading {
    color: var(--white);
    font-size: 0.95rem;
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 22px;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

/* Garis bawah heading */
.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-pink);
}

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

.footer-list li { 
    margin-bottom: 10px; 
}

.footer-list a { 
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none; 
    font-size: 0.9rem; 
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-list a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-pink);
    transition: width 0.3s ease;
}

.footer-list a:hover { 
    color: var(--white);
}

.footer-list a:hover::before {
    width: 100%;
}

/* === SOCIAL COLUMN === */
.footer-social-vertical { 
    display: flex; 
    flex-direction: column; 
    gap: 14px; 
}

.social-v-item { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none; 
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.social-v-item i { 
    color: var(--primary-pink); 
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.social-v-item:hover { 
    color: var(--white);
}

.social-v-item:hover i {
    transform: scale(1.15);
}

/* === BOTTOM BAR === */
.footer-bottom {
    margin-top: 50px;
    background: rgba(0, 0, 0, 0.3);
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-inner {
    /* SYNC DENGAN NAVBAR - SAMA PERSIS */
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px; /* SAMA PERSIS DENGAN NAVBAR */
    box-sizing: border-box;
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom strong { 
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.footer-legal-nav { 
    display: flex; 
    gap: 25px; 
}

.footer-legal-nav span { 
    cursor: pointer; 
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease; 
    position: relative;
}

.footer-legal-nav span::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-pink);
    transition: width 0.3s ease;
}

.footer-legal-nav span:hover { 
    color: var(--primary-pink); 
}

.footer-legal-nav span:hover::after {
    width: 100%;
}

/* ==========================================================================
   LEGAL MODAL
   ========================================================================== */
.legal-modal {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(11, 20, 55, 0.92); 
    backdrop-filter: blur(12px);
    display: none; 
    align-items: center; 
    justify-content: center; 
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.legal-modal.active { 
    display: flex; 
}

.modal-box-pro {
    background: #fff; 
    width: 90%; 
    max-width: 750px; 
    border-radius: 16px;
    padding: 45px; 
    position: relative; 
    color: var(--text-dark);
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(30px); 
    }
    to { 
        opacity: 1;
        transform: translateY(0); 
    }
}

.modal-pro-header { 
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 18px; 
    margin-bottom: 25px; 
}

.modal-pro-header h2 { 
    font-family: 'Space Grotesk'; 
    color: var(--dark-purple); 
    margin: 0 0 8px 0;
    font-size: 1.8rem;
}

.modal-pro-header p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.modal-pro-body h3 { 
    color: var(--secondary-purple); 
    font-size: 1.1rem; 
    margin-top: 25px;
    margin-bottom: 10px;
    font-weight: 700;
}

.modal-pro-body p { 
    color: var(--text-muted); 
    font-size: 0.95rem; 
    line-height: 1.7;
    margin-bottom: 15px;
}

.modal-close-x { 
    position: absolute; 
    top: 25px; 
    right: 30px; 
    font-size: 2rem;
    cursor: pointer; 
    color: #bbb; 
    transition: all 0.3s ease;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close-x:hover {
    color: var(--primary-pink);
    background: rgba(255, 20, 147, 0.1);
    transform: rotate(90deg);
}

/* ==========================================================================
   RESPONSIVE - SYNC DENGAN NAVBAR
   ========================================================================== */
@media (max-width: 992px) {
    .footer-inner { 
        grid-template-columns: 1fr 1fr; 
        gap: 45px;
        padding: 0 20px; /* TETAP KONSISTEN dengan navbar mobile */
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-bottom-inner {
        padding: 0 20px; /* TETAP KONSISTEN dengan navbar mobile */
    }
}

@media (max-width: 768px) {
    .footer-inner {
        gap: 35px;
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .footer-legal-nav {
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .footer-main {
        padding: 40px 0 0;
    }
    
    .footer-inner { 
        grid-template-columns: 1fr; 
        text-align: center; 
        gap: 35px;
        padding: 0 20px; /* TETAP KONSISTEN */
    }
    
    .footer-brand {
        margin: 0 auto;
    }
    
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact, 
    .social-v-item { 
        justify-content: center; 
    }
    
    .footer-bottom-inner {
        padding: 0 20px; /* TETAP KONSISTEN */
    }
    
    .footer-legal-nav {
        flex-direction: column;
        gap: 12px;
    }
    
    .modal-box-pro {
        padding: 35px 25px;
    }
}