/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   VARIABLES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
:root {
    --bg-main: #070B14;
    --bg-surface: #0D1527;
    --bg-glass: rgba(255, 255, 255, 0.03);
    --border-glass: rgba(255, 255, 255, 0.08);
    --primary-cyan: #00F0FF;
    --primary-blue: #2563EB;
    --accent-glow: rgba(0, 240, 255, 0.2);
    --text-white: #FFFFFF;
    --text-soft: #94A3B8;
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   BASE STYLES & GLOBAL FIXES (GAP FIX INCLUDED)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/* FIX WARNA PINK: Mematikan highlight klik bawaan browser di HP secara global */
* {
    -webkit-tap-highlight-color: transparent !important;
}

/* FIX CELAH PUTIH: Paksa background body menjadi gelap dan buang margin default */
html, 
body, 
.site, 
#page, 
.site-content {
    background-color: var(--bg-main) !important;
    font-family: var(--font-main);
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
}

/* FIX ELEMENTOR GAP: Hapus padding atas siluman dari Hello Elementor */
.site-main, 
#content.site-main, 
main.site-main {
    margin-top: 0 !important;
    padding-top: 0 !important; /* MENGHAPUS padding-top: 100px yang lama agar bisa pakai container Elementor */
    margin-bottom: 0 !important;
    background-color: transparent !important;
}

/* Mencegah tabrakan margin dari section pertama Elementor */
.elementor-section-wrap > .elementor-element:first-child,
.elementor-location-header {
    margin-top: 0 !important;
}

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 24px; 
}

a { 
    text-decoration: none; 
    transition: var(--transition-smooth); 
    outline: none; 
}

ul { 
    list-style: none; 
    margin: 0; 
    padding: 0; 
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HEADER STYLES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.header-main {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    z-index: 1000;
    padding: 24px 0; 
    background-color: var(--bg-main); 
    color: var(--text-white);
    transition: var(--transition-smooth); 
    border-bottom: 1px solid var(--border-glass);
}
.header-main.scrolled { 
    background: rgba(7, 11, 20, 0.95); 
    backdrop-filter: blur(12px); 
    padding: 14px 0; 
}
.header-container { display: flex; justify-content: space-between; align-items: center; }
.logo-img { height: 45px; width: auto; display: block; }
.nav-list { display: flex; gap: 32px; }
.nav-link, .nav-list li a { font-size: 15px; font-weight: 500; color: var(--text-soft) !important; display: block; }
.nav-link:hover, .nav-list li.current-menu-item a { color: var(--primary-cyan) !important; }
.header-action { display: flex; align-items: center; gap: 20px; }

/* Button Premium CTA */
.btn-cta-whatsapp {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-cyan));
    color: white !important; padding: 12px 28px; border-radius: 100px;
    font-weight: 600; font-size: 14px; display: flex; align-items: center;
    gap: 10px; box-shadow: 0 4px 15px var(--accent-glow);
}

/* Sembunyikan CTA menu di desktop */
.mobile-menu-cta { display: none; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FOOTER STYLES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.footer-main { background-color: var(--bg-surface); color: var(--text-white); padding: 80px 0 40px; border-top: 1px solid var(--border-glass); margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 60px; }
.footer-logo-wrapper { display: flex; align-items: center; margin-bottom: 24px; }
.footer-logo-img { max-width: 200px; height: auto; display: block; }
.footer-info p { color: var(--text-soft); line-height: 1.6; }
.footer-links h4, .footer-contact h4 { color: white; margin-bottom: 24px; font-size: 18px; margin-top: 0; }
.footer-links ul li { margin-bottom: 12px; }
.footer-links ul li a { color: var(--text-soft) !important; }
.footer-links ul li a:hover { color: var(--primary-cyan) !important; padding-left: 5px; }
.footer-contact p { margin-bottom: 8px; color: var(--text-soft); }
.footer-bottom { margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--border-glass); display: flex; justify-content: space-between; align-items: center; color: var(--text-soft); font-size: 14px; }
.social-links { display: flex; gap: 20px; }
.social-links a { color: var(--text-soft) !important; }
.social-links a:hover { color: var(--primary-cyan) !important; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   MODAL OVERLAY
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(7, 11, 20, 0.95); backdrop-filter: blur(10px); z-index: 99999; display: none; align-items: center; justify-content: center; color: var(--text-white); }
.modal-overlay.active { display: flex; }
.modal-content-glass { background: var(--bg-surface); border: 1px solid var(--border-glass); border-radius: 24px; width: 100%; max-width: 900px; position: relative; overflow: hidden; }
.modal-close { position: absolute; top: 20px; right: 20px; background: var(--bg-main); border: 1px solid var(--border-glass); color: white; font-size: 1.5rem; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; z-index: 10; border: none; }
.modal-body { display: grid; grid-template-columns: 1fr 1.2fr; }
.modal-image-context img { width: 100%; height: 100%; object-fit: cover; min-height: 400px; }
.modal-info-context { padding: 50px; display: flex; flex-direction: column; justify-content: center; }
.text-gradient { background: linear-gradient(to right, #fff, var(--primary-cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 15px; margin-top: 0; font-size: 2rem;}
.modal-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 25px 0 35px; }
.meta-label { display: block; color: var(--text-soft); font-size: 0.8rem; margin-bottom: 5px; text-transform: uppercase; }
.meta-value { display: block; font-weight: 700; color: var(--primary-cyan); font-size: 1.1rem; }
.btn-cta-large { background: var(--primary-cyan); color: var(--bg-main) !important; padding: 16px 32px; border-radius: 12px; font-weight: 800; text-align: center; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   MOBILE TOGGLE & RESPONSIVE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.mobile-toggle { 
    display: none; 
    background: none; 
    border: none; 
    cursor: pointer; 
    padding: 10px; 
    outline: none; 
}
.bar { display: block; width: 25px; height: 2px; background-color: white; margin: 5px 0; transition: 0.4s; }

@media (max-width: 992px) {
    /* Header Responsive */
    .nav-menu { display: none; }
    .header-action .btn-cta-whatsapp { display: none; } 
    .mobile-toggle { display: block; }
    
    /* FIX MENU VERTIKAL */
    .nav-list {
        flex-direction: column; /* Mengubah list menjadi vertikal ke bawah */
        align-items: center; /* Rata tengah */
        width: 100%;
        gap: 15px; /* Jarak antar menu */
    }
    
    .nav-list li {
        width: 100%;
        text-align: center;
    }
    
    .nav-link, .nav-list li a {
        font-size: 16px;
        padding: 10px 0; /* Memberi ruang klik yang lebih besar di HP */
    }
    
    /* Munculkan CTA di dalam dropdown menu */
    .mobile-menu-cta { 
        display: block; 
        margin-top: 20px; 
        padding-top: 25px; 
        border-top: 1px solid var(--border-glass); 
        width: 100%;
    }
    .mobile-menu-cta .btn-cta-whatsapp { 
        display: flex; 
        justify-content: center; 
        width: max-content;
        margin: 0 auto; /* Supaya tombol di tengah */
    }
    
    /* Footer Responsive */
    .footer-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .footer-logo-wrapper { justify-content: center; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
    .social-links { justify-content: center; }
    
    /* Modal Responsive */
    .modal-body { grid-template-columns: 1fr; }
    .modal-image-context img { min-height: 250px; }
    .modal-info-context { padding: 30px; }
}