:root {
  --bg: #FFFFFF;
  --bg-raised: #F8FAFC;
  --bg-dark: #0F172A;
  --ink: #0F172A;
  --ink-soft: #64748B;
  --clay: #2563EB;          /* Warna aksen utama Biru */
  --clay-hover: #1D4ED8;
  --teal: #0284C7;
  --olive: #94A3B8;
  --amber: #F59E0B;
  --line: rgba(15, 23, 42, 0.08);
  --line-dark: rgba(255, 255, 255, 0.12);
  --radius: 30px;           /* Pill/rounded style untuk tombol */
  --card-radius: 20px;      /* Lengkungan membulat playful untuk card */
}

/* RESET & BASE STYLES */
* { box-sizing: border-box; margin:0; padding:0; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* PLAYFUL TYPOGRAPHY */
h1, h2, h3, .display {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.mono { 
  font-family: 'JetBrains Mono', monospace; 
  letter-spacing: 0.04em; 
}

a { color: inherit; text-decoration: none; }
img { max-width:100%; display:block; }

.topo {
  position: absolute; inset:0;
  background-image:
    radial-gradient(circle at 20% 30%, transparent 38%, rgba(255,255,255,0.05) 39%, transparent 40%),
    radial-gradient(circle at 80% 70%, transparent 28%, rgba(255,255,255,0.05) 29%, transparent 30%);
  pointer-events: none;
}

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--clay); color: #fff;
  padding: 12px 26px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  border: none; cursor: pointer; border-radius: var(--radius);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.25);
}

.btn:hover { 
  background: var(--clay-hover); 
  transform: translateY(-3px) scale(1.02); 
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.35); 
}

.btn-primary { background: var(--clay); color: #fff; }

.btn-ghost {
  background: #FFFFFF; 
  border: 2px solid var(--clay); 
  color: var(--clay); 
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.btn-ghost:hover { 
  background: var(--clay); 
  color: #fff; 
  transform: translateY(-3px); 
}

.btn-outline {
  background: rgba(255, 255, 255, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: #FFFFFF;
  backdrop-filter: blur(6px);
  box-shadow: none;
}

.btn-outline:hover {
  background: #FFFFFF;
  color: var(--ink);
  transform: translateY(-3px);
}

/* HERO SECTION */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 90px 5% 70px;
  overflow: hidden;
  color: #FFFFFF;
  background-color: var(--bg-dark);
}

.hero-bg {
  position: absolute; inset:0;
  background-image: url('../images/hd-13.jpg');
  background-size: cover;
  background-position: center;
  animation: heroZoom 20s infinite alternate ease-in-out;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute; inset:0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.65) 0%, rgba(15, 23, 42, 0.85) 100%);
}

.hero-content {
  position: relative; z-index: 2; max-width: 900px;
}

.hero h1 {
  font-family: 'Fredoka', sans-serif;
  font-size: clamp(52px, 8vw, 100px);
  line-height: 0.98;
  color: #FFFFFF;
  text-shadow: 0 6px 24px rgba(0,0,0,0.3);
}

.hero h1 em { font-style: normal; color: #60A5FA; }

.hero-sub {
  max-width: 540px; margin-top: 24px; color: rgba(255, 255, 255, 0.9); font-size: 18px; line-height: 1.6;
}

.hero-actions { margin-top: 36px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

/* HERO STATS BAR */
.hero-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 20px; margin-top: 60px; padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.18);
}

