/* ============================================================
   JASMINE WELLNESS COACHING — Shared Stylesheet
   TO RETHEME: Edit only the :root variables below
   ============================================================ */

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

/* ===== BRAND TOKENS — edit here to retheme the whole site ===== */
:root {
  --mustard:        #C8972A;
  --mustard-light:  #E8B84B;
  --mustard-pale:   #F5E6C0;
  --burnt-orange:   #C4622D;
  --brown:          #6B4226;
  --brown-dark:     #3D2314;
  --olive:          #6B7C45;
  --olive-pale:     #E8EDD8;
  --cream:          #FAF6EE;
  --cream-warm:     #F2EBD9;
  --off-white:      #FDFAF5;
  --text-dark:      #2A1A0E;
  --text-mid:       #5C3D22;
  --text-light:     #8B7355;
  --grey-div:       #E8DFD0;

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

  --transition:     all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card:    0 4px 24px rgba(61, 35, 20, 0.08);
  --shadow-lift:    0 8px 40px rgba(61, 35, 20, 0.14);

  --nav-height:     80px;
  --section-pad:    88px 8%;
  --inner-max:      1140px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-dark);
  background: var(--off-white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-height);
  background: rgba(253, 250, 245, 0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(200, 151, 42, 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  transition: box-shadow 0.3s ease;
}

nav.scrolled { box-shadow: 0 2px 20px rgba(61, 35, 20, 0.1); }

.nav-brand a {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brown-dark);
  letter-spacing: 0.02em;
  line-height: 1.2;
  display: block;
}

.nav-brand a span {
  display: block;
  font-size: 0.6rem;
  font-family: var(--font-ui);
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mustard);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: var(--transition);
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--mustard);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.nav-links a:hover             { color: var(--burnt-orange); }
.nav-links a:hover::after,
.nav-links a.active::after     { transform: scaleX(1); }
.nav-links a.active            { color: var(--brown-dark); }

.nav-links a.nav-cta {
  background: var(--burnt-orange);
  color: white;
  padding: 0.5rem 1.3rem;
  border-radius: 2px;
  letter-spacing: 0.13em;
}

.nav-links a.nav-cta:hover { background: var(--brown); color: white; }
.nav-links a.nav-cta::after { display: none; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 201;
}

.nav-hamburger span {
  width: 22px;
  height: 2px;
  background: var(--brown-dark);
  display: block;
  transition: var(--transition);
  border-radius: 1px;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Drawer */
.nav-mobile-drawer {
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: var(--off-white);
  border-bottom: 1px solid var(--grey-div);
  display: flex !important;
  flex-direction: column;
  padding: 1.5rem 5%;
  gap: 0.2rem;
  z-index: 199;
  transform: translateY(-110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
  box-shadow: 0 8px 24px rgba(61,35,20,0.1);
}

.nav-mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nav-mobile-drawer a {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mid);
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--grey-div);
  transition: color 0.2s;
}

.nav-mobile-drawer a:last-child { border-bottom: none; }
.nav-mobile-drawer a:hover, .nav-mobile-drawer a.active { color: var(--burnt-orange); }

.nav-mobile-drawer a.nav-cta-mobile {
  margin-top: 0.5rem;
  background: var(--burnt-orange);
  color: white;
  padding: 0.75rem 1.5rem;
  text-align: center;
  border-radius: 2px;
  border: none;
}

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 120px 8% 80px;
  background: var(--cream-warm);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 60% at 90% 40%, rgba(200,151,42,0.09) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(107,124,69,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.page-hero-inner { position: relative; max-width: var(--inner-max); }

.page-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.page-eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--olive);
  flex-shrink: 0;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--brown-dark);
  margin-bottom: 1.25rem;
  max-width: 820px;
}

.page-title em {
  font-style: italic;
  color: var(--burnt-orange);
}

.page-subtitle {
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 600px;
}

/* ===== SECTION WRAPPERS ===== */
.section-white  { background: white;          padding: var(--section-pad); }
.section-cream  { background: var(--cream-warm); padding: var(--section-pad); }
.section-dark   { background: var(--brown-dark); padding: var(--section-pad); }

.section-inner  { max-width: var(--inner-max); margin: 0 auto; }

/* ===== SECTION LABELS / HEADINGS ===== */
.section-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-eyebrow::before {
  content: '';
  width: 26px;
  height: 1px;
  background: var(--olive);
  flex-shrink: 0;
}

.section-eyebrow.light         { color: var(--mustard-light); }
.section-eyebrow.light::before { background: var(--mustard-light); }
.section-eyebrow.center        { justify-content: center; }
.section-eyebrow.center::before { display: none; }

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--brown-dark);
  margin-bottom: 1.25rem;
}

.section-heading em  { font-style: italic; color: var(--burnt-orange); }
.section-heading.light { color: white; }
.section-heading.light em { color: var(--mustard-light); }

.section-body {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.85;
  max-width: 60ch;
}

.section-body.light { color: rgba(255,255,255,0.68); }
.section-body + .section-body { margin-top: 1rem; }

/* ===== BUTTONS ===== */
.btn-primary {
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.95rem 2.1rem;
  background: var(--burnt-orange);
  color: white;
  border: 2px solid var(--burnt-orange);
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
}

.btn-primary:hover {
  background: var(--brown);
  border-color: var(--brown);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(61,35,20,0.22);
}

.btn-outline {
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.95rem 2.1rem;
  background: transparent;
  color: var(--brown);
  border: 1.5px solid var(--mustard);
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
}

.btn-outline:hover {
  background: var(--mustard-pale);
  transform: translateY(-2px);
}

.btn-ghost {
  font-family: var(--font-ui);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.95rem 2.1rem;
  background: white;
  color: var(--burnt-orange);
  border: 2px solid white;
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-block;
}

.btn-ghost:hover {
  background: transparent;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
}

/* ===== CLOSING CTA BAND ===== */
.closing-cta {
  background: linear-gradient(135deg, var(--burnt-orange) 0%, var(--brown-dark) 100%);
  padding: 80px 8%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing-cta::before {
  content: '';
  position: absolute;
  top: -40%;
  left: -15%;
  width: 55%;
  height: 200%;
  background: rgba(255,255,255,0.03);
  transform: rotate(18deg);
  pointer-events: none;
}

.closing-cta .cta-inner { max-width: 600px; margin: 0 auto; position: relative; }

.cta-eyebrow {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
}

.cta-heading {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 700;
  color: white;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.cta-body {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

/* ===== FOOTER ===== */
footer {
  background: var(--brown-dark);
  color: white;
  padding: 4rem 8% 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  line-height: 1.2;
  margin-bottom: 0.4rem;
}

.footer-brand-sub {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mustard);
  font-weight: 400;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.92rem;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
}

.footer-col-title {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mustard);
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--mustard-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  color: rgba(255,255,255,0.28);
  letter-spacing: 0.06em;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  :root { --section-pad: 60px 6%; }
  .nav-links   { display: none; }
  .nav-hamburger { display: flex; }
  .footer-top  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  :root { --section-pad: 48px 5%; }
  .page-hero { padding: 110px 5% 60px; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
