/* ==========================================================================
   1. GLOBAL STYLES (Reset & Base)
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    overflow-x: hidden;
    line-height: 1.6; /* Tambahan standar agar teks lebih nyaman dibaca */
}

/* ==========================================================================
   2. NAVBAR CONTAINER (Layout)
   ========================================================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* ==========================================================================
   3. NAVBAR COMPONENTS (Elements)
   ========================================================================== */

/* Logo */
.logo {
    font-size: 24px;
    font-weight: bold;
    color: #1a56db; /* Warna Biru */
}

/* Menu Navigasi */
.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #1a56db;
}

/* Tombol Call to Action (CTA) */
.cta-nav {
    background-color: #1a56db;
    color: white !important;
    padding: 10px 20px;
    border-radius: 5px;
}

/* ==========================================================================
   4. MOBILE NAVIGATION (Burger Menu)
   ========================================================================== */
.burger {
    display: none; /* Tersembunyi di Desktop */
    cursor: pointer;
}

.burger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px;
    transition: 0.3s;
}
/* ==========================================================================
   5. HERO SECTION (Banner Utama)
   ========================================================================== */
.hero {
    height: 80vh;
    background: url('../images/gallery/gallery-8.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

/* Efek Overlay Gelap pada Background */
.hero.overlay::before {
    content: "";
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(0, 0, 0, 0.4); 
    z-index: 1;
}

/* Konten di dalam Hero */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.hero-content p {
    font-size: 1.2rem;
    line-height: 1.6;
}

/* ==========================================================================
   6. RESPONSIVE STYLES (Mobile Menu)
   ========================================================================== */
@media screen and (max-width: 768px) {
    
    /* Navigasi Mobile (Overlay) */
    .nav-links {
        position: fixed;
        right: -100%; /* Sembunyi di luar layar kanan */
        top: 0;
        height: 100vh;
        width: 100%;
        background-color: #e65100; /* Warna Oranye Akila Bali */
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 100px;
        transition: 0.5s ease-in-out;
        z-index: 999;
    }

    /* State Aktif (Saat Menu Dibuka) */
    .nav-links.active {
        right: 0;
    }

    /* Link Menu di Mobile */
    .nav-links a {
        color: white;
        font-size: 1.2rem;
        width: 90%;
        text-align: left;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255,255,255,0.3);
        text-transform: uppercase;
    }

    /* Burger Icon (Muncul di Mobile) */
    .burger {
        display: block;
        z-index: 1001;
    }

    /* Animasi Burger Menjadi 'X' */
    .burger.toggle span:nth-child(1) { 
        transform: rotate(-45deg) translate(-5px, 6px); 
        background-color: white; 
    }
    
    .burger.toggle span:nth-child(2) { 
        opacity: 0; 
    }
    
    .burger.toggle span:nth-child(3) { 
        transform: rotate(45deg) translate(-5px, -6px); 
        background-color: white; 
    }
}
/* ==========================================================================
   7. MAIN CONTENT (Tour Grid & Cards)
   ========================================================================== */

/* Variables Khusus Konten */
:root {
    --primary-color: #ff7b00;
    --primary-hover: #e66a00;
    --white: #ffffff;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
    --transition: 0.3s ease;
    --text-main: #2d3436;
    --text-light: #636e72;
    --container-width: 1100px;
}

/* Layout Container */
.container {
    max-width: var(--container-width);
    margin: 60px auto;
    padding: 0 20px;
}

/* Grid System */
.tour-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    grid-auto-rows: 1fr; /* Memaksa semua baris memiliki tinggi seragam */
    gap: 30px;
    margin-bottom: 60px;
}

/* Card Wrapper */
.card {
    background: var(--white);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    align-items: center; /* Gambar & teks sejajar tengah secara vertikal */
    gap: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%; 
    min-height: 180px; /* Mengunci tinggi minimal kotak */
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

/* Card Image */
.card img {
    width: 160px;
    height: 100%;
    min-height: 120px;
    object-fit: cover;
    border-radius: 15px;
    flex-shrink: 0;
}

/* Card Body Content */
.card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Judul di atas, Harga di bawah */
    height: 100%;
    width: 100%;
    padding-right: 10px;
}

.card-content h3 {
    font-size: 20px;
    margin: 0 0 10px 0;
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.3;
}

.card-content p {
    margin: 5px 0;
    flex-grow: 1; /* Mengambil ruang agar harga terdorong ke bawah */
    color: var(--text-light);
}

/* Card Pricing */
.card-price {
    font-weight: bold;
    color: var(--primary-color);
    margin-top: auto; 
    display: block;
}

/* ==========================================================================
   8. RESPONSIVE GRID (Tablet & Mobile)
   ========================================================================== */
@media (max-width: 768px) {
    .tour-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        height: auto;
    }

    .card img {
        width: 100%;
        height: 200px;
    }

    .card-content {
        padding-right: 0;
    }

    .card-content p {
        text-align: center;
        -webkit-line-clamp: unset; 
    }
}
/* ==========================================================================
   9. ITINERARY & PRICING (Details Box)
   ========================================================================== */

/* Variables Lokal Section (Opsional, merujuk ke global jika sama) */
:root {
    --primary-color: #ff7b00;
    --primary-hover: #e66a00;
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(0,0,0,0.1);
    --transition: 0.3s ease;
    --text-main: #333;
}

