/* ═══════════════════════════════════════════════════════
   ONR RESORT — Design 6: Stacking Celebration
   ═══════════════════════════════════════════════════════

   LAYOUT: Sticky-stacking sections. Each slides OVER the
   previous one as you scroll, like layers of an invitation.

   PALETTE (Indian celebration):
     Ivory       #FDF5E6   hero / stays
     Sindoor     #6B1D2A   weddings (deep maroon)
     Teal        #134043   events (regal dark)
     Charcoal    #191613   voices
     Marigold    #D4930D   connect (festive gold)
     Vermillion  #C84B31   accent/CTA
     Haldi       #D4A030   secondary accent
     Cream       #FAF0DC   card surfaces

   FONTS:
     Bricolage Grotesque — display (quirky, expressive, optical-size)
     Newsreader — body/quotes (warm, editorial serif)

   DECORATIVE:
     CSS dot patterns inspired by rangoli geometry
   ═══════════════════════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --ivory:      #FDF5E6;
  --sindoor:    #6B1D2A;
  --teal:       #134043;
  --charcoal:   #191613;
  --marigold:   #D4930D;
  --vermillion: #C84B31;
  --haldi:      #D4A030;
  --cream:      #FAF0DC;
  --sand:       #B8A88E;
  --soot:       #231F1B;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Newsreader', Georgia, serif;
  color: var(--charcoal);
  background: var(--charcoal);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}


/* ═══════════════════
   FLOATING NAV
   ═══════════════════ */

.fnav {
  position: fixed;
  top: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.fn-brand {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  color: var(--charcoal);
  background: var(--ivory);
  padding: 0.4rem 0.8rem;
  border-radius: 100px;
  box-shadow: 0 2px 12px rgba(25,22,19,0.12);
  transition: color 0.3s, background 0.3s;
}

.fn-pill {
  display: none;
  align-items: center;
  gap: 0;
  background: var(--ivory);
  border-radius: 100px;
  padding: 0.15rem;
  box-shadow: 0 2px 12px rgba(25,22,19,0.12);
}

.fn-pill a {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--charcoal);
  padding: 0.4rem 0.9rem;
  border-radius: 100px;
  transition: background 0.2s, color 0.2s;
}

.fn-pill a:hover {
  background: var(--charcoal);
  color: var(--ivory);
}

.fn-pill a:last-child {
  background: var(--vermillion);
  color: #fff;
}

.fn-pill a:last-child:hover {
  background: var(--sindoor);
}

.fn-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: var(--ivory);
  border: none;
  cursor: pointer;
  padding: 0.55rem;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(25,22,19,0.12);
}

.fn-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--charcoal);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

.fn-toggle.open span:first-child { transform: translateY(3.25px) rotate(45deg); }
.fn-toggle.open span:last-child  { transform: translateY(-3.25px) rotate(-45deg); }

/* Mobile menu */
.mmenu {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--sindoor);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mmenu.open { opacity: 1; pointer-events: all; }

.mmenu nav { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }

.mmenu a {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: 1.8rem;
  text-decoration: none;
  color: var(--ivory);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s, color 0.15s;
}

.mmenu.open a { opacity: 1; transform: translateY(0); }
.mmenu.open a:nth-child(1) { transition-delay: 0.05s; }
.mmenu.open a:nth-child(2) { transition-delay: 0.1s; }
.mmenu.open a:nth-child(3) { transition-delay: 0.15s; }
.mmenu.open a:nth-child(4) { transition-delay: 0.2s; }
.mmenu.open a:nth-child(5) { transition-delay: 0.25s; }

.mmenu a:hover { color: var(--haldi); }

.mmenu-loc {
  position: absolute;
  bottom: 2rem;
  font-size: 0.65rem;
  color: rgba(253,245,230,0.4);
  letter-spacing: 0.1em;
}


/* ═══════════════════
   STACKING SECTIONS
   ═══════════════════ */

.stack {
  position: sticky;
  top: 0;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 4rem 1.5rem;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  /* Each section casts shadow on the one below */
  box-shadow: 0 -8px 30px rgba(25,22,19,0.15);
}

/* First section: no radius, no shadow */
.s-hero {
  border-radius: 0;
  box-shadow: none;
}

.s-inner {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}


/* ═══════════════════
   RANGOLI DOT PATTERNS (CSS)
   ═══════════════════ */

