/* --- 1. VARIABEL & BASE SETUP --- */
:root {
    --primary-green: #2d5a27;    /* Hijau Tua Bahtera */
    --light-green: #78a962;      /* Hijau Sage */
    --accent-lime: #c5e1a5;      /* Hijau Pucat untuk Aksen */
    --text-dark: #334231;
    --white: #ffffff;
    --bg-soft: #f4f7f4;          /* Background FAQ */
    --shadow: rgba(0, 0, 0, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
     font-family: 'Lexend', sans-serif;
}

body {
    font-family: 'Lexend', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 25px;
}

.main-header {
   background-color: #ffffff;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    justify-content: space-between; /* Logo kiri, Menu/Button kanan */
    align-items: center;
    height: 80px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5%;
}

/* --- 3. Logo & Menu Styling --- */
.logo img {
    height: 55px; /* Sesuaikan ukuran logo */
    display: block;
}

.nav-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    list-style: none;
    gap: 25px; /* Jarak antar menu teks */
}

.nav-links li {
      position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-links a {
      text-decoration: none;
    color: #555;
    font-weight: 600;
    font-family: 'Lexend', sans-serif;
    padding: 10px 0;
    transition: color 0.3s;
    display: inline-block;
}

.nav-links a:hover {
    color: #2d5a27;
}

.nav-links a::after {
     content: '';
    position: absolute;
    bottom: -5px; /* Jarak garis di bawah teks */
    left: 50%;
    width: 0;
    height: 3px;
    background-color: #2d5a27;
    border-radius: 10px;
    transition: all 0.3s ease;
    transform: translateX(-50%);
    pointer-events: none; 
}

/* --- Kondisi: Muncul saat Hover ATAU Saat Class .active Ada --- */
.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%; /* Garis memanjang penuh */
}

/* --- Warna Khusus untuk Teks Aktif --- */
.nav-links a.active {
    color: #2d5a27;
}

/* --- Penyesuaian Khusus Tombol Reservasi agar Garis Tidak Menempel --- */
.nav-links a.btn-reservasi::after {
    bottom: -10px; /* Lebih turun agar tidak menempel di oval */
    width: 0;
}

/* --- 4. Button Style --- */
.btn-reservasi {
    background: linear-gradient(135deg, #2d5a27 0%, #4a8a3f 100%) !important;
    color: white !important;
    
    /* KUNCI UKURAN: Padding kiri-kanan ditambah agar teks tidak sesak */
    padding: 12px 32px !important; 
    font-family: 'Lexend', sans-serif;
    
    border-radius: 50px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    
    /* Mencegah teks turun atau terpotong */
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    white-space: nowrap !important; 
    line-height: 1.2 !important; /* Memberi ruang vertikal yang stabil */
    
    border: none !important;
    transition: 0.3s !important;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-reservasi:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* --- 5. Mobile Toggle Logic --- */
#check {
    display: none !important;
}

.menu-btn {
    display: none; /* Sembunyi di desktop */
    font-size: 28px;
    cursor: pointer;
    color: #2d5a27;
    z-index: 10002;
}



/* --- 2. KONDISI AWAL & SISTEM AKTIF (HALUS) --- */
/* Menyatukan semua elemen agar seragam sebelum muncul */
.delay-judul, 
.split-text, 
#header-produksi, 
.reveal, 
.timeline-item,
.faq-card {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity, filter;
}

/* Menghapus blur dan memunculkan elemen */
.delay-judul.active, 
.split-text.active, 
#header-produksi.active, 
.reveal.active, 
.timeline-item.active,
.faq-card.active {
    opacity: 1 !important;
    filter: blur(0) !important;
    transform: translateY(0) !important;
    visibility: visible !important;
}

/* --- 3. HERO SECTION --- */
.hero-mini {
    background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)), 
                url('https://images.unsplash.com/photo-1517191434949-5e90cd67d2b6?q=80&w=2000') center/cover;
    min-height: 65vh; 
    height: auto;
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: 100px;
}


.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
}

