/* ═══════════════════════════════════════════════════════════
   BARON LUXURY BOUTIQUE — Shared Stylesheet
═══════════════════════════════════════════════════════════ */

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--cream); overflow-x: hidden; }
img  { display: block; max-width: 100%; }
a    { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul   { list-style: none; }

/* ── TOKENS ──────────────────────────────────────────────── */
:root {
  --bg:      #060d07;
  --bg-2:    #0a1509;
  --bg-3:    #0d1a0f;
  --bg-4:    #111e12;
  --gold:    #C9A84C;
  --gold-l:  #E8D4A0;
  --gold-a:  rgba(201,168,76,0.14);
  --gold-aa: rgba(201,168,76,0.06);
  --cream:   #F9F4EC;
  --cream-d: rgba(249,244,236,0.65);
  --cream-dd:rgba(249,244,236,0.35);
  --cream-f: rgba(249,244,236,0.06);
  --serif:   'Fraunces', Georgia, serif;
  --sans:    'Josefin Sans', 'Helvetica Neue', sans-serif;
  --eout:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease:    cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── GRAIN ───────────────────────────────────────────────── */
.grain {
  position: fixed; inset: 0; z-index: 9991; pointer-events: none;
  opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

/* ── SCROLL PROGRESS ─────────────────────────────────────── */
#spbar {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-l));
  z-index: 9998; will-change: width;
  transform: translateZ(0);
}

/* ── LOADER ──────────────────────────────────────────────── */
#loader {
  position: fixed; inset: 0; z-index: 9995; background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 24px;
  transition: opacity .6s var(--ease), visibility .6s;
}
#loader.out { opacity: 0; visibility: hidden; }
.loader-logo { width: 88px; opacity: 0; animation: lFade .8s .2s var(--eout) forwards; }
.loader-bar  { width: 120px; height: 1px; background: rgba(201,168,76,.2); overflow: hidden; }
.loader-fill { height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; animation: lBar 1.4s .4s var(--ease) forwards; }
@keyframes lFade { to { opacity: 1; } }
@keyframes lBar  { to { transform: scaleX(1); } }

/* ── NAV ─────────────────────────────────────────────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 64px;
  transition: padding .5s var(--ease), background .5s, backdrop-filter .5s, border-color .5s;
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  padding: 15px 64px;
  background: rgba(6,13,7,.92);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--gold-a);
}
.nav-logo img {
  height: 52px; transition: height .5s var(--ease);
  filter: drop-shadow(0 0 16px rgba(201,168,76,.25));
}
#nav.scrolled .nav-logo img { height: 38px; }
.nav-links { display: flex; align-items: center; gap: 40px; }
.nav-links a {
  font-family: var(--sans); font-size: 10px; font-weight: 300;
  letter-spacing: 3.5px; text-transform: uppercase;
  color: var(--cream-d); position: relative; transition: color .3s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -5px; left: 0;
  width: 0; height: 1px; background: var(--gold);
  transition: width .35s var(--eout);
}
.nav-links a:hover,
.nav-links a.active { color: var(--cream); }
.nav-links a.active::after,
.nav-links a:hover::after { width: 100%; }
.nav-book {
  font-family: var(--sans); font-size: 9px; font-weight: 400;
  letter-spacing: 3px; text-transform: uppercase;
  padding: 11px 26px; border: 1px solid var(--gold); color: var(--gold);
  transition: background .3s, color .3s, box-shadow .3s; display: inline-block;
}
.nav-book:hover { background: var(--gold); color: var(--bg); box-shadow: 0 0 28px rgba(201,168,76,.28); }
.ham { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.ham span { display: block; width: 22px; height: 1px; background: var(--cream); transition: .3s; }

/* ── MOBILE NAV ──────────────────────────────────────────── */
#mnav {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(6,13,7,.98);
  transform: translateX(100%); transition: transform .45s var(--eout);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  will-change: transform;
}
#mnav.open { transform: translateX(0); }
.mnav-close {
  position: absolute; top: 28px; right: 28px;
  font-family: var(--sans); font-size: 10px; font-weight: 300;
  letter-spacing: 3px; text-transform: uppercase; color: var(--cream-d);
}
.mnav-links a {
  display: block; text-align: center;
  font-family: var(--serif); font-size: 38px; font-weight: 300;
  color: var(--cream); margin-bottom: 16px; transition: color .3s;
}
.mnav-links a:hover,
.mnav-links a.active { color: var(--gold); }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn-gold {
  font-family: var(--sans); font-size: 9px; font-weight: 400;
  letter-spacing: 3px; text-transform: uppercase;
  padding: 15px 40px; background: var(--gold); color: var(--bg);
  display: inline-block;
  transition: background .3s, transform .3s var(--eout), box-shadow .3s;
}
.btn-gold:hover { background: var(--gold-l); transform: translateY(-3px); box-shadow: 0 14px 40px rgba(201,168,76,.28); }
.btn-ghost {
  font-family: var(--sans); font-size: 9px; font-weight: 400;
  letter-spacing: 3px; text-transform: uppercase;
  padding: 15px 40px; border: 1px solid rgba(249,244,236,.35); color: var(--cream);
  display: inline-block;
  transition: border-color .3s, transform .3s var(--eout), color .3s;
}
.btn-ghost:hover { border-color: var(--cream); transform: translateY(-3px); }
.btn-gold-sm {
  font-family: var(--sans); font-size: 8px; font-weight: 400;
  letter-spacing: 2.5px; text-transform: uppercase;
  padding: 11px 24px; background: var(--gold); color: var(--bg);
  display: inline-block;
  transition: background .3s, transform .3s var(--eout);
}
.btn-gold-sm:hover { background: var(--gold-l); transform: translateY(-2px); }