.rangoli-dots {
  position: absolute;
  pointer-events: none;
}

/* Hero: subtle corner dots */
.rd-hero {
  top: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  background:
    radial-gradient(circle, rgba(212,147,13,0.15) 2px, transparent 2px) 0 0 / 20px 20px;
  opacity: 0.6;
  border-radius: 50%;
}

.rd-side {
  bottom: 2rem;
  right: 1rem;
  width: 120px;
  height: 180px;
  background:
    radial-gradient(circle, rgba(253,245,230,0.08) 1.5px, transparent 1.5px) 0 0 / 16px 16px;
}

.rd-corner {
  top: 2rem;
  left: 1rem;
  width: 100px;
  height: 100px;
  background:
    radial-gradient(circle, rgba(253,245,230,0.06) 1.5px, transparent 1.5px) 0 0 / 14px 14px;
}

.rd-bottom {
  bottom: 1rem;
  left: 2rem;
  width: 160px;
  height: 80px;
  background:
    radial-gradient(circle, rgba(200,75,49,0.12) 2px, transparent 2px) 0 0 / 18px 18px;
}


/* ═══════════════════
   SECTION TAG
   ═══════════════════ */

.section-tag {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.tag-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: rgba(253,245,230,0.4);
}

.st-dark .tag-num { color: var(--sand); }
.st-light .tag-num { color: rgba(253,245,230,0.35); }
.st-on-gold .tag-num { color: rgba(25,22,19,0.3); }

.tag-line {
  width: 24px;
  height: 1.5px;
  background: var(--vermillion);
  display: block;
}

.tag-name {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--vermillion);
}

.st-dark .tag-name, .st-dark .tag-line { color: var(--vermillion); background: var(--vermillion); }
.st-light .tag-name { color: var(--haldi); }
.st-light .tag-line { background: var(--haldi); }
.st-on-gold .tag-name { color: var(--sindoor); }
.st-on-gold .tag-line { background: var(--sindoor); }


/* ═══════════════════
   HERO
   ═══════════════════ */

.s-hero {
  background: var(--ivory);
  padding-top: 5rem;
}

.hero-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.hero-loc {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--sand);
}

.hero-loc svg { color: var(--vermillion); }

.hero-badge {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--marigold);
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(212,147,13,0.3);
  border-radius: 100px;
}

h1 { margin-bottom: 3rem; }

.h1-line {
  display: block;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-optical-sizing: auto;
  font-size: clamp(2.6rem, 9vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--charcoal);
}

.h1-accent {
  color: var(--vermillion);
  font-weight: 200;
  font-style: italic;
  font-family: 'Newsreader', serif;
  font-size: clamp(3rem, 10vw, 6.8rem);
  letter-spacing: -0.02em;
}

.hero-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-sub {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sand);
  line-height: 1.6;
}

.hero-sub span {
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: none;
  display: block;
  margin-top: 2px;
  opacity: 0.6;
}

.hero-cta {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  padding: 0.7rem 1.5rem;
  background: var(--charcoal);
  color: var(--ivory);
  border-radius: 100px;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}

.hero-cta:hover {
  background: var(--vermillion);
  transform: translateY(-2px);
}


/* ═══════════════════
   TWO-COL LAYOUT
   ═══════════════════ */

