/* ============================================================
   SHER · Sanctuary Experiences — Shared Brand Stylesheet
   shersanctuary.com
   TODO: confirm shersanctuary.com is the live Netlify domain
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600&family=Jost:wght@200;300;400;500&display=swap');

/* ===== BRAND TOKENS ===== */
:root {
  --bg:        #08100c;
  --green:     #0c1f14;
  --gold:      #d4a843;
  --gold-lt:   #e8c870;
  --gold-dim:  rgba(212,168,67,0.12);
  --white:     #ffffff;
  --sand:      #f0e6c8;
  --text:      rgba(240,230,200,0.80);
  --text-dim:  rgba(240,230,200,0.42);
  --border:    rgba(212,168,67,0.14);
  --border-w:  rgba(255,255,255,0.06);
  --radius:    14px;
  --radius-sm: 8px;
  --max-w:     1200px;
  --header-h:  80px;
  --banner-h:  0px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.7;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  line-height: 1.1;
}
em { font-style: italic; color: var(--gold-lt); }
.tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(18px, 2.4vw, 26px);
  color: var(--gold);
  letter-spacing: 0.06em;
  line-height: 1.4;
}
.eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 10px; font-weight: 400;
  text-transform: uppercase; letter-spacing: 0.26em;
  color: var(--gold); margin-bottom: 16px;
  display: block;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 400; line-height: 1.1;
  color: var(--sand);
}
.section-body {
  font-size: 16px; font-weight: 300;
  color: var(--text-dim); line-height: 1.85; max-width: 560px;
}
.occasion-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Jost', sans-serif;
  font-size: 13px; font-weight: 400;
  color: var(--gold); text-decoration: none;
  letter-spacing: 0.04em; margin-top: 28px;
  transition: color 0.2s, gap 0.2s;
}
.occasion-link:hover { color: var(--gold-lt); gap: 12px; }

/* ===== LAYOUT ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 48px; }
section { position: relative; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--gold); color: #08100c;
  padding: 14px 34px; border-radius: 50px; min-height: 48px;
  font-family: 'Jost', sans-serif;
  font-size: 12px; font-weight: 500; letter-spacing: 0.20em;
  text-transform: uppercase; text-decoration: none;
  border: none; cursor: pointer;
  transition: background 0.3s, transform 0.25s, box-shadow 0.3s;
}
.btn-primary:hover {
  background: var(--gold-lt);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(212,168,67,0.30);
}
.btn-outline {
  display: inline-flex; align-items: center; gap: 9px;
  background: transparent; color: #ffffff;
  padding: 14px 34px; border-radius: 50px; min-height: 48px;
  font-family: 'Jost', sans-serif;
  font-size: 12px; font-weight: 400; letter-spacing: 0.20em;
  text-transform: uppercase; text-decoration: none;
  border: 1px solid rgba(255,255,255,0.35);
  cursor: pointer; transition: all 0.3s;
}
.btn-outline:hover {
  border-color: var(--gold); color: var(--gold);
  background: rgba(212,168,67,0.06);
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== GOLD RULE ===== */
.gold-rule {
  width: 48px; height: 1px;
  background: var(--gold); opacity: 0.5;
  margin: 20px 0;
  border: none;
}


/* ============================================================
   NAVIGATION
   ============================================================ */
#site-nav {
  position: fixed; top: var(--banner-h); left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.0) 100%);
  border: none; box-shadow: none;
  transition: top 0.3s ease;
}

.nav-logo {
  display: flex; flex-direction: column; align-items: flex-start;
  text-decoration: none; line-height: 1;
  background: none; border: none;
  padding: 0 0 0 64px;
  align-self: flex-end;
  margin-bottom: 0;
}
.nav-logo-mark {
  position: relative;
  display: block;
  line-height: 0;
}
.nav-logo-mark::after {
  content: '';
  position: absolute;
  left: 34%;
  top: 63%;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,224,100,1) 0%, rgba(212,175,55,0.65) 50%, transparent 100%);
  transform: translate(-50%, -50%);
  animation: sher-eye-twinkle 4s ease-in-out infinite;
  pointer-events: none;
  z-index: 10;
}
@keyframes sher-sunrise-glow {
  0%, 100% {
    filter:
      drop-shadow(0 0 16px rgba(212,175,55,0.55))
      drop-shadow(0 0 40px rgba(212,175,55,0.28))
      drop-shadow(0 0 70px rgba(212,175,55,0.12));
  }
  50% {
    filter:
      drop-shadow(0 0 30px rgba(212,175,55,0.90))
      drop-shadow(0 0 64px rgba(212,175,55,0.55))
      drop-shadow(0 0 100px rgba(212,175,55,0.28));
  }
}
@keyframes sher-eye-twinkle {
  0%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); }
  25%      { opacity: 1; transform: translate(-50%, -50%) scale(1.4); }
  50%      { opacity: 0.7; transform: translate(-50%, -50%) scale(1); }
  75%      { opacity: 0; transform: translate(-50%, -50%) scale(0.6); }
}
@keyframes sher-sun-pulse {
  0%, 100% { opacity: 0.2; transform: translate(-50%, -50%) scale(0.8); }
  50%      { opacity: 0.9; transform: translate(-50%, -50%) scale(1.6); }
}
.nav-logo img,
.nav-logo-img {
  mix-blend-mode: screen;
  height: 54px;
  width: auto;
  display: block;
}
@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .nav-logo { padding-left: 20px; align-self: center; }
  .nav-logo img,
  .nav-logo-img { height: 40px; }
  .nav-logo-mark::after { display: none; }
  .footer-logo img,
  .footer-logo-img { max-width: 120px; }
}

