/* ==========================================================================
   ADHA TOURS & TRAVEL — Design Tokens
   Palette   : Ivory canvas, deep emerald, antique gold, deep wine accent
   Type      : Playfair Display (display) + Jost (body/UI)
   Signature : Gilded gradient text + diamond/lozenge arabesque motif
   ========================================================================== */

:root {
  /* --- Color --- */
  --ivory:        #FAF9F6;
  --ivory-deep:   #F1EFE9;
  --ink:          #1C1E1C;
  --ink-soft:     #3A3D3A;
  --gold:         #AD8A3D;
  --gold-deep:    #8A6423;
  --gold-light:   #F1E4C2;
  --gold-pale:    #E8E4D8;

  /* Warna aksen utama pengganti gradient — solid, kontras jelas */
  --accent:       #0F3D30;  /* emerald tua: dipakai untuk teks headline di atas background terang */
  --accent-onink: #F1E4C2;  /* gold pucat terang: dipakai untuk teks headline di atas background gelap */

  --wine:         #0F3D30;
  --wine-light:   #1F6B54;
  --deep:         #0F3D30;
  --deep-soft:    #0F3D30;
  --deep-darker:  #0A2B22;
  --line:         rgba(15, 61, 48, 0.16);
  --line-onink:   rgba(241, 228, 194, 0.22);

  /* --- Type --- */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Jost', 'Segoe UI', sans-serif;

  /* --- Layout --- */
  --container-w: 1180px;
  --container-narrow-w: 760px;
  --radius: 4px;
  --section-pad: clamp(64px, 9vw, 120px);
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

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

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

.container--form {
  max-width: 520px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Typography helpers
   ========================================================================== */

.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--wine);
  text-align: center;
  margin-bottom: 14px;
}

.eyebrow--hero { color: var(--gold-light); }
.eyebrow--onink { color: var(--gold-light); }

.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.18;
  text-align: center;
  letter-spacing: 0.005em;
}

.section__title--sm { font-size: clamp(26px, 4vw, 38px); }

.text-gold-shine {
  color: var(--accent);
  font-style: italic;
  font-weight: 700;
}

/* Di dalam background gelap (Hero & section--ink), headline butuh warna terang solid biar kontras tetap tinggi */
.section--ink .text-gold-shine,
.hero .text-gold-shine {
  color: var(--accent-onink);
}

/* Kecuali di dalam kartu ivory (form-card) yang ada di tengah section gelap —
   kartunya sendiri terang, jadi butuh warna gelap lagi biar kontras tetap tinggi */
.form-card .text-gold-shine {
  color: var(--accent);
}

.text-ink { color: var(--ink); }
.text-ivory { color: var(--ivory); }

.stress-gold { color: var(--gold-deep); font-weight: 700; font-style: normal; }
.stress-wine { color: var(--wine); font-weight: 700; font-style: normal; }

/* Di dalam Hero (background gelap), versi default stress-gold/stress-wine kontrasnya gagal —
   pakai warna terang yang sama seperti .text-gold-shine di background gelap */
.hero .stress-gold,
.hero .stress-wine {
  color: var(--accent-onink);
}
.stress-gold-onink { color: var(--gold-light); font-weight: 700; }

.section__head {
  max-width: 720px;
  margin: 0 auto 44px;
}

.section__head--tight { margin-top: 72px; }

.section__body p {
  font-size: 18px;
  margin-bottom: 18px;
  color: var(--ink-soft);
}

.section__body--onink p { color: rgba(251, 247, 238, 0.86); }

.section__note {
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 20px;
  color: var(--wine);
  max-width: 640px;
  margin: 32px auto 0;
}

.section__note--onink { color: var(--gold-light); }

.legal-note {
  font-size: 14px !important;
  color: rgba(250,249,246,0.85) !important;
  font-style: italic;
  border-left: 2px solid var(--gold-light);
  padding-left: 12px;
}

/* ==========================================================================
   Section shells
   ========================================================================== */

.section {
  padding: var(--section-pad) 0;
  position: relative;
}

.section--ivory { background: var(--ivory); }
.section--cream { background: var(--ivory-deep); }
.section--ink {
  background: var(--deep);
  color: var(--ivory);
  overflow: hidden;
}