.s-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(1.8rem, 5.5vw, 3.2rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

h2 em {
  font-family: 'Newsreader', serif;
  font-weight: 300;
  font-style: italic;
}

.col-text p {
  font-family: 'Newsreader', serif;
  font-size: 0.92rem;
  line-height: 1.8;
  opacity: 0.8;
  margin-bottom: 1.25rem;
  max-width: 480px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.feature-list li {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  padding-left: 1.2rem;
  position: relative;
  opacity: 0.75;
}

.feature-list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  font-size: 0.45rem;
  top: 0.3rem;
  color: var(--haldi);
}

.fl-dark li::before { color: var(--vermillion); }


/* ═══════════════════
   ABSTRACT SHAPES
   ═══════════════════ */

.col-viz {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mandap shape — concentric ceremony squares */
.mandap-shape {
  width: 160px;
  height: 160px;
  position: relative;
  animation: mandap-spin 40s linear infinite;
}

.ms-outer {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(253,245,230,0.15);
  transform: rotate(45deg);
}

.ms-inner {
  position: absolute;
  inset: 25%;
  border: 1px solid rgba(212,160,48,0.2);
  transform: rotate(22.5deg);
}

.ms-center {
  position: absolute;
  inset: 42%;
  border-radius: 50%;
  border: 1px solid rgba(200,75,49,0.25);
}

.ms-flame {
  position: absolute;
  width: 8px;
  height: 8px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--haldi);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(212,160,48,0.4);
  animation: flame-pulse 2s ease-in-out infinite;
}

@keyframes mandap-spin { to { transform: rotate(360deg); } }
@keyframes flame-pulse {
  0%,100% { opacity: 0.6; transform: translate(-50%,-50%) scale(1); }
  50%     { opacity: 1; transform: translate(-50%,-50%) scale(1.4); }
}

/* Grid shape */
.grid-shape {
  width: 160px;
  height: 160px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.grid-shape span {
  background: rgba(253,245,230,0.05);
  border-radius: 4px;
  border: 1px solid rgba(253,245,230,0.04);
  transition: background 0.3s, transform 0.3s;
}

.grid-shape span:nth-child(even) { background: rgba(212,160,48,0.08); }
.grid-shape span:hover { background: rgba(212,160,48,0.2); transform: scale(1.08); }

/* Pool ripples */
.pool-shape {
  width: 160px;
  height: 160px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ps-ripple {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  animation: ripple-out 4s ease-in-out infinite;
}

.ps-r1 { width: 50%; height: 50%; border-color: var(--vermillion); opacity: 0.3; animation-delay: 0s; }
.ps-r2 { width: 72%; height: 72%; border-color: var(--haldi); opacity: 0.2; animation-delay: 0.6s; }
.ps-r3 { width: 94%; height: 94%; border-color: var(--sand); opacity: 0.1; animation-delay: 1.2s; }

@keyframes ripple-out {
  0%,100% { transform: scale(0.95); opacity: 0.3; }
  50%     { transform: scale(1.05); opacity: 0.15; }
}


/* ═══════════════════
   SECTION COLORS
   ═══════════════════ */

.s-weddings {
  background: var(--sindoor);
  color: var(--ivory);
}

.s-weddings h2 em { color: var(--haldi); }

.s-events {
  background: var(--teal);
  color: var(--ivory);
}

.s-events h2 em { color: var(--haldi); }

.s-stays {
  background: var(--cream);
  color: var(--charcoal);
}

.s-stays h2 em { color: var(--vermillion); }

.s-voices {
  background: var(--charcoal);
  color: var(--ivory);
}

.h-light { color: var(--ivory); }
.h-light em { color: var(--haldi); }

.s-connect {
  background: var(--marigold);
  color: var(--charcoal);
}

.h-on-gold { color: var(--charcoal); }
.h-on-gold em { font-family: 'Newsreader', serif; color: var(--sindoor); }


/* ═══════════════════
   TESTIMONIAL WALL (masonry-ish)
   ═══════════════════ */

.testimonial-wall {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.tw-card {
  background: rgba(253,245,230,0.04);
  border: 1px solid rgba(253,245,230,0.06);
  border-radius: 14px;
  padding: 1.2rem;
  transition: border-color 0.3s;
}

.tw-card:hover { border-color: rgba(212,160,48,0.25); }

.tw-card-accent {
  background: rgba(200,75,49,0.12);
  border-color: rgba(200,75,49,0.15);
}

.tw-card p {
  font-family: 'Newsreader', serif;
  font-weight: 300;
  font-style: italic;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 0.6rem;
}

.tw-card cite {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 0.7rem;
  color: var(--sand);
}

.tw-stars {
  display: block;
  font-size: 0.55rem;
  letter-spacing: 2px;
  color: var(--haldi);
  margin-top: 3px;
}


/* ═══════════════════
   CONNECT
   ═══════════════════ */

.s-connect-grid {
  display: grid;
  gap: 2rem;
}

.cg-details {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.cg-details strong {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 2px;
}

.cg-details p {
  font-size: 0.82rem;
  line-height: 1.55;
  opacity: 0.7;
}

.cg-btns {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.2rem;
}

.cg-btn {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: 0.7rem;
  text-decoration: none;
  padding: 0.55rem 1.1rem;
  border-radius: 100px;
  background: var(--charcoal);
  color: var(--ivory);
  transition: background 0.2s;
}

.cg-btn:hover { background: var(--sindoor); }
.cg-wa { background: #25D366; color: #fff; }
.cg-wa:hover { background: #1da851; }

.cg-form {
  background: var(--ivory);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(25,22,19,0.1);
}

.cg-form h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.cg-form input, .cg-form select, .cg-form textarea {
  width: 100%;
  font-family: 'Newsreader', serif;
  font-size: 0.85rem;
  padding: 0.65rem 0.8rem;
  background: var(--cream);
  border: 1.5px solid rgba(184,168,142,0.35);
  border-radius: 8px;
  color: var(--charcoal);
  outline: none;
  margin-bottom: 0.65rem;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.cg-form input::placeholder, .cg-form textarea::placeholder { color: var(--sand); }
.cg-form input:focus, .cg-form select:focus, .cg-form textarea:focus { border-color: var(--vermillion); }
.cg-form textarea { resize: none; }
.cg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }

.cg-form button {
  width: 100%;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 0.8rem;
  background: var(--charcoal);
  color: var(--ivory);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.cg-form button:hover { background: var(--vermillion); transform: translateY(-2px); }


/* ═══════════════════
   FOOTER
   ═══════════════════ */

.site-foot {
  background: var(--soot);
  padding: 2rem 1.5rem;
  text-align: center;
}

.sf-brand {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--sand);
  margin-bottom: 0.5rem;
}

.sf-legal {
  font-size: 0.6rem;
  color: rgba(184,168,142,0.4);
  letter-spacing: 0.04em;
}


/* ═══════════════════
   MOBILE BAR
   ═══════════════════ */

.mob {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  background: var(--ivory);
  border-top: 1px solid rgba(184,168,142,0.3);
  box-shadow: 0 -2px 10px rgba(25,22,19,0.06);
  padding: 0.35rem;
  padding-bottom: calc(0.35rem + env(safe-area-inset-bottom));
  transform: translateY(100%);
  transition: transform 0.3s;
}

.mob.show { transform: translateY(0); }

.mob a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700;
  font-size: 0.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal);
  padding: 0.35rem 0;
  border-radius: 8px;
}

.mob-wa { color: #25D366 !important; }
.mob a:active { background: var(--cream); }


/* ═══════════════════
   ENTRANCE ANIMATIONS
   ═══════════════════ */

.col-text, .col-viz, .cg-left, .cg-form,
.hero-content > *, .testimonial-wall {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.stack.seen .col-text,
.stack.seen .col-viz,
.stack.seen .cg-left,
.stack.seen .cg-form,
.stack.seen .testimonial-wall,
.s-hero.seen .hero-content > * {
  opacity: 1;
  transform: translateY(0);
}

.s-hero.seen .hero-content > *:nth-child(1) { transition-delay: 0s; }
.s-hero.seen .hero-content > *:nth-child(2) { transition-delay: 0.1s; }
.s-hero.seen .hero-content > *:nth-child(3) { transition-delay: 0.2s; }

.stack.seen .col-text { transition-delay: 0.1s; }
.stack.seen .col-viz  { transition-delay: 0.25s; }


/* ═══════════════════
   DESKTOP (768px+)
   ═══════════════════ */

@media (min-width: 768px) {
  .fn-pill { display: flex; }
  .fn-toggle { display: none; }

  .stack { padding: 3rem; border-radius: 28px 28px 0 0; }
  .s-hero { padding-top: 5rem; }

  .s-two-col { grid-template-columns: 1.2fr 0.8fr; gap: 3rem; }
  .s-two-col-rev { grid-template-columns: 0.8fr 1.2fr; }

  .mandap-shape, .grid-shape, .pool-shape { width: 220px; height: 220px; }

  .testimonial-wall { grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }

  .s-connect-grid { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }

  .mob { display: none !important; }
}

@media (max-width: 767px) {
  .col-viz { display: none; }
  .mob.show { display: flex; }
}

@media (min-width: 1080px) {
  .h1-line { font-size: 5.5rem; }
  .h1-accent { font-size: 6.2rem; }
  .mandap-shape, .grid-shape, .pool-shape { width: 280px; height: 280px; }
  .stack { padding: 4rem; }
}
