/* ============================================================
   WONDERLAND TOBA — stylesheet
   ============================================================ */

/* ---------- Token warna & font ---------- */
:root {
  --night: #0d1f22;
  --lake: #0f4c52;
  --amber: #f2a541;
  --coral: #c8502a;
  --coral-dark: #a93f1e;
  --cream: #fbf6ec;
  --sand: #efe3cc;
  --ink: #17262a;
  --muted: #56676a;
  --wa: #128c4a;
  --wa-dark: #0c6e3a;
  --white: #ffffff;

  --radius-lg: 22px;
  --shadow-soft: 0 18px 40px -22px rgba(13, 31, 34, 0.45);
  --max: 1200px;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Dasar ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }

img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.05; letter-spacing: -0.01em; }
p { margin: 0; }
ul { margin: 0; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}
.eyebrow.light { color: var(--amber); }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 22px; height: 22px; flex-shrink: 0; }

.btn-primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 14px 30px -14px rgba(200, 80, 42, 0.8);
}
.btn-primary:hover { background: var(--coral-dark); }

.btn-wa {
  background: var(--wa);
  color: var(--white);
  box-shadow: 0 14px 30px -14px rgba(18, 140, 74, 0.8);
}
.btn-wa:hover { background: var(--wa-dark); }

/* ============================ NAVBAR ============================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  color: var(--white);
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.navbar.is-solid {
  background: rgba(251, 246, 236, 0.97);
  color: var(--ink);
  box-shadow: 0 8px 24px -18px rgba(13, 31, 34, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.brand span {
  margin-left: 0.25em;
  color: var(--amber);
  font-style: italic;
}
.navbar.is-solid .brand span { color: var(--coral); }

.nav-menu { display: flex; gap: 30px; }
.nav-menu a {
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  opacity: 0.92;
}
.nav-menu a:hover {
  opacity: 1;
  text-decoration: underline;
  text-decoration-color: var(--amber);
  text-decoration-thickness: 2px;
  text-underline-offset: 7px;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}
.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s ease;
}
.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }

/* ============================ HALAMAN 1 · HERO VIDEO ============================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background: var(--night);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(13, 31, 34, 0.55) 0%,
    rgba(13, 31, 34, 0.12) 32%,
    rgba(13, 31, 34, 0.22) 55%,
    rgba(13, 31, 34, 0.88) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 160px;
  padding-bottom: 120px;
}
.hero-title {
  margin: 16px 0 28px;
  font-size: clamp(3.2rem, 10vw, 8rem);
  line-height: 0.92;
  font-weight: 700;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 2;
  width: 28px;
  height: 46px;
  transform: translateX(-50%);
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 20px;
}
.scroll-cue::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--white);
  animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue {
  0%   { opacity: 0; transform: translateY(0); }
  30%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* Tombol suara video beranda */
.sound-toggle {
  position: absolute;
  right: 24px;
  bottom: 28px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  background: rgba(13, 31, 34, 0.45);
  color: var(--white);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background-color 0.2s ease;
}
.sound-toggle:hover { background: rgba(13, 31, 34, 0.7); }
.sound-toggle svg { width: 18px; height: 18px; flex-shrink: 0; }
.sound-toggle .i-on { display: none; }
.sound-toggle.is-on .i-on { display: block; }
.sound-toggle.is-on .i-off { display: none; }

/* ============================ HALAMAN 2 · TENTANG ============================ */
.about {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 120px 0;
  color: var(--cream);
  background: var(--night);
}
.about-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../assets/foto/tentang.webp") center 40% / cover no-repeat;
}
.about::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(13, 31, 34, 0.94) 0%,
    rgba(13, 31, 34, 0.74) 55%,
    rgba(13, 31, 34, 0.38) 100%
  );
}
.about-inner { max-width: 640px; }
.about-title {
  margin: 18px 0 24px;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--white);
}
.about-title em {
  color: var(--amber);
  font-style: italic;
  font-weight: 600;
}
.about-text {
  max-width: 58ch;
  margin-bottom: 18px;
  font-size: 1.06rem;
  color: rgba(251, 246, 236, 0.9);
}
.about-points {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}
.about-points li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  color: var(--cream);
}
.about-lead {
  margin-bottom: 14px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}
.about-sub {
  margin: 34px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--amber);
}
.about-points li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 11px;
  margin: -4px 4px 0 4px;
  border: solid var(--amber);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

/* ============================ HALAMAN 3 · PACKAGE TRIP ============================ */
.packages {
  padding: 110px 0 120px;
  background: var(--cream);
}
.section-head {
  display: grid;
  gap: 14px;
  max-width: 640px;
  margin-bottom: 52px;
}
.section-head h2 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); }
.section-head p { font-size: 1.02rem; color: var(--muted); }

/* Desktop: baris atas 3 kartu, baris bawah 4 kartu (grid 12 kolom) */
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}
.pkg-card {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  color: var(--ink);
  text-decoration: none;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  animation: cardIn 0.6s ease both;
  animation-delay: var(--delay, 0ms);
}
.pkg-card:nth-child(-n + 3) { grid-column: span 4; }
.pkg-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 50px -28px rgba(13, 31, 34, 0.55);
}
.pkg-img {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--sand);
}
.pkg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.pkg-card:hover .pkg-img img { transform: scale(1.04); }

