/* --- RESET & BASE STYLE --- */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
           font-family: 'Lexend', sans-serif;
        }

        body {
            background-color: #f4f7f4;
            color: #333;
            line-height: 1.6;
            overflow-x: hidden;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

       

        .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;
}

/* --- 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; }
}

     /* --- LOGIC ANIMASI (Aktif saat class .active ditambahkan lewat JS) --- */
.reveal.active {
    opacity: 1 !important;
    transform: translate(0) scale(1) !important;
    filter: blur(0) !important;
}

/* Delay staggered agar muncul bergantian */
.animate-tagline.active { transition-delay: 0.2s; }
.delay-judul.active { transition-delay: 0.4s; }
.split-text.active { transition-delay: 0.6s; }

/* --- 3. HERO SECTION --- */
.hero-mini {
    position: relative;
    /* Menggunakan Linear Gradient yang lebih solid agar teks putih tidak "tenggelam" */
     background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('https://images.unsplash.com/photo-1514733670139-4d87a1941d55?q=80&w=2070') center/cover;
    min-height: 70vh; /* Memberi ruang yang cukup */
    display: flex;
    align-items: center; /* Vertikal tengah */
    justify-content: center; /* Horisontal tengah */
    text-align: center;
    padding: 120px 0 80px;
    color: #ffffff;
}
/* --- 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: 160px; /* Menghindari tertutup navbar fixed */
        min-height: 60vh;
        
    }
    .hero-mini h1.delay-judul {
        font-size: 2.2rem;
         margin-top: 20px;
        line-height: 1.2;
    }

    /* 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;
    }
}

.hero-content {
    max-width: 850px; /* Membatasi lebar teks agar rapi */
    margin: 0 auto;
    z-index: 2;
}

.animate-tagline {
   display: inline-block;
    background: rgba(45, 90, 39, 0.3); /* Hijau transparan */
    backdrop-filter: blur(8px);
    padding: 8px 25px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    
    /* State Awal Animasi */
    opacity: 0;
    transform: scale(0.8);
    transition: all 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Khusus tagline muncul dengan scale */
.animate-tagline[style*="opacity: 1"] {
    opacity: 1 !important;
    transform: scale(1.15) !important;
}

.hero-mini h1.delay-judul {
     font-family: 'Lexend', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem); /* Font adaptif */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
    
    /* State Awal Animasi */
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.hero-mini h1.delay-judul span {
    color: #94c18c; /* Hijau muda yang lembut, tidak nabrak */
    display: inline-block;
}

.split-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.8;
    
    /* State Awal Animasi */
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease-out;
}

        /* --- WORKFLOW CARDS SECTION --- */
        .workflow-section {
            padding: 100px 0;
        }

        .workflow-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }

        .step-card {
            background: #ffffff;
            padding: 45px 35px;
            border-radius: 24px;
            position: relative;
            border: 1px solid rgba(0,0,0,0.04);
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            overflow: hidden;
            transition:all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
            box-shadow: 0 10px 30px rgba(0,0,0,0.02);
            /* ANTI BLUR: Mematikan animasi reveal yang bermasalah */
            opacity:0;
            transform: translateY(30px);
            filter: none !important;
        }

        /* State aktif: kartu muncul */
.step-card.appear {
    opacity: 1;
    transform: translateY(0);
}

        .step-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(45, 90, 39, 0.08);
            border-color: rgba(45, 90, 39, 0.2);
        }

        .step-number-bg {
            position: absolute;
            right: -15px;
            top: -10px;
            font-size: 8rem;
            font-weight: 800;
            color: rgba(45, 90, 39, 0.04);
            line-height: 1;
            z-index: 1;
            font-family: 'Lexend', sans-serif;
            user-select: none;
        }

        .step-icon {
            width: 65px;
            height: 65px;
            background: rgba(45, 90, 39, 0.08);
            color: #2d5a27;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.6rem;
            margin-bottom: 25px;
            position: relative;
            z-index: 2;
        }

        .step-badge {
            background: #2d5a27;
            color: white;
            padding: 5px 15px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            margin-bottom: 15px;
            text-transform: uppercase;
            z-index: 2;
        }

        .step-card h3 {
            font-family: 'Lexend', sans-serif;
            font-size: 1.35rem;
            color: #1b4332;
            margin-bottom: 15px;
            font-weight: 600;
            position: relative;
            z-index: 2;
        }

        .step-card p {
            font-size: 0.95rem;
            color: #555;
            line-height: 1.7;
            position: relative;
            z-index: 2;
        }

        /* Staggered Delay: Agar kartu muncul satu per satu, bukan sekaligus */
.step-card:nth-child(1) { transition-delay: 0.1s; }
.step-card:nth-child(2) { transition-delay: 0.2s; }
.step-card:nth-child(3) { transition-delay: 0.3s; }
.step-card:nth-child(4) { transition-delay: 0.4s; }
.step-child:nth-child(5) { transition-delay: 0.5s; }
.step-card:nth-child(6) { transition-delay: 0.6s; }
.step-card:nth-child(7) { transition-delay: 0.7s; }

        /* --- 5. FOOTER STYLING --- */
.main-footer {
    background-color: #1e3d1a;
    color: #ffffff;
    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;
    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;
    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 */
}


/* --- 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 */
    }
}

.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;
}


@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;
    }
}
/* 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 */
.menu-btn {
    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;
}
/* --- 8. Responsive Perbaikan (Tampilan Padat & Rata Tengah) --- */
@media (max-width: 858px) {
    .menu-btn {
        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 Rata Tengah & Pas di Kolom --- */
    .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 */
    }
}

@media (min-width: 769px) and (max-width: 1024px) {

    .split-text {
        font-size: 1rem;
        max-width: 80%;
    }

    /* Navbar: Pastikan menu teks tidak bertumpuk */
    .nav-links {
        gap: 15px;
    }
    
    .nav-links a {
        font-size: 0.9rem;
    }
}