.animate-tagline {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    padding: 10px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    opacity: 0;
    transform: scale(2.8);
    transition: all 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Khusus tagline muncul dengan scale */
.animate-tagline[style*="opacity: 1"] {
    opacity: 1 !important;
    transform: scale(1.15) !important;
}

.hero-mini h1.delay-judul {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 600;
    color: #ffffff;
}

.hero-mini h1.delay-judul span {
    color: var(--light-green);
}

.split-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    margin-top: 15px;
    display: block;
}



/* --- 5. FAQ SECTION --- */
.faq-section {
    background-color: var(--bg-soft);
    padding: 100px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.faq-card {
    background: var(--white);
    padding: 35px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
    border-left: 6px solid var(--light-green);
    transition: 0.3s;
}

.faq-card:hover {
    transform: translateY(-5px);
}

.faq-card h4 {
    color: var(--primary-green);
    margin-bottom: 15px;
    font-size: 1.15rem;
    line-height: 1.4;
}



/* --- 6. CTA BOTTOM --- */
/* Container CTA */
.cta-bottom {
    padding: 100px 0;
    background-color: #fcfdfc; /* Sedikit off-white agar tombol putih terlihat kontras */
    text-align: center;
}

/* Desain Tombol CTA Baru */
.btn-cta {
    display: inline-block;
    padding: 18px 45px;
    background-color: #ffffff; /* Tetap putih bersih */
    color: #2d6a4f; /* Teks hijau gelap */
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px; /* Membuat bentuk kapsul sempurna */
    border: 2px solid #2d6a4f; /* Border tipis hijau untuk ketegasan */
    box-shadow: 0 10px 25px rgba(45, 106, 79, 0.1); /* Shadow halus awal */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Efek pegas saat hover */
}

/* Efek Saat Kursor Di Atas Tombol (Hover) */
.btn-cta:hover {
    background-color: #2d6a4f; /* Berubah jadi hijau */
    color: #ffffff; /* Teks jadi putih */
    transform: translateY(-5px); /* Melayang ke atas */
    box-shadow: 0 15px 35px rgba(45, 106, 79, 0.25); /* Shadow lebih tegas */
}

/* Efek Saat Tombol Diklik (Active) */
.btn-cta:active {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(45, 106, 79, 0.2);
}

/* --- 5. FOOTER STYLING --- */
.main-footer {
    background-color: #1e3d1a;
    color: #ffffff;
    font-family: 'Lexend', sans-serif;
    padding: 70px 0 20px;
    margin-top: 60px;
    font-size: 0.95rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr;
    gap: 40px;
    align-items: start;
    max-width: 1200px; /* Tambahkan batas lebar maksimal */
    margin: 0 auto;
    padding: 0 20px;
}

.footer-brand {
   display: flex;
    flex-direction: column;
    align-items: flex-start; /* Memastikan logo dan elemen flex lainnya berbaris di kiri */
}

.footer-brand .footer-logo {
    height: 80px;
    margin-bottom: 15px;
    display: block;   /* Dorong dari kanan */
}

.footer-brand h3 {
     font-size: 1.5rem;
    margin-bottom: 10px;
    font-family: 'Lexend', sans-serif;
    color: #f1f8f1;
    font-weight: 700;
}


.footer-brand p {
   line-height: 1.6;
    opacity: 0.8;/* Opsional: Membatasi lebar teks agar enak dibaca saat rata kiri */
}

.main-footer h4 {
     color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-family: 'Lexend', sans-serif;
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
    
}

.main-footer h4::after {
   content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #78a962;
}

/* 1. KODE UTAMA (UNTUK LAPTOP) - Taruh di Atas */
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1.3fr 0.8fr; /* 3 Kolom sejajar kiri */
    text-align: left; /* Rata kiri agar elegan di laptop */
}


.footer-contact h4, 
.footer-social h4 {
    margin-top: 20px; /* Menambah jarak dari elemen di atasnya (logo/deskripsi) */
    position: relative; /* Wajib ada agar border-bottom (absolute) merujuk ke sini */
    padding-bottom: 10px; /* Memberi ruang antara teks dan garis bawah */
    display: inline-block; /* Memastikan width garis mengikuti teks jika dibutuhkan */
}


