/* ======== PENGATURAN DASAR & RESET ======== */
html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Memastikan padding tidak mempengaruhi lebar total */
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit; /* Mewarisi warna dari elemen induk */
}

/* ======== STYLE HEADER UTAMA ======== */
.sticky-header {
    background-color: #000; /* Latar belakang hitam */
    color: #fff;           /* Font putih */
    padding: 1rem 0;      /* Padding atas & bawah */
    
    /* Ini kuncinya untuk "sticky" */
    position: sticky;
    top: 0;
    width: 100%;          /* Full edge-to-edge */
    z-index: 1000;        /* Memastikan header selalu di atas */
    
    border-bottom: 1px solid #333; /* Garis pemisah tipis (opsional) */
    transition: background-color 0.4s ease-in-out;
}

.sticky-header.scrolled {
    /* Gunakan RGBA untuk transparansi. (0,0,0) adalah hitam, 0.85 adalah 85% opacity */
    background-color: rgba(0, 0, 0, 0.85);
    
    /* Opsional: Efek 'frosty glass' (blur) jika Anda suka */
    /* backdrop-filter: blur(10px); */
}

/* Kontainer untuk menampung logo & menu agar tidak terlalu mepet ke tepi */
.navbar-container {
    display: flex;
    justify-content: space-between; /* Logo di kiri, menu di kanan */
    align-items: center;
    
    /* Memberi sedikit jarak di tepi layar */
    width: 90%; 
    margin: 0 auto;    /* Menengahkan kontainer */
}

.logo {
    font-size: 1.75rem;
    font-weight: 700;
}

/* ======== STYLE NAVIGASI (DESKTOP) ======== */
.nav-menu ul {
    display: flex;
    gap: 2rem; /* Jarak antar item menu */
}

.nav-menu a {
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem;
    transition: color 0.3s ease-in-out;
}

.nav-menu a:hover {
    color: #aaa; /* Efek hover sederhana */
}

/* ======== TOMBOL HAMBURGER (MOBILE) ======== */
.hamburger-menu {
    display: none; /* Sembunyikan di desktop */
    cursor: pointer;
    background: transparent;
    border: none;
}

.hamburger-menu .bar {
    display: block;
    width: 28px;
    height: 3px;
    margin: 6px 0;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
}

/* ======== PENGATURAN RESPONSIVE (MOBILE) ======== */
@media (max-width: 768px) {
    
    /* Tampilkan tombol hamburger */
    .hamburger-menu {
        display: block;
    }

    /* Sembunyikan menu desktop */
    .nav-menu {
        display: none; /* Sembunyikan menu utama */
        
        /* Ubah posisi jadi dropdown full-width */
        position: absolute;
        top: 100%; /* Tepat di bawah header */
        left: 0;
        width: 100%;
        background-color: #000;
        border-top: 1px solid #333;
    }
    
    /* Tampilkan menu jika .active (dari JavaScript) */
    .nav-menu.active {
        display: block;
    }

    /* Tata ulang item menu jadi vertikal */
    .nav-menu ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .nav-menu li {
        text-align: center;
        border-bottom: 1px solid #333;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        display: block; /* Buat link mengisi seluruh area 'li' */
        padding: 1.25rem;
    }
    
    /* Animasi hamburger menjadi 'X' saat aktif */
    .hamburger-menu.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger-menu.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}


/* ======== KONTEN PLACEHOLDER (HAPUS NANTI) ======== */
.placeholder-content {
    padding: 2rem;
    background-color: #f9f9f9;
}
.placeholder-content h1 {
    margin-bottom: 1rem;
}

/* ======== STYLE HERO SECTION ======== */

.hero-section {
    /* 1. Ukuran Tetap Sama */
    height: 90vh; 
    
    /* 2. HAPUS background-image dari sini! */
    /* background-image: url('...'); <- INI DIHAPUS/DIKOMENTARI */
    
    /* 3. Penataan Konten */
    position: relative; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff; 
    padding: 0 1rem; 
    overflow: hidden; /* Penting agar gambar tidak bocor keluar */
}

/* --- BARU: Style untuk Slider --- */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Paling belakang */
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    
    /* Efek Transisi (Fading) */
    opacity: 0; /* Sembunyi dulu */
    transition: opacity 1.5s ease-in-out; /* Durasi fade 1.5 detik */
}