.hero-stats div { border-left: 3px solid #60A5FA; padding-left: 14px; }
.hero-stats .num { font-family: 'Fredoka', sans-serif; font-size: 34px; color: #FFFFFF; }
.hero-stats .label { font-size: 11px; color: rgba(255,255,255,0.75); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }

/* TRAIL MARKER */
.trail-marker {
  display: flex; align-items: center; gap: 14px;
  padding: 24px 5%; background: var(--bg-raised);
  color: var(--ink-soft); border-bottom: 1px solid var(--line);
}

.trail-marker .dots {
  flex: 1; height: 2px;
  background-image: linear-gradient(to right, var(--clay) 50%, rgba(0,0,0,0) 0%);
  background-position: bottom; background-size: 12px 2px; background-repeat: repeat-x;
  opacity: 0.4;
}

.trail-marker span { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; white-space: nowrap; font-weight: 700; color: var(--clay); }

/* SECTION COMMON */
section { padding: 90px 5%; }
.sub-tag { color: var(--clay); font-size: 13px; font-weight: 800; display: block; margin-bottom: 8px; letter-spacing: 0.08em; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; flex-wrap: wrap; gap: 20px; }
.section-head h2 { font-size: clamp(34px, 5vw, 54px); color: var(--ink); }
.section-head p { max-width: 440px; color: var(--ink-soft); font-size: 16px; line-height: 1.6; }
.text-center { text-align: center; justify-content: center; }

/* FEATURES SECTION (SPLIT COLLAGE LAYOUT) */
.features-section {
  padding: 90px 5%;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.features-container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}

/* SISI KIRI: GALLERY COLLAGE FIXED */
.features-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  height: 480px; /* Batas tinggi utama galeri */
  width: 100%;
  box-sizing: border-box;
}

.feat-img-main {
  position: relative;
  height: 100%;
  border-radius: var(--card-radius);
  overflow: hidden; /* Mengunci gambar agar tidak keluar dari batas */
  border: 1px solid var(--line);
  background: #E2E8F0;
}

.feat-img-sub {
  display: grid;
  grid-template-rows: calc(50% - 8px) calc(50% - 8px); /* Membagi 2 kotak persis 50% dikurangi gap */
  gap: 16px;
  height: 100%;
  overflow: hidden; /* Mencegah baris kedua membengkak ke bawah */
}

.feat-sub-box {
  position: relative;
  height: 100%;
  width: 100%;
  border-radius: var(--card-radius);
  overflow: hidden; /* Kunci batas gambar di dalam box */
  border: 1px solid var(--line);
  background: #E2E8F0;
}

/* PEMBATASAN GAMBAR KETAT */
.feat-img-main img, 
.feat-sub-box img {
  width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important; /* Memaksa gambar menyesuaikan wadah tanpa merusak aspek rasio */
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}

.feat-img-main:hover img, 
.feat-sub-box:hover img {
  transform: scale(1.06);
}

/* SISI KANAN: CONTENT & LIST */
.features-content h2 {
  font-size: clamp(32px, 4.5vw, 48px);
  margin-bottom: 14px;
}

.features-content h2 span {
  color: var(--clay);
}

.feat-lead-text {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 32px;
}

.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.feat-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feat-item .feat-icon {
  font-size: 22px;
  background: var(--bg-raised);
  border: 1px solid var(--bg-dark);
  padding: 8px;
  border-radius: 12px;
  line-height: 1;
  flex-shrink: 0;
}

.feat-item h3 {
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 4px;
}

.feat-item p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* RESPONSIVE LAYOUT */
@media (max-width: 960px) {
  .features-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .features-gallery {
    height: 380px;
  }
}

@media (max-width: 600px) {
  .features-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .features-gallery {
    height: 300px;
  }
} 

/* PACKAGES LIST (HORIZONTAL CARDS — image left, details right) */
.packages {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pkg-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  padding: 16px;
  display: flex;
  gap: 24px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.03);
}

.pkg-card:hover {
  transform: translateY(-4px);
  border-color: var(--clay);
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.12);
}

.pkg-thumb {
  position: relative;
  flex: 0 0 260px;
  min-height: 160px;
  border-radius: 14px;
  overflow: hidden;
}

/* Positioned absolutely so the image's own intrinsic size (portrait or
   landscape source photos) never leaks into the flex row's height calc —
   the thumb always matches the content column's height instead. */
.pkg-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.pkg-card:hover .pkg-thumb img { transform: scale(1.06); }

.pkg-km-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  /* font-family: 'JetBrains Mono', monospace; */
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.pkg-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 8px 8px 8px 0;
}

.pkg-body-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.pkg-title-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pkg-card h3 { font-size: 22px; color: var(--ink); }
.pkg-terrain { font-size: 11px; color: var(--clay); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.pkg-meta { display: flex; gap: 16px; font-size: 13px; color: var(--ink-soft); flex-wrap: wrap; white-space: nowrap; }
.pkg-meta b { color: var(--ink); }
.pkg-desc { font-size: 14px; color: var(--ink-soft); line-height: 1.5; margin-top: 8px; max-width: 62ch; }

.pkg-includes { list-style: none; font-size: 12.5px; font-weight: 600; color: var(--ink); display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; }
.pkg-includes li::before { content: '✓ '; color: var(--clay); font-weight: bold; }

.pkg-footer-row {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1.5px dashed var(--line);
  display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap;
}

.pkg-price { display: flex; align-items: baseline; gap: 6px; }
.pkg-price .amt { font-family: 'Fredoka', sans-serif; font-size: 26px; color: var(--ink); }
.pkg-price .per { font-size: 12px; color: var(--ink-soft); font-weight: 600; }

.packages-footer { margin-top: 48px; text-align: center; }

@media (max-width: 720px) {
  .pkg-card { flex-direction: column; }
  .pkg-thumb { flex: none; width: 100%; aspect-ratio: 16 / 9; }
  .pkg-body { padding: 4px; }
}

/* TESTIMONIALS SECTION (WITH AVATAR HOLDERS) */
.testimonials-section {
  background: var(--bg-raised);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.reviews-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px; margin-top: 36px;
}

.review-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  padding: 30px; border-radius: var(--card-radius);
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.02);
  transition: transform 0.25s ease;
}

.review-card:hover { transform: translateY(-5px); } 

.rev-stars { color: var(--amber); letter-spacing: 2px; margin-bottom: 14px; font-size: 16px; }
.rev-text { font-size: 15px; color: var(--ink-soft); font-style: italic; line-height: 1.6; margin-bottom: 24px; }

.rev-author {
  display: flex; align-items: center; gap: 14px;
}

/* Wadah Foto Avatar */
.rev-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: #E2E8F0 url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%2064748B" stroke-width="2"><path d="20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2"/><circle cx="12" cy="7" r="4"/></svg>') center no-repeat;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid #EFF6FF;
}

.rev-avatar img {
  width: 100%; height: 100%; object-fit: cover;
}

.rev-author strong { display: block; font-size: 15px; color: var(--ink); font-family: 'Fredoka', sans-serif; font-weight: 500; }
.rev-author span { font-size: 12px; color: var(--ink-soft); font-weight: 500; }

@media (max-width: 720px) {
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 20px; }
  .hero h1 { font-size: clamp(40px, 11vw, 60px); }
}