html {
    scroll-behavior: smooth;
}
:root {
    --primary: #007bff;
    --primary-dark: #0056b3;
    --text-dark: #1a1a2e;
    --text-gray: #71717a;
    --bg-gray: #f7f7f7;
    --white: #ffffff;
    --border: #e5e5e5;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-gray);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* --- NAVBAR 2 BARIS --- */
.navbar {
    background: var(--white);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
}
.nav-top { padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.logo { display: flex; align-items: center; gap: 0.5rem; text-decoration: none; flex-shrink: 0; }
.logo img { height: 45px; width: auto; }
.logo-text { font-size: 1.2rem; font-weight: 700; color: var(--text-dark); line-height: 1.2; }
.logo-text span { display: block; font-size: 0.8rem; font-weight: 500; color: var(--text-gray); }
.nav-search { flex: 1; max-width: 500px; opacity: 0; transform: translateY(-10px); pointer-events: none; transition: all 0.3s ease; }
.navbar.scrolled .nav-search { opacity: 1; transform: translateY(0); pointer-events: auto; }
.nav-search-form { display: flex; background: var(--bg-gray); border-radius: 50px; padding: 0.4rem; }
.nav-search-input { flex: 1; padding: 0.7rem 1.2rem; border: none; background: transparent; font-size: 0.95rem; }
.nav-search-btn { padding: 0.6rem 1.5rem; background: var(--primary); color: white; border: none; border-radius: 50px; font-weight: 600; font-size: 0.9rem; cursor: pointer; }
.nav-icons { display: flex; gap: 1.5rem; align-items: center; }
.nav-icons a { color: var(--text-dark); text-decoration: none; display: flex; flex-direction: column; align-items: center; font-size: 0.7rem; }
.nav-icons i { font-size: 1.2rem; margin-bottom: 2px; }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text-dark); }
.nav-bottom { padding: 0.5rem 0; background: var(--white); }
.nav-menu { display: flex; justify-content: center; gap: 2.5rem; list-style: none; }
.nav-menu a { color: var(--text-dark); text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 0.5rem 0; position: relative; transition: color 0.3s; }
.nav-menu a:hover { color: var(--primary); }
.nav-menu a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 0; background-color: var(--primary); transition: width 0.3s; }
.nav-menu a:hover::after { width: 100%; }

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.2)), url('../../image/trio gili.jpg') no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.hero-content { text-align: center; padding: 0 2rem; max-width: 900px; z-index: 2; }
.hero h1 { font-size: 3.5rem; font-weight: 800; color: var(--white); margin-bottom: 2rem; text-shadow: 0 2px 20px rgba(0,0,0,0.3); line-height: 1.2; }
.hero-search { max-width: 700px; margin: 0 auto; transition: opacity 0.3s ease; }
body.has-scrolled .hero-search { opacity: 0; pointer-events: none; }
.hero-search-box { background: var(--white); border-radius: 50px; padding: 0.5rem; box-shadow: 0 15px 50px rgba(0,0,0,0.3); display: flex; }
.hero-search-input { flex: 1; padding: 1.2rem 1.5rem; border: none; font-size: 1.1rem; background: transparent; border-radius: 50px 0 0 50px; }
.hero-search-btn { padding: 1rem 2.5rem; background: var(--primary); color: var(--white); border: none; border-radius: 50px; font-weight: 600; font-size: 1rem; cursor: pointer; }
.scroll-indicator { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); color: var(--white); font-size: 1.5rem; animation: bounce 2s infinite; cursor: pointer; }
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}
/* Perbaikan Dropdown - Hilangkan celah */
.nav-dropdown {
    position: relative;
    display: inline-block;
    padding-bottom: 0px;
}
.nav-menu-link {
    color: var(--text-dark--);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}