.hero-slide.active {
    opacity: 1; /* Munculkan jika ada class 'active' */
}

/* Overlay Gelap (untuk Readability) */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); 
    z-index: 1; /* Di atas slider */
}

/* Konten Teks (di Atas Overlay) */
.hero-content {
    position: relative; 
    z-index: 2; /* Paling atas */
    max-width: 800px; 
}

.hero-content h1 {
    font-size: 3.5rem; 
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

/* Tombol Call-to-Action (CTA) */
.cta-button {
    display: inline-block;
    background-color: #fff; /* Tombol putih */
    color: #000;           /* Teks hitam */
    padding: 0.85rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 5px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #f0f0f0; /* Sedikit lebih gelap saat di-hover */
    transform: scale(1.05); /* Sedikit membesar */
}

/* Penyesuaian Responsive untuk Judul Hero di Mobile */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem; /* Perkecil font di mobile */
    }
    .hero-content p {
        font-size: 1.1rem;
    }
}

/* ======== STYLE TOUR SLIDER SECTION ======== */
.tour-slider-section {
    padding: 3rem 0;
    background-color: #fff; /* Latar belakang putih untuk bagian ini */
    color: #000;
}

/* Kontainer untuk membatasi lebar header dan slider */
.slider-content-container {
    width: 90%;
    margin: 0 auto;
}

/* Style Header Bagian (Judul & "View All") */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
}

.view-all-link {
    font-size: 1rem;
    font-weight: 500;
    color: #8A2BE2; /* Warna ungu (atau sesuaikan) */
    text-decoration: none;
}
.view-all-link:hover {
    text-decoration: underline;
}

/* Kontainer slider (untuk posisi panah) */
.slider-container {
    position: relative;
}

/* Wrapper yang bisa di-scroll */
.card-slider {
    display: flex;
    gap: 1.5rem; /* Jarak antar kartu (24px) */
    
    /* Kunci untuk slider horizontal */
    overflow-x: scroll;
    
    /* Membuat scroll lebih mulus saat diklik panah */
    scroll-behavior: smooth;

    /* Memberi padding agar bayangan kartu tidak terpotong */
    padding: 1rem 0.5rem; 

    /* Menyembunyikan scrollbar */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}

/* Menyembunyikan scrollbar untuk Chrome/Safari */
.card-slider::-webkit-scrollbar {
    display: none;
}

