/* ==========================================================================
   ROYAL BANQUET HALL — Design System
   A dark charcoal + antique gold + deep wine palette, built around a
   hand-drawn botanical monogram motif that recurs as the site's signature.
   ========================================================================== */

/* ---- Design tokens ------------------------------------------------------ */
:root{
  --void:        #0b0906;   /* near-black warm base */
  --charcoal:     #15110d;   /* panel background */
  --charcoal-2:   #1e1712;   /* elevated panel */
  --ivory:        #f3ead9;   /* primary text on dark */
  --ivory-dim:    #cdc0a8;   /* secondary text on dark */
  --gold:         #c9a24b;   /* antique gold — primary accent */
  --gold-light:   #e8cf8a;   /* highlight gold */
  --gold-dim:     #8a7038;   /* muted gold for borders */
  --wine:         #5c1a24;   /* deep burgundy — secondary accent */
  --wine-light:   #8a2f3c;
  --line:         rgba(201,162,75,0.22);

  --font-display: 'Cormorant Garamond', serif;
  --font-body:    'Jost', sans-serif;

  --ease-luxe: cubic-bezier(.16,.84,.44,1);
  --radius: 2px;
}

*{ box-sizing: border-box; }
html{ background: var(--void); scroll-behavior: auto; }
html.lenis, html.lenis body{ height: auto; }
.lenis.lenis-smooth{ scroll-behavior: auto !important; }

body{
  margin:0;
  background: var(--void);
  color: var(--ivory);
  font-family: var(--font-body);
  font-weight: 300;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection{ background: var(--gold); color: var(--void); }

::-webkit-scrollbar{ width: 8px; }
::-webkit-scrollbar-track{ background: var(--void); }
::-webkit-scrollbar-thumb{ background: var(--gold-dim); border-radius: 8px; }

h1,h2,h3,h4,.font-display{
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--ivory);
}

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

/* ---- Utility: eyebrow labels -------------------------------------------- */
.eyebrow{
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .38em;
  font-size: .68rem;
  color: var(--gold);
  display:inline-flex;
  align-items:center;
  gap:.9em;
}
.eyebrow::before{
  content:'';
  width: 28px; height:1px;
  background: var(--gold);
  display:inline-block;
}

/* ---- Buttons -------------------------------------------------------------*/
.btn{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.6rem;
  padding: 1rem 2.2rem;
  font-family: var(--font-body);
  font-size:.78rem;
  letter-spacing:.2em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor:pointer;
  border:1px solid transparent;
  transition: color .5s var(--ease-luxe), border-color .5s var(--ease-luxe), background .5s var(--ease-luxe), transform .3s var(--ease-luxe);
  overflow:hidden;
  isolation:isolate;
}
.btn:active{ transform: scale(.97); }

.btn-gold{
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dim));
  color: var(--void);
  font-weight:500;
}
.btn-gold:hover{ box-shadow: 0 10px 40px -10px rgba(201,162,75,.55); transform: translateY(-2px); }

.btn-outline{
  border-color: var(--line);
  color: var(--ivory);
  background: rgba(255,255,255,.02);
  backdrop-filter: blur(6px);
}
.btn-outline:hover{ border-color: var(--gold); color: var(--gold-light); background: rgba(201,162,75,.08); }

.btn-wine{
  background: linear-gradient(135deg, var(--wine-light), var(--wine));
  color: var(--ivory);
}
.btn-wine:hover{ box-shadow: 0 10px 40px -10px rgba(92,26,36,.7); transform: translateY(-2px); }

/* ---- Glassmorphism panels ------------------------------------------------*/
.glass{
  background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015));
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid rgba(201,162,75,.16);
}
.glass-strong{
  background: rgba(21,17,13,.72);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(201,162,75,.22);
}

