/* =========================================================
   RIVERWOODZ HOUSEBOATS — base.css
   Palette : teal-lagoon + warm sand + gilt brass
   Fonts   : Cormorant Garamond + Lora + JetBrains Mono
   Forged by Site Forge · digitalshijil.com
   ========================================================= */

:root {
  /* — RIVERWOODZ brand tokens — */
  --lagoon:        #1A4A44;
  --lagoon-2:      #0F3330;
  --lagoon-deep:   #071E1C;
  --cane:          #F5EFE0;
  --cane-2:        #EDE4CF;
  --cane-soft:     #FAF7EF;
  --gilt:          #BF9155;
  --gilt-2:        #D4AD77;
  --gilt-soft:     #E8D3B0;
  --waterline:     #2A7A72;
  --tide:          #4A5A56;
  --tide-2:        #6A7A76;

  /* Structural aliases (base.css cascades from these) */
  --paper:         var(--cane);
  --paper-2:       var(--cane-2);
  --paper-soft:    var(--cane-soft);
  --ink:           var(--lagoon);
  --ink-2:         var(--lagoon-2);
  --accent:        var(--gilt);
  --accent-2:      var(--gilt-2);
  --accent-soft:   var(--gilt-soft);
  --spot:          var(--waterline);
  --muted:         var(--tide);
  --muted-2:       var(--tide-2);
  --line:          rgba(26,74,68,.14);
  --line-2:        rgba(26,74,68,.06);

  /* Type */
  --f-display: "Cormorant Garamond", Georgia, serif;
  --f-body:    "Lora", Georgia, serif;
  --f-mono:    "JetBrains Mono", "SF Mono", Menlo, monospace;

  /* Scale + depth */
  --container:        1320px;
  --container-narrow: 1040px;
  --gutter: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow-soft: 0 1px 2px rgba(0,0,0,.04), 0 12px 32px -16px rgba(0,0,0,.12);
  --shadow-lift: 0 2px 4px rgba(0,0,0,.06), 0 24px 48px -20px rgba(0,0,0,.20);
}

/* ---- RESET ---- */
* { box-sizing: border-box; margin: 0; padding: 0; min-width: 0; }
*::selection { background: var(--lagoon); color: var(--cane); }
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; max-width: 100vw; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.72;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  width: 100%; max-width: 100vw;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
section, header, footer { max-width: 100vw; overflow-x: clip; position: relative; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: opacity .35s var(--ease); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cane-2); }
::-webkit-scrollbar-thumb { background: var(--lagoon); }

/* ---- FILM GRAIN ---- */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 200;
  opacity: .04; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
@media (prefers-reduced-motion: reduce) { body::after { display: none; } }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5 {
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: -.015em;
  line-height: 1.08;
  color: var(--ink);
}
h1 { font-size: clamp(2.8rem, 6.5vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 2rem); }
p  { color: var(--muted); }
em, .italic { font-style: italic; font-family: var(--f-display); }
.serif { font-family: var(--f-display); font-weight: 400; letter-spacing: -.01em; }

/* Signature eyebrow — wide mono with gilt rule */
.eyebrow {
  font-family: var(--f-mono);
  text-transform: uppercase;
  letter-spacing: .4em;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--ink);
  display: inline-block;
}
.eyebrow::before {
  content: ""; display: inline-block; width: 28px; height: 1px;
  background: var(--gilt); margin-right: 14px; vertical-align: middle;
}
.label-mono {
  font-family: var(--f-mono);
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--tide-2);
}