/* Style Kartu */
.tour-card {
    /* Mencegah kartu 'penyet' saat di-scroll */
    flex-shrink: 0; 
    
    /* Lebar kartu sesuai permintaan (390px) */
    width: 390px;
    
    background-color: #fff;
    border-radius: 20px; /* Border radius yang cantik */
    
    /* Bayangan halus seperti di screenshot */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Kontainer Gambar Kartu */
.card-image-container {
    position: relative;
    /* Mencegah gambar 'bocor' dari border-radius */
    overflow: hidden;
    /* Hanya radius di sudut atas */
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.card-image-container img {
    width: 100%; /* Lebar 390px (mengikuti .tour-card) */
    height: 390px; /* Tinggi 260px sesuai permintaan */
    object-fit: cover; /* Memastikan gambar pas tanpa distorsi */
    display: block; /* Menghilangkan spasi aneh di bawah gambar */
}

/* Lokasi di atas gambar (seperti screenshot) */
.card-location {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background-color: rgba(0, 0, 0, 0.5); /* Latar semi-transparan */
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Ribbon "Most Favorite" */
.ribbon-favorite {
    position: absolute;
    top: 1rem;
    left: -10px; /* Sedikit keluar agar terlihat 'menempel' */
    background-color: #28a745; /* Hijau */
    color: #fff;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
/* Efek pita 'terlipat' */
.ribbon-favorite::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px; /* Atur ini untuk sudut lipatan */
    border-top: 8px solid #1a6b2c; /* Warna lebih gelap */
    border-left: 10px solid transparent;
}


/* Konten Teks di Bawah Gambar */
.card-body {
    padding: 1rem 1.25rem;
    color: #000;
}

.card-body h3 {
    font-size: 1.15rem;
    font-weight: 600;
    /* Membatasi teks jadi 2 baris (opsional) */
    height: 3.6em; /* 1.2em * 3 baris */
    line-height: 1.2em;
    overflow: hidden;
    text-overflow: ellipsis;
    /* Properti di bawah ini diperlukan untuk text overflow multi-baris */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.card-reviews {
    font-size: 1rem;
    font-weight: 500;
    color: #555;
}

.btn-book-now {
    background-color: #6a0dad; /* Warna ungu seperti di screenshot */
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.btn-book-now:hover {
    background-color: #520a86; /* Ungu lebih gelap */
}

/* Style Panah Navigasi */
.slider-arrow {
    position: absolute;
    top: 195px; 
    transform: translateY(-50%);
    
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    
    /* BARU: Atur display untuk menengahkan SVG */
    display: flex;
    justify-content: center;
    align-items: center;

    /* HAPUS INI: */
    /* font-size: 2rem; */
    /* font-weight: 300; */

    color: #333;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background-color: #f5f5f5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.slider-arrow.prev {
    left: 1rem; /* Jarak 1rem dari tepi kiri kontainer */
}
.slider-arrow.next {
    right: 1rem; /* Jarak 1rem dari tepi kanan kontainer */
}

/* Kelas 'hidden' untuk disembunyikan via JavaScript */
.slider-arrow.hidden {
    display: none;
}

/* Penyesuaian di Mobile (buat kartu lebih kecil) */
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 1.8rem;
    }
    .tour-card {
        width: 280px; /* Perkecil lebar kartu di mobile */
    }
    .card-image-container img {
        height: 200px; /* Perkecil tinggi gambar di mobile */
    }
    .slider-arrow {
        /* Sembunyikan panah di mobile (karena scroll sentuh lebih umum) */
        display: none;
    }
}

/* BARU: Style untuk SVG di dalam panah */
.arrow-svg {
    width: 20px;  /* Atur ukuran ikon SVG */
    height: 20px;
    color: #333; /* SVG akan mengambil warna ini (dari 'fill="currentColor"') */
}

/* BARU: Memutar SVG untuk panah 'prev' */
.slider-arrow.prev .arrow-svg {
    transform: scaleX(-1); /* Ini akan membalik panah secara horizontal */
}

/* Opsional: Penyesuaian posisi agar pas di tengah lingkaran */
.slider-arrow.next .arrow-svg {
    margin-left: 2px;
}
.slider-arrow.prev .arrow-svg {
    margin-right: 2px;
}

/* ======== STYLE THINGS TO DO SECTION ======== */
.things-to-do-section {
    padding: 3rem 0;
    background-color: #f9f9f9; /* Latar belakang sedikit abu-abu */
    color: #000;
    overflow-x: hidden; /* Mencegah horizontal scroll di halaman */
}

/* Kontainer untuk membatasi lebar (menggunakan yang sama dari slider sblmnya) */

.things-section-header {
    width: 90%;
    margin: 0 auto;
}

.things-section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
}
.things-to-do-section .section-container {
    width: 100%;
    margin: 0 auto;
}

/* Header "Things To Do" */
.things-to-do-section .section-header {
    /* Menggunakan style yg sama dengan .section-header sebelumnya */
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.things-to-do-section .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
}




/* Kontainer Slider Paket Wisata */
.package-slider-container {
    position: relative;
}

.package-slider {
    display: flex;
    /* Jangan pakai gap jika kartu sangat lebar, 
       tapi beri margin agar 'snap' bekerja baik */
    gap: 1.5rem; /* 24px */
    
    overflow-x: scroll;
    scroll-behavior: smooth;
    
    /* Penting: agar scroll 'snap' ke kartunya */
    scroll-snap-type: x mandatory;

    /* Sembunyikan scrollbar */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
}
.package-slider::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Style Kartu Paket Wisata (Sesuai Permintaan) */
.package-card {
    flex-shrink: 0;
    
    /* Ukuran Desktop */
    width: 900px; 
    height: 490px;
    
    position: relative;
    border-radius: 20px; /* Border radius cantik */
    overflow: hidden; /* Memastikan gambar tidak bocor */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    
    /* 'Snap' ke tengah kartu saat scroll */
    scroll-snap-align: center;

    /* Transisi untuk filter (sembunyi/tampil) */
    transition: all 0.5s ease-in-out;
}

/* Sembunyikan kartu (via JS) */


.package-card img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Gambar menutupi area tanpa distorsi */
    display: block;
}

/* Konten teks di atas gambar */
.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem 1.5rem 1.5rem; /* Padding lebih banyak di atas */
    color: #fff;
    
    /* Gradient gelap agar teks terbaca */
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 100%);
}