/* Mengatur garis bawah (border-bottom) agar berada di tengah */
.footer-contact h4::after, 
.footer-social h4::after {
    content: ""; /* Pastikan content ada agar garis muncul */
    position: absolute;
    bottom: -8px; /* Jarak garis dari teks */
    left: 50%; /* Mulai dari titik tengah */
    transform: translateX(-50%); /* Geser balik 50% lebar garis agar presisi di tengah */
    
    /* Contoh ukuran garis (sesuaikan dengan desain Anda) */
    width: 50px; 
    height: 2px;
    background-color: #91be77; 
}

/* --- 1. FOOTER COMPONENTS --- */
.footer-contact ul {
    list-style: none;
    padding: 0;
}

.footer-contact ul li {
   display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-contact ul li i {
     color: #78a962;
    margin-top: 5px;
}



.social-icons {
      display: flex;
    gap: 12px;
    margin-top: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
   background-color: #78a962;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer-bottom {
    margin-top: 50px;
    text-align: center;
    padding: 0 20px;
}

.footer-bottom hr {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.footer-bottom p {
    opacity: 0.6;
    font-size: 0.85rem;
}



/* Bagian copyright bawah */
.footer-bottom {
    text-align: center;
    padding-top: 15px;
    margin-top: 30px; /* Kurangi margin atas footer bottom */
}

.footer-bottom hr {
    border: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 15px;
}


/* Ikon Hamburger */
.checkbtn {
    font-size: 24px;
    color: #2d5a27; /* Gunakan warna hijau gelap Anda agar kontras */
    cursor: pointer;
    display: none; /* Default sembunyi di desktop */
    
    /* KUNCI UTAMA */
    position: relative; 
    z-index: 9999;  /* Berikan nilai tertinggi agar tidak tertutup apapun */
    float: right;
    line-height: 60px; /* Sesuaikan dengan tinggi navbar Anda */
    margin-right: 10px;
}

/* wa ngambang */
.fab-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    z-index: 9999;
    text-decoration: none;
    
    /* Keadaan Awal: Sembunyi */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Class 'show' akan ditambahkan via JavaScript */
.fab-whatsapp.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fab-whatsapp:hover {
    transform: scale(1.1);
    background-color: #1ebea5;
}

/* Tooltip kecil di samping tombol */
.tooltip-text {
    position: absolute;
    right: 75px;
    background: #333;
    color: #fff;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.fab-whatsapp:hover .tooltip-text {
    opacity: 1;
}



/* Styling untuk Disclaimer Global */
.footer-disclaimer {
    background-color: #f8f9fa; /* Warna netral yang sangat ringan */
    padding: 20px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.footer-disclaimer .container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.disclaimer-content {
    text-align: center;
}

.disclaimer-content p {
    font-size: 0.85rem; /* Ukuran teks kecil namun tetap terbaca */
    line-height: 1.6;
    color: #7f8c8d; /* Warna abu-abu profesional */
    margin: 0;
}

.disclaimer-icon {
    margin-right: 5px;
    color: #bdc3c7;
}

.disclaimer-content strong {
    color: #2c3e50; /* Menekankan judul informasi */
    font-weight: 600;
}



/* Container Utama */
.process-timeline {
    position: relative;
    max-width: 800px; /* Membatasi lebar agar tidak terlalu meluber ke samping */
    margin: 60px auto;
    padding: 20px 0;
}

/* Garis Vertikal Tengah - Pastikan posisinya center */
.process-timeline::before {
    content: '';
    position: absolute;
    left: 20px; /* Posisi default untuk mobile, akan diubah untuk desktop */
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--light-green) 15%, var(--light-green) 85%, transparent);
    z-index: 1;
}

/* Item Timeline */
.timeline-item {
    position: relative;
    margin-bottom: 60px; /* Jarak antar step agar tidak sesak */
    padding-left: 70px; /* Ruang untuk dot dan garis */
    z-index: 2;
}

/* Titik (Dot) - Harus sejajar tepat di atas garis vertikal */
.timeline-dot {
    position: absolute;
    left: 10px; /* (left garis 20px - setengah lebar dot 20px/2 = 10px) */
    top: 25px;
    width: 22px;
    height: 22px;
    background: #fff;
    border: 4px solid var(--light-green);
    border-radius: 50%;
    z-index: 3;
    box-shadow: 0 0 10px rgba(120, 169, 98, 0.2);
}

/* Kotak Konten (Card) */
.timeline-content {
    background: #fff;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.02);
    transition: 0.4s ease;
    position: relative;
}

.timeline-content:hover {
    transform: translateX(10px);
    border-color: var(--light-green);
    box-shadow: 0 15px 50px rgba(45, 90, 39, 0.08);
}

/* Angka Langkah */
.step-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 10px;
    opacity: 0.8;
}