/* ── SHARED SECTION BITS ─────────────────────────────────── */
.sec-label { font-family: var(--sans); font-size: 9px; font-weight: 300; letter-spacing: 5px; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; display: block; }
.sec-title { font-family: var(--serif); font-size: clamp(38px, 4.8vw, 66px); font-weight: 300; line-height: 1.05; color: var(--cream); }
.sec-title em { font-style: italic; color: var(--gold-l); }
.sec-body  { font-family: var(--sans); font-size: 12px; font-weight: 100; letter-spacing: .8px; line-height: 2.1; color: var(--cream-d); }
.gold-line { display: block; width: 56px; height: 1px; background: var(--gold); margin: 26px 0; }

/* ── INNER PAGE HERO ─────────────────────────────────────── */
.ph {
  position: relative; height: 52vh; min-height: 340px;
  display: flex; align-items: flex-end;
  overflow: hidden; padding-bottom: 64px;
}
.ph-bg { position: absolute; inset: -10%; background: center/cover no-repeat; will-change: transform; transform: translateZ(0); }
.ph-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,13,7,.35) 0%, rgba(6,13,7,.75) 100%); }
.ph-c { position: relative; z-index: 2; padding: 0 64px; }
.ph-crumb {
  font-family: var(--sans); font-size: 9px; font-weight: 100;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px; display: block;
}
.ph-title {
  font-family: var(--serif); font-size: clamp(48px, 6vw, 88px);
  font-weight: 300; color: var(--cream); line-height: .95;
}
.ph-title em { font-style: italic; color: var(--gold-l); }