/* ==========================================================================
   Top bar
   ========================================================================== */

.topbar {
  background: var(--deep-darker);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 12.5px;
  letter-spacing: 0.04em;
}

.topbar__inner {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 9px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.topbar__text {
  color: rgba(251,247,238,0.7);
  display: none;
}

@media (min-width: 620px) {
  .topbar__text { display: inline; }
}

.topbar__wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-light);
  font-weight: 500;
  white-space: nowrap;
  margin-left: auto;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  background: var(--deep);
  color: var(--ivory);
  padding: clamp(56px, 9vw, 96px) 24px clamp(72px, 10vw, 110px);
  text-align: center;
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.hero__logo-badge {
  display: inline-block;
  background: var(--ivory);
  border-radius: 16px;
  padding: 18px 28px;
  margin: 0 auto 28px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.18);
}

.hero__logo {
  width: min(340px, 70vw);
  margin: 0 auto;
  display: block;
}

.hero__headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 6.4vw, 62px);
  line-height: 1.16;
  margin-bottom: 22px;
}

.hero__sub {
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 300;
  color: rgba(251,247,238,0.88);
  max-width: 620px;
  margin: 0 auto 28px;
  line-height: 1.9;
}

.hero__divider {
  color: var(--gold);
  margin: 0 auto 22px;
  width: 120px;
}

.hero__trust {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(17px, 2.4vw, 21px);
  color: var(--gold-light);
  margin-bottom: 34px;
}

.hero__scroll {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 32px;
  border: 1px solid rgba(233,201,118,0.5);
  border-radius: 10px;
}

.hero__scroll span {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 3px;
  height: 6px;
  background: var(--gold-light);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollDot 1.8s infinite;
}

@keyframes scrollDot {
  0% { opacity: 1; top: 6px; }
  70% { opacity: 0; top: 16px; }
  100% { opacity: 0; top: 16px; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.03em;
  padding: 16px 40px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 60%, #8f6f2c);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(173, 138, 61, 0.32);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(173, 138, 61, 0.45);
}

.btn--full { width: 100%; text-align: center; }

/* ==========================================================================
   Intro narrative
   ========================================================================== */

.intro { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(40px, 6vw, 72px); }

.intro__salam {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--wine);
  text-align: center;
  margin-bottom: 26px;
}

.intro p {
  font-size: 18px;
  color: var(--ink-soft);
  margin-bottom: 18px;
  text-align: center;
}

.intro__closing {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  color: var(--ink);
  margin-top: 10px !important;
}

/* ==========================================================================
   Flow box (jadwal steps)
   ========================================================================== */

.flow-box {
  margin: 40px auto 0;
}

.flow-box__steps {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 26px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  color: var(--ink-soft);
  text-align: center;
}

.flow-box__steps i {
  color: var(--gold);
  font-style: normal;
}

.flow-box__final {
  color: var(--wine);
  font-weight: 700;
}

/* ==========================================================================
   Checklist
   ========================================================================== */

.checklist {
  display: grid;
  gap: 16px;
  margin: 32px auto 40px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 17px;
  color: var(--ink-soft);
}

.section__body--onink ~ .checklist li,
.checklist--cross li,
.section--ink .checklist li {
  color: rgba(251,247,238,0.9);
}

.checklist__icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--gold-pale);
  color: var(--wine);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  margin-top: 2px;
}

.section--ink .checklist__icon {
  background: rgba(233,201,118,0.14);
  color: var(--gold-light);
}

.checklist__icon--cross {
  background: rgba(250,249,246,0.10);
  color: rgba(250,249,246,0.82);
}

.checklist--simple { margin-top: 22px; }

/* ==========================================================================
   Gallery grid (image placeholders)
   ========================================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
  margin-bottom: 44px;
}

.media-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ivory);
  box-shadow: 0 4px 14px rgba(23,20,15,0.06);
}

.media-item__frame {
  position: relative;
  width: 100%;
  padding-top: 75%; /* rasio 4:3 dikunci lewat padding, dijamin konsisten apa pun rasio asli file foto */
  overflow: hidden;
}

.media-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.media-item:hover img { transform: scale(1.05); }