/* Container Box Utama */
.details-box {
    background: var(--white);
    max-width: 800px;           /* Limit lebar di PC agar nyaman dibaca */
    width: 90%;                 /* Fleksibilitas di layar HP */
    margin: 0 auto 40px auto;   /* Centering box */
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* Judul dengan Aksen Garis Kiri */
.details-box h3 {
    font-size: 24px;
    text-align: left;
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 5px solid var(--primary-color);
}

/* List Itinerary & Pricing */
.details-box ul {
    list-style: none;
    padding: 0;
}

.details-box ul li {
    font-size: 16px;
    color: var(--text-main);
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

/* Menghilangkan garis bawah pada item terakhir list */
.details-box ul li:last-child {
    border-bottom: none;
}

/* ==========================================================================
   10. MEDIA QUERIES (Details Box Adjustments)
   ========================================================================== */
@media (max-width: 768px) {
    .details-box {
        padding: 25px; /* Sedikit memperkecil padding di layar kecil */
    }
    
    .details-box h3 {
        font-size: 20px;
    }

    .details-box ul li {
        font-size: 15px;
    }
}
/* ==========================================================================
   11. PRICING SECTION (CTA Box)
   ========================================================================== */

.pricing {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
    max-width: 800px; /* Menjaga konsistensi lebar dengan details-box */
    margin: 0 auto 60px auto;
}

/* Tombol Booking / WhatsApp */
.pricing a {
    display: inline-block;
    background: #ff7b00; /* Warna Oranye Utama */
    color: var(--white);
    text-decoration: none;
    padding: 15px 40px;
    border-radius: 12px; /* Melengkung sesuai desain foto */
    font-weight: 700;
    font-size: 18px;
    margin-top: 20px;
    transition: var(--transition);
}

.pricing a:hover {
    background: #e66a00;
    transform: scale(1.05); /* Efek membesar sedikit saat disentuh */
}

/* ==========================================================================
   12. MEDIA QUERIES (Pricing Mobile)
   ========================================================================== */
@media (max-width: 768px) {
    .pricing {
        padding: 30px 20px;
        width: 90%;
    }

    .pricing a {
        width: 100%; /* Tombol memenuhi layar di HP agar mudah diklik */
        font-size: 16px;
        padding: 15px 20px;
    }
}

/* ==========================================================================
   13. PACKAGE TABLE (Snorkeling & Additional Services)
   ========================================================================== */

/* Container Utama Tabel */
.package-section {
    max-width: 800px; 
    margin: 40px auto;
    padding: 30px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* Judul Tabel */
.section-title-alt {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    border-bottom: 2px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.package-table {
    width: 100%;
}

/* Header Tabel */
.table-header {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
}

/* Baris Tabel */
.package-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid #f9f9f9;
    transition: var(--transition);
}

.package-row:hover {
    background-color: #fffaf5; /* Efek highlight oranye sangat muda */
}

/* Kolom Nama & Harga */
.package-name {
    flex: 1;
    font-size: 0.95rem;
    color: var(--text-main);
    padding-right: 20px;
    line-height: 1.5;
}

.package-price {
    font-weight: 700;
    color: #d32f2f; /* Merah kontras agar harga terlihat jelas */
    font-size: 1.1rem;
    white-space: nowrap;
}

/* Catatan di Bawah Tabel */
.package-notes {
    margin-top: 25px;
    padding-top: 15px;
}

.package-notes p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 8px;
    line-height: 1.4;
    font-style: italic;
}

/* ==========================================================================
   14. MEDIA QUERIES (Table Mobile Optimization)
   ========================================================================== */
@media (max-width: 600px) {
    .package-section {
        width: 95%;
        padding: 20px;
    }
    
    .package-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .package-price {
        align-self: flex-end; /* Harga bergeser ke kanan bawah pada mobile */
        font-size: 1rem;
    }

    .table-header {
        display: none; /* Header dihilangkan di mobile agar tidak berantakan */
    }
}

/* ==========================================================================
   15. FOOTER SECTION (Fixed Orange Background)
   ========================================================================== */
.footer {
    background-color: #ff7b00 !important; /* Memastikan warna oranye tetap muncul */
    color: #ffffff !important;
    padding: 60px 8% 30px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    width: 100%;
    position: relative;
    clear: both; /* Menghindari bug layout dari section sebelumnya */
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: flex-start;
    max-width: 1200px; /* Menjaga agar konten tidak terlalu lebar ke pinggir */
    margin: 0 auto;
}

/* Tipografi - Memastikan semua teks di dalam footer berwarna putih */
.footer-box h4, 
.footer-box p, 
.footer-contact-list li, 
.footer-contact-list li a,
.footer-bottom {
    color: #ffffff !important;
}

.footer-box h4 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-box p {
    font-size: 14px;
    line-height: 1.6;
}

/* List Kontak & Sosial Media */
.footer-contact-list {
    list-style: none;
    padding: 0;
}

.footer-contact-list li {
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 45px; /* Ukuran sedikit lebih besar agar sesuai foto */
    height: 45px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ff7b00; /* Icon mengikuti warna tema */
    text-decoration: none;
    transition: 0.3s ease;
}

/* Map Styling */
.map-container {
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.2); /* Frame tipis agar map terlihat menyatu */
}

/* Copyright Section */
.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 13px;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   16. MEDIA QUERIES (Responsif Mobile)
   ========================================================================== */
@media (max-width: 768px) {
    .footer {
        padding: 40px 5% 20px;
    }

    .footer-container {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .footer-box {
        text-align: left;
    }

    .map-container iframe {
        height: 200px;
    }
}
/* ======================================================
   10. FLOATING WHATSAPP
====================================================== */
.floating-wa-icon {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    z-index: 999;
}


