/* === Reset & Global === */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; background: #f9fbf6; color: #1d2b20; line-height: 1.6; }

/* === Container === */
.container { width: min(1100px, 90%); margin: auto; padding: 20px 0; }

/* === Header === */
.site-header { position: sticky; top: 0; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(8px); border-bottom: 1px solid #e1eee7; z-index: 50; }
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; }
.logo img { height: 40px; }
/* Kode Baru untuk booking-style.css */
.nav-desktop { display: flex; gap: 18px; }
.nav-desktop a { text-decoration: none; font-weight: 600; color: #1d2b20; transition: color 0.2s; }
.nav-desktop a:hover { color: #2E9A4F; }


/* === Hero === */
.hero {
    position: relative;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);

    /* Ganti dengan path gambar latar belakang Anda */
    background-image: url('../images/latar-belakang.png'); 
    background-size: cover;
    background-position: center;
}



/* === Buttons === */
.btn { display: inline-block; padding: 10px 18px; border-radius: 10px; text-decoration: none; font-weight: 600; transition: all 0.2s ease; cursor: pointer; }
.btn-primary { background: #2E9A4F; color: #fff; }
.btn-primary:hover { background: #1a562c; }
.btn-outline { border: 2px solid #2E9A4F; color: #2E9A4F; background: transparent; }
.btn-outline:hover { background: #eaf5ee; }

/* === Sections === */
.section { padding: 60px 0; }
.section-head { text-align: center; margin-bottom: 30px; }
.section-head h2 { font-size: 28px; }
.section-head p { color: #555; margin-top: 6px; }

/* === Cards (Paket Wisata) === */
.grid { display: grid; gap: 24px; }
.cards { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { background: #fff; border-radius: 16px; padding: 22px; border: 1px solid #e1eee7; box-shadow: 0 4px 10px rgba(0,0,0,0.05); display: flex; flex-direction: column; gap: 10px; transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
.card-img { width: 100%; height: 180px; object-fit: cover; border-radius: 14px; margin-bottom: 12px; }
.card-body { display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.card-title { font-size: 18px; }
.card-list { padding-left: 18px; font-size: 14px; color: #444; }
.card-cta { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.price { font-weight: 700; color: #1a562c; }

/* === Form Booking & Pembayaran === */
.form { background: #fff; border: 1px solid #e1eee7; border-radius: 16px; box-shadow: 0 6px 16px rgba(0,0,0,0.05); padding: 24px; max-width: 700px; margin: auto; }
.form-row { display: grid; gap: 8px; margin-bottom: 16px; }
label { font-weight: 600; }
input, select, textarea { padding: 12px; border-radius: 8px; border: 1px solid #ccc; font: inherit; width: 100%; }
.form-actions { text-align: right; }
.form-divider { border: none; border-top: 1px solid #e1eee7; margin: 20px 0; }

/* === Success Page === */
.text-center { text-align: center; }
.success-icon { font-size: 60px; color: #2E9A4F; margin-bottom: 20px; }

/* Penyesuaian untuk Checkbox dan Label */
.checkbox-item label {
    display: flex;         /* Mengaktifkan Flexbox */
    align-items: center;   /* Menyejajarkan item secara vertikal di tengah */
    cursor: pointer;       /* Mengubah kursor menjadi tangan saat di atas label */
}

.checkbox-item input[type="checkbox"] {
    margin-right: 10px;    /* Memberi sedikit jarak antara checkbox dan teks */
    /* Sesuaikan ukuran jika perlu */
    width: 18px;
    height: 18px;
}

/* Untuk Pesan Eror Validasi */
.error-message {
    color: #dc3545; /* Merah */
    font-size: 0.9em;
    margin-top: 5px;
}

/* === Footer === */
.site-footer {
  background: #0F8644; /* Warna hijau tua */
  color: #fff;
  padding: 50px 0 20px;
  font-size: 15px;
  line-height: 1.7;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-column .footer-title {
  color: #fff;
  font-size: 18px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-title img {
  height: 28px;
  width: auto;
}

.footer-column p {
  color: #ddd;
}

.social-links {
  margin-top: 15px;
  display: flex;
  gap: 12px;
}

.social-links a {
  color: #0F8644;
  background: #fff;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 50%;
  transition: transform 0.2s, background-color 0.2s;
}

.social-links a:hover {
  transform: scale(1.1);
  background-color: #f0f0f0;
}

.footer-links, .contact-info {
  list-style: none;
  padding: 0;
}

.footer-links li, .contact-info li {
  margin-bottom: 10px;
  display: flex;
  align-items: start;
}

.contact-info i {
  margin-right: 10px;
  margin-top: 5px;
}

.footer-links a {
  text-decoration: none;
  color: #ccc;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  font-size: 14px;
  color: #aaa;
}

/* === Burger Menu & Mobile Nav === */
.burger-menu {
    display: none; /* Sembunyikan di desktop */
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #1d2b20;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100%;
    background: #fff;
    box-shadow: -4px 0 15px rgba(0,0,0,0.1);
    transform: translateX(100%); /* Sembunyikan di luar layar */
    transition: transform 0.3s ease-in-out;
    z-index: 100;
}

.mobile-nav.is-active {
    transform: translateX(0); /* Tampilkan saat aktif */
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e1eee7;
}

.mobile-nav-logo {
    height: 40px;
}

.close-menu {
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #1d2b20;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.mobile-nav-links a {
    text-decoration: none;
    color: #1d2b20;
    font-size: 18px;
    font-weight: 600;
    padding: 15px 0;
    border-bottom: 1px solid #e1eee7;
}
.mobile-nav-links a:last-child {
    border-bottom: none;
}

.mobile-booking-btn {
    background: #2E9A4F;
    color: #fff !important;
    text-align: center;
    border-radius: 10px;
    margin-top: 20px;
    padding: 12px 0 !important;
}


/* === MEDIA QUERY UNTUK TAMPILAN MOBILE === */
@media (max-width: 768px) {
    .nav-desktop {
        display: none; /* Sembunyikan navigasi desktop */
    }
    .burger-menu {
        display: block; /* Tampilkan tombol burger */
    }
}

/* === KODE BARU UNTUK HALAMAN PEMBAYARAN SATU KOLOM === */

/* Hapus layout grid dua kolom yang lama */
.payment-layout {
    display: block; /* Ubah dari grid menjadi block */
    max-width: 600px; /* Atur lebar maksimal */
    margin: 0 auto; /* Posisikan ke tengah */
}

/* Styling untuk wadah ringkasan dan form */
.booking-summary,
.payment-form-container {
    padding: 2rem;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 2rem; /* Beri jarak antar kotak */
}

/* Atur ulang warna latar belakang ringkasan */
.booking-summary {
    background-color: #F0FAF4;
}

.booking-summary h4,
.payment-form-container h4 {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.summary-item-column ul {
    margin: 0.5rem 0 0 0;
    padding-left: 1.5rem;
    color: #555;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 1.2rem;
    color: #1a562c;
}

/* Perbaikan untuk radio button */
/* === ATURAN FINAL DAN SPESIFIK UNTUK METODE PEMBAYARAN === */

/* === STYLING UNTUK HALAMAN PEMBAYARAN === */

.payment-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
    align-items: start;
}

.booking-summary {
    padding: 2rem;
    border-radius: 12px;
    background-color: #F0FAF4;
}

.payment-form-container {
    padding: 2rem;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}