/* ═══════════════════════════════════════════════════════
   FIVE ELEMENTS WELLNESS SPA — GLOBAL STYLES
   Brand palette extracted from FiveElements_Skincare_Guide_FiveElements.html
═══════════════════════════════════════════════════════ */

:root {
  --ivory: #f7f2eb;
  --warm-white: #faf7f2;
  --parchment: #ede5d8;
  --sage: #6b7c5e;
  --deep-sage: #3d4f33;
  --sage-light: #c8d4be;
  --clay: #9c6e4b;
  --clay-light: #d4a882;
  --umber: #2c1f14;
  --muted: #7a6e62;
  --line: rgba(44,31,20,0.12);
  --gold: #b08d57;
  --text: #3a2e24;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--warm-white);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.75;
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  line-height: 1.2;
}

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

img { max-width: 100%; height: auto; display: block; }

/* ── SKIP LINK (ACCESSIBILITY) ── */
.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--deep-sage); color: var(--ivory);
  padding: 8px 16px; z-index: 10000;
  font-size: 0.85rem; letter-spacing: 0.06em;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ══════════════════════════════════════════════════════
   HEADER & NAVIGATION
══════════════════════════════════════════════════════ */
.site-header {
  position: sticky; top: 0; z-index: 500;
  background: rgba(250,247,242,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo / brand */
.site-logo {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-decoration: none;
}
.logo-img {
  max-height: 52px;
  width: auto;
  display: block;
}
.logo-img-footer {
  height: 52px;
  width: auto;
  display: block;
  align-self: flex-start;
  filter: brightness(0) invert(1);
  opacity: 0.88;
}
.logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--deep-sage);
  line-height: 1.2;
}
.logo-tagline {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay);
  font-weight: 400;
}

/* Nav */
.site-nav { display: flex; align-items: center; gap: 0; }

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0; padding: 0;
}

.nav-links a {
  display: block;
  padding: 8px 14px;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--umber);
  font-weight: 400;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--sage); }
.nav-links a.active { color: var(--clay); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--warm-white);
  border: 1px solid var(--line);
  border-top: 2px solid var(--clay-light);
  min-width: 220px;
  z-index: 200;
  padding: 8px 0;
  box-shadow: 0 8px 24px rgba(44,31,20,0.08);
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--umber);
  border-bottom: 1px solid var(--line);
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { background: var(--parchment); color: var(--clay); }

/* Book button */
.btn-book {
  display: inline-flex;
  align-items: center;
  background: var(--deep-sage);
  color: var(--ivory) !important;
  padding: 10px 22px;
  font-size: 0.67rem !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase;
  font-weight: 400;
  margin-left: 16px;
  transition: background 0.25s;
  white-space: nowrap;
}
.btn-book:hover { background: var(--sage); color: var(--ivory) !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--umber);
  transition: all 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ══════════════════════════════════════════════════════
   GLOBAL BANNER (location/phone/social — every page)
══════════════════════════════════════════════════════ */
.info-bar {
  background: var(--deep-sage);
  color: rgba(247,242,235,0.75);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 9px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.info-bar a { color: inherit; transition: color 0.2s; }
.info-bar a:hover { color: var(--clay-light); }
.info-bar-left { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.info-bar-right { display: flex; align-items: center; gap: 16px; }

/* Social icons */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border: 1px solid rgba(247,242,235,0.3);
  border-radius: 50%;
  color: rgba(247,242,235,0.75);
  transition: all 0.25s;
  font-size: 0.7rem;
}
.social-icon:hover {
  border-color: var(--clay-light);
  color: var(--clay-light);
  background: rgba(212,168,130,0.12);
}
/* YouTube — hidden until launched */
.social-yt { display: none; }

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
.site-footer {
  background: var(--umber);
  color: rgba(247,242,235,0.65);
  padding: 60px 32px 32px;
  margin-top: 80px;
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(247,242,235,0.1);
}
.footer-brand .logo-name { color: var(--ivory); font-size: 1.1rem; }
.footer-brand .logo-tagline { color: var(--clay-light); }
.footer-brand p {
  margin-top: 16px;
  font-size: 0.82rem;
  line-height: 1.8;
  max-width: 280px;
}
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clay-light);
  margin-bottom: 16px;
  font-weight: 400;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a {
  font-size: 0.82rem;
  color: rgba(247,242,235,0.55);
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--clay-light); }
.footer-col address {
  font-style: normal;
  font-size: 0.82rem;
  line-height: 1.9;
}
.footer-col address a { color: rgba(247,242,235,0.55); }
.footer-col address a:hover { color: var(--clay-light); }