/* ===== HERO LOGO MARK ===== */
.hero-logo-mark {
  mix-blend-mode: screen;
  max-width: 280px;
  width: 48%;
  height: auto;
  display: block;
  margin: 0 auto 28px;
  filter:
    drop-shadow(0 0 24px rgba(212,175,55,0.75))
    drop-shadow(0 0 56px rgba(212,175,55,0.45))
    drop-shadow(0 0 90px rgba(212,175,55,0.20));
  animation: sher-sunrise-glow 5s ease-in-out infinite;
}
@media (max-width: 768px) {
  .hero-logo-mark {
    max-width: 190px;
    width: 58%;
    margin-bottom: 20px;
  }
}
@media (max-width: 480px) {
  .hero-logo-mark {
    max-width: 160px;
    width: 62%;
  }
}

/* ===== HERO TOP GRADIENT — logo & nav contrast ===== */
#hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.50) 0%,
    rgba(0, 0, 0, 0.18) 30%,
    rgba(0, 0, 0, 0.00) 55%
  );
}

.nav-links {
  display: flex; align-items: center; gap: 28px;
  list-style: none;
  padding-right: 32px;
}
.nav-links a {
  font-family: 'Jost', sans-serif;
  font-size: 11px; font-weight: 300;
  color: rgba(255,255,255,0.85); text-decoration: none;
  letter-spacing: 0.18em; text-transform: uppercase;
  transition: color 0.3s; min-height: 44px;
  display: flex; align-items: center;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  color: var(--gold) !important;
  border: 1px solid rgba(212,168,67,0.4) !important;
  padding: 8px 22px; border-radius: 50px;
  font-size: 10px !important;
  transition: background 0.3s, border-color 0.3s, color 0.3s !important;
}
.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--bg) !important;
  border-color: var(--gold) !important;
}

.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 4px;
}
.nav-burger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--sand); border-radius: 2px; transition: all 0.35s;
}

/* ===== MOBILE OVERLAY ===== */
#mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 199;
  background: var(--bg);
  flex-direction: column; align-items: center; justify-content: center; gap: 24px;
}
#mobile-menu.open { display: flex; }
#mobile-menu .tagline { margin-bottom: 8px; color: var(--gold); }
#mobile-menu a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px; font-weight: 300;
  color: var(--sand); text-decoration: none;
  letter-spacing: 0.04em; transition: color 0.2s;
}
#mobile-menu a:hover { color: var(--gold); }
#mobile-menu .btn-primary {
  margin-top: 8px; font-size: 12px;
}
#mobile-close {
  position: absolute; top: 28px; right: 30px;
  background: none; border: none; cursor: pointer;
  color: var(--text-dim); font-size: 26px; line-height: 1;
  transition: color 0.2s;
}
#mobile-close:hover { color: var(--gold); }


