/* --- CSS VARIABLES & RESET --- */
:root {
    --primary-color: #FBCD16; /* Kuning cerah */
    --primary-hover: #E2B60D;
    --secondary-color: #0F172A; /* Navy gelap untuk background premium hero/footer */
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --text-main: #000000; /* Warna teks Hitam murni */
    --text-muted: #475569;
    --border-color: #E2E8F0;
    --card-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --transition: all 0.25s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-light);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- NAVBAR --- */
.navbar {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
}

.logo-img-src {
    height: 42px;
    width: auto;
    display: inline-block;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center; /* Memastikan semua menu & tombol sejajar vertikal */
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
    padding: 5px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
    border-bottom: 2px solid var(--primary-color);
}

/* --- MODIFIKASI BARU: DESKTOP DROPDOWN DESTINATION --- */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle .arrow {
    font-size: 0.75rem;
    margin-left: 2px;
    transition: var(--transition);
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--bg-white);
    min-width: 180px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    border: 1px solid var(--border-color);
    padding: 0.5rem 0;
    top: 100%;
    left: 0;
    z-index: 100;
}

.dropdown-item {
    color: var(--text-muted);
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.dropdown-item:hover {
    background-color: var(--bg-light);
    color: var(--text-main);
    padding-left: 1.5rem; /* Efek geser sedikit saat di-hover */
}

/* Memunculkan dropdown saat di-hover (Desktop) */
.dropdown:hover .dropdown-content {
    display: block;
}

/* --- MODIFIKASI BARU: TOMBOL LOGIN RESELLER (DESKTOP) --- */
.btn-nav-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-color); /* Premium Navy Gelap */
    color: var(--bg-white) !important;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-nav-login:hover {
    background-color: #1E293B;
    transform: translateY(-1px);
}


/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: #000000;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.btn-block {
    width: 100%;
}

/* --- HERO SECTION --- */
.hero {
    background: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.75)), 
                url('/images/hero.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--bg-white);
    padding: 8rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
}

.badge {
    background-color: rgba(251, 205, 22, 0.2);
    color: var(--primary-color);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--bg-white);
}

.hero p {
    font-size: 1.25rem;
    color: #94A3B8;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* --- REGIONS & PACKAGE CARDS --- */
.region-section {
    padding: 4rem 0 2rem;
    scroll-margin-top: 80px;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 2rem;
    border-left: 6px solid var(--primary-color);
    padding-left: 0.75rem;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.package-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.package-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -3px rgba(0, 0, 0, 0.08);
}

.package-card.highlighted {
    border: 2px solid var(--primary-color);
}

.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 1.25rem;
    background-color: #E2E8F0;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.package-card:hover .card-image img {
    transform: scale(1.04);
}

.program-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 0.5rem;
}

.program-tag.unique {
    color: #0284C7;
}

.package-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.price {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.price span {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    display: block;
    margin-top: 0.25rem;
}

/* --- ITINERARY TIMELINE --- */
.card-body {
    flex-grow: 1;
}

.itinerary-details {
    margin: 1rem 0;
    padding-top: 1rem;
    border-top: 1px dashed var(--border-color);
}

.hidden {
    display: none;
}

.timeline {
    list-style: none;
    font-size: 0.9rem;
    line-height: 1.6;
}

.timeline li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.25rem;
    color: var(--text-main);
}

.timeline li::before {
    content: "•";
    color: var(--primary-hover);
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: -2px;
}

.inc-exc-box {
    margin-top: 1rem;
    background-color: var(--bg-light);
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    border-left: 3px solid var(--primary-color);
}

.inc-exc-box p {
    margin-bottom: 0.5rem;
    color: #334155;
}

/* --- ABOUT SECTION --- */
.about-section {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 3rem;
    margin: 4rem auto;
    box-shadow: var(--card-shadow);
    scroll-margin-top: 80px;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--text-main);
    line-height: 1.6;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.stat-box {
    background-color: var(--bg-light);
    padding: 1.5rem;
    border-radius: 6px;
    text-align: center;
    border-bottom: 4px solid var(--primary-color);
}

.stat-box h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
}

/* --- FOOTER --- */
.footer {
    background-color: var(--secondary-color);
    color: #94A3B8;
    padding: 2.5rem 0;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid #1E293B;
}