/* ---- LAYOUT PRIMITIVES ---- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 10vw, 140px) 0; }
.section--dark { background: var(--lagoon); color: var(--cane); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--cane); }
.section--dark p { color: rgba(245,239,224,.75); }
.section--dark .eyebrow { color: var(--cane); }
.section--deep { background: var(--lagoon-deep); color: var(--cane); }
.section--deep h2, .section--deep h3 { color: var(--cane); }
.section--deep p { color: rgba(245,239,224,.68); }
.section--deep .eyebrow { color: var(--cane); }
.section--sand { background: var(--cane-2); }
.grid { display: grid; gap: clamp(24px, 4vw, 60px); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono); font-size: 11px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase;
  padding: 16px 32px; border: 1px solid var(--lagoon);
  background: var(--lagoon); color: var(--cane);
  transition: all .35s var(--ease);
}
.btn:hover { background: transparent; color: var(--lagoon); opacity: 1; }
.btn--ghost { background: transparent; color: var(--lagoon); }
.btn--ghost:hover { background: var(--lagoon); color: var(--cane); }
.btn--gilt { background: var(--gilt); border-color: var(--gilt); color: var(--lagoon-2); }
.btn--gilt:hover { background: var(--lagoon); border-color: var(--lagoon); color: var(--cane); }
.btn--white { background: transparent; border-color: var(--cane); color: var(--cane); }
.btn--white:hover { background: var(--cane); color: var(--lagoon); opacity: 1; }

/* ---- ANNOUNCE BAR ---- */
.announce {
  background: var(--lagoon-deep); text-align: center; padding: 11px 20px;
  font-size: 10.5px; letter-spacing: .36em; text-transform: uppercase;
  color: rgba(245,239,224,.75); font-family: var(--f-mono); font-weight: 400;
}
.announce span { color: var(--gilt-2); }

/* ---- STICKY NAV ---- */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 24px; padding: 20px var(--gutter);
  background: color-mix(in srgb, var(--cane) 94%, transparent);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transition: padding .35s var(--ease);
}
.nav.scrolled { padding-top: 13px; padding-bottom: 13px; }
.nav-logo {
  justify-self: start; font-family: var(--f-display);
  font-size: 1.35rem; letter-spacing: .06em; color: var(--lagoon);
  font-style: italic;
}
.nav-links {
  display: flex; gap: 34px; justify-self: center; list-style: none;
  font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .24em;
  text-transform: uppercase; font-weight: 500;
}
.nav-links a:hover { color: var(--waterline); opacity: 1; }
.nav-cta { justify-self: end; }
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-burger span { width: 24px; height: 1.5px; background: var(--lagoon); transition: .3s var(--ease); }

/* ---- HERO FULLBLEED ---- */
.hero-fullbleed {
  min-height: 100svh;
  display: flex; align-items: center;
  background:
    linear-gradient(175deg, rgba(7,30,28,.82) 0%, rgba(26,74,68,.70) 55%, rgba(42,122,114,.50) 100%),
    url('https://images.unsplash.com/photo-1612810806563-4cb8265db55f?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  position: relative; overflow: hidden;
}
.hero-fullbleed::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 30% 50%, rgba(191,145,85,.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; padding: clamp(80px,14vh,160px) 0 clamp(60px,10vh,120px); }
.hero-eyebrow { color: var(--gilt); }
.hero-eyebrow::before { background: var(--gilt); }
.hero-h1 { color: var(--cane); margin-top: 20px; line-height: 1.06; }
.hero-tag { color: rgba(245,239,224,.80); font-size: clamp(1rem,1.7vw,1.25rem); max-width: 52ch; margin-top: 22px; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 14px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; color: rgba(245,239,224,.56); }
.hero-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gilt); flex-shrink: 0; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-scroll { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 9px; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(245,239,224,.45); }
.hero-scroll-line { width: 1px; height: 48px; background: linear-gradient(to bottom, rgba(245,239,224,.35), transparent); }

/* ---- MARQUEE ---- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 14px 0; background: var(--cane-2); }
.marquee-track {
  display: flex; gap: 32px; white-space: nowrap; width: max-content;
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--tide-2); animation: marq 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span:nth-child(even) { color: var(--gilt); }
@keyframes marq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---- TRUST BAR ---- */
.trust-bar { background: var(--lagoon); color: var(--cane); padding: clamp(40px, 7vw, 80px) 0; }
.trust-stat { font-family: var(--f-display); font-size: clamp(2.4rem, 5vw, 4rem); color: var(--cane); line-height: 1; }
.trust-label { font-family: var(--f-mono); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--gilt-2); margin-top: 8px; }

