
/* ================= GLOBAL ================= */

:root {
            --primary-blue: #1e56a0;
            --btn-blue: #1d5ed2;
            --text-main: #4a5568;
            --text-faded: #94a3b8;
            --bg-body: #f4f7f9;
            --accent-red: #e63946;
            --dark-blue: #2c3e50;
            --border-gray: #e2e8f0;
}

.included-section {
  margin-top: 10px;
  padding: 35px;
  border: 4px solid #305e9b;
}

.included-section h2 {
  color: var(--dark-blue);
  border-left: 5px solid var(--btn-blue);
  padding-left: 15px;
  margin-bottom: 10px;
}

.included-list {
  list-style: none;
}

.included-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 18px;
  line-height: 1.6;
  font-size: 0.95rem;
  color: #475569;
  text-align: justify;
}

.included-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 2px;
  color: #22c55e;
  font-weight: bold;
  font-size: 1rem;
}


/* ================= navbar ================= */
.btn-back {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: none;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.back-icon {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: white;
    stroke-width: 3.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.btn-back:hover {
    background: white;
    transform: translateX(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.btn-back:hover .back-icon {
    stroke: #0d47a1;
}

.btn-back:active {
    transform: scale(0.95);
}

.app-container {
  margin-top: 60px;
    width: 100%;
    max-width: 480px;
    background: #fff;
    min-height: 100vh;
    /*padding-bottom: 80px;*/
}

/* 3. Hotel Info */
.hotel-info {
    padding: 15px;
}

.title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

h1 {
    font-size: 18px;
    line-height: 1.3;
}

.rating-badge {
    background: #0046ad;
    color: white;
    padding: 4px 6px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
}

.stars {
    margin: 4px 0;
    font-size: 14px;
}

.address {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.status-green {
    color: #2e7d32;
    font-size: 12px;
    font-weight: bold;
}
.gallery {
    display: grid;
    /* Dibagi menjadi 6 kolom agar bisa menampung 2 dan 3 gambar */
    grid-template-columns: repeat(6, 1fr); 
    /* aspect-ratio: 1 / 1; */
    gap: 4px;
    padding: 10px;
}
/* Styling Deskripsi Tur */
.tour-description-section {
    padding: 0 15px 20px 15px; /* Jarak kiri kanan agar sejajar dengan judul atas */
    background: #fff;
}

.tour-description-section h3 {
    font-size: 18px;
    color: #002347; /* Biru gelap sesuai tema */
    margin-bottom: 12px;
}

.tour-description-section p {
    font-size: 15px;
    color: #7a86a1; /* Warna abu-abu kebiruan sesuai gambar */
    line-height: 1.6; /* Memberi ruang antar baris agar tidak sesak */
    text-align: justify; /* Membuat teks rata kanan-kiri agar rapi */
}

.faq-section {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px; /* Jarak antar kotak FAQ */
}

.faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
}

.faq-header {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-header h3 {
    font-size: 15px;
    color: #2e7d32; /* Hijau sesuai gambar */
    font-weight: 600;
}

.faq-icon {
    color: #2e7d32;
    transition: transform 0.3s;
}

.faq-body {
    max-height: 0; /* Tersembunyi secara default */
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 15px;
}

/* Class aktif saat diklik */
.faq-item.active .faq-body {
    max-height: 200px; /* Sesuaikan dengan panjang teks */
    padding-bottom: 15px;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-body p {
    font-size: 14px;
    color: #7a86a1;
    line-height: 1.5;
}
/* Container Utama Harga Tur */
.tour-price-section {
    background-color: #f1ad2d; /* Warna oranye sesuai gambar */
    padding: 30px 20px;
    border-radius: 0; /* Sesuaikan jika ingin melengkung di pojok */
    color: white;
}

.tour-price-section h2 {
    font-size: 32px;
    font-family: 'Arial Rounded MT Bold', sans-serif; /* Font bulat seperti di gambar */
    margin-bottom: 25px;
    font-weight: bold;
}

/* Container baris harga */
.price-table {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
/* Styling Modal Gambar Besar */
.image-modal {
    display: none; /* Tersembunyi default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9); /* Latar belakang hitam transparan */
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 90%;
    max-height: 80%;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    animation: zoomIn 0.3s ease; /* Efek animasi muncul */
}

@keyframes zoomIn {
    from { transform: scale(0.7); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* Kursor berubah jadi pointer saat diarahkan ke gambar galeri */
.img-large, .img-small {
    cursor: pointer;
    transition: 0.3s;
}

.img-large:hover, .img-small:hover {
    opacity: 0.8;
}
/* Baris putih individual */
.price-row-item {
    background-color: #ffffff;
    color: #333;
    padding: 15px 20px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.price-row-item span {
    font-size: 16px;
    font-weight: 500;
}

.price-row-item strong {
    font-size: 18px;
    font-weight: 800;
    color: #000;
}

/* Baris khusus usia (teks diletakkan di bawah untuk baris terakhir) */
.age-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.age-row strong {
    align-self: flex-end; /* Harga menempel ke kanan bawah */
}

/* Responsif untuk layar kecil */
@media (max-width: 400px) {
    .price-row-item {
        padding: 12px 15px;
    }
    .price-row-item span, .price-row-item strong {
        font-size: 14px;
    }
}
/* 2 Gambar Besar di Atas */
.img-large {
    grid-column: span 3; /* 6 / 2 gambar = span 3 */
    height: 180px; /* Tentukan tinggi gambar besar */
    
    /* Pengaturan kunci untuk mengecilkan skala gambar */
    background-size: cover;    /* Mengisi kotak sepenuhnya, memotong jika perlu */
    background-position: center; /* Memusatkan gambar */
    background-repeat: no-repeat;
    
    border-radius: 4px;
}

/* 3 Gambar Kecil di Bawah */
.img-small {
    grid-column: span 2; /* 6 / 3 gambar = span 2 */
    height: 120px; /* Tentukan tinggi gambar kecil */
    
    /* Pengaturan kunci yang sama */
    background-size: cover;    /* Mengecilkan skala gambar agar pas ke kotak */
    background-position: center; /* */
    background-repeat: no-repeat;
    
    overflow: hidden;
    position: relative;
    border-radius: 4px;
}

/* Overlay +34 tetap sama */
.thumb-overlay::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.thumb-overlay span {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 18px;
    z-index: 2;
}

/* Styling untuk Nusa Penida Tour Section */
.tour-info {
    padding: 20px 15px;
    background: #fff;
    border-top: 8px solid #f8f8f8; /* Pemisah antar section */
}

.tour-info h2 {
    font-size: 24px;
    color: #002347; /* Biru gelap sesuai desain */
    margin-bottom: 5px;
}

.tour-location {
    font-size: 14px;
    color: #7a86a1;
    margin-bottom: 25px;
}

.tour-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Membagi dua kolom */
    gap: 20px;
    margin-bottom: 20px;
}

.tour-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tour-item.full-width {
    grid-column: span 2; /* Harga memanjang penuh */
}

.tour-icon {
    font-size: 24px;
    color: #2e7d32; /* Warna hijau ikon */
    width: 30px;
    text-align: center;
}


.btn-en{
    display: flex;
    justify-content: center; /* Center secara horizontal */
    align-items: center;     /* Center secara vertikal */
    text-align: center;      /* Tambahan jika ada teks di dalamnya */
    /* background-color: #00a2e9; */
}
.btn-edit-section{
    text-decoration: none;
    /* background-color: #00a2e9; */
}
.tour-text strong {
    margin: auto;
    display: block;
    font-size: 15px;
    color: #002347;
}

.tour-text span {
    font-size: 14px;
    color: #7a86a1;
}

.tour-text .price {
    font-weight: bold;
    color: #7a86a1;
}

.tour-description h3 {
    font-size: 18px;
    color: #002347;
    margin-top: 20px;
}

/* Container Utama Itinerary */
.itinerary-section {
    padding: 20px 15px;
    background: #fff;
}

.itinerary-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.day-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

/* Timeline Logic */
.timeline {
    padding-left: 10px;
}

.timeline-item {
    display: flex;
    gap: 20px;
    min-height: 80px; /* Jarak antar waktu */
}

/* Membuat Lingkaran dan Garis */
.time-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 20px;
}

.dot {
    width: 14px;
    height: 14px;
    background-color: #fff;
    border: 3px solid #00a2e9; /* Biru cerah sesuai gambar */
    border-radius: 50%;
    z-index: 2;
}

.line {
    flex-grow: 1;
    width: 2px;
    border-left: 2px dashed #00a2e9; /* Garis putus-putus biru */
    margin: 4px 0;
}

/* Menghilangkan garis pada item terakhir */
.timeline-item.last {
    min-height: auto;
}

/* Konten Teks */
.timeline-content {
    padding-bottom: 20px;
}

.timeline-content .time {
    display: block;
    font-weight: bold;
    color: #00a2e9;
    font-size: 16px;
    margin-bottom: 10px;
    margin-top: -3px; /* Menyejajarkan dengan titik */
}

.timeline-content p {
    font-size: 14px;
    color: #555;
    line-height: 1.4;
}
/* Container Utama Checklist */
.checklist {
    padding: 20px 15px;
    background-color: #fff;
    border-top: 8px solid #f8f8f8; /* Pemisah abu-abu antar section */
}

.checklist h3 {
    font-size: 18px;
    color: #000;
    margin-bottom: 15px;
}

/* Hilangkan titik/bullet bawaan dan padding kiri */
.checklist ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Atur posisi baris agar sejajar sempurna */
.checklist li {
    display: flex;
    align-items: flex-start; /* Agar ikon sejajar dengan baris pertama teks */
    gap: 12px;
    font-size: 15px;
    color: #7a86a1; /* Warna abu-abu kebiruan sesuai gambar */
    margin-bottom: 12px;
    line-height: 1.4;
}

/* Warna Hijau untuk tanda centang (Included) */
.check {
    color: #2e7d32;
    font-weight: bold;
    min-width: 20px; /* Agar teks setelahnya lurus vertikal */
}

/* Warna Merah untuk tanda silang (Excluded) */
.cross {
    color: #d32f2f;
    font-weight: bold;
    min-width: 20px;
}

/* Jarak tambahan untuk judul Excluded */
.mt-20 {
    margin-top: 25px;
}

/* Warna Hijau untuk Included */
.icon-check {
    color: #2e7d32;
    font-weight: bold;
    font-size: 18px;
}

/* Warna Merah untuk Excluded */
.icon-cross {
    color: #d32f2f;
    font-weight: bold;
    font-size: 18px;
}

/* Jarak antara bagian Included dan Excluded */
.excluded {
    margin-top: 25px;
}
/* 5. Features */
.features {
    padding: 20px 15px;
}

.features h3 {
    font-size: 16px;
    margin-bottom: 12px;
}

.feature-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.feature-card {
    min-width: 180px;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.f-icon { font-size: 20px; }
.feature-card strong { font-size: 13px; display: block; }
.feature-card small { font-size: 11px; color: #777; }

/* 6. Footer Fixed */
.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 480px;
    padding: 12px 15px;
    background: white;
    border-top: 1px solid #eee;
    z-index: 10;
}

.btn-primary {
    width: 100%;
    padding: 14px;
    background-color: #0071c2;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
}/* =========================================
   MODE TABLET & DESKTOP (Mulai 481px)
   ========================================= */
@media (min-width: 481px) {
    .app-container {
        max-width: 100%;
        padding-bottom: 40px;
    }

    .desktop-layout {
        display: flex;
        gap: 25px;
        padding: 20px;
        align-items: flex-start;
    }

    .main-content {
        flex: 3; 
    }

    .sidebar {
        flex: 1; 
        max-width: 320px;
        min-width: 260px;
        position: sticky;
        top: 90px;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    /* KONTROL HARGA TOUR DI SIDEBAR */
    .tour-price-section {
        border-radius: 12px;
        padding: 20px;
    }

    /* Judul Harga Tour dipaksa kecil agar tidak memenuhi sidebar */
    .tour-price-section h2 {
        font-size: 18px !important; 
        margin-bottom: 15px;
        text-align: center;
        font-family: 'Segoe UI', sans-serif;
    }

    .price-row-item {
        padding: 8px 12px !important;
        /* margin-bottom: 8px; */
    }

    .price-row-item span {
        font-size: 12px !important;
    }

    .price-row-item strong {
        font-size: 14px !important;
    }

    .age-row span {
        font-size: 10px !important;
    }

    /* Galeri & Grid */
    .img-large { height: 220px; }
    .img-small { height: 140px; }
    .footer { display: none; }
    .tour-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; }
}

/* =========================================
   MODE DESKTOP LEBAR (Mulai 1024px)
   ========================================= */
@media (min-width: 1024px) {
    .app-container {
        max-width: 2000px; /* Jangan terlalu lebar agar nyaman dibaca */
    }

    .img-large { height: 280px; }
    .img-small { height: 180px; }

    /* Tetap jaga agar h2 tidak membesar lagi di layar lebar */
    .tour-price-section h2 {
        font-size: 20px !important; 
    }
}
/* CSS untuk Fitur Lihat Selengkapnya */
.read-more-btn {
    display: none; /* Sembunyi di Desktop */
    background: none;
    border: none;
    color: #00a2e9; /* Sesuaikan dengan warna biru tema kamu */
    font-weight: bold;
    cursor: pointer;
    padding: 10px 0;
    font-size: 14px;
}

/* Hanya aktif di Mobile (sesuai breakpoint CSS kamu) */
@media (max-width: 480px) {
    .read-more-btn {
        display: block; /* Muncul di Mobile */
    }

    .description-collapsed {
        max-height: 120px; /* Tinggi saat tertutup */
        overflow: hidden;
        position: relative;
        transition: max-height 0.4s ease;
    }

    /* Efek gradasi pudar agar teks tidak terpotong kasar */
    .description-collapsed::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 50px;
        background: linear-gradient(transparent, white);
    }

    .description-expanded {
        max-height: 2000px; /* Tinggi bebas saat terbuka */
        transition: max-height 0.8s ease;
    }

    /* Hilangkan gradasi saat teks sudah dibuka */
    .description-expanded::after {
        display: none;
    }
}
/* Styling tombol (jika belum ada dari bagian deskripsi tadi) */
.read-more-btn {
    display: none;
    background: #f0f7ff;
    border: 1px solid #00a2e9;
    color: #00a2e9;
    font-weight: bold;
    cursor: pointer;
    padding: 10px;
    width: 100%;
    border-radius: 8px;
    margin-top: 10px;
}

@media (max-width: 480px) {
    .read-more-btn {
        display: block;
    }

    .itinerary-collapsed {
        max-height: 150px; /* Tinggi saat tertutup */
        overflow: hidden;
        transition: max-height 0.5s ease-out;
        /*opacity: 0;*/
    }

    .itinerary-expanded {
        max-height: 1000px; /* Nilai besar agar semua item muat */
        opacity: 1;
        transition: max-height 0.5s ease-in ;
    }
}

/* Memastikan di desktop selalu muncul */
@media (min-width: 481px) {
    .itinerary-collapsed {
        max-height: none !important;
        opacity: 1 !important;
        display: block !important;
    }
    #btn-itinerary {
        display: none !important;
    }
}
/* ================= RESPONSIVE ================= */
