/* ================================== */
/* GAYA GLOBAL & DASAR                */
/* ================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: #f8f9fa;
  color: #333;
}

/* ================================== */
/* KOMPONEN YANG DAPAT DIPAKAI ULANG  */
/* ================================== */
.btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: scale(1.02);
}

.btn-primary {
  background-color: #2a7854;
  color: white;
}
.btn-primary:hover {
  background-color: #226144;
}

.btn-secondary {
  background-color: #eaeaea;
  color: #555;
}
.btn-secondary:hover {
  background-color: #dcdcdc;
}

/* =========================================== */
/* GAYA LAYOUT UTAMA (Digunakan oleh kedua halaman) */
/* =========================================== */
.home-body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh; /* Fallback */
  min-height: 100dvh; /* Menggunakan Dynamic Viewport Height */
  overflow: hidden; /* Mencegah body dari scrolling */
}

.mobile-container {
  width: 100%;
  max-width: 420px;
  height: 100vh;
  height: 100dvh;
  max-height: 840px;
  background-color: #ffffff; /* Ubah background jadi putih */
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* =========================================== */
/* GAYA KHUSUS HALAMAN UTAMA (SLIDER)      */
/* =========================================== */
.image-section {
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  height: 45%; /* TAMBAHKAN INI - Memberi tinggi pasti pada slider */
}

.slider-wrapper {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.slide {
  width: calc(100% / 3);
  height: 100%;
  flex-shrink: 0;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dots-indicator {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.dot {
  width: 8px;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  background-color: white;
}

.content-section {
  background-color: white;
  padding: 2rem 1.5rem;
  text-align: center;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  margin-top: -24px;
  position: relative;
  z-index: 2;
  /* HAPUS 'flex-shrink: 0;' dan GANTI DENGAN KODE DI BAWAH */
  flex-grow: 1; /* MEMBUAT SECTION INI MENGISI SISA RUANG */
  display: flex;
  flex-direction: column;
}

.content-section h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.content-section p {
  font-size: 0.9rem;
  color: #888;
  line-height: 1.6;
  margin-bottom: auto; /* UBAH/AKTIFKAN INI - Mendorong tombol ke bawah */
  padding-bottom: 1.5rem;
}

.action-buttons {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-bottom: calc(1rem + env(safe-area-inset-bottom));
  flex-shrink: 0; /* TAMBAHKAN INI - Mencegah tombol ikut ter-scroll */
}

.guest-link {
  margin-top: 1rem;
  color: #333;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}
.guest-link:hover {
  text-decoration: underline;
}