.nav-menu-link:hover {
    color: var(--primary);
}
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-radius: 8px;
    z-index: 1000;
    margin-top: 0; /* Hapus margin */
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}
.dropdown-content a {
    color: var(--text-dark);
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    display: block;
    transition: all 0.3s;
    border-bottom: 1px solid var(--border);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background: var(--bg-gray);
    color: var(--primary);
    padding-left: 1.5rem;
}
/* Show dropdown on hover */
.nav-dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Jembatan transparan untuk hover */
.dropdown-content::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

/* Tampilkan dropdown saat hover */
.nav-dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background: var(--bg-gray);
    color: var(--primary);
    padding-left: 1.5rem;
}

/* Mobile dropdown */
@media (max-width: 768px) {
    .nav-dropdown {
        width: 100%;
        padding-bottom: 0;
    }
    
    .dropdown-content {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        box-shadow: none;
        background: var(--bg-gray);
        margin: 0;
        border-radius: 0;
    }
    
    .dropdown-content a {
        padding: 0.75rem 2rem;
        border-bottom: 1px solid var(--border);
    }
    
    .nav-dropdown.active .dropdown-content {
        display: block;
    }
    
    .dropdown-content::before {
        display: none;
    }
}
/* --- FEATURED CARD --- */
.featured-section { max-width: 900px; margin: -100px auto 3rem; padding: 0 2rem; position: relative; z-index: 10; }
.featured-card { background: var(--white); border-radius: 16px; padding: 1.5rem; display: flex; gap: 1.5rem; box-shadow: 0 20px 60px rgba(0,0,0,0.15); align-items: center; }
.featured-image { width: 200px; height: 150px; border-radius: 12px; background: linear-gradient(135deg, #0077b6, #00b4d8); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--white); }
.featured-content h3 { font-size: 1.3rem; margin-bottom: 0.75rem; }
.featured-meta { display: flex; gap: 1rem; margin-bottom: 0.75rem; font-size: 0.9rem; color: var(--text-gray); }
.rating { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.stars { color: #ffc107; }
.price-tag { font-size: 1.25rem; font-weight: 700; color: #d32f2f; }

/* --- PACKAGES SCROLL --- */
.section { max-width: 1200px; margin: 0 auto; padding: 3rem 2rem; }
.section-title { font-size: 1.75rem; font-weight: 700; margin-bottom: 2rem; }
.packages-container { position: relative; display: flex; align-items: center; }
.scroll-wrapper { flex: 1; overflow: hidden; }
.packages-scroll { display: flex; gap: 1.5rem; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding: 1rem 0.5rem; }
.packages-scroll::-webkit-scrollbar { display: none; }
.scroll-btn { background: var(--white); border: 1px solid var(--border); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 15px rgba(0,0,0,0.1); z-index: 5; flex-shrink: 0; transition: 0.3s; }
.scroll-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }

/* --- CARD PAKET MODERN --- */
.package-card { flex: 0 0 300px; background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.08); transition: transform 0.3s ease, box-shadow 0.3s ease; margin-right: 1.5rem; border: none; display: flex; flex-direction: column; }
.package-card:hover { transform: translateY(-5px); box-shadow: 0 12px 30px rgba(0,0,0,0.12); }
.package-image { height: 200px; width: 100%; position: relative; background: #e0e0e0; }
.package-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.package-card:hover .package-image img { transform: scale(1.05); }
.badge-populer { position: absolute; top: 12px; right: 12px; background: #ffc107; color: #000; padding: 4px 10px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; box-shadow: 0 2px 6px rgba(0,0,0,0.2); display: flex; align-items: center; gap: 4px; }
.package-content { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.package-title { font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.5rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.package-meta { display: flex; align-items: center; gap: 0.75rem; color: var(--text-gray); font-size: 0.85rem; margin-bottom: 0.75rem; }
.package-rating { display: flex; align-items: center; gap: 0.25rem; color: #ffc107; font-size: 0.9rem; margin-bottom: 1rem; }
.package-rating span { color: var(--text-dark); font-weight: 600; margin-left: 4px; font-size: 0.85rem; }
.package-footer { display: flex; justify-content: space-between; align-items: flex-end; border-top: 1px solid var(--border); padding-top: 1rem; margin-top: auto; }
.price-tag { display: flex; flex-direction: column; }
.price-old { font-size: 0.8rem; text-decoration: line-through; color: var(--text-gray); }
.price-new { font-size: 1.2rem; font-weight: 800; color: #d32f2f; }
.btn-pesan { background: var(--primary); color: white; padding: 0.6rem 1.2rem; border-radius: 8px; font-weight: 600; font-size: 0.9rem; text-decoration: none; transition: background 0.3s; }
.btn-pesan:hover { background: var(--primary-dark); }

/* --- GALLERY SECTION --- */
.gallery-section { background: white; border-radius: 16px; margin: 2rem auto; padding: 3rem 2rem; max-width: 1200px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 1000px; margin: 0 auto; }
.gallery-item { border-radius: 12px; overflow: hidden; height: 250px; position: relative; cursor: pointer; box-shadow: 0 4px 15px rgba(0,0,0,0.1); transition: transform 0.3s; }
.gallery-item:hover { transform: translateY(-5px); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.gallery-item:hover img { transform: scale(1.1); }

/* Lightbox */
.lightbox { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); z-index: 9999; align-items: center; justify-content: center; }
.lightbox.active { display: flex; }
.lightbox-img { max-width: 90%; max-height: 90%; object-fit: contain; border-radius: 8px; }
.lightbox-close { position: absolute; top: 20px; right: 40px; background: none; border: none; color: white; font-size: 3rem; cursor: pointer; transition: 0.3s; }
.lightbox-close:hover { color: var(--primary); transform: scale(1.1); }
/* Featured Lightbox - Ukuran Kecil */
#featuredLightbox .lightbox-img {
    max-width: 700px; /* Lebih kecil dari 90% */
    max-height: 80vh;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* Responsive untuk featured lightbox */
@media (max-width: 768px) {
    #featuredLightbox .lightbox-img {
        max-width: 95%;
        max-height: 85vh;
        border-radius: 12px;
    }
}
/* Footer & WhatsApp */
footer { background: var(--white); padding: 3rem 2rem; margin-top: 4rem; border-top: 1px solid var(--border); }
.footer-content { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem; }
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; background: #25D366; color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 32px; box-shadow: 0 4px 20px rgba(37,211,102,0.4); z-index: 1000; text-decoration: none; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.7); } 70% { box-shadow: 0 0 0 20px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* --- MOBILE SIDEBAR --- */
.mobile-sidebar { position: fixed; top: 0; left: -300px; width: 280px; height: 100vh; background: var(--white); box-shadow: 2px 0 20px rgba(0,0,0,0.2); z-index: 2000; transition: left 0.3s ease; overflow-y: auto; }
.mobile-sidebar.active { left: 0; }
.mobile-sidebar-header { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; padding: 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.mobile-sidebar-logo { display: flex; align-items: center; gap: 0.75rem; }
.mobile-sidebar-logo img { height: 40px; width: auto; }
.mobile-sidebar-close { background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }
.mobile-sidebar-content { padding: 1.5rem; }
.mobile-menu-item { display: flex; align-items: center; gap: 1rem; padding: 1rem; color: var(--text-dark); text-decoration: none; border-radius: 8px; margin-bottom: 0.5rem; transition: 0.3s; }
.mobile-menu-item:hover { background: var(--bg-gray); color: var(--primary); }
.mobile-menu-item i { width: 24px; font-size: 1.2rem; }
.mobile-sidebar-divider { height: 1px; background: var(--border); margin: 1rem 0; }
.mobile-sidebar-title { font-size: 0.75rem; color: var(--text-gray); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.75rem; font-weight: 600; }
.mobile-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1500; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.mobile-overlay.active { opacity: 1; pointer-events: auto; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .nav-icons, .nav-bottom { display: none; }
    .mobile-menu-btn { display: block; }
    .nav-top .nav-container { display: flex; align-items: center; gap: 0.5rem; }
    .logo { display: flex; align-items: flex-start; gap: 0.4rem; flex-shrink: 0; }
    .logo img { height: 32px; }
    .logo-text { font-size: 0.75rem; line-height: 1.2; font-weight: 700; }
    .logo-text span { display: block; font-size: 0.65rem; font-weight: 500; color: var(--text-gray); margin-top: -2px; }
    .nav-search { display: none; flex: 1; min-width: 0; }
    .navbar.scrolled .nav-search { display: block; }
    .nav-search-form { display: flex; background: var(--bg-gray); border-radius: 50px; padding: 0.25rem; }
    .nav-search-input { flex: 1; border: none; background: transparent; padding: 0.4rem 0.8rem; font-size: 0.8rem; min-width: 0; }
    .nav-search-btn { padding: 0.4rem 0.8rem; background: var(--primary); color: white; border: none; border-radius: 50px; font-size: 0.75rem; white-space: nowrap; }
    .hero { padding: 0 1rem; }
    .hero h1 { font-size: 1.6rem; }
    .hero-search-box { flex-direction: column; border-radius: 20px; }
    .hero-search-input { border-radius: 15px; padding: 1rem; }
    .hero-search-btn { border-radius: 15px; padding: 1rem; margin-top: 0.5rem; }
    .featured-section { padding: 0 1rem; margin: -80px auto 2rem; }
    .featured-card { flex-direction: column; }
    .featured-image { width: 100%; height: 160px; }
    .section { padding: 2rem 1rem; }
    .scroll-btn { display: flex !important; width: 36px !important; height: 36px !important; position: absolute; top: 50%; transform: translateY(-50%); z-index: 10; background: white !important; box-shadow: 0 2px 10px rgba(0,0,0,0.2) !important; }
    .scroll-btn:first-of-type { left: -10px; }
    .scroll-btn:last-of-type { right: -10px; }
    .package-card { flex: 0 0 260px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
    .gallery-item { height: 150px; }
}

/* --- TOMBOL HATI FAVORIT (POSISI KIRI) --- */
.favorite-btn { 
    position: absolute; 
    top: 12px; 
    left: 12px; /* KUNCI: Pindah ke kiri */
    background: rgba(255, 255, 255, 0.95); 
    border: none; 
    width: 38px; 
    height: 38px; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    cursor: pointer; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.15); 
    font-size: 1.2rem; 
    color: var(--text-gray); 
    transition: all 0.3s ease; 
    z-index: 10; 
}
.favorite-btn:hover { 
    background: #ffffff; 
    transform: scale(1.1); 
    box-shadow: 0 6px 20px rgba(0,0,0,0.2); 
    color: #e91e63; 
}

/* FIX: Horizontal Scroll di Mobile */
@media (max-width: 768px) {
    .packages-scroll { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; overflow-x: auto !important; overflow-y: hidden !important; -webkit-overflow-scrolling: touch; scrollbar-width: none !important; padding: 1rem 0.5rem !important; gap: 1rem !important; }
    .package-card { flex: 0 0 260px !important; min-width: 260px !important; max-width: 260px !important; width: 260px !important; }
    .scroll-wrapper { overflow-x: auto !important; overflow-y: hidden !important; -webkit-overflow-scrolling: touch; }
    .packages-scroll::-webkit-scrollbar { display: none !important; }
    .packages-container { display: flex !important; align-items: center !important; gap: 0.5rem !important; }
}
/* Image Preview Modal - TOMBOL X DI POJOK OVERLAY */
#imagePreviewModal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(5px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
#imagePreviewModal .preview-container {
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
}
#imagePreviewModal .preview-container img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    display: block;
}
/* Tombol X di pojok kanan atas OVERLAY (bukan di atas gambar) */
#imagePreviewModal .preview-close-btn {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
#imagePreviewModal .preview-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}
/* Responsive untuk mobile */
@media (max-width: 768px) {
    #imagePreviewModal .preview-container { max-width: 95%; max-height: 70vh; }
    #imagePreviewModal .preview-close-btn {
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }
}
.footer-section a:hover {
    color: var(--primary) !important;
    transform: translateX(5px);
    transition: all 0.3s;
}
/* --- CSS DROPDOWN MENU --- */
.nav-menu { display: flex; justify-content: center; gap: 2.5rem; list-style: none; }

/* Wrapper Dropdown */
.nav-dropdown {
    position: relative; /* Penting agar dropdown muncul di posisi yang benar */
    display: inline-block;
    padding-bottom: 15px; /* Memberi ruang hover agar mouse tidak "terputus" */
}

/* Link Menu Utama */
.nav-menu-link { 
    color: var(--text-dark); 
    text-decoration: none; 
    font-weight: 600; 
    font-size: 0.95rem; 
    padding: 0.5rem 0; 
    display: flex; 
    align-items: center; 
    transition: color 0.3s; 
    cursor: pointer;
}
.nav-menu-link:hover { color: var(--primary); }

/* Isi Dropdown (Awalnya Sembunyi) */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-radius: 8px;
    z-index: 1000;
    margin-top: 0;
    overflow: hidden;
}

/* Jembatan Transparan (Invisible Bridge) */
/* Ini trik agar mouse tidak keluar area saat bergerak ke dropdown */
.dropdown-content::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

/* Link di dalam Dropdown */
.dropdown-content a {
    color: var(--text-dark);
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    display: block;
    transition: all 0.3s;
    border-bottom: 1px solid var(--border);
}
.dropdown-content a:last-child { border-bottom: none; }
.dropdown-content a:hover {
    background: var(--bg-gray);
    color: var(--primary);
    padding-left: 1.5rem;
}

/* Tampilkan Dropdown saat Hover */
.nav-dropdown:hover .dropdown-content {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .nav-dropdown { width: 100%; padding-bottom: 0; }
    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        background: var(--bg-gray);
        margin: 0;
        border-radius: 0;
    }
    .dropdown-content a { padding: 0.75rem 2rem; }
    /* Di mobile, dropdown muncul jika class .active ditambahkan via JS */
    .nav-dropdown.active .dropdown-content { display: block; }
}
@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    14% { transform: scale(1.3); }
    28% { transform: scale(1); }
    42% { transform: scale(1.3); }
    70% { transform: scale(1); }
}
/* Gallery Preview Modal - Ukuran Kecil (Seperti Featured Card) */
#galleryPreviewModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

#galleryPreviewModal > div {
    position: relative;
    max-width: 900px;
    width: 100%;
    max-height: 85vh;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

#galleryPreviewModal img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    max-height: 85vh;
}

/* Responsive untuk mobile */
@media (max-width: 768px) {
    #galleryPreviewModal {
        padding: 1rem;
    }
    
    #galleryPreviewModal > div {
        max-width: 100%;
        max-height: 90vh;
    }
}
/* Tombol Ikon di Package Card */
.package-actions {
display: flex;
gap: 0.5rem;
align-items: center;
}

.btn-icon-cart,
.btn-icon-detail {
width: 36px;
height: 36px;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
border: none;
cursor: pointer;
transition: all 0.3s;
font-size: 1rem;
}

.btn-icon-cart {
background: #28a745;
color: white;
}

.btn-icon-cart:hover {
background: #218838;
transform: translateY(-2px);
}

.btn-icon-detail {
background: var(--primary);
color: white;
text-decoration: none;
}

.btn-icon-detail:hover {
background: var(--primary-dark);
transform: translateY(-2px);
}