/* NisargTrails: forest at night, starry sky, bonfire orange. */
:root {
  --bg: #08130f;
  --surface: #0f1f18;
  --surface2: #142a20;
  --line: #22402f;
  --text: #ecf3ec;
  --muted: #a9bdb0;
  --leaf: #8fd694;
  --fire: #ffae4a;
  --fire-deep: #f0862e;
  --danger: #ff8a7a;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16.5px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--fire); }
h1, h2, h3 { font-family: Fraunces, Georgia, serif; line-height: 1.15; margin: 0 0 0.6rem; }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.muted { color: var(--muted); }
.small { font-size: 0.88rem; }
[hidden] { display: none !important; }

/* Hero: night sky over a tree line */
.hero { position: relative; overflow: hidden; padding: 0 20px 250px; min-height: min(100vh, 900px);
  background: radial-gradient(900px 500px at 70% 10%, #1b3a5c 0%, transparent 60%),
              linear-gradient(180deg, #0b1a2c 0%, #0c1f1c 70%, #06100c 100%); }
.sky { position: absolute; inset: 0; opacity: 0.8; pointer-events: none;
  background-image:
    radial-gradient(1.2px 1.2px at 10% 20%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 25% 8%, #fff 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 40% 30%, #ffe9c4 50%, transparent 51%),
    radial-gradient(1px 1px at 55% 14%, #fff 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 68% 36%, #cfe6ff 50%, transparent 51%),
    radial-gradient(1px 1px at 82% 22%, #fff 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 92% 6%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 5% 44%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 33% 52%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 76% 50%, #fff 50%, transparent 51%);
  background-size: 520px 420px; }
/* The Milky Way: a soft diagonal band of light and denser stars. */
.milkyway { position: absolute; left: -10%; right: -10%; top: 4%; height: 46%; transform: rotate(-14deg); pointer-events: none; opacity: 0.9;
  background:
    radial-gradient(ellipse 40% 26% at 62% 50%, rgba(255, 236, 214, 0.20), transparent 70%),
    radial-gradient(ellipse 60% 30% at 45% 52%, rgba(190, 210, 255, 0.13), transparent 72%),
    radial-gradient(ellipse 30% 14% at 70% 48%, rgba(255, 255, 255, 0.10), transparent 70%);
  filter: blur(6px); }
.milkyway::after { content: ""; position: absolute; inset: 20% 10%; filter: blur(0); opacity: 0.8;
  background-image:
    radial-gradient(1px 1px at 12% 40%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 22% 62%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 31% 45%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 43% 58%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 52% 36%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 61% 54%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 72% 44%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 84% 60%, #fff 50%, transparent 51%);
  background-size: 260px 120px; }
/* The illustrated night scene along the bottom of the hero. */
.scene { position: absolute; left: 0; bottom: -1px; width: 100%; height: 520px; display: block; pointer-events: none; }
.top { position: relative; max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; }
.brand { font-family: Fraunces, Georgia, serif; font-size: 1.35rem; font-weight: 700; color: var(--text); text-decoration: none; }
.brand span { color: var(--leaf); }
.top-link { color: var(--text); text-decoration: none; font-weight: 600; border: 1px solid rgba(255,255,255,0.25); padding: 7px 16px; border-radius: 999px; }
.top-link:hover { border-color: var(--fire); color: var(--fire); }
.hero-inner { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; padding-top: 3vh; }
.eyebrow { color: var(--leaf); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.82rem; margin: 0 0 14px; }
.hero h1 { font-size: clamp(2.4rem, 7vw, 4.6rem); max-width: 14ch; }
.hero h1 em { font-style: normal; color: var(--fire); }
.tagline { font-family: Fraunces, Georgia, serif; font-size: clamp(1.2rem, 3vw, 1.6rem); color: var(--muted); margin: 0 0 14px; }
.lead { max-width: 36em; color: #d6e3d9; font-size: 1.08rem; }
.facts { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 8px; max-width: 40em; }
.facts li { display: flex; gap: 10px; align-items: baseline; }
.facts a { color: var(--text); text-decoration-color: rgba(255,255,255,0.35); }
.scarcity { color: var(--fire); font-weight: 600; margin-top: 12px; }

.btn { display: inline-block; border: 0; cursor: pointer; font: inherit; font-weight: 600; text-decoration: none;
  padding: 13px 26px; border-radius: 999px; color: #1f1206;
  background: linear-gradient(180deg, var(--fire), var(--fire-deep));
  box-shadow: 0 10px 30px -10px rgba(255, 150, 60, 0.6); }
.btn:hover { filter: brightness(1.06); }
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn.ghost { background: transparent; color: var(--fire); border: 1px solid var(--fire); box-shadow: none; }

/* Sections */
main { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; border-bottom: 1px solid var(--line); }
/* From dusk to dawn */
.journey .eyebrow { margin-bottom: 6px; }
.intro { color: var(--muted); max-width: 40em; margin: 0 0 26px; font-size: 1.05rem; }
.moments { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }
.moments > li { flex: 1 1 280px; max-width: calc((100% - 36px) / 3); }
.moment { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.moment img { width: 100%; height: auto; aspect-ratio: 16 / 9; display: block; }
.moment > div { padding: 16px 18px 20px; }
.moment h3 { font-size: 1.2rem; margin: 4px 0 6px; }
.moment p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.when { display: inline-block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fire); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-top: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card .icon { font-size: 1.8rem; }
.card h3 { font-size: 1.2rem; margin-top: 8px; }
.card p { color: var(--muted); margin: 0; font-size: 0.97rem; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.mt { margin-top: 28px; }
.ticks, .crosses, .dots { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li, .crosses li, .dots li { padding-left: 30px; position: relative; color: #d6e3d9; }
.ticks li::before { content: "✓"; position: absolute; left: 4px; color: var(--leaf); font-weight: 700; }
.crosses li::before { content: "✕"; position: absolute; left: 4px; color: var(--danger); }
.dots li::before { content: "•"; position: absolute; left: 8px; color: var(--fire); font-weight: 700; }

.fee-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 18px 0 10px; }
.fee { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 2px; }
.fee span { color: var(--muted); }
.fee strong { font-family: Fraunces, Georgia, serif; font-size: 2.3rem; color: var(--fire); }
.fee small { color: var(--muted); }

/* Booking */
.book { scroll-margin-top: 10px; }
.notice { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.steps { list-style: none; display: flex; gap: 8px; padding: 0; margin: 10px 0 24px; counter-reset: s; flex-wrap: wrap; }
.steps li { counter-increment: s; padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-size: 0.92rem; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; border-radius: 50%; background: var(--line); color: var(--text); font-size: 0.8rem; font-weight: 600; }
.steps li.active { color: var(--text); border-color: var(--fire); }
.steps li.active::before { background: var(--fire); color: #1f1206; }
.steps li.done::before { content: "✓"; background: var(--leaf); color: #0b1a10; }

.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: 0.95rem; }
.form label.wide { grid-column: 1 / -1; }
.opt { color: var(--muted); font-weight: 400; }
.form input:not([type=checkbox]), .form textarea {
  font: inherit; color: var(--text); background: #0a1712; border: 1px solid var(--line); border-radius: 12px; padding: 11px 13px; width: 100%; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--fire); outline-offset: 1px; border-color: transparent; }
.form label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; margin-top: 14px; color: #d6e3d9; }
.form label.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--fire); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.total-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.total-row strong { font-family: Fraunces, Georgia, serif; font-size: 1.9rem; color: var(--fire); margin-left: 6px; }
.total-row small { display: block; color: var(--muted); }
.errors { margin-top: 16px; background: rgba(255, 138, 122, 0.1); border: 1px solid rgba(255, 138, 122, 0.4); border-radius: 12px; padding: 10px 16px; color: #ffd2cb; }
.errors ul { margin: 0; padding-left: 18px; }

.pay { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.ref-line { margin-top: 0; }
.ref-line strong { font-family: ui-monospace, Consolas, monospace; font-size: 1.15rem; color: var(--fire); letter-spacing: 0.04em; }
.pay-grid { display: grid; grid-template-columns: 280px 1fr; gap: 28px; align-items: start; }
.qr-box { text-align: center; }
#qr { background: #fff; padding: 14px; border-radius: 16px; display: inline-block; line-height: 0; }
#qr img, #qr canvas { display: block; }
.payee-line { margin: 8px auto 0; max-width: 26em; color: #d6e3d9; font-size: 0.92rem; }
.amount-label { margin: 14px 0 0; color: var(--muted); font-size: 0.9rem; }
.amount { font-family: Fraunces, Georgia, serif; font-size: 2.2rem; color: var(--fire); margin: 0; }
#qr img { width: 240px; max-width: 100%; height: auto; border-radius: 6px; }
.how { padding-left: 20px; display: grid; gap: 10px; color: #d6e3d9; margin-top: 0; }
.pay .form { padding: 0; border: 0; background: none; margin-top: 16px; }
.pay .form .btn { margin-top: 14px; }
.mobile-only { display: none; margin-top: 10px; }
.mobile-only[hidden] { display: none !important; }
#qr-tip { margin: 10px auto 0; max-width: 30em; }

.done { background: var(--surface2); border: 1px solid var(--leaf); border-radius: var(--radius); padding: 28px; }
.done .big { font-family: Fraunces, Georgia, serif; font-size: 1.6rem; margin-top: 0; }

.closing { text-align: center; border-bottom: 0; }
.closing p { max-width: 34em; margin: 0 auto 10px; color: var(--muted); font-size: 1.08rem; }
.closing .strong { color: var(--text); font-family: Fraunces, Georgia, serif; font-size: 1.35rem; }

.foot { border-top: 1px solid var(--line); text-align: center; color: var(--muted); padding: 28px 20px 40px; font-size: 0.92rem; }
.foot p { margin: 6px 0; }
.foot a { color: var(--muted); }
.tags { opacity: 0.6; font-size: 0.82rem; }

@media (max-width: 760px) {
  .hero { min-height: auto; padding-bottom: 300px; }
  .scene { height: 330px; }
  .moments > li { max-width: none; }
  .milkyway { top: 2%; height: 40%; }
  .two-col { grid-template-columns: 1fr; gap: 0; }
  .two-col > div + div { margin-top: 32px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .grid label { grid-column: 1 / -1; }
  .grid label.half { grid-column: auto; }
  .steps { gap: 6px; flex-wrap: nowrap; }
  .steps li { font-size: 0.82rem; padding: 5px 10px 5px 6px; white-space: nowrap; }
  .steps li::before { width: 20px; height: 20px; margin-right: 6px; }
  .pay-grid { grid-template-columns: 1fr; }
  .mobile-only { display: inline-block; }
  .form, .pay { padding: 18px; }
  .total-row .btn { width: 100%; }
}
@media (max-width: 420px) {
  .hero, main { padding-left: 16px; padding-right: 16px; }
}