/* ---- PACKAGE CARDS ---- */
.pkg-card { background: var(--cane-soft); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .35s var(--ease); }
.pkg-card:hover { box-shadow: var(--shadow-lift); }
.pkg-card-img { aspect-ratio: 3/2; overflow: hidden; }
.pkg-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pkg-card:hover .pkg-card-img img { transform: scale(1.04); }
.pkg-card-body { padding: 28px 28px 32px; }
.pkg-card-tier { font-family: var(--f-mono); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--gilt); }
.pkg-card-name { font-family: var(--f-display); font-size: clamp(1.3rem, 2.4vw, 1.9rem); margin-top: 8px; }
.pkg-card-desc { margin-top: 10px; font-size: 0.9rem; line-height: 1.62; }
.pkg-card-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--lagoon); border-bottom: 1px solid var(--gilt); padding-bottom: 3px;
  transition: gap .3s var(--ease), color .3s; }
.pkg-card-cta:hover { gap: 14px; color: var(--waterline); opacity: 1; }

/* ---- AMENITY GRID ---- */
.amenity-item { padding: 28px 24px; border: 1px solid var(--line); background: var(--cane-soft); }
.amenity-icon { font-size: 1.5rem; line-height: 1; }
.amenity-name { font-family: var(--f-display); font-size: 1.15rem; margin-top: 12px; }
.amenity-note { font-size: 0.875rem; margin-top: 6px; }

/* ---- REVEAL (GSAP adds .is-in; always falls back to visible) ---- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in, .no-js .reveal, .reveal.reveal--shown { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---- IMAGE FALLBACK ---- */
.img-fallback { display: flex; align-items: center; justify-content: center;
  background: var(--cane-2); border: 1px solid var(--line); min-height: 240px; }
.img-fallback-cap { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--tide-2); padding: 24px; text-align: center; }

/* ---- QUOTE ---- */
blockquote p.serif { font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.35; color: var(--lagoon); font-style: italic; }
blockquote cite { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--tide-2); font-style: normal; display: block; margin-top: 16px; }

/* ---- FAQ ---- */
details { border-bottom: 1px solid var(--line); }
details + details { margin-top: 0; }
details summary {
  font-family: var(--f-display); font-size: 1.2rem; cursor: pointer;
  padding: 20px 0; list-style: none; display: flex; justify-content: space-between; align-items: center;
  color: var(--lagoon);
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font-family: var(--f-mono); font-size: 1rem; color: var(--gilt); transition: transform .3s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 0 20px; font-size: 0.9375rem; line-height: 1.7; }

/* ---- CONTACT FORM ---- */
.contact-form input, .contact-form textarea, .contact-form select {
  display: block; width: 100%; padding: 14px 16px; margin-top: 12px;
  background: var(--cane-soft); border: 1px solid var(--line);
  font-family: var(--f-body); font-size: 0.9rem; color: var(--lagoon);
  transition: border-color .3s;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--waterline); }
.contact-form textarea { resize: vertical; }
::placeholder { color: var(--tide-2); font-style: italic; }

/* ---- FOOTER ---- */
.footer { background: var(--lagoon-deep); color: var(--cane); padding: clamp(56px, 8vw, 100px) 0 40px; }
.footer h3 { color: var(--cane); font-size: 1.5rem; }
.footer a { color: rgba(245,239,224,.65); }
.footer a:hover { color: var(--gilt-2); opacity: 1; }
.footer p { color: rgba(245,239,224,.65); }
.footer .label-mono { color: var(--gilt); }
.footer-credit { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(245,239,224,.12);
  font-family: var(--f-mono); font-size: 10px; letter-spacing: .06em; color: rgba(245,239,224,.38); }

/* ---- UTILITIES ---- */
.center { text-align: center; }
.mt-s { margin-top: 14px; } .mt-m { margin-top: 28px; } .mt-l { margin-top: 60px; }
.maxw-prose { max-width: 60ch; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav { grid-template-columns: 1fr auto; }
  .nav-links.open {
    display: flex; position: fixed; inset: 64px 0 auto 0; flex-direction: column;
    background: var(--cane); padding: 32px var(--gutter); gap: 22px;
    border-bottom: 1px solid var(--line); z-index: 99;
  }
  .grid { gap: 28px; }
  .hero-h1 { font-size: clamp(2.6rem, 12vw, 3.8rem); }
  .hero-ctas { flex-direction: column; }
  .hero-scroll { display: none; }
}
@media (max-width: 620px) {
  .nav-cta { display: none; }
}
