/* =========================================
   STYLE.CSS - BISA TOUR (PREMIUM BLACK GOLD)
   ========================================= */

/* --- 1. RESET & VARIABLES --- */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; }
html { scroll-behavior: smooth; overflow-x: hidden; }

:root {
    --royal-gold: #D4AF37;       /* Emas Mewah */
    --midnight-black: #111111;   /* Hitam Pekat (Teks) */
    --dark-premium-bg: #1a1a1a;  /* Hitam Soft (Background Body) */
    --white: #ffffff;
    --light-gray: #f9f9f9;
}

/* --- 2. BACKGROUND UTAMA (PREMIUM DARK) --- */
body {
    background-color: var(--dark-premium-bg); 
    color: #eee; /* Teks default putih gading di area gelap */
    /* Tekstur Noise Halus (Biar tidak flat) */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    background-attachment: fixed;
}

.gold-text { color: var(--royal-gold); }
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; }
.container { width: 90%; max-width: 1100px; margin: auto; }

/* --- 3. NAVBAR (TRANSPARAN + SHADOW) --- */
.navbar {
    background: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent);
    padding: 20px 0;
    position: absolute; top: 0; left: 0; width: 100%;
    z-index: 1000;
}

.nav-wrapper { display: flex; justify-content: space-between; align-items: center; }

/* LOGO */
.logo img {
    height: 110px; width: auto; display: block;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5));
    transition: 0.3s;
}

/* MENU LINK */
.nav-links { display: flex; gap: 30px; list-style: none; align-items: center; }
.nav-links a {
    color: var(--white); text-decoration: none; font-size: 1rem; font-weight: 500; 
    transition: 0.3s; text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}
.nav-links a:hover { color: var(--royal-gold); }

/* TOMBOL NAV */
.btn-nav {
    border: 2px solid var(--royal-gold); padding: 10px 30px; border-radius: 50px;
    color: var(--white) !important; font-weight: 600; background: rgba(0,0,0,0.3);
}
.btn-nav:hover { background: var(--royal-gold); color: var(--midnight-black) !important; }
.hamburger { display: none; color: var(--white); cursor: pointer; font-size: 2rem; }


/* --- 4. HERO SECTION --- */
.hero {
    height: 100vh;
    position: relative; display: flex; align-items: center; justify-content: center;
    text-align: center; color: var(--white); overflow: hidden;
}

/* ANIMASI BACKGROUND KEN BURNS */
.hero-bg-animated {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    /* Pastikan file bg-mekkah.jpg ada */
    background: url('assets/images/bg-mekkah.jpg') no-repeat center center;
    background-size: cover; z-index: -2;
    animation: kenBurnsEffect 20s infinite alternate ease-in-out;
}
@keyframes kenBurnsEffect {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

.overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.55); z-index: -1;
}

/* EFEK KILAU EMAS (SHIMMER) */
.hero::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 200%; height: 100%;
    background: linear-gradient(to right, transparent 0%, rgba(212, 175, 55, 0.08) 50%, transparent 100%);
    z-index: -1; animation: goldShimmer 8s infinite linear; pointer-events: none;
}
@keyframes goldShimmer {
    0% { transform: translateX(0); }
    100% { transform: translateX(50%); }
}

.hero-content { position: relative; z-index: 2; padding: 20px; margin-top: 60px; }
.hero-title {
    font-size: 4rem; line-height: 1.1; margin-bottom: 20px; color: var(--white);
    text-shadow: 0 5px 15px rgba(0,0,0,0.5); font-weight: 700;
}
.tagline { margin-bottom: 30px; font-size: 1.1rem; color: #eee; }

.btn-whatsapp {
    background: #25D366; color: white; padding: 15px 35px; border-radius: 50px;
    font-size: 1.1rem; font-weight: bold; text-decoration: none;
    display: inline-flex; align-items: center; gap: 10px; transition: 0.3s;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4); border: 2px solid #25D366;
}
.btn-whatsapp:hover { background: transparent; color: #25D366; transform: translateY(-5px); }


/* --- 5. SECTION KONTEN (CARD STYLE DI ATAS BACKGROUND HITAM) --- */
/* Ini trik agar section tetap putih terang walau background body hitam */
.values-section, 
.packages-section, 
.gallery-tips-section {
    background-color: #fff; /* Balik ke putih */
    color: #333; /* Teks hitam */
    position: relative;
    
    /* Motif Arabesque Halus */
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.97)),
        url('assets/images/arabesque.png');
    background-size: 400px;
    background-repeat: repeat;

    /* Styling Kartu Melayang */
    margin: 60px auto; 
    width: 95%; max-width: 1200px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5); /* Bayangan besar */
    padding: 80px 20px;
    overflow: hidden;
}