/* --- HAMBURGER BUTTON --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-main);
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--bg-white);
        flex-direction: column;
        align-items: flex-start; /* Menu rata kiri di mobile */
        gap: 0;
        padding: 1rem 0;
        transform: translateY(-150%);
        transition: transform 0.3s ease-in-out;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        display: flex; 
        overflow-y: auto; /* Antisipasi jika menu panjang di HP */
    }

    .nav-menu.active {
        transform: translateY(0); 
    }

    .nav-link {
        width: 100%;
        padding: 1.25rem 2rem;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-link:hover, .nav-link.active {
        border-bottom: 1px solid var(--border-color);
        background-color: var(--bg-light);
    }

    /* --- INTEGRASI BARU: TAMPILAN MOBILE DROPDOWN DESTINATION --- */
    .dropdown {
        width: 100%;
    }
    
    .dropdown-toggle {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    .dropdown-content {
        position: static; /* Mengubah posisi melayang menjadi statis mengikuti alur baris */
        display: block;   /* Otomatis terbuka secara vertikal di dalam laci menu mobile */
        width: 100%;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background-color: var(--bg-light);
        padding: 0;
    }
    
    .dropdown-item {
        padding: 1rem 3.5rem; /* Menjorok ke dalam (indent) sebagai pembeda sub-menu */
        border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    }

    /* --- INTEGRASI BARU: TAMPILAN MOBILE TOMBOL LOGIN --- */
    .btn-nav-login {
        display: block;
        width: calc(100% - 4rem); /* Lebar penuh dikurangi padding kanan-kiri */
        margin: 1.5rem 2rem;
        text-align: center;
        padding: 0.85rem;
    }

    /* --- OPTIMASI RESPONSIVE SECTIONS --- */
    .hero {
        padding: 4rem 0;
    }

    .hero h1 {
        font-size: 2rem;
        padding: 0 0.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 0.75rem;
        padding: 0 1rem;
    }

    .about-section {
        padding: 1.5rem;
        margin: 2rem 1rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-text h2 {
        font-size: 1.75rem;
    }

    .package-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .package-card {
        padding: 1rem;
    }

    .card-image {
        height: 180px;
    }
}

/* ==========================================================================
   FLOATING WHATSAPP CAPSULE WITH TEXT
   ========================================================================== */
.wa-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    height: 52px;
    padding: 0 1.25rem;
    background-color: #25D366;
    color: #FFFFFF !important;
    border-radius: 50px; /* Mengubah lingkaran menjadi kapsul */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem; /* Jarak antara icon dan teks */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    text-decoration: none;
    transition: background-color 0.25s ease, transform 0.25s ease;
    animation: wa-intermittent-shake 6s infinite ease-in-out;
}

.wa-float:hover {
    background-color: #128C7E;
    transform: scale(1.05);
    animation-play-state: paused;
}

.wa-float svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.wa-text {
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap; /* Mencegah teks turun ke bawah */
}

/* Animasi Goyang Intermiten (Tuned down ke 4deg untuk teks panjang) */
@keyframes wa-intermittent-shake {
    0%, 100% { transform: rotate(0deg); }
    1%, 3%, 5%, 7% { transform: rotate(-4deg); }
    2%, 4%, 6%, 8% { transform: rotate(4deg); }
    10% { transform: rotate(0deg); }
}

/* ==========================================================================
   RESPONSIVE DESIGN FOR SMARTPHONES
   ========================================================================== */
@media (max-width: 480px) {
    /* Di HP, teks disembunyikan agar tidak menutupi layar konten */
    .wa-text {
        display: none;
    }
    
    /* Kembalikan ukuran tombol menjadi bulat murni khusus di HP */
    .wa-float {
        width: 52px;
        height: 52px;
        padding: 0;
        border-radius: 50%;
        bottom: 20px;
        right: 20px;
    }
    
    /* Menjaga animasi rotasi tetap presisi pada bentuk lingkaran */
    @keyframes wa-intermittent-shake {
        0%, 100% { transform: rotate(0deg); }
        1%, 3%, 5%, 7% { transform: rotate(-10deg); }
        2%, 4%, 6%, 8% { transform: rotate(10deg); }
        10% { transform: rotate(0deg); }
    }
}

