/* --- ROOT VARIABLES --- */
:root {
    --primary-color: #e96532; /* Oranye sesuai gambar */
    --primary-hover: #d15628;
    --text-main: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --bg-light: #f9f9f9;
    --nav-height: 70px;
    --transition: all 0.3s ease;
}

/* --- RESET & GLOBAL --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
}

/* --- NAVIGATION BAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    z-index: 1000;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #0056b3; /* Biru logo sesuai gambar */
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-main);
    transition: var(--transition);
}

.nav-links a:hover, 
.nav-links a.active {
    color: var(--primary-color);
}

.cta-nav {
    background: #007bff; /* Biru tombol Book Now */
    color: var(--white) !important;
    padding: 10px 25px;
    border-radius: 25px;
}

/* --- HERO SECTION --- */
.hero {
    height: 60vh;
    background: url('../images/gallery/gallery-8.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: var(--nav-height);
    position: relative;
    color: var(--white);
}

.hero.overlay::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

/* --- PACKAGE LIST (GRID) --- */
.package-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 60px 8%;
}

.package-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.package-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.package-info {
    padding: 25px;
}

.package-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.badge {
    font-size: 11px;
    padding: 4px 12px;
    border-radius: 20px;
    background: #eee;
    font-weight: 600;
    text-transform: uppercase;
}

.badge.green {
    background: #e8f5e9;
    color: #2e7d32;
}

.package-info h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.location {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.description {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
    height: 4.5em;
    overflow: hidden;
}

.btn-detail-wide {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-detail-wide:hover {
    background: var(--primary-hover);
}

/* --- FOOTER --- */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 8% 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-box h4 {
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
}

.footer-box h4::after {
    content: '';
    position: absolute;
    bottom: -8px; left: 0;
    width: 40px; height: 2px;
    background: var(--white);
}

.footer-box p, .footer-box a {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    line-height: 2;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 35px; height: 35px;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--white);
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
}

/* --- MOBILE RESPONSIVE & BURGER --- */
.burger {
    display: none;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-main);
    margin: 5px 0;
    transition: 0.3s;
}

@media (max-width: 768px) {
    /* 1. Tombol Burger */
    .burger {
        display: block;
        position: relative;
        z-index: 1100; /* Tetap di atas background oranye saat menu terbuka */
        cursor: pointer;
    }

    /* Garis-garis di dalam burger (pastikan di HTML menggunakan <span> atau <div>) */
    .burger div {
        width: 25px;
        height: 3px;
        background-color: white;
        margin: 5px;
        transition: 0.3s ease-in-out;
    }

    /* 2. Animasi Perubahan Menjadi X */
    /* Saat class 'active' ditambahkan oleh JavaScript */
    .burger.active .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .burger.active .line2 {
        opacity: 0; /* Menghilangkan garis tengah */
    }

    .burger.active .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* 3. Overlay Menu (Background Oranye) */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Sembunyi di kanan layar */
        width: 100%;
        height: 100vh;
        background: var(--primary-color);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 100px 10% 0;
        transition: 0.4s ease-in-out;
        gap: 0;
        z-index: 1000;
    }

    /* Munculkan menu saat class 'active' ditambahkan */
    .nav-links.active {
        right: 0;
    }

    /* 4. Item Navigasi di Dalam Menu */
    .nav-links li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    }

    .nav-links a {
        display: block;
        padding: 20px 0;
        color: var(--white) !important;
        font-size: 18px;
        text-transform: uppercase;
        font-weight: 600;
        text-decoration: none;
    }

    /* Tombol Khusus (CTA) di dalam Navigasi */
    .nav-links a.cta-nav {
        background: transparent;
        border-radius: 0;
    }

    /* 5. Penyesuaian Tipografi Hero Section */
    .hero-content h1 { 
        font-size: 2rem; 
    }
}

/* --- FLOATING WHATSAPP --- */
.floating-wa-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    z-index: 999;
}