/* Judul Section jadi Hitam */
.section-header h2 { color: var(--midnight-black) !important; margin-bottom: 10px; font-size: 2.5rem; }
.section-header { text-align: center; margin-bottom: 50px; }


/* --- 6. VALUES (4 PILAR) --- */
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }

.value-box {
    padding: 30px; border: 1px solid #ddd; border-radius: 15px; transition: 0.3s;
    background: #fff; text-align: center;
}
.value-box:hover { box-shadow: 0 15px 30px rgba(212, 175, 55, 0.15); border-color: var(--royal-gold); transform: translateY(-5px); }
.icon-gold { font-size: 2.5rem; color: var(--royal-gold); margin-bottom: 15px; }
.value-box h3 span.gold-text { font-size: 1.8rem; margin-right: 2px; }


/* --- 7. PACKAGES (PAKET UMRAH) --- */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

/* EFEK GOLD GLOW HOVER */
.package-card { 
    background: var(--white); border-radius: 15px; overflow: hidden; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}
.package-card:hover { 
    transform: translateY(-15px); 
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.25); /* Glow Emas */
    border: 1px solid var(--royal-gold); 
}

.card-header-black { background: var(--midnight-black); color: var(--white); padding: 20px; text-align: center; }
.card-header-gold { background: var(--royal-gold); color: var(--midnight-black); padding: 20px; text-align: center; }
.price-section { padding: 20px; text-align: center; border-bottom: 1px solid #eee; }
.price { font-size: 2.5rem; font-weight: bold; color: var(--royal-gold); font-family: 'Playfair Display', serif; }
.start-from { font-size: 0.8rem; color: #777; }
.card-body { padding: 30px; text-align: center; }
.card-body ul { list-style: none; margin-bottom: 25px; text-align: left; }
.card-body li { margin-bottom: 12px; display: flex; align-items: center; gap: 10px; color: #555; }

.btn-card { display: block; padding: 12px; border-radius: 8px; text-decoration: none; font-weight: bold; background: #eee; color: #333; transition: 0.3s; }
.btn-card.primary { background: var(--royal-gold); color: #000; }
.package-card:hover .btn-card { background: var(--royal-gold); color: #fff; letter-spacing: 1px; }

.best-seller { border: 2px solid var(--royal-gold); transform: scale(1.03); z-index: 2; }
.badge-gold { position: absolute; top: 0; right: 0; background: var(--royal-gold); color: #000; padding: 5px 15px; font-size: 0.8rem; font-weight: bold; }


/* --- 8. GALERI SLIDER (INFINITE MARQUEE) --- */
.gallery-slider {
    width: 100%; overflow: hidden; position: relative; margin-bottom: 50px;
}

.gallery-track {
    display: flex; width: max-content; gap: 20px;
    animation: scrollGallery 60s linear infinite; /* Kecepatan Santai */
}
/* PAUSE SAAT DISENTUH */
.gallery-track:hover {
    animation-play-state: paused; /* Galeri berhenti jalan kalau kursor nempel */
}
.slide-item {
    width: 300px; height: 200px; border-radius: 15px; overflow: hidden;
    flex-shrink: 0; border: 1px solid #eee;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.slide-item img {
    width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease;
}
.slide-item:hover img { transform: scale(1.15); }

@keyframes scrollGallery {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* PEMBATAS EMAS */
.divider-gold {
    height: 2px; width: 100px; background: var(--royal-gold);
    margin: 0 auto 50px auto; opacity: 0.5;
}


/* --- 9. TIPS & ARTIKEL GRID --- */
.tips-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px;
}

.tip-card {
    background: #fdfdfd; border: 1px solid #eee; border-radius: 12px;
    padding: 25px; text-decoration: none; color: #333; transition: 0.3s;
    display: flex; gap: 20px; align-items: flex-start; cursor: pointer;
}

.tip-card:hover {
    background: var(--white); box-shadow: 0 10px 25px rgba(212, 175, 55, 0.15);
    border-color: var(--royal-gold); transform: translateY(-5px);
}

.tip-icon {
    font-size: 1.8rem; color: var(--royal-gold); background: rgba(212, 175, 55, 0.1);
    width: 50px; height: 50px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.tip-content h4 { font-size: 1.1rem; margin-bottom: 5px; font-weight: 700; font-family: 'Poppins', sans-serif; }
.tip-content p { font-size: 0.85rem; color: #666; margin-bottom: 10px; line-height: 1.5; }
.read-more { font-size: 0.8rem; font-weight: 600; color: var(--royal-gold); display: flex; align-items: center; gap: 5px; }


/* --- 10. CSS POP-UP (MODAL) --- */
.modal {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.8); z-index: 10000;
    justify-content: center; align-items: center; backdrop-filter: blur(5px);
    animation: fadeIn 0.3s;
}

/* --- UPDATE CSS MODAL (FIX WARNA TEKS) --- */
.modal-content {
    background: #fff;
    width: 90%; max-width: 600px; /* Saya lebarkan sedikit biar muat banyak teks */
    padding: 30px;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid var(--royal-gold);
    animation: slideUp 0.3s;
    text-align: left; /* Pastikan rata kiri */
}

/* JUDUL MODAL */
.modal-header h3 {
    color: var(--midnight-black); /* Hitam Pekat */
    font-size: 1.6rem;
    font-weight: 700;
}

/* ISI BODY MODAL (INI YANG KEMARIN PUDAR) */
.modal-body {
    color: #333 !important; /* Paksa jadi Hitam Gelap */
}

.modal-body p {
    color: #444; /* Abu tua biar enak dibaca */
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* LIST ITEM */
.modal-body ul {
    margin-left: 20px;
    line-height: 1.8;
    color: #333; /* Hitam */
}

.modal-body li {
    margin-bottom: 8px;
    border-bottom: 1px dashed #eee; /* Garis pemisah tipis biar rapi */
    padding-bottom: 8px;
}

.close-btn {
    position: absolute; top: 15px; right: 20px; font-size: 2rem; color: #999; cursor: pointer; transition: 0.3s;
}
.close-btn:hover { color: red; }

.modal-header { text-align: center; border-bottom: 2px solid #f0f0f0; padding-bottom: 15px; margin-bottom: 15px; }
.modal-header i { font-size: 2.5rem; margin-bottom: 10px; display: block; }
.modal-header h3 { color: var(--midnight-black); font-size: 1.5rem; }

.modal-body ul { margin-left: 20px; line-height: 1.8; color: #555; }
.modal-body li { margin-bottom: 10px; }
.doa-box { background: #fdfdfd; border-left: 4px solid var(--royal-gold); padding: 15px; margin-bottom: 15px; }
.arab { font-family: 'Amiri', serif; font-size: 1.4rem; color: var(--midnight-black); margin: 10px 0; text-align: right; }

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


/* --- 11. PROMO BANNER --- */
.promo-banner {
    background: url('assets/images/bg-mekkah.jpg') fixed center center;
    background-size: cover; padding: 80px 20px; text-align: center; color: white; position: relative;
}
.promo-banner::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.7); }
.promo-banner .container { position: relative; z-index: 2; }
.promo-banner h2 { font-size: 2.5rem; margin-bottom: 10px; }


/* --- 12. FOOTER (3 KOLOM) - VERSI PUTIH BERSIH --- */
footer { background: #ffffff; color: #444; position: relative; padding-top: 40px; }

.footer-border {
    height: 3px; background: linear-gradient(to right, var(--royal-gold), #fff, var(--royal-gold));
    width: 100%; position: absolute; top: 0; left: 0; 
}

.footer-grid {
    display: grid; grid-template-columns: 1.2fr 0.8fr 1fr; gap: 30px; padding-bottom: 25px; align-items: start;
}

.footer-logo { height: 140px; width: auto; margin-bottom: 15px; }
.pt-name { font-size: 1.2rem; font-weight: 700; color: var(--midnight-black); margin-bottom: 10px; font-family: 'Playfair Display', serif; }

.nib-box {
    background: #fdfdfd; padding: 5px 12px; border-radius: 6px;
    border: 1px solid #eee; display: inline-block;
}
.nib-label { display: block; font-size: 0.7rem; color: #666; }
.nib-number { font-size: 0.9rem; color: var(--royal-gold); font-weight: bold; font-family: monospace; }

.footer-contact h4, .footer-map h4 { font-size: 1.3rem; color: var(--midnight-black); margin-bottom: 15px; }
.contact-list { display: flex; flex-direction: column; gap: 8px; }
.contact-item { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #555; transition: 0.3s; font-size: 0.95rem; }
.contact-item:hover { color: var(--royal-gold); transform: translateX(3px); }

.icon-circle { width: 30px; height: 30px; font-size: 0.9rem; background: rgba(212, 175, 55, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--royal-gold); }

.map-frame {
    width: 100%; height: 150px; border-radius: 10px; overflow: hidden;
    border: 1px solid #eee; box-shadow: 0 5px 15px rgba(0,0,0,0.05); margin-bottom: 10px;
}
.address-text { font-size: 0.9rem; color: #666; margin-top: 5px; line-height: 1.5; }

.copyright { background: #f9f9f9; text-align: center; padding: 15px; font-size: 0.8rem; color: #777; border-top: 1px solid #eee; }
/* --- 13. FLOATING WA & PRELOADER --- */
.float-wa {
    position: fixed; bottom: 30px; right: 30px;
    background: #25d366; color: #fff; width: 60px; height: 60px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 30px; box-shadow: 0 5px 20px rgba(0,0,0,0.2); z-index: 999;
    border: 2px solid #fff; transition: 0.3s;
}
.float-wa:hover { transform: scale(1.1); background: #20b857; }

#preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    
    /* Background Kaca Transparan */
    background: rgba(255, 255, 255, 0.6); 
    backdrop-filter: blur(8px); 
    -webkit-backdrop-filter: blur(8px);
    
    z-index: 9999;
    display: flex; flex-direction: column; align-items: center;
    
    /* --- PERUBAHAN POSISI ADA DI SINI --- */
    /* 1. Kita ubah dari 'center' menjadi 'flex-start' (mulai dari atas) */
    justify-content: flex-start; 
    
    /* 2. Kita beri jarak dari atas sekitar 25% tinggi layar */
    /* Ini akan menempatkannya di area "atas-tengah", aman di atas judul utama */
    padding-top: 25vh; 
    
    transition: opacity 1s ease-out;
}
.arabic-loader { 
    font-family: 'Amiri', serif; 
    font-size: 2.5rem; 
    
    /* --- INI YANG MENGUBAH WARNA JADI HITAM PEKAT --- */
    color: var(--midnight-black); 
    
    margin-bottom: 20px; 
    animation: fadePulse 2s infinite; 
}
.loader-line { width: 0; height: 3px; background: var(--royal-gold); animation: loadLine 2s ease-in-out forwards; border-radius: 2px; }
@keyframes loadLine { 0% { width: 0; } 100% { width: 200px; } }
@keyframes fadePulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.loaded { opacity: 0; pointer-events: none; }


/* --- 14. MOBILE RESPONSIVE (TERAKHIR) --- */
@media (max-width: 768px) {
    .navbar { position: fixed; background: var(--midnight-black); padding: 10px 0; }
    .hamburger { display: block; }
    .nav-links {
        position: absolute; top: 100%; left: 0; width: 100%;
        background: var(--midnight-black); flex-direction: column; padding: 20px; gap: 20px;
        display: none; box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }
    .nav-links.active { display: flex; }
    
    .hero-title { font-size: 2.2rem; margin-top: 10px; }
    .logo img { height: 70px; }
    .hero-content { margin-top: 80px; }
    
    /* Layout Mobile */
    .grid-4, .grid-3, .tips-grid, .footer-grid { grid-template-columns: 1fr; }
    .best-seller { transform: scale(1); margin: 20px 0; }
    
    /* Card Mobile Adjustment */
    .values-section, .packages-section, .gallery-tips-section {
        width: 100%; border-radius: 0; margin: 0; padding: 60px 15px; box-shadow: none;
        background: #fff; /* Di HP full putih biar layar maksimal */
    }
    
    .slide-item { width: 200px; height: 150px; }
    
    .footer-grid { text-align: center; gap: 40px; }
    .footer-logo { display: inline-block; }
    .contact-item { justify-content: center; }
    .footer-map { order: 3; }
    .map-frame { height: 200px; }
}
/* --- FIX WARNA TEKS TESTIMONI --- */
/* Memaksa semua teks di dalam section testimoni jadi gelap */
.testimoni-section h2, 
.testimoni-section h4, 
.testimoni-section p {
    color: var(--midnight-black) !important; /* Warna Hitam */
}

/* Khusus Sub-judul yang pudar */
.testimoni-section .section-header p {
    color: #666 !important; /* Abu tua */
}

/* Khusus isi testimoni (tanda kutip) */
.testi-card p {
    color: #444 !important; /* Abu gelap biar enak dibaca */
}

/* Pastikan nama jamaah hitam tebal */
.testi-card h4 {
    color: #000 !important;
    font-weight: 700;
}
/* --- LAYOUT BARU: VALUES SPLIT (KARTU + VIDEO) --- */
.values-split-layout {
    display: flex;
    gap: 40px;
    align-items: center; /* Posisi vertikal tengah */
    margin-top: 40px;
}

/* KIRI: Grid Kartu jadi 2 Kolom (2x2) */
.values-grid-left {
    flex: 1.5; /* Lebar 60% */
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 Kolom */
    gap: 25px;
}

/* KANAN: Video Container */
.values-video-right {
    flex: 1; /* Lebar 40% */
    position: relative;
    height: 100%;
}
/* UPDATE: KANAN VIDEO LEBIH RAMPING */
.values-video-right {
    flex: 0.7; /* Jatah lebar kolom dikurangi (biar ga dominan) */
    max-width: 320px; /* Batasi lebar maksimal cuma 320px (Seukuran HP) */
    margin: 0 auto; /* Posisi di tengah */
    position: relative;
    height: 100%;
}

.values-video-right video {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 5; /* Pastikan video di atas hiasan frame */
    background: #000; /* Background hitam kalau loading */
}

/* Hiasan Frame Emas */
.video-frame-accent {
    position: absolute;
    top: 15px;
    right: -15px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--royal-gold);
    border-radius: 20px;
    z-index: 1; 
    opacity: 0.6;
    pointer-events: none; /* Biar gak menghalangi tombol play */
}

/* RESPONSIVE HP (Tumpuk ke bawah) */
@media (max-width: 900px) {
    .values-split-layout {
        flex-direction: column-reverse; /* Video di atas, Kartu di bawah (atau hapus -reverse kalau mau video di bawah) */
        gap: 30px;
    }
    .values-grid-left {
        width: 100%;
        grid-template-columns: 1fr; /* Di HP jadi 1 kolom ke bawah biar teks jelas */
    }
    .values-video-right {
        width: 100%;
        max-width: 400px; /* Batasi lebar video di HP biar ga kegedean */
    }
    .video-frame-accent {
        right: -10px; top: 10px;
    }
}
/* --- STYLE VIDEO GRID (PORTRAIT CLEAN) --- */
.departure-grid {
    display: grid;
    /* Laptop: 4 Video berjejer (biar gak kepanjangan ke bawah) */
    /* ATAU Tetap 2 Kolom tapi tinggi? Saran saya 4 kolom kalau di Laptop biar rapi sebaris */
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
    width: 95%;
    max-width: 1200px;
    margin: 30px auto;
}

.video-card {
    background: #fff;
    padding: 8px; /* Frame putih tipis */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 1px solid #eee;
    transition: 0.3s;
}

/* EFEK HOVER: Video agak naik dikit pas disentuh */
.video-card:hover {
    transform: translateY(-5px);
    border-color: var(--royal-gold);
}

.video-card video {
    width: 100%;
    /* TINGGI VIDEO PORTRAIT */
    height: 450px; /* Tinggi ideal untuk video portrait */
    object-fit: cover; /* Video full kotak, tidak gepeng */
    border-radius: 10px;
    background: #000;
    display: block;
}
/* --- LIGHTBOX (EFEK KLIK GAMBAR) --- */

/* Ubah kursor jadi telunjuk saat arahkan ke foto galeri */
.slide-item img {
    cursor: pointer;
    transition: 0.3s;
}

.slide-item img:hover {
    filter: brightness(1.1); /* Sedikit lebih terang pas disentuh */
}

/* Modal Latar Belakang Hitam */
.lightbox-modal {
    display: none; /* Tersembunyi saat awal */
    position: fixed;
    z-index: 9999; /* Wajib paling atas menutupi semua */
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.92); /* Hitam pekat transparan */
    backdrop-filter: blur(5px); /* Efek blur di belakangnya */
}

/* Gambar Yang Di-Zoom */
.lightbox-content {
    margin: auto;
    display: block;
    width: auto;
    max-width: 90%;
    max-height: 85vh; /* Biar gak kepanjangan di layar */
    border: 2px solid var(--royal-gold); /* Bingkai Emas */
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3); /* Cahaya emas */
    animation: zoomEffect 0.4s; /* Efek muncul pelan */
}

/* Tombol Close (X) */
.close-btn {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10000;
}

.close-btn:hover {
    color: var(--royal-gold);
}

/* Animasi Zoom In */
@keyframes zoomEffect {
    from {transform:scale(0.8); opacity: 0;}
    to {transform:scale(1); opacity: 1;}
}

/* Responsif HP */
@media only screen and (max-width: 700px){
    .lightbox-content {
        width: 95%;
        margin-top: 30%; /* Biar di tengah layar HP */
    }
}
/* RESPONSIVE HP (Jadi 2 Kolom, biar kaya galeri Instagram) */
@media (max-width: 768px) {
    .departure-grid {
        grid-template-columns: 1fr 1fr; /* 2 Kolom di HP (Kiri-Kanan) */
        gap: 15px;
    }
    
    .video-card video {
        height: 300px; /* Di HP tingginya dikurangi dikit biar proporsional */
    }
}

/* --- STYLE BROSUR GRID ELEGAN --- */
.brosur-container {
    width: 95%;
    max-width: 1200px;
    /* Memberi perspektif 3D agar efek pop-up terasa nyata */
    perspective: 1000px; 
}

.brosur-grid {
    display: grid;
    /* Mengatur agar 4 gambar berjajar rapi.
       Di layar kecil otomatis turun ke bawah. */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px; /* Jarak antar gambar */
    padding: 20px 0;
}

.brosur-item {
    position: relative;
    border-radius: 15px; /* Sudut membulat */
    overflow: hidden; /* Memotong gambar yang keluar sudut */
    background: #000; /* Latar belakang hitam */
    border: 2px solid transparent; /* Bingkai transparan awal */
    box-shadow: 0 10px 20px rgba(0,0,0,0.5); /* Bayangan gelap awal */
    
    /* TRANSISI HALUS & EFEK PANTUL */
    /* Ini yang bikin gerakannya terasa "mahal" dan smooth */
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1;
}

.brosur-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

/* --- EFEK HOVER (SAAT KURSOR MENDEKAT) --- */
.brosur-item:hover {
    /* 1. Gerakan Maju & Membesar (Pop-up) */
    transform: translateY(-15px) scale(1.05);
    
    /* 2. Bingkai Emas Menyala */
    border-color: var(--royal-gold);
    
    /* 3. Bayangan Emas Besar di Belakang (Glow Effect) */
    box-shadow: 0 30px 50px rgba(212, 175, 55, 0.4);
    
    /* Agar gambar yang di-hover menutupi gambar lain di dekatnya */
    z-index: 10; 
}

/* Sedikit efek zoom pada gambarnya juga */
.brosur-item:hover img {
    transform: scale(1.02);
}
/* --- STYLE KHUSUS BISMILLAH (EFEK KACA TRANSPARAN) --- */
.bismillah-kaca {
    background-color: rgba(255, 255, 255, 0.1) !important; /* Putih transparan 10% (biar gelapnya body nembus) */
    backdrop-filter: blur(10px); /* Efek kaca buram di belakangnya */
    -webkit-backdrop-filter: blur(10px); /* Untuk Apple/iPhone */
    border: 1px solid rgba(212, 175, 55, 0.3); /* Bingkai emas tipis transparan */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); /* Bayangan elegan */
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    max-width: 600px; /* Biar kotaknya gak terlalu melebar */
    margin: 40px auto; /* Posisi di tengah layar */
}