.card-location {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    margin-bottom: 0.5rem;
}

.card-content h3 {
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.3;
    padding-bottom: 2rem;
}

/* Panah Navigasi (Selalu Tampil) */
.pkg-slider-arrow {
    /* Menggunakan style yg sama dengan .slider-arrow */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.pkg-slider-arrow:hover {
    background-color: #f5f5f5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.pkg-slider-arrow.prev {
    left: 1rem; /* Jarak dari tepi kontainer */
}
.pkg-slider-arrow.next {
    right: 1rem; /* Jarak dari tepi kontainer */
}

/* Menggunakan kembali style SVG dari slider sebelumnya */
.pkg-slider-arrow .arrow-svg {
    width: 20px;
    height: 20px;
    color: #333;
}
.pkg-slider-arrow.prev .arrow-svg {
    transform: scaleX(-1);
    margin-right: 2px;
}
.pkg-slider-arrow.next .arrow-svg {
    margin-left: 2px;
}

/* ======== RESPONSIVE (MOBILE) ======== */
@media (max-width: 960px) {
    /* Di layar medium, perkecil kartu 900px */
    .package-card {
        width: 500px;
        height: 278px; /* Menjaga rasio 900:490 */
    }
    .card-content h3 {
        font-size: 1.4rem;
    }
}


@media (max-width: 768px) {
    .things-to-do-section .section-header h2 {
        font-size: 1.8rem;
    }

    /* Buat filter bisa di-scroll horizontal di mobile */
    .category-filter {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 1rem; /* Ruang untuk scrollbar (jika terlihat) */
        /* Sembunyikan scrollbar */
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .category-filter::-webkit-scrollbar {
        display: none;
    }
    .filter-btn {
        gap: 0.3rem;
    }
    .filter-btn .filter-icon {
        width: 24px;
        height: 24px;
    }
    .filter-btn span {
        font-size: 0.8rem;
        white-space: nowrap; /* Agar teks tidak terpotong */
    }

    /* Ukuran Kartu Mobile (Sesuai Permintaan) */
    .package-card {
        width: 318px;
        height: 180px; /* Rasio 318:180 (mendekati 900:490) */
    }

    .card-content {
        padding: 1.5rem 1rem 1rem;
    }
    .card-content h3 {
        font-size: 1.1rem;
    }

    /* Sembunyikan panah di mobile (umumnya pakai swipe) */
    .pkg-slider-arrow {
        display: none;
    }
}

/* ======== STYLE MODAL GALERI & LIGHTBOX ======== */

/* 1. Modal Overlay (Latar Gelap) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Gelap transparan */
    z-index: 2000; /* Di atas header sticky */
    
    /* Flexbox untuk menengahkan konten */
    display: flex;
    justify-content: center;
    align-items: center; /* Vertikal center */
    
    /* Sembunyikan default-nya */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Class active untuk memunculkan modal */
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 2. Konten Modal (Kotak Putih) */
.modal-content {
    background-color: #fff;
    width: 90%;
    max-width: 1000px;
    height: 85vh; /* 85% tinggi layar */
    border-radius: 12px;
    position: relative;
    padding: 2rem;
    overflow-y: auto; /* Scroll jika konten panjang */
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    
    /* Animasi Zoom In saat muncul */
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

/* Header Modal */
.modal-header {
    margin-bottom: 2rem;
    text-align: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.modal-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Tombol Close (X) */
.close-modal-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
    line-height: 1;
    transition: color 0.3s;
}
.close-modal-btn:hover { color: red; }

/* 3. Gallery Grid (Susunan Foto) */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Responsive grid */
    gap: 1rem;
}

.gallery-item {
    width: 100%;
    height: 200px; /* Tinggi seragam thumbnail */
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.gallery-item:hover {
    transform: scale(1.03);
    opacity: 0.9;
}

/* ======== STYLE LIGHTBOX (FOTO BESAR) ======== */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95); /* Hitam pekat */
    z-index: 3000; /* Di atas Gallery Modal */
    display: flex;
    justify-content: center;
    align-items: center;
    
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-image-container img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(255,255,255,0.1);
}

.close-lightbox-btn {
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 3rem;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
}

/* Mobile Responsive adjustments */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        height: 90vh;
        padding: 1.5rem;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 Kolom di mobile */
    }
    .gallery-item {
        height: 150px;
    }
}