.pkg-body {
  display: grid;
  gap: 6px;
  padding: 18px 20px 22px;
}
.pkg-code {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral);
}
.pkg-name {
  font-size: 1.45rem;
  color: var(--ink);
}
.pkg-cta {
  margin-top: 10px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--lake);
}
.pkg-card:hover .pkg-cta { text-decoration: underline; text-underline-offset: 4px; }

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

/* ============================ FOOTER ============================ */
.footer {
  padding-top: 72px;
  background: var(--night);
  color: var(--cream);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 56px;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.1;
}
.footer-brand span {
  margin-left: 0.25em;
  color: var(--amber);
  font-style: italic;
}
.footer-tag {
  max-width: 36ch;
  margin-top: 12px;
  color: rgba(251, 246, 236, 0.7);
}
.footer-call {
  max-width: 36ch;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(251, 246, 236, 0.12);
}
.footer-call-title {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--amber);
}
.footer-call p {
  color: rgba(251, 246, 236, 0.8);
}
.footer-list {
  display: grid;
  gap: 20px;
  padding: 0;
  list-style: none;
}
.footer-list li {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 16px;
}
.footer-ico {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(251, 246, 236, 0.08);
  color: var(--amber);
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
a.footer-ico:hover {
  background: var(--amber);
  color: var(--night);
  transform: translateY(-2px);
}
.footer-ico svg { width: 20px; height: 20px; }
.footer-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251, 246, 236, 0.55);
}
.footer-value {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cream);
  text-decoration: none;
  overflow-wrap: anywhere;
}
a.footer-value:hover {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-copy {
  padding: 22px 24px;
  border-top: 1px solid rgba(251, 246, 236, 0.12);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(251, 246, 236, 0.6);
}

/* ============================ HALAMAN DETAIL PAKET ============================ */
.detail-hero { padding: 150px 0 36px; }
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--lake);
  text-decoration: none;
}
.back-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.detail-hero .eyebrow { margin-top: 26px; }
.detail-title {
  margin-top: 12px;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
}
.detail-missing p { margin-top: 12px; color: var(--muted); }

.detail-main { padding-bottom: 110px; }
.detail-figure {
  max-width: 760px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.detail-figure img {
  width: 100%;
  height: auto;
}

.booking {
  display: grid;
  justify-items: start;
  gap: 14px;
  max-width: 760px;
  margin: 36px auto 0;
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  background: var(--night);
  color: var(--cream);
}
.booking h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.4rem);
  color: var(--white);
}
.booking p { color: rgba(251, 246, 236, 0.82); }
.booking .btn-wa { width: 100%; max-width: 420px; }
.booking small { color: rgba(251, 246, 236, 0.6); }

/* ============================ ANIMASI MUNCUL ============================ */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ============================ RESPONSIVE ============================ */

/* Tablet & kecil: menu jadi hamburger */
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 6px 24px 14px;
    background: var(--cream);
    color: var(--ink);
    box-shadow: 0 18px 30px -20px rgba(13, 31, 34, 0.5);
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(13, 31, 34, 0.08);
  }
}

/* Tablet: 2 kolom, kartu terakhir di tengah */
@media (max-width: 980px) {
  .pkg-card,
  .pkg-card:nth-child(-n + 3) { grid-column: span 6; }
  .pkg-card:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 380px);
  }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
}

/* HP: ruang samping 16px, kartu lebih ringkas agar scroll tidak panjang */
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .nav-inner { height: 64px; }
  .nav-menu { top: 64px; }
  .brand { font-size: 1.25rem; }

  .hero-content { padding-top: 120px; padding-bottom: 96px; }
  .hero-title { font-size: clamp(2.8rem, 14vw, 4rem); margin: 12px 0 22px; }
  .scroll-cue { bottom: 18px; }

  .about { padding: 80px 0; }
  .about::before {
    background: linear-gradient(180deg, rgba(13, 31, 34, 0.9) 0%, rgba(13, 31, 34, 0.86) 100%);
  }
  .about-title { font-size: 2.2rem; margin: 14px 0 18px; }
  .about-text { font-size: 0.98rem; margin-bottom: 14px; }
  .about-points { margin-top: 20px; gap: 10px; }
  .about-lead { font-size: 1.05rem; margin-bottom: 10px; }
  .about-sub { margin: 26px 0 10px; font-size: 1.6rem; }
  .sound-toggle { right: 16px; bottom: 18px; padding: 8px 12px; font-size: 0.8rem; }

  .packages { padding: 80px 0 90px; }
  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: 2.1rem; }

  .pkg-grid { gap: 14px; }
  .pkg-card,
  .pkg-card:nth-child(-n + 3) { grid-column: span 6; }
  .pkg-body { padding: 14px 14px 16px; }
  .pkg-name { font-size: 1.2rem; }
  .pkg-cta { margin-top: 8px; font-size: 0.84rem; }

  .footer { padding-top: 56px; }
  .footer-inner { padding-bottom: 40px; }
  .footer-brand { font-size: 1.8rem; }

  .detail-hero { padding: 120px 0 28px; }
  .detail-main { padding-bottom: 80px; }
  .booking { padding: 26px 20px; }
}

/* Gerak dikurangi: matikan animasi */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