.media-item figcaption {
  padding: 12px 10px;
  background: var(--ivory);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
  border-top: 1px solid var(--line);
}

/* ==========================================================================
   Video grid (YouTube placeholders)
   ========================================================================== */

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 0 auto 20px;
  max-width: 900px;
}

.video-facade {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-soft);
  cursor: pointer;
}

.video-facade__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.75);
  transition: filter 0.3s ease, transform 0.4s ease;
}

.video-facade:hover .video-facade__thumb {
  filter: brightness(0.6);
  transform: scale(1.03);
}

.video-facade__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  padding-left: 4px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.4);
  transition: transform 0.25s ease;
}

.video-facade:hover .video-facade__play { transform: translate(-50%, -50%) scale(1.08); }

.video-facade__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 14px 10px;
  background: linear-gradient(to top, rgba(0,0,0,0.75), transparent);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}

.video-facade iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   Form card
   ========================================================================== */

.form-card {
  margin-top: 48px;
  background: var(--ivory);
  border-radius: 6px;
  padding: clamp(28px, 4vw, 44px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.35);
}

.form-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  text-align: center;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 26px;
}

.form-card__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

.form-field input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 16px;
  padding: 13px 16px;
  border: 1px solid rgba(23,20,15,0.18);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  transition: border-color 0.2s ease;
}

.form-field input:focus {
  border-color: var(--gold);
  outline: none;
}

.form-card__form .btn { margin-top: 6px; }

.form-card__privacy {
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-soft);
  opacity: 0.65;
  margin-top: 16px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--deep-darker);
  color: rgba(251,247,238,0.7);
  padding: 48px 0 32px;
  text-align: center;
}

.footer__logo-badge {
  display: inline-block;
  background: var(--ivory);
  border-radius: 12px;
  padding: 12px 18px;
  margin: 0 auto 16px;
}

.footer__logo {
  width: 160px;
  margin: 0 auto;
  display: block;
  opacity: 1;
}

.footer__tagline {
  font-size: 13px;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.footer__wa {
  display: inline-block;
  color: var(--gold-light);
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 20px;
}

.footer__copy {
  font-size: 12px;
  color: rgba(251,247,238,0.4);
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive — Tablet
   ========================================================================== */

@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

@media (max-width: 860px) {
  .video-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .section__title { font-size: clamp(28px, 6vw, 40px); }
}

/* ==========================================================================
   Responsive — Mobile
   ========================================================================== */

@media (max-width: 600px) {
  :root { --section-pad: 56px; }

  .container, .container--narrow { padding: 0 18px; }

  .hero { padding-left: 18px; padding-right: 18px; }
  .hero__logo { width: min(260px, 78vw); }
  .hero__sub { line-height: 2; }

  .btn { width: 100%; text-align: center; padding: 16px 24px; }

  .flow-box {
    background: transparent;
  }
  .flow-box__steps {
    flex-direction: column;
    align-items: center;
    background: transparent;
    border: none;
    box-shadow: none;
    gap: 2px;
    padding: 4px 0;
  }
  .flow-box__steps span {
    padding: 10px 0;
    border-bottom: none;
    font-size: 16px;
  }
  .flow-box__steps i {
    display: block;
    transform: rotate(90deg);
    font-size: 15px;
    line-height: 1;
    margin: -2px 0;
  }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .media-item figcaption { font-size: 13.5px; }

  .video-grid { grid-template-columns: 1fr; }

  .eyebrow { font-size: 13.5px; letter-spacing: 0.22em; }
  .section__body p, .intro p { font-size: 18px; }
  .checklist li { font-size: 17.5px; }
  .video-facade__label { font-size: 14px; }
  .hero__sub { font-size: 16.5px; }
  .topbar { font-size: 13.5px; }
  .form-card__privacy { font-size: 13px; }
  .footer__tagline { font-size: 14px; }
  .footer__copy { font-size: 12.5px; }

  .section__note { font-size: 19px; }

  .form-card { padding: 24px 20px; }
  .form-card__title { font-size: 20px; }

  .topbar__inner { justify-content: center; }
  .topbar__wa { margin-left: 0; }
}

@media (max-width: 380px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .hero__headline { font-size: 30px; }
}