/* ======== TESTIMONIALS SECTION ======== */

/* Kontainer untuk membatasi lebar (menggunakan yang sama dari slider sblmnya) */

.testi-section-header {
    width: 90%;
    margin: 0 auto;
}

.testi-section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
}
.testi-to-do-section .section-container {
    width: 100%;
    margin: 0 auto;
}

.testimonials-section {
    padding: 4rem 0;
    background-color: #fff;
    /* Pattern halus opsional agar tidak terlalu polos */
    background-image: radial-gradient(#e5e5e5 1px, transparent 1px);
    background-size: 20px 20px;
}

.section-header.text-center {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.section-header p {
    color: #666;
    margin-top: 0.5rem;
}

/* --- MASONRY LAYOUT (Pinterest Style) --- */
.masonry-grid {
    column-count: 3; /* 3 Kolom di Desktop */
    column-gap: 1.5rem;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Item Testimonial */
.testimonial-item {
    /* Agar item tidak terpotong antar kolom */
    break-inside: avoid; 
    margin-bottom: 1.5rem;
    
    /* Style "Kertas" */
    background-color: #fff;
    padding: 0.5rem;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: zoom-in; /* Memberi tahu user ini bisa di-zoom */
}

.testimonial-item img {
    width: 100%;
    height: auto; /* Tinggi otomatis mengikuti rasio gambar */
    border-radius: 2px;
    display: block;
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* Tombol Load More */
.load-more-container {
    text-align: center;
    margin-top: 2rem;
}

.btn-load-more {
    background-color: transparent;
    border: 2px solid #000;
    color: #000;
    padding: 0.8rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-load-more:hover {
    background-color: #000;
    color: #fff;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .masonry-grid {
        column-count: 2; /* 2 Kolom di Tablet */
    }
}

@media (max-width: 600px) {
    .masonry-grid {
        column-count: 1; /* 1 Kolom di HP */
    }
}

/* ======== WELCOME SECTION ======== */
.welcome-section {
    padding: 5rem 0;
    background-color: #fcfcfc; /* Sedikit abu-abu sangat muda agar beda */
    display: flex;
    justify-content: center;
}

.welcome-container {
    width: 90%;
    max-width: 1100px;
    display: flex;
    align-items: center; /* Vertikal center */
    gap: 4rem; /* Jarak antara teks dan foto */
}

/* --- Kolom Teks --- */
.welcome-text {
    flex: 1; /* Mengambil sisa ruang */
}

.sub-heading {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #6a0dad; /* Ungu tema Anda */
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.welcome-text h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    color: #000;
    margin-bottom: 1.5rem;
}

.divider-line {
    width: 80px;
    height: 3px;
    background-color: #6a0dad;
    margin-bottom: 2rem;
}

.welcome-text p {
    font-size: 1.05rem;
    color: #444;
    margin-bottom: 1.5rem;
    line-height: 1.8; /* Spasi baris agak lega supaya enak dibaca */
}

.welcome-text .emphasis-text {
    font-weight: 600;
    color: #000;
    font-style: italic;
}

/* Tanda Tangan */
.owner-signature {
    margin-top: 2rem;
}
.owner-signature h3 {
    font-family: 'Segoe UI', cursive, sans-serif; /* Atau font tanda tangan jika ada */
    font-size: 1.5rem;
    color: #000;
}
.owner-signature p {
    font-size: 0.9rem;
    color: #777;
    margin: 0;
}

/* --- Kolom Gambar --- */
.welcome-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.welcome-image img {
    width: 100%;
    max-width: 450px;
    border-radius: 12px;
    position: relative;
    z-index: 2;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* Kotak Dekorasi di belakang foto */
.image-decoration {
    position: absolute;
    width: 100%;
    max-width: 450px;
    height: 100%;
    border: 2px solid #6a0dad;
    border-radius: 12px;
    top: 20px; /* Geser ke bawah */
    left: 20px; /* Geser ke kanan */
    z-index: 1; /* Di belakang foto */
}

/* --- Responsive Mobile --- */
@media (max-width: 900px) {
    .welcome-container {
        flex-direction: column-reverse; /* Foto di atas, Teks di bawah (atau sebaliknya) */
        text-align: center;
        gap: 3rem;
    }
    
    .divider-line {
        margin: 0 auto 2rem auto; /* Tengahkan garis */
    }

    .image-decoration {
        left: 10px;
        top: 10px;
    }
}

/* ======== STYLE FOOTER ======== */
.site-footer {
    background-color: #111; /* Hitam gelap elegan */
    color: #b0b0b0; /* Teks abu-abu terang */
    padding-top: 4rem;
    font-size: 0.95rem;
}

.footer-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    /* Responsive Grid: Otomatis turun ke bawah kalau layar kecil */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 3rem;
    padding-bottom: 3rem;
}

/* --- Kolom Brand --- */
.footer-logo {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-desc {
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Social Media Icons */
.social-links {
    display: flex;
    gap: 1rem;
}
.social-links a {
    color: #fff;
    transition: color 0.3s, transform 0.3s;
}
.social-links a:hover {
    color: #8A2BE2; /* Warna aksen Ungu */
    transform: translateY(-3px);
}

/* --- Kolom Links --- */
.footer-col h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

/* Garis kecil di bawah judul kolom */
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background-color: #8A2BE2;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #b0b0b0;
    transition: color 0.3s, padding-left 0.3s;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px; /* Efek geser sedikit saat hover */
}

/* --- Kolom Contact (Paling Penting) --- */
.contact-role {
    color: #8A2BE2; /* Warna ungu untuk membedakan role */
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
    margin-top: 1.5rem;
}
.contact-role:first-child {
    margin-top: 0;
}

.guide-info {
    margin-bottom: 1rem;
    border-bottom: 1px solid #333; /* Garis pemisah tipis */
    padding-bottom: 1rem;
}

.guide-name {
    display: block;
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.contact-link, .address-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #b0b0b0;
    margin-bottom: 0.3rem;
    transition: color 0.3s;
}

.contact-link:hover, .address-link:hover {
    color: #fff;
    text-decoration: underline;
}

.icon-small {
    width: 18px;
    height: 18px;
    flex-shrink: 0; /* Agar ikon tidak gepeng */
}

.office-address span {
    line-height: 1.5;
}

/* --- Footer Bottom (Copyright) --- */
.footer-bottom {
    background-color: #000;
    text-align: center;
    padding: 1.5rem 1rem;
    border-top: 1px solid #222;
}
.footer-bottom p {
    font-size: 0.85rem;
    color: #777;
}

/* --- Responsive Mobile --- */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr; /* 1 kolom memanjang ke bawah */
        gap: 2.5rem;
    }
}

/* ======== BOOKING FORM STYLE ======== */

/* Memodifikasi ukuran modal untuk form agar lebih ramping */
.booking-modal-content {
    max-width: 600px; /* Lebih ramping dari galeri */
    padding: 2.5rem;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    text-align: left; /* Pastikan label rata kiri */
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.95rem;
    color: #333;
}

.required {
    color: red;
}

/* Style Input seperti di gambar */
.booking-form input,
.booking-form select,
.booking-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    background-color: #fff;
    transition: border-color 0.3s;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
    outline: none;
    border-color: #007bff; /* Biru saat aktif */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.2);
}

/* Tombol Submit Biru */
.btn-submit-booking {
    background-color: #007bff; /* Biru terang */
    color: #fff;
    border: none;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s;
}

.btn-submit-booking:hover {
    background-color: #0056b3; /* Biru lebih gelap */
}

.btn-submit-booking:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Floating CTA Button (Pojok Kanan Bawah) */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #007bff;
    color: #fff;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0,123,255,0.4);
    border: none;
    cursor: pointer;
    z-index: 1500;
    transition: transform 0.3s;
}
.floating-cta:hover {
    transform: scale(1.1);
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .booking-modal-content {
        padding: 1.5rem;
        width: 95%;
    }
    .floating-cta {
        bottom: 20px;
        right: 20px;
        padding: 12px 24px;
        font-size: 1rem;
    }
}

/* ======== STYLE BUTTON DETAILS DI KARTU ======== */
.btn-details {
    background: transparent;
    border: 1px solid #ccc;
    color: #555;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.btn-details:hover {
    border-color: #000;
    color: #000;
    background-color: #f5f5f5;
}

/* ======== STYLE MODAL DETAIL (SPLIT VIEW) ======== */
.detail-modal-content {
    width: 90%;
    max-width: 1100px; /* Lebar modal */
    height: 85vh; /* Tinggi fix agar scroll berfungsi */
    padding: 0; /* Reset padding default modal */
    overflow: hidden; /* Hide scrollbar luar */
    display: flex;
    flex-direction: column;
}

.detail-modal-body {
    display: flex;
    height: 100%;
    width: 100%;
}

/* --- Kolom Kiri (Gambar) --- */
.detail-image-col {
    flex: 1.2; /* Gambar sedikit lebih lebar */
    background-color: #000;
    position: relative;
}

.detail-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Gambar full cover */
    display: block;
}