/* ── MARQUEE ─────────────────────────────────────────────── */
.marquee-wrap {
  overflow: hidden; background: var(--bg-4);
  border-top: 1px solid var(--gold-a); border-bottom: 1px solid var(--gold-a);
  padding: 17px 0;
}
.marquee-track { display: flex; align-items: center; white-space: nowrap; animation: mq 28s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
.mt-item { font-family: var(--sans); font-size: 9px; font-weight: 100; letter-spacing: 5px; text-transform: uppercase; color: var(--cream-d); padding: 0 32px; }
.mt-sep  { color: var(--gold); font-size: 7px; }
@keyframes mq { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── REVEAL ANIMATIONS ───────────────────────────────────── */
.rv   { opacity: 0; transform: translateY(34px); }
.rv-l { opacity: 0; transform: translateX(-34px); }
.rv-r { opacity: 0; transform: translateX(34px); }
.rv.vis, .rv-l.vis, .rv-r.vis { animation: rvIn .85s var(--eout) forwards; }
@keyframes rvIn { to { opacity: 1; transform: none; } }

/* ── FOOTER ──────────────────────────────────────────────── */
footer { background: var(--bg); border-top: 1px solid var(--gold-a); padding: 72px 64px 40px; }
.ft { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.ft-logo img { height: 54px; margin-bottom: 16px; }
.ft-tag { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 14px; color: var(--cream-d); line-height: 1.7; }
.ft-col-title { font-family: var(--sans); font-size: 8px; font-weight: 300; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; }
.ft-links li { margin-bottom: 11px; }
.ft-links a { font-family: var(--sans); font-size: 11px; font-weight: 100; letter-spacing: .8px; color: var(--cream-d); transition: color .3s; }
.ft-links a:hover { color: var(--cream); }
.ft-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 26px; border-top: 1px solid rgba(249,244,236,.07); }
.ft-copy { font-family: var(--sans); font-size: 9px; font-weight: 100; letter-spacing: 2px; text-transform: uppercase; color: rgba(249,244,236,.28); }
.ft-soc { display: flex; gap: 28px; }
.ft-soc a { font-family: var(--sans); font-size: 9px; font-weight: 100; letter-spacing: 3px; text-transform: uppercase; color: var(--cream-d); transition: color .3s; }
.ft-soc a:hover { color: var(--gold); }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  #nav, #nav.scrolled { padding-left: 32px; padding-right: 32px; }
  .nav-links { display: none; }
  .ham { display: flex; }
  .ph-c { padding: 0 32px; }
  footer { padding: 56px 32px 32px; }
  .ft { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .ph { height: 44vh; }
  .ft { grid-template-columns: 1fr; gap: 28px; }
  footer { padding: 48px 20px 28px; }
}

/* ── MOBILE LAYOUT (phones ≤ 768px) ─────────────────────── */
@media (max-width: 768px) {

  /* Hero */
  .hero-c { padding: 0 24px !important; }
  .hero-btns { flex-direction: column !important; align-items: center !important; gap: 12px !important; }
  .hero-btns .btn-gold,
  .hero-btns .btn-ghost { width: 100%; max-width: 260px; text-align: center; display: block; }

  /* About section (index) */
  .about { grid-template-columns: 1fr !important; min-height: unset !important; }
  .about-l { padding: 56px 24px !important; }
  .about-r { min-height: 260px; }
  .about-badge { left: 16px !important; bottom: 16px !important; }

  /* Rooms preview grid (index) */
  .rooms-prev { padding: 64px 20px !important; }
  .rp-hdr { flex-direction: column !important; align-items: flex-start !important; gap: 16px !important; margin-bottom: 32px !important; }
  .rp-grid { grid-template-columns: 1fr !important; }
  .rpc { aspect-ratio: 4/3 !important; }

  /* Amenities grid (index) */
  .amenities { padding: 64px 20px !important; }
  .am-grid { grid-template-columns: 1fr 1fr !important; }
  .am-item { padding: 32px 16px !important; }

  /* Dining teaser (index) */
  .dt-c { padding: 48px 24px !important; max-width: 100% !important; }

  /* Gallery preview (index) */
  .gal-prev { padding: 64px 20px !important; }
  .gp-hdr { flex-direction: column !important; align-items: flex-start !important; gap: 14px !important; }
  .gp-grid { grid-template-columns: 1fr 1fr !important; }
  .gp-item:first-child { grid-column: span 1 !important; grid-row: span 1 !important; }

  /* Testimonials (index) */
  .testi-hdr { padding: 0 20px !important; }
  .testi-track { padding: 0 20px !important; }
  .tc { flex: 0 0 280px !important; padding: 28px 22px !important; }

  /* Inner page hero */
  .ph-c { padding: 0 20px !important; }

  /* Booking page */
  .book-section { padding: 48px 20px 64px !important; }
  .book-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
  .book-form { padding: 28px 20px !important; }
  .room-pick { grid-template-columns: 1fr !important; }
  .bk-row { grid-template-columns: 1fr !important; }
  .summary { position: static !important; }

  /* Contact / dining forms */
  .bk-row { grid-template-columns: 1fr !important; }

  /* Section body text */
  .sec-body { font-size: 14px !important; line-height: 1.9 !important; }

  /* Footer bottom row */
  .ft-bottom { flex-direction: column !important; gap: 14px !important; align-items: center !important; text-align: center !important; }
  .ft-soc { flex-wrap: wrap !important; justify-content: center !important; gap: 10px 18px !important; }
}

/* ── READABILITY: larger, more legible type (site-wide) ──────
   Overrides the original sizes above. The site's original style
   used very small, ultra-thin text; these bump it up everywhere. */
.nav-links a   { font-size: 12px; }
.nav-book      { font-size: 11px; }
.mnav-close    { font-size: 12px; }
.btn-gold,
.btn-ghost     { font-size: 11px; }
.btn-gold-sm   { font-size: 10px; }
.sec-label     { font-size: 11px; }
.sec-body      { font-size: 15px; font-weight: 300; line-height: 2.0; }
.ph-crumb      { font-size: 11px; }
.mt-item       { font-size: 11px; }
.mt-sep        { font-size: 9px; }
.ft-tag        { font-size: 16px; }
.ft-col-title  { font-size: 10px; }
.ft-links a    { font-size: 13px; }
.ft-copy       { font-size: 10px; }
.ft-soc a      { font-size: 11px; }
