:root{
  --bg: #FFFFFF;
  --bg-raised: #F8FAFC;
  --bg-dark: #0F172A;
  --ink: #0F172A;
  --ink-soft: #64748B;
  --clay: #2563EB;
  --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;
  --card-radius: 20px;
}

*{ 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;
}

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); }

/* HERO SECTION */
.hero {
  position: relative;
  min-height: 45vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 5% 60px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: 
    linear-gradient(180deg, rgba(15, 23, 42, 0.75) 0%, rgba(15, 23, 42, 0.9) 100%),
    url('../images/12.jpeg') center/cover no-repeat;
  color: #FFFFFF;
}

.hero.small { 
  min-height: 35vh; 
  padding-top: 60px; 
  padding-bottom: 40px; 
}

.eyebrow {
  font-size: 13px; 
  color: var(--teal); 
  margin-bottom: 18px;
  display: flex; 
  align-items: center; 
  gap: 10px; 
  font-weight: 700; 
  text-transform: uppercase; 
  letter-spacing: 0.05em;
}

.eyebrow::before {
  content: ''; 
  width: 28px; 
  height: 2px; 
  background: var(--teal);
}

.hero h1 {
  font-size: clamp(40px, 6vw, 70px);
  max-width: 16ch;
  color: #FFFFFF;
}

.hero h1 em { 
  font-style: normal; 
  color: var(--clay); 
}

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

/* SECTION COMMON */
section{ padding: 80px 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: 40px; flex-wrap:wrap; gap:20px;}
.section-head h2{ font-size: clamp(34px, 5vw, 54px); }
.section-head p{ max-width: 440px; color: var(--ink-soft); font-size:16px; line-height: 1.6; }

/* --- 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);
  z-index: 2;
}

.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; }

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

.filter-banner{
  display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap;
  background:var(--bg-raised); border:1px dashed var(--line); padding:16px 24px;
  border-radius: var(--card-radius); margin-bottom:30px; font-size:13px; color:var(--ink-soft);
}
.filter-banner .filter-name{
  color:var(--ink); font-weight:600; font-family:'Plus Jakarta Sans';
}

/* --- PACKAGE DETAIL (SINGLE VIEW) --- */
.pkg-detail {
  display: grid;
  grid-template-columns: minmax(0, 600px) 1fr;
  gap: 40px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  padding: 40px;
  border-radius: var(--card-radius);
  box-shadow: 0 8px 24px rgba(0,0,0,0.03);
  align-items: flex-start; /* TAMBAHKAN INI */
}

/* Media Container di Kolom Kiri */
.pkg-detail-media {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Base style Wadah Gambar Detail — kotak, foto rapi tanpa spasi kosong */
.detail-img-holder {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  background-color: #EFF6FF;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
}

/* Main Image */
.detail-img-holder.main-img {
  aspect-ratio: 1 / 1;
  margin: 0;
}

/* Grid Layout 2 Wadah Gambar tambahan */
.detail-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Sub Image Heights */
.detail-img-holder.sub-img {
  aspect-ratio: 1 / 1;
  margin: 0;
}

/* Hover Effect (Opsional) */
.detail-img-holder:hover {
  transform: translateY(-2px);
  border-color: var(--clay);
}

.pkg-detail .d-terrain{ font-family:'JetBrains Mono'; font-size:12px; color:var(--clay); font-weight: 700; margin-bottom:10px; }
.pkg-detail h2{ font-size:clamp(30px,5vw,46px); margin-bottom:8px; }
.pkg-detail .d-km{ font-size:13px; color:var(--ink-soft); text-transform:uppercase; letter-spacing:0.06em; font-weight: 700; margin-bottom:16px; }
.pkg-detail .d-meta{ display:flex; gap:20px; margin-bottom:20px; font-size:14px; color:var(--ink-soft); flex-wrap:wrap; }
.pkg-detail .d-meta b{ color:var(--ink); }
.pkg-detail .d-desc{ color:var(--ink-soft); max-width:56ch; margin-bottom:22px; font-size:15px; line-height: 1.6; }
.d-includes-card{
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  padding: 24px;
  margin-top: 20px;
}
.d-includes-heading{
  font-family:'Fredoka', sans-serif; font-size:17px; font-weight:700; color:var(--ink);
  display:flex; align-items:center; gap:10px;
  margin:22px 0 12px;
}
.d-includes-heading:first-child{ margin-top:0; }
.d-includes-icon{
  display:inline-flex; align-items:center; justify-content:center;
  color: var(--clay); font-size:17px; font-weight:700; line-height:1; flex-shrink:0;
}
.pkg-detail .d-includes{ list-style:none; display:flex; flex-direction:column; gap:10px; }
.pkg-detail .d-includes li{ font-size:14.5px; font-weight:600; color:var(--ink); padding-bottom:10px; border-bottom:1px dashed var(--line); }
.pkg-detail .d-includes li:last-child{ border-bottom:none; padding-bottom:0; }
.pkg-detail .d-includes li::before{ content:'✓ '; color:var(--clay); font-weight: bold; }
.pkg-detail .d-includes li.sub-item{ padding-left:20px; font-size:13.5px; font-weight:500; color:var(--ink-soft); border-bottom:none; padding-bottom:0; }
.pkg-detail .d-includes li.sub-item::before{ content:'· '; color:var(--clay); font-weight:700; }
.d-track-note{
  font-size:13.5px; font-weight:500; color:var(--ink); margin-top:18px; padding:12px 14px;
  background:#EFF6FF; border:1px solid rgba(37, 99, 235, 0.15); border-radius:10px;
}
.d-track-note strong{ color:var(--clay); }

.pkg-detail-side{
  background:#fff;
  border:1px solid var(--line);
  border-radius: var(--card-radius);
  padding:28px;
  height:fit-content;
  position: sticky;
  top: 90px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  animation: sideCardIn 0.4s ease-out both;
}

@keyframes sideCardIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .pkg-detail-side { animation: none; }
}

/* Reassurance strip — fills the space below the CTA so the sticky card doesn't read as empty */
.d-assurance {
  list-style: none;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.d-assurance li {
  font-size: 12.5px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}

.d-assurance li::before {
  content: '✓';
  color: var(--clay);
  font-weight: 700;
}

.pkg-detail-side .amt{ font-family:'Fredoka', sans-serif; font-size:36px; color: var(--ink); }
.pkg-detail-side .per{ font-size:12px; color:var(--ink-soft); margin-bottom:22px; font-weight: 600; }
.pkg-detail-side .diff{ margin:14px 0 22px; }
.pkg-detail-side .diff-label{ font-size:11px; text-transform:uppercase; letter-spacing:0.05em; color:var(--ink-soft); margin-bottom:6px; font-weight: 700; }

/* RESPONSIVE */
@media (max-width: 720px){
  .pkg-detail{ grid-template-columns:1fr; padding:24px; gap:26px; }
}

.d-includes-heading {
  display: flex;
  align-items: center;
  gap: 8px; /* Jarak antara ikon dan teks */
}

/* Mengatur ukuran dan warna ikon */
.d-includes-icon svg {
  width: 20px;       /* Sesuaikan ukuran */
  height: 20px;
  color: var(--ink-soft); /* Warna ikon mengikuti warna teks di sekitarnya */
  display: block;
}