/* PANDUANPERSIAPAN*/
.prep-grid {
    display: grid;
    /* Memaksa menjadi 2 kolom yang sama lebar */
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px; /* Jarak antar kartu agar tidak rapat */
    max-width: 1000px; /* Membatasi lebar agar tidak terlalu melar ke samping */
    margin: 40px auto 0; /* Mengetengahkan grid */
     display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto;
}


.prep-card {
    background: #fdfdfd;
    padding: 35px;
    border-radius: 20px;
    border-left: 8px solid #2d6a4f; /* Garis hijau tebal di kiri */
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    text-align: left;
    
}

.prep-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.prep-number {
    font-size: 1.8rem;
    font-weight: bold;
    color: #a3b18a;
    margin-bottom: 10px;
}

.prep-card h4 {
    color: #1b4332;
    margin-bottom: 15px;
    font-size: 1.25rem;
    display: flex;
    align-items: center; /* Ini akan menarik ikon ke tengah secara vertikal */
    gap: 12px;           /* Memberi jarak konsisten antara ikon dan teks */
    color: #1b4332;
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.prep-card p {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Judul Section Tengah */
.section-title {
    text-align: center;
    color: #1b4332;
    font-size: 2.5rem;
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 10px auto 0;
    color: #666;
}

/* Pengaturan Ikon di Samping Judul */
.icon-title {
    color: #2d6a4f; /* Warna hijau tua */
    margin-right: 10px; /* Jarak antara ikon dan teks */
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

/* Judul Card tetap sejajar */
.prep-card h4 {
    display: flex;
    align-items: center;
    color: #1b4332;
    margin-bottom: 15px;
    font-size: 1.25rem;
}

/* Efek saat card di-hover: ikon sedikit membesar */
.prep-card:hover .icon-title {
    transform: scale(1.2) rotate(-5deg);
    color: #40916c; /* Berubah ke hijau yang lebih terang */
}


/*prep disclaimer*/

.prep-disclaimer {
    margin-top: 30px;
    text-align: center;
    padding: 15px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.prep-disclaimer p {
    font-size: 0.85rem; /* Ukuran teks lebih kecil */
    color: #888; /* Warna abu-abu halus */
    font-style: italic;
    line-height: 1.5;
}

.prep-disclaimer i {
    margin-right: 5px;
    color: #a3b18a; /* Warna hijau muda senada dengan nomor kartu */
}

/* Animasi muncul jika Anda menggunakan script observer sebelumnya */
.prep-disclaimer.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.prep-disclaimer.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* TIPS HIDUP SEHAT */
.health-tips {
    padding: 80px 0;
    background-color: #f4f7f5; /* Background kontras tipis */
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.tip-item {
    text-align: center;
    padding: 20px;
}

.tip-icon-box {
    width: 70px;
    height: 70px;
    background-color: #2d6a4f;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.tip-item:hover .tip-icon-box {
    transform: rotateY(180deg);
    background-color: #40916c;
}

.tip-item h4 {
    color: #1b4332;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.tip-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsif Mobile */
@media (max-width: 768px) {
    .tips-grid {
        gap: 20px;
    }
}
#check { display: none; }

.checkbtn {
    font-size: 24px;
    color: #2d5a27; /* Gunakan warna hijau gelap Anda agar kontras */
    cursor: pointer;
    display: none; /* Default sembunyi di desktop */
    
    /* KUNCI UTAMA */
    position: relative; 
    z-index: 9999;  /* Berikan nilai tertinggi agar tidak tertutup apapun */
    float: right;
    line-height: 60px; /* Sesuaikan dengan tinggi navbar Anda */
    margin-right: 10px;
}

/* --- MOBILE RESPONSIVE (Max-width: 858px atau 768px) BUTTON DROPDOWN--- */
@media (max-width: 858px) {
    .checkbtn {
        display: block;
    }

    .nav-links {
        position: fixed;
        width: 60%;        /* Menu tidak menutupi seluruh layar agar lebih elegan */
        height: 60vh;
        background: #ffffff;
        top: 0;            /* Menu penuh dari atas sampai bawah */
        right: -100%;      /* Sembunyikan di sebelah KANAN luar layar */
        left: auto;        /* Mematikan setingan kiri sebelumnya */
        text-align: center;
        transition: all 0.2s ease-in-out;
        display: flex;
        flex-direction: column;
        padding-top: 70px; /* Ruang agar menu tidak mepet atas */
        box-shadow: -5px 0 15px rgba(0,0,0,0.1); /* Bayangan di sisi kiri menu */
    }

    /* Memunculkan Menu saat diklik */
    #check:checked ~ .nav-links {
        right: 0;
    }

    .nav-links li {
        display: block;
        margin: 1px 0;
    }

    .nav-links li a {
        font-size: 1rem;
        color: #444;
        font-weight: 500;
    }

    /* Penyesuaian Khusus Tombol Reservasi di Dalam Menu */
    .nav-links li .btn-reservasi {
        display: inline-block;
        background-color: #78a962;
        color: white !important;
        padding: 12px 25px;
        border-radius: 50px;
        width: 90%;
        margin: 10px auto;
        font-weight: 400;
        box-shadow: 0 4px 10px rgba(120, 169, 98, 0.3);
    }
}

@media (max-width: 1024px) {
    .navbar {
        padding: 0 3%;
    }
    .nav-links {
        gap: 15px; /* Perkecil jarak antar menu */
    }
    .nav-links a {
        font-size: 0.9rem;
    }
}

/* --- 6. Media Query (Responsive Mobile) --- */
@media (max-width: 768px) {
    .navbar {
        height: 70px;
        justify-content: space-between; /* Logo tetap kiri, Hamburger kanan */
    }

    .menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%; /* Sembunyi di kanan */
        width: 280px; 
        height: calc(100vh - 70px);
        background: #ffffff;
        box-shadow: -5px 0 15px rgba(0,0,0,0.05);
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 20px;
        gap: 20px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Munculkan menu saat checkbox dicentang */
    #check:checked ~ .nav-links {
        right: 0;
    }

    /* Animasi List Items di Mobile */
    .nav-links li, 
    .nav-links .btn-reservasi {
        opacity: 0;
        transform: translateY(-15px);
        transition: 0.4s ease;
    }

    #check:checked ~ .nav-links li,
    #check:checked ~ .nav-links .btn-reservasi {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered delay */
    #check:checked ~ .nav-links li:nth-child(1) { transition-delay: 0.1s; }
    #check:checked ~ .nav-links li:nth-child(2) { transition-delay: 0.2s; }
    #check:checked ~ .nav-links li:nth-child(3) { transition-delay: 0.3s; }
    #check:checked ~ .nav-links li:nth-child(4) { transition-delay: 0.4s; }
    #check:checked ~ .nav-links li:nth-child(5) { transition-delay: 0.5s; }
}

@media (max-width: 768px) {
    .prep-grid {
        grid-template-columns: 1fr; /* Jadi 1 kolom di HP */
    }
}

/* --- 8. RESPONSIVE RULES (TAMBAHKAN DI PALING BAWAH) --- */
@media (max-width: 768px) {
    /* 1. Atur Hero agar teks terdorong jauh ke bawah header (mencegah tertutup) */
    .hero-mini {
        padding-top: 180px; /* Padding lebih besar untuk kompensasi banner + navbar */
        padding-bottom: 60px;
    }

    .hero-mini h1.delay-judul {
        font-size: 1.8rem; /* Perkecil font agar tidak berantakan di layar kecil */
    }

    /* 2. Atur FAQ agar tidak terlalu lebar */
    .faq-grid {
        grid-template-columns: 1fr; /* Paksa jadi 1 kolom di HP */
        padding: 0 20px;
    }

    .faq-card {
        padding: 25px;
    }

    /* 3. Atur Navigasi Hamburger (Jika menggunakan struktur sebelumnya) */
    .nav-links {
        position: fixed;
        width: 75%; /* Beri celah sedikit di sisi kiri */
        height: 100vh;
        background: white;
        top: 0;
        right: -100%; /* Sembunyikan di kanan */
        z-index: 1050;
        display: flex;
        flex-direction: column;
        padding-top: 100px;
        transition: 0.5s ease-in-out;
    }

    /* Memunculkan menu */
    #check:checked ~ .nav-links {
        right: 0;
    }

    /* 4. Atur Tombol CTA agar mudah diklik jempol */
    .btn-cta {
        width: 90%;
        padding: 15px 20px;
        font-size: 0.9rem;
    }
}

/* --- TABLET / IPAD OPTIMIZATION (768px - 1024px) --- */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 90%; /* Memberi nafas di sisi kanan-kiri */
    }

    /* FAQ: Menjadi 2 kolom di iPad agar tidak gepeng */
    .faq-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }

    /* Persiapan Grid: Menjadi 2 kolom tetap */
    .prep-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }

    /* Hero Section: Perkecil font agar tidak memenuhi layar */
    .hero-mini h1.delay-judul {
        font-size: 2.8rem !important;
    }

    /* Timeline: Tetap gunakan mode 1 kolom di iPad potret agar rapi */
    .process-timeline::before { left: 20px !important; transform: none !important; }
    .timeline-item { width: 100% !important; padding-left: 70px !important; text-align: left !important; margin-left: 0 !important; }
    .timeline-dot { left: 10px !important; right: auto !important; }
}