/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--green);
  border-top: 1px solid var(--border);
  padding: 80px 48px 36px;
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 52px; padding-bottom: 60px;
  border-bottom: 1px solid var(--border-w);
}
.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 500;
  color: var(--white); letter-spacing: 0.08em;
  margin-bottom: 2px;
}
.footer-brand-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-weight: 300;
  font-size: 16px; color: var(--gold);
  margin-bottom: 18px; display: block; letter-spacing: 0.05em;
}
.footer-logo img,
.footer-logo-img {
  mix-blend-mode: screen;
  max-width: 160px;
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 14px;
}
.footer-desc {
  font-size: 13px; font-weight: 300;
  color: var(--text-dim); line-height: 1.8;
  max-width: 240px; margin-bottom: 24px;
}
.footer-tagline-line {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic; font-weight: 300;
  font-size: 15px; color: var(--gold); margin-bottom: 4px; letter-spacing: 0.05em;
}
.footer-location {
  font-size: 11px; font-weight: 300;
  color: var(--text-dim); letter-spacing: 0.10em;
  margin-bottom: 14px;
}
.footer-email {
  display: block; font-size: 12px; font-weight: 300;
  color: var(--gold); text-decoration: none;
  letter-spacing: 0.04em; margin-bottom: 20px;
  transition: color 0.2s;
}
.footer-email:hover { color: var(--gold-lt); }
.nav-links a.active { color: var(--gold); }
.footer-social { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border-w);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim); text-decoration: none;
  transition: border-color 0.3s, color 0.3s;
}
.social-link:hover { border-color: var(--gold); color: var(--gold); }
.footer-col-title {
  font-family: 'Jost', sans-serif;
  font-size: 10px; font-weight: 400;
  text-transform: uppercase; letter-spacing: 0.22em;
  color: var(--white); margin-bottom: 20px; display: block;
}
.footer-col-links { list-style: none; }
.footer-col-links li { margin-bottom: 11px; }
.footer-col-links a {
  font-size: 13px; font-weight: 300;
  color: var(--text-dim); text-decoration: none;
  transition: color 0.2s;
}
.footer-col-links a:hover { color: var(--gold); }
.footer-bottom {
  max-width: var(--max-w); margin: 0 auto; padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; font-weight: 300;
  color: var(--text-dim); flex-wrap: wrap; gap: 12px;
}
.footer-bottom a { color: var(--text-dim); text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--gold); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-parent {
  max-width: var(--max-w); margin: 18px auto 0;
  text-align: center;
  font-size: 10px; font-weight: 300;
  color: rgba(240,230,200,0.28);
}


/* ============================================================
   AUDIO TOGGLE
   ============================================================ */
#audio-toggle {
  position: fixed; bottom: 24px; right: 24px; z-index: 500;
  width: 44px; height: 44px; border-radius: 50%; padding: 0;
  background: rgba(8,16,12,0.88);
  border: 1px solid rgba(212,168,67,0.30);
  color: var(--gold); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.3s, background 0.3s, opacity 0.4s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
  /* iOS touch improvements */
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
}
#audio-toggle svg { width: 18px; height: 18px; }
#audio-toggle:hover { border-color: var(--gold); background: rgba(8,16,12,0.96); }
#audio-toggle.playing { opacity: 1; border-color: rgba(212,168,67,0.55); }
#audio-toggle:not(.playing) { opacity: 0.60; }

@keyframes ring {
  0%,100% { box-shadow: 0 0 0 0 rgba(212,168,67,0.0); }
  50%      { box-shadow: 0 0 0 5px rgba(212,168,67,0.12); }
}
#audio-toggle.playing { animation: ring 3s ease-in-out infinite; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Prevent horizontal overflow globally */
html, body { overflow-x: hidden; max-width: 100%; }

@media (max-width: 960px) {
  .container { padding: 0 24px; }
  #site-footer { padding: 56px 24px 28px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; }
}

/* Bigger type for mobile — 768px breakpoint */
@media (max-width: 768px) {
  body { font-size: 16px; line-height: 1.75; }
  .section-title { font-size: clamp(28px, 6vw, 44px) !important; }
  .section-body { font-size: 16px !important; }
  .card-title { font-size: 19px !important; }
  .card-desc, .card-price, .card-duration { font-size: 15px !important; }
  .commit-title { font-size: 15px !important; }
  .commit-body { font-size: 14px !important; }
  .footer-col-links a { font-size: 15px !important; }
  .eyebrow { font-size: 11px !important; letter-spacing: 0.20em; }

  /* Header — mobile bar */
  .nav-logo { padding: 0 0 0 20px; align-self: center; }
  .nav-links { display: none; }
  .nav-burger { display: flex; padding-right: 20px; }
}

@media (max-width: 560px) {
  /* Hero headlines — prevent overflow on small screens */
  .hero-title { font-size: clamp(17px, 4.68vw, 26px) !important; line-height: 1.05 !important; }

  /* Buttons — full width, centred, finger-friendly */
  .btn-primary,
  .btn-outline {
    width: 100%;
    justify-content: center;
    min-height: 52px;
    font-size: 13px;
  }
  .hero-actions,
  .cta-actions { flex-direction: column; align-items: stretch; gap: 12px; }

  /* Footer — single column */
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }

  /* Nav burger touch target */
  .nav-burger { padding: 10px; min-height: 44px; min-width: 44px; }

  /* Prevent cards from overflowing */
  .exp-card, .review-card, .included-card,
  .feature-card, .price-card, .booking-option { width: 100%; }
}