/* --- Kolom Kanan (Teks) --- */
.detail-text-col {
    flex: 1;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    position: relative;
}

.detail-category {
    font-size: 0.8rem;
    font-weight: 700;
    color: #8A2BE2; /* Ungu Brand */
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.detail-text-col h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #111;
}

/* Area Scroll Teks */
.detail-scroll-area {
    flex: 1; /* Mengisi sisa ruang */
    overflow-y: auto; /* Scroll vertikal aktif */
    padding-right: 1rem; /* Jarak ke scrollbar */
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
}

/* Mempercantik Scrollbar */
.detail-scroll-area::-webkit-scrollbar {
    width: 6px;
}
.detail-scroll-area::-webkit-scrollbar-thumb {
    background-color: #ddd;
    border-radius: 4px;
}

/* Formatting teks di dalam deskripsi */
.detail-scroll-area h4 {
    font-size: 1.2rem;
    color: #000;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 5px;
    display: inline-block;
}

.detail-scroll-area ul {
    list-style-type: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.price-tag {
    font-size: 1.2rem;
    font-weight: 700;
    color: #28a745; /* Hijau Uang */
}

/* Tombol Action di Modal Detail */
.detail-action-area {
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
}

.btn-book-now-large {
    width: 100%;
    background-color: #6a0dad;
    color: #fff;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.btn-book-now-large:hover {
    background-color: #520a86;
}

/* --- Responsive Mobile --- */
@media (max-width: 900px) {
    .detail-modal-content {
        height: 90vh;
        max-width: 95%;
    }
    .detail-modal-body {
        flex-direction: column; /* Tumpuk vertikal di HP */
        overflow-y: auto; /* Scroll body utama */
    }
    .detail-image-col {
        flex: none;
        height: 250px; /* Tinggi gambar di HP */
    }
    .detail-text-col {
        flex: none; /* Biarkan tinggi menyesuaikan isi */
        padding: 1.5rem;
    }
    .detail-scroll-area {
        overflow-y: visible; /* Matikan scroll dalam, pakai scroll body */
        flex: none;
    }
}

/* ======== TRUSTED BADGES (TripAdvisor & IndoJunkie) ======== */
.trusted-badges {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.badges-label {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.8rem;
    display: block;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.badges-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid;
}

/* Warna TripAdvisor (Hijau) */
.btn-badge.tripadvisor {
    color: #00aa6c;
    border-color: #00aa6c;
    background-color: transparent;
}

.btn-badge.tripadvisor:hover {
    background-color: #00aa6c;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 170, 108, 0.3);
}

/* Warna IndoJunkie (Oranye/Warm) */
.btn-badge.indojunkie {
    color: #d35400;
    border-color: #d35400;
    background-color: transparent;
}

.btn-badge.indojunkie:hover {
    background-color: #d35400;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(211, 84, 0, 0.3);
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .trusted-badges {
        text-align: center;
    }
    .badges-group {
        justify-content: center;
    }
}