/* --- 8. Responsive Perbaikan (Tampilan Padat & Rata Tengah) --- */
@media (max-width: 858px) {
    .checkbtn {
        display: block;
    }

    .nav-links {
        position: fixed;
        width: 65%;               /* Lebar sidebar proporsional */
        height: auto !important;  /* KUNCI: Kotak putih hanya mengikuti isi, tidak ke bawah layar */
        max-height: 90vh;         /* Batas maksimal agar tidak melebihi layar hp */
        background: #ffffff;
        top: 20px;                /* Memberi jarak dari atas layar */
        right: -100%;
        transition: all 0.3s ease-in-out;
        display: flex;
        flex-direction: column;
        align-items: center;      /* KUNCI: Semua konten rata tengah */
        padding: 40px 0 20px 0;   /* Padding atas dan bawah yang seimbang */
        border-radius: 20px 0 0 20px; /* Sudut melengkung di sisi kiri agar elegan */
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        overflow-y: auto;
    }

    #check:checked ~ .nav-links {
        right: 0;
    }

    .nav-links li {
        width: 100%;
        margin: 2px 0;           /* Jarak antar menu lebih rapat */
        display: flex;
        justify-content: center;
    }

    .nav-links li a {
        font-size: 1rem;
        color: #444;
        font-weight: 600;
        text-decoration: none;
        display: inline-block;
        position: relative;
    }

    /* --- Garis Bawah Pendek & Simetris --- */
    .nav-links li a:not(.btn-reservasi)::after {
        content: '';
        display: block;
        width: 0;
        height: 3px;
        background: #2d5a27;
        margin: 4px auto 0 auto;
        transition: width 0.3s ease;
        border-radius: 10px;
    }

    .nav-links li a.active:not(.btn-reservasi)::after,
    .nav-links li a:hover:not(.btn-reservasi)::after {
        width: 30px;              /* Garis tetap pendek dan di tengah */
    }

    /* --- Tombol Reservasi (Dibuat Proporsional) --- */
    .nav-links li .btn-reservasi {
        display: inline-flex !important; /* Ubah ke inline-flex agar width bekerja sesuai isi */
        justify-content: center;
        align-items: center;
        background: linear-gradient(135deg, #2d5a27 0%, #4a8a3f 100%) !important;
        color: #ffffff !important;
        
        /* Padding diperkecil agar tidak terlalu bongsor */
        padding: 10px 24px !important; 
        border-radius: 50px !important;
        
        /* KUNCI: Membatasi lebar agar tidak full */
        width: fit-content !important; 
        min-width: 180px; /* Lebar minimal agar tetap enak dilihat */
        max-width: 80%;   /* Mencegah tombol terlalu panjang di layar sangat kecil */
        
        margin: 10px auto !important; /* Rata tengah secara horizontal */
        font-weight: 600;
        font-size: 0.9rem;
        box-shadow: 0 4px 12px rgba(45, 90, 39, 0.2);
        white-space: nowrap !important;
    }

    .nav-links li .btn-reservasi::after {
        display: none !important; /* Pastikan tidak ada garis bawah di tombol */
    }
}