/* ---- Animated gradient backdrop ------------------------------------------*/
.aurum-field{
  position:absolute; inset:0; overflow:hidden; pointer-events:none;
}
.aurum-field span{
  position:absolute;
  width:60vw; height:60vw;
  border-radius:50%;
  filter: blur(120px);
  opacity:.18;
  background: radial-gradient(circle, var(--gold), transparent 70%);
  animation: drift 22s ease-in-out infinite alternate;
}
.aurum-field span:nth-child(2){
  background: radial-gradient(circle, var(--wine), transparent 70%);
  top:40%; left:50%; animation-duration: 28s; animation-delay: -6s; opacity:.22;
}
.aurum-field span:nth-child(3){
  width:40vw;height:40vw;
  background: radial-gradient(circle, var(--gold-light), transparent 70%);
  bottom:-10%; right:-5%; animation-duration: 18s; opacity:.12;
}
@keyframes drift{
  0%{ transform: translate(-8%,-4%) scale(1); }
  100%{ transform: translate(10%,8%) scale(1.15); }
}

/* ---- Loader ---------------------------------------------------------------*/
#loader{
  position:fixed; inset:0; z-index:9999;
  background: var(--void);
  display:flex; align-items:center; justify-content:center; flex-direction:column;
  gap: 1.4rem;
}
#loader .loader-mark{
  width: 78px; height:78px;
  display:flex; align-items:center; justify-content:center;
}
#loader .loader-mark svg{ width:100%; height:100%; }
#loader .loader-mark path{
  stroke: var(--gold);
  stroke-width: 1;
  fill:none;
}
#loader .loader-word{
  font-family: var(--font-display);
  letter-spacing:.5em;
  font-size: .95rem;
  color: var(--ivory-dim);
  text-transform:uppercase;
  padding-left: .5em;
}
#loader .loader-bar{
  width: 180px; height:1px; background: rgba(201,162,75,.2); position:relative; overflow:hidden;
}
#loader .loader-bar::after{
  content:''; position:absolute; inset:0; width:30%; background: var(--gold);
  animation: loadsweep 1.1s ease-in-out infinite;
}
@keyframes loadsweep{
  0%{ transform: translateX(-100%); } 100%{ transform: translateX(400%); }
}

/* ---- Custom cursor ---------------------------------------------------------*/
.cursor-dot, .cursor-ring{
  position: fixed; top:0; left:0; z-index:9998; pointer-events:none;
  border-radius:50%;
  transform: translate(-50%,-50%);
  mix-blend-mode: difference;
}
.cursor-dot{ width:6px; height:6px; background: var(--gold-light); }
.cursor-ring{ width:34px; height:34px; border:1px solid var(--gold); transition: width .25s, height .25s, opacity .25s; opacity:.7; }
.cursor-ring.is-active{ width:56px; height:56px; opacity:1; }
@media (hover:none), (pointer:coarse){ .cursor-dot,.cursor-ring{ display:none; } }

/* ---- Navbar ----------------------------------------------------------------*/
#navbar{
  position:fixed; top:0; left:0; right:0; z-index:1000;
  padding: 1.4rem clamp(1.2rem,4vw,3.5rem);
  display:flex; align-items:center; justify-content:space-between;
  transition: padding .5s var(--ease-luxe), background .5s var(--ease-luxe), border-color .5s var(--ease-luxe);
  border-bottom: 1px solid transparent;
}
#navbar.scrolled{
  padding: .85rem clamp(1.2rem,4vw,3.5rem);
  background: rgba(11,9,6,.78);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.nav-logo{
  font-family: var(--font-display);
  font-size: 1.5rem; letter-spacing:.06em;
  display:flex; align-items:center; gap:.7rem;
}
.nav-logo svg{ width:30px;height:30px; }
.nav-link{
  position:relative; font-size:.76rem; letter-spacing:.18em; text-transform:uppercase;
  color: var(--ivory-dim); padding: .3rem 0; margin: 0 .9rem;
}
.nav-link::after{
  content:''; position:absolute; left:0; bottom:0; height:1px; width:0%;
  background: var(--gold); transition: width .4s var(--ease-luxe);
}
.nav-link:hover, .nav-link.active{ color: var(--gold-light); }
.nav-link:hover::after, .nav-link.active::after{ width:100%; }