@media (max-width: 400px) {
  /* Very small phones — tighten padding */
  .container { padding: 0 16px; }
  #site-nav { padding: 0 16px; }
  #site-footer { padding: 48px 16px 24px; }
}


/* ============================================================
   BOOKING MODALS
   ============================================================ */
.sher-modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.85);
  display: flex; align-items: center; justify-content: center;
  padding: 24px; box-sizing: border-box;
  opacity: 0; pointer-events: none;
  transition: opacity 0.28s ease;
}
.sher-modal-overlay.open { opacity: 1; pointer-events: all; }
.sher-modal {
  background: #0c1f14;
  border: 1px solid #d4a843;
  border-radius: 14px;
  padding: 40px 44px;
  width: 100%; max-width: 560px;
  max-height: 88vh; overflow-y: auto;
  position: relative;
  transform: translateY(22px);
  transition: transform 0.28s ease;
}
.sher-modal-overlay.open .sher-modal { transform: translateY(0); }
.sher-modal-close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none; cursor: pointer;
  color: #d4a843; font-size: 22px; line-height: 1;
  padding: 6px; display: flex; align-items: center; justify-content: center;
  opacity: 0.75; transition: opacity 0.2s;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.sher-modal-close:hover { opacity: 1; }
.sher-modal-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 9px; font-weight: 400; letter-spacing: 0.28em;
  text-transform: uppercase; color: #d4a843;
  margin-bottom: 8px; display: block;
}
.sher-modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px; font-weight: 400; color: #f0e6c8;
  line-height: 1.15; margin-bottom: 6px;
}
.sher-modal-price {
  font-size: 13px; font-weight: 300;
  color: rgba(240,230,200,0.48);
  margin-bottom: 22px; padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06); line-height: 1.55;
}
.sher-modal-field {
  display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px;
}
.sher-modal-label {
  font-family: 'Jost', sans-serif;
  font-size: 10px; font-weight: 400; letter-spacing: 0.16em;
  text-transform: uppercase; color: #d4a843;
}
.sher-modal-input,
.sher-modal-select,
.sher-modal-textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px; padding: 12px 15px;
  font-family: 'Jost', sans-serif;
  font-size: 14px; font-weight: 300;
  color: #ffffff; outline: none; width: 100%;
  transition: border-color 0.25s;
  -webkit-appearance: none; appearance: none;
}
.sher-modal-input:focus,
.sher-modal-select:focus,
.sher-modal-textarea:focus { border-color: rgba(212,168,67,0.50); }
.sher-modal-input::placeholder,
.sher-modal-textarea::placeholder { color: rgba(255,255,255,0.28); }
.sher-modal-select { cursor: pointer; }
.sher-modal-select option { background: #0c1f14; color: #f0e6c8; }
.sher-modal-textarea { resize: vertical; min-height: 80px; }
.sher-modal-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sher-modal-actions { margin-top: 22px; }
.sher-modal-submit {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 9px;
  background: #d4a843; color: #08100c;
  padding: 15px 28px; border-radius: 50px; border: none; cursor: pointer;
  font-family: 'Jost', sans-serif;
  font-size: 12px; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; text-decoration: none;
  transition: background 0.25s, transform 0.2s;
  touch-action: manipulation;
}
.sher-modal-submit:hover { background: #e8c870; transform: translateY(-1px); }
.sher-modal-note {
  font-size: 11px; font-weight: 300;
  color: rgba(240,230,200,0.36);
  line-height: 1.65; margin-top: 14px; text-align: center;
}
/* Card-level book trigger */
.card-book-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; margin-top: 14px; padding: 12px 20px;
  background: var(--gold); color: #08100c;
  border: none; border-radius: 50px; cursor: pointer;
  font-family: 'Jost', sans-serif;
  font-size: 11px; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; transition: background 0.25s, transform 0.2s;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.card-book-btn:hover { background: var(--gold-lt); transform: translateY(-1px); }
/* Tour-page Check Availability button */
.sher-book-trigger {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  background: var(--gold); color: #08100c;
  padding: 16px 34px; border-radius: 50px; min-height: 50px; border: none;
  font-family: 'Jost', sans-serif;
  font-size: 12px; font-weight: 500; letter-spacing: 0.20em;
  text-transform: uppercase; cursor: pointer; width: 100%;
  transition: background 0.3s, transform 0.25s, box-shadow 0.3s;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.sher-book-trigger:hover {
  background: var(--gold-lt); transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(212,168,67,0.30);
}
@media (max-width: 600px) {
  .sher-modal-overlay { align-items: flex-end; padding: 0; }
  .sher-modal { padding: 28px 20px 36px; border-radius: 14px 14px 0 0; max-height: 92vh; }
  .sher-modal-row { grid-template-columns: 1fr; }
}