/* --- 4. RESPONSIVE (Unified Mobile) --- */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr; /* Menjadi 1 kolom */
        text-align: center;         /* Semua teks ke tengah */
        gap: 50px;
    }

    .footer-brand, 
    .footer-contact, 
    .footer-social {
        align-items: center;        /* Menengahkan konten flex */
        text-align: center;
    }

    .footer-brand .footer-logo {
        margin: 0 auto 15px;        /* Logo ke tengah */
    }

    .main-footer h4::after {
        left: 50%;
        transform: translateX(-50%); /* Garis bawah judul ke tengah */
    }

    .footer-contact ul li {
        justify-content: center;    /* Isi alamat ke tengah */
    }

    .social-icons {
        justify-content: center;    /* Ikon sosmed ke tengah */
    }
}
@media (min-width: 750px) and (max-width: 1024px) {
    /* Footer iPad: Tetap 3 kolom tapi dengan penyesuaian lebar */
    .footer-grid {
        grid-template-columns: 1.5fr 1.2fr 1fr !important;
        gap: 20px;
        text-align: left;
    }

    .footer-brand .footer-logo {
        height: 60px; /* Perkecil sedikit logo di footer */
    }

    /* Navbar iPad: Perkecil jarak antar menu agar tidak tumpah */
    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .btn-reservasi {
        padding: 10px 20px !important;
        font-size: 14px !important;
    }
}