#mobile-menu{
  position:fixed; inset:0; z-index:999;
  background: rgba(11,9,6,.98);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1.6rem;
  transform: translateY(-100%);
  transition: transform .6s var(--ease-luxe);
}
#mobile-menu.open{ transform: translateY(0); }
#mobile-menu a{ font-family: var(--font-display); font-size:1.9rem; }

/* ---- Floating CTA -------------------------------------------------------*/
#floating-cta{
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 900;
  display:flex; flex-direction:column; gap:.7rem; align-items:flex-end;
}
.fab{
  width:52px; height:52px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  color: var(--void); font-size:1.1rem;
  box-shadow: 0 10px 30px -6px rgba(0,0,0,.6);
  transition: transform .3s var(--ease-luxe);
}
.fab:hover{ transform: scale(1.08) translateY(-2px); }
.fab-wa{ background: linear-gradient(135deg,#37d15b,#1f9c44); }
.fab-book{ background: linear-gradient(135deg, var(--gold-light), var(--gold)); }

/* ---- Section framing ------------------------------------------------------*/
.section{ position:relative; padding: clamp(4.5rem,9vw,8rem) clamp(1.2rem,5vw,4rem); }
.section-head{ max-width: 720px; margin-bottom: clamp(2.5rem,5vw,4.5rem); }
.section-head h2{ font-size: clamp(2.2rem,5vw,3.6rem); line-height:1.05; margin:.5rem 0 0; }
.divider-gold{ height:1px; width:100%; background: linear-gradient(90deg, transparent, var(--line), transparent); }

/* ---- Signature motif: monogram divider ------------------------------------*/
.motif-divider{ display:flex; align-items:center; justify-content:center; margin: 2.5rem 0; }
.motif-divider svg{ width: 120px; height:auto; }
.motif-divider path, .motif-divider circle{ stroke: var(--gold); stroke-width:1; fill:none; }
.motif-line{ stroke-dasharray: 400; stroke-dashoffset: 400; }

/* ---- Cards -----------------------------------------------------------------*/
.card-luxe{
  position:relative;
  padding: 2.4rem 2rem;
  border-radius: var(--radius);
  overflow:hidden;
}
.card-luxe::before{
  content:''; position:absolute; inset:0; padding:1px; border-radius: inherit;
  background: linear-gradient(160deg, var(--gold), transparent 40%, transparent 60%, var(--gold-dim));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity:.5; pointer-events:none;
}

/* ---- Stat counters -------------------------------------------------------*/
.stat-num{ font-family: var(--font-display); font-size: clamp(2.6rem,5vw,4.2rem); color: var(--gold-light); line-height:1; }
.stat-label{ font-size:.72rem; letter-spacing:.22em; text-transform:uppercase; color: var(--ivory-dim); margin-top:.6rem; }

/* ---- Testimonials ----------------------------------------------------------*/
.swiper{ overflow: visible; }
.testi-card{ padding: 2.6rem; }
.testi-quote{ font-family: var(--font-display); font-size: 1.4rem; line-height:1.5; color: var(--ivory); }
.swiper-pagination-bullet{ background: var(--gold-dim); opacity:.6; }
.swiper-pagination-bullet-active{ background: var(--gold); opacity:1; }

/* ---- Gallery ---------------------------------------------------------------*/
.masonry{ columns: 1; column-gap: 1rem; }
@media(min-width:640px){ .masonry{ columns:2; } }
@media(min-width:1024px){ .masonry{ columns:3; } }
.masonry-item{ break-inside: avoid; margin-bottom: 1rem; position:relative; overflow:hidden; border-radius: var(--radius); cursor: pointer; }
.masonry-item img{ width:100%; display:block; transition: transform .8s var(--ease-luxe), filter .8s; }
.masonry-item:hover img{ transform: scale(1.07); filter: brightness(.75); }
.masonry-item .m-overlay{
  position:absolute; inset:0; display:flex; align-items:flex-end; padding:1.2rem;
  background: linear-gradient(to top, rgba(0,0,0,.75), transparent 60%);
  opacity:0; transition: opacity .5s;
}
.masonry-item:hover .m-overlay{ opacity:1; }

.filter-pill{
  padding:.55rem 1.3rem; font-size:.72rem; letter-spacing:.16em; text-transform:uppercase;
  border:1px solid var(--line); border-radius: 999px; color: var(--ivory-dim); cursor:pointer;
  transition: all .4s var(--ease-luxe);
}
.filter-pill.active, .filter-pill:hover{ background: var(--gold); color: var(--void); border-color: var(--gold); }

/* ---- Lightbox --------------------------------------------------------------*/
#lightbox{
  position:fixed; inset:0; z-index:2000; background: rgba(6,4,2,.95);
  display:none; align-items:center; justify-content:center; padding: 2rem;
}
#lightbox.open{ display:flex; }
#lightbox img{ max-width:90vw; max-height:85vh; border: 1px solid var(--line); }
#lightbox .lb-close{ position:absolute; top:1.5rem; right:1.5rem; font-size:1.6rem; color: var(--gold-light); cursor:pointer; }
#lightbox .lb-nav{ position:absolute; top:50%; transform: translateY(-50%); font-size:1.8rem; color: var(--gold-light); cursor:pointer; padding: 1rem; }
#lightbox .lb-prev{ left: .5rem; } #lightbox .lb-next{ right:.5rem; }

/* ---- Pricing cards -----------------------------------------------------------*/
.price-card{ display:flex; flex-direction:column; height:100%; }
.price-card .price{ font-family: var(--font-display); font-size: 2.8rem; color: var(--gold-light); }
.price-card ul li{ display:flex; gap:.7rem; align-items:flex-start; padding:.5rem 0; border-bottom:1px dashed rgba(255,255,255,.06); font-size:.92rem; color: var(--ivory-dim); }
.price-card ul li i{ color: var(--gold); margin-top:.2rem; }
.price-card.featured{ transform: scale(1.03); }
.ribbon{ position:absolute; top:1.4rem; right:-2.6rem; transform: rotate(45deg); background: var(--wine); color: var(--ivory); font-size:.65rem; letter-spacing:.2em; text-transform:uppercase; padding:.35rem 3rem; }

/* ---- FAQ -----------------------------------------------------------------------*/
.faq-item{ border-bottom: 1px solid var(--line); }
.faq-q{ display:flex; justify-content:space-between; align-items:center; padding:1.6rem 0; cursor:pointer; font-family: var(--font-display); font-size:1.25rem; }
.faq-a{ max-height:0; overflow:hidden; transition: max-height .5s var(--ease-luxe); color: var(--ivory-dim); font-size:.95rem; line-height:1.7; }
.faq-a-inner{ padding-bottom:1.6rem; }
.faq-q .fa-plus{ transition: transform .4s var(--ease-luxe); color: var(--gold); }
.faq-item.open .fa-plus{ transform: rotate(135deg); }

/* ---- Timeline (About) -------------------------------------------------------------*/
.timeline{ position:relative; }
.timeline::before{ content:''; position:absolute; left:16px; top:0; bottom:0; width:1px; background: var(--line); }
@media(min-width:768px){ .timeline::before{ left:50%; margin-left:-.5px; } }
.timeline-item{ position:relative; padding-left: 3rem; margin-bottom: 3rem; }
@media(min-width:768px){
  .timeline-item{ width:50%; padding-left:0; padding-right:3rem; text-align:right; }
  .timeline-item:nth-child(even){ margin-left:50%; padding-right:0; padding-left:3rem; text-align:left; }
}
.timeline-dot{ position:absolute; left:9px; top:.4rem; width:14px; height:14px; border-radius:50%; background: var(--gold); box-shadow:0 0 0 4px rgba(201,162,75,.15); }
@media(min-width:768px){
  .timeline-item .timeline-dot{ left:auto; right:-7px; }
  .timeline-item:nth-child(even) .timeline-dot{ right:auto; left:-7px; }
}

/* ---- Calendar --------------------------------------------------------------------*/
.cal-day{
  aspect-ratio:1; display:flex; flex-direction:column; align-items:center; justify-content:center;
  border-radius: var(--radius); font-size:.85rem; position:relative; cursor:default;
  border:1px solid transparent; transition: all .3s var(--ease-luxe);
}
.cal-day .d-num{ font-family: var(--font-display); font-size:1.1rem; }
.cal-day .d-dot{ width:5px;height:5px;border-radius:50%; margin-top:3px; }
.cal-day.available{ cursor:pointer; border-color: rgba(64,191,110,.3); background: rgba(64,191,110,.06); }
.cal-day.available .d-dot{ background:#40bf6e; }
.cal-day.available:hover{ background: rgba(64,191,110,.18); transform: translateY(-3px); box-shadow: 0 10px 24px -8px rgba(64,191,110,.4); }
.cal-day.booked{ background: rgba(214,72,72,.08); border-color: rgba(214,72,72,.25); color: var(--ivory-dim); }
.cal-day.booked .d-dot{ background:#d64848; }
.cal-day.reserved{ background: rgba(224,181,61,.08); border-color: rgba(224,181,61,.25); }
.cal-day.reserved .d-dot{ background:#e0b53d; }
.cal-day.past{ opacity:.25; }
.cal-day.empty{ visibility:hidden; }
.cal-day.selected{ background: var(--gold); color: var(--void); border-color: var(--gold); }
.cal-day.selected .d-dot{ background: var(--void); }

/* ---- Modal -----------------------------------------------------------------------*/
.modal-backdrop{ position:fixed; inset:0; background: rgba(6,4,2,.8); backdrop-filter: blur(4px); z-index:1900; display:none; align-items:center; justify-content:center; padding:1rem; }
.modal-backdrop.open{ display:flex; }
.modal-box{ max-width: 560px; width:100%; max-height:90vh; overflow-y:auto; }

/* ---- Form fields -------------------------------------------------------------------*/
.field label{ font-size:.7rem; letter-spacing:.14em; text-transform:uppercase; color: var(--gold-light); display:block; margin-bottom:.5rem; }
.field input, .field select, .field textarea{
  width:100%; background: rgba(255,255,255,.03); border:1px solid var(--line); color: var(--ivory);
  padding:.85rem 1rem; border-radius: var(--radius); font-family: var(--font-body); font-size:.9rem;
  transition: border-color .3s, background .3s;
}
.field input:focus, .field select:focus, .field textarea:focus{ outline:none; border-color: var(--gold); background: rgba(255,255,255,.05); }
.field input::placeholder, .field textarea::placeholder{ color: rgba(243,234,217,.35); }

/* Accessible focus ring across the site */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible{
  outline: 2px solid var(--gold-light); outline-offset: 3px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---- Footer ------------------------------------------------------------------------*/
footer{ border-top: 1px solid var(--line); }
.footer-heading{ font-family: var(--font-display); font-size:1.1rem; color: var(--gold-light); margin-bottom:1.1rem; }
.social-dot{
  width:38px; height:38px; border-radius:50%; border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center; transition: all .35s var(--ease-luxe);
}
.social-dot:hover{ background: var(--gold); color: var(--void); border-color: var(--gold); transform: translateY(-3px); }

/* ---- Scroll indicator -----------------------------------------------------------------*/
.scroll-indicator{ display:flex; flex-direction:column; align-items:center; gap:.6rem; }
.scroll-indicator .line{ width:1px; height:46px; background: linear-gradient(to bottom, var(--gold), transparent); position:relative; overflow:hidden; }
.scroll-indicator .line::after{ content:''; position:absolute; top:-20px; left:0; width:100%; height:20px; background: var(--gold-light); animation: scrolldrop 2s ease-in-out infinite; }
@keyframes scrolldrop{ 0%{ top:-20px; } 100%{ top:46px; } }

/* Utility */
.text-gold{ color: var(--gold); }
.text-gold-light{ color: var(--gold-light); }
.text-ivory-dim{ color: var(--ivory-dim); }
.bg-void{ background: var(--void); }
.bg-charcoal{ background: var(--charcoal); }
.bg-charcoal-2{ background: var(--charcoal-2); }
.border-line{ border-color: var(--line); }