.footer-bottom {
  max-width: 1160px;
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.72rem;
  color: rgba(247,242,235,0.35);
}
.footer-bottom a { color: rgba(247,242,235,0.45); }
.footer-bottom a:hover { color: var(--clay-light); }
.footer-legal-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════
   SHARED COMPONENTS
══════════════════════════════════════════════════════ */

/* Page hero */
.page-hero {
  background: var(--deep-sage);
  color: var(--ivory);
  padding: 72px 32px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 20% 80%, rgba(107,124,94,0.3) 0%, transparent 60%),
              radial-gradient(ellipse 60% 80% at 85% 20%, rgba(176,141,87,0.15) 0%, transparent 55%);
}
.page-hero-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.hero-eyebrow {
  font-size: 0.65rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--clay-light); margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center; gap: 14px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ''; display: block; width: 32px; height: 1px;
  background: var(--clay-light); opacity: 0.5;
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: var(--ivory);
  margin-bottom: 14px;
}
.page-hero p {
  font-size: 1.05rem;
  color: rgba(247,242,235,0.7);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}

/* Content wrapper */
.content-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 64px 32px;
}
.content-wide {
  max-width: 1160px;
  margin: 0 auto;
  padding: 64px 32px;
}

/* Section label */
.section-eyebrow {
  font-size: 0.65rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--clay); margin-bottom: 12px;
  display: flex; align-items: center; justify-content: center; gap: 14px;
}
.section-eyebrow::before,
.section-eyebrow::after {
  content: ''; display: block; width: 28px; height: 1px;
  background: currentColor; opacity: 0.6; flex-shrink: 0;
}

/* Body text */
.body-text {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text);
  margin-bottom: 24px;
}

/* Divider */
.gold-divider {
  width: 48px; height: 1px;
  background: var(--gold);
  margin: 28px auto;
}
.gold-divider.left { margin-left: 0; }

/* CTA button */
.btn-primary {
  display: inline-block;
  background: var(--deep-sage);
  color: var(--ivory);
  padding: 14px 36px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
  transition: background 0.25s;
  cursor: pointer;
  border: none;
}
.btn-primary:hover { background: var(--sage); }

.btn-outline {
  display: inline-block;
  border: 1px solid var(--clay-light);
  color: var(--clay);
  padding: 13px 34px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 400;
  transition: all 0.25s;
  cursor: pointer;
  background: none;
}
.btn-outline:hover { background: var(--clay-light); color: var(--umber); }

/* Callout box */
.callout-box {
  background: var(--parchment);
  border-left: 3px solid var(--gold);
  padding: 28px 32px;
  margin: 40px 0;
}
.callout-box p { font-size: 0.94rem; line-height: 1.85; color: var(--text); }

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--warm-white);
    border-top: 1px solid var(--line);
    border-bottom: 2px solid var(--clay-light);
    padding: 16px 0;
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 24px; }
  .btn-book { margin-left: 0; margin: 8px 24px 16px; }
  .has-dropdown:hover .dropdown { display: none; }
  .has-dropdown.open .dropdown { display: block; position: static; border: none; border-left: 2px solid var(--clay-light); margin-left: 24px; box-shadow: none; }
  .header-inner { position: relative; }
  .site-nav { position: static; }
  .info-bar { font-size: 0.62rem; padding: 9px 16px; }
}

@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .content-wrap, .content-wide { padding: 48px 20px; }
  .page-hero { padding: 56px 20px 48px; }
}
