/* ══════════════════════════════════════════════
   Cova Spa — Shared Styles
   Used by: book-online.html, terms-conditions.html, blog.html
   Design tokens & components shared across all pages
══════════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
  --cream:      #f5f0e8;
  --cream-dark: #ede5d5;
  --gold:       #c4a97d;
  --gold-dark:  #a8885a;
  --charcoal:   #2a2520;
  --muted:      #7a7068;
  --white:      #ffffff;
  --green-mist: #e8ede6;
  --radius:     4px;
  --radius-lg:  12px;
  --shadow:     0 8px 40px rgba(42,37,32,.10);
  --shadow-lg:  0 20px 60px rgba(42,37,32,.16);
  --trans:      .35s ease;
  --serif:      'Cormorant Garamond', Georgia, serif;
  --sans:       'Inter', system-ui, sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--sans); color: var(--charcoal); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img  { display: block; max-width: 100%; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }

/* ── Utilities ── */
.container  { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section    { padding: 100px 0; }
.section--cream { background: var(--cream); }
.section--dark  { background: var(--charcoal); }
.eyebrow    { font-family: var(--sans); font-size: .7rem; font-weight: 500;
              letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
              display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.eyebrow::before, .eyebrow::after { content: ''; flex: 0 0 30px; height: 1px; background: var(--gold); }
.eyebrow--center { justify-content: center; }
h2.title    { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 4rem);
              font-weight: 300; line-height: 1.15; color: var(--charcoal); }
h2.title--light { color: var(--white); }
.subtitle   { font-size: 1.05rem; color: var(--muted); line-height: 1.8; max-width: 580px; margin-top: 16px; }
.subtitle--center { text-align: center; margin-left: auto; margin-right: auto; }
.btn        { display: inline-flex; align-items: center; gap: 10px;
              font-family: var(--sans); font-size: .78rem; font-weight: 500;
              letter-spacing: .15em; text-transform: uppercase;
              padding: 15px 36px; border: none; cursor: pointer;
              transition: var(--trans); }
.btn--gold  { background: var(--gold); color: var(--white); }
.btn--gold:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(196,169,125,.35); }
.btn--outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.5); }
.btn--outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn--outline-dark { background: transparent; color: var(--charcoal); border: 1px solid var(--charcoal); }
.btn--outline-dark:hover { background: var(--charcoal); color: var(--white); }

/* ── Navbar ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background var(--trans), box-shadow var(--trans);
  padding: 0;
}
.nav.scrolled, .nav.nav--solid {
  background: rgba(245,240,232,.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(42,37,32,.08);
}
.nav--solid .nav__links a { color: var(--charcoal); }
.nav--solid .nav__toggle span { background: var(--charcoal); }
.nav--solid .nav__more-toggle { color: var(--charcoal); }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 80px;
}
.nav__logo img { height: 52px; width: auto; }
.nav__links { display: flex; gap: 36px; }
.nav__links a {
  font-size: .75rem; font-weight: 400; letter-spacing: .12em; text-transform: uppercase;
  color: var(--white); position: relative; padding-bottom: 3px;
  transition: color var(--trans);
}
.nav.scrolled .nav__links a { color: var(--charcoal); }
.nav__links a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 1px; background: var(--gold); transition: width var(--trans);
}
.nav__links a:hover::after { width: 100%; }
.nav__book {
  font-size: .72rem; font-weight: 500; letter-spacing: .15em; text-transform: uppercase;
  padding: 11px 28px; background: var(--gold); color: var(--white);
  transition: var(--trans);
}
.nav__book:hover { background: var(--gold-dark); }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav__toggle span { display: block; width: 22px; height: 1.5px; background: var(--white); margin: 5px 0; transition: var(--trans); }
.nav.scrolled .nav__toggle span { background: var(--charcoal); }

/* Dropdown */
.nav__item { position: relative; }
.nav__item > a { display: flex; align-items: center; gap: 5px; }
.nav__item > a svg { transition: transform var(--trans); }
.nav__item:hover > a svg { transform: rotate(180deg); }
.nav__dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%);
  background: var(--cream); min-width: 210px;
  box-shadow: 0 12px 40px rgba(42,37,32,.14);
  border-top: 2px solid var(--gold);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--trans), transform var(--trans);
  transform: translateX(-50%) translateY(-6px);
}
.nav__item:hover .nav__dropdown,
.nav__item:focus-within .nav__dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav__dropdown a {
  display: block; padding: 12px 22px;
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--charcoal) !important;
  border-bottom: 1px solid var(--cream-dark);
  transition: background var(--trans), color var(--trans);
}
.nav__dropdown a:last-child { border-bottom: none; }
.nav__dropdown a:hover { background: var(--gold); color: var(--white) !important; }
.nav__dropdown--mobile { display: none; flex-direction: column; padding-left: 16px; }
.nav__dropdown--mobile.open { display: flex; }
.nav__dropdown--mobile a { padding: 6px 0 !important; border: none !important; font-size: .8rem !important; }
.nav__more-toggle { background: none; border: none; cursor: pointer;
  font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--white); display: flex; align-items: center; gap: 5px;
  padding: 0; font-family: var(--sans); transition: color var(--trans); }
.nav.scrolled .nav__more-toggle { color: var(--charcoal); }

/* ── Page Header (subpages) ── */
.page-header {
  padding: 160px 0 80px;
  background: var(--charcoal);
  text-align: center;
}
.page-header h1 {
  font-family: var(--serif); font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 300; color: var(--white); margin-bottom: 16px;
}
.page-header p {
  font-size: 1.05rem; color: rgba(255,255,255,.6);
  max-width: 600px; margin: 0 auto; line-height: 1.75;
}
.page-header .eyebrow { justify-content: center; margin-bottom: 20px; }
.page-header .eyebrow::before,
.page-header .eyebrow::after { background: rgba(255,255,255,.25); }

/* ── Footer ── */
.footer { background: var(--charcoal); color: rgba(255,255,255,.5); }
.footer__main {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 64px; padding: 72px 0 56px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.footer__logo img { height: 48px; width: auto; margin-bottom: 20px; }
.footer__desc { font-size: .88rem; line-height: 1.8; color: rgba(255,255,255,.45); max-width: 320px; }
.footer__col h4 {
  font-family: var(--sans); font-size: .68rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 20px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: .88rem; color: rgba(255,255,255,.45); transition: color var(--trans); }
.footer__links a:hover { color: var(--gold); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 0; font-size: .78rem;
  color: rgba(255,255,255,.25); flex-wrap: wrap; gap: 12px;
}

/* ── WhatsApp Float ── */
.wa-float {
  position: fixed; bottom: 32px; right: 32px; z-index: 200;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform var(--trans), box-shadow var(--trans);
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.65); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer__main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__links.open {
    display: flex; flex-direction: column; position: absolute;
    top: 80px; left: 0; right: 0;
    background: var(--cream); padding: 28px 32px;
    box-shadow: var(--shadow);
  }
  .nav__links.open a { color: var(--charcoal) !important; font-size: .85rem; padding: 8px 0; }
  .nav__toggle { display: block; }
  .nav__book { display: none; }
  .footer__main { grid-template-columns: 1fr; gap: 40px; }
  .section { padding: 72px 0; }
}
@media (max-width: 480px) {
  .container { padding: 0 20px; }
}