/* RESPONSIVE: Safe Area untuk Mobile */
@media (max-width: 768px) {
    .fab-whatsapp {
        bottom: 20px; /* Jarak aman dari bawah layar HP */
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
    .tooltip-text { display: none; } /* Sembunyikan tooltip di HP agar bersih */
}

/* Responsif untuk HP */
@media (max-width: 600px) {
    .disclaimer-content p {
        font-size: 0.8rem;
        text-align: justify; /* Lebih rapi di layar sempit */
    }
}



/* --- 8. DELAYS --- */
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* --- 9. RESPONSIVE --- */
@media (max-width: 768px) {
    .faq-grid { grid-template-columns: 1fr; }
    .process-timeline::before { left: 21px; }
    .timeline-dot { left: 7px; }
    .timeline-item { padding-left: 50px; }
    .cta-box { padding: 50px 20px; border-radius: 25px; }
    .section-title { font-size: 1.8rem; }
}




/* MAPS */

/* Container Utama */
.location-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Info kiri 40%, Map kanan 60% */
    gap: 40px;
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    align-items: center;
    margin-top: 40px;
}

/* Styling Info Lokasi */
.location-info .info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    gap: 15px;
}

.location-info i {
    color: #2d5a27;
    font-size: 1.2rem;
    margin-top: 4px;
}

.location-info p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Styling Peta */
.map-container-pro {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    border: 1px solid #eee;
}

.map-container-pro iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsif Mobile */
@media (max-width: 992px) {
    .location-wrapper {
        grid-template-columns: 1fr; /* Tumpuk ke bawah di tablet/HP */
        padding: 20px;
    }
    
    .map-container-pro {
        height: 300px;
    }
    
    .location-info {
        text-align: center;
    }
    
    .location-info .info-item {
        justify-content: center;
    }
}