/* ============================================================
   3 Wee Tips Website — Shared Stylesheet
   Dr Lorraine Mulholland · Child Clinical Psychologist
   ============================================================ */

/* ── GOOGLE FONTS ── */
/* Import in each HTML file:
   <link href="https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500;600&display=swap" rel="stylesheet"> */

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

/* ── DESIGN TOKENS ── */
:root {
  /* Colours */
  --cream:       #faf6ef;
  --cream-dark:  #f2ece0;
  --sage:        #7a9e7e;
  --sage-mid:    #5a8060;
  --sage-dark:   #3a5c40;
  --sage-deep:   #2a4430;
  --gold:        #c8a04a;
  --gold-light:  #e8c870;
  --blush:       #e8b0a0;
  --sky:         #8ab8cc;
  --warm:        #3a2e24;
  --muted:       #7a6e60;
  --white:       #ffffff;

  /* Typography */
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'DM Sans', system-ui, sans-serif;

  /* Spacing */
  --section-pad: 6rem 3rem;
  --max-width:   1200px;
}

/* ── BASE ── */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--warm);
  overflow-x: hidden;
  line-height: 1.7;
}

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 3rem;
  background: var(--sage-deep);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav-logo span {
  display: block;
  font-size: 0.65rem;
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 1px;
}

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

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--white); font-weight: 600; }

.nav-cta {
  background: var(--gold-light) !important;
  color: var(--sage-deep) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 100px;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.2s !important;
}
.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
}

/* ── FOOTER ── */
footer {
  background: var(--sage-deep);
  color: rgba(255,255,255,0.75);
  text-align: center;
  padding: 3rem 2rem;
  font-size: 0.85rem;
  line-height: 1.8;
}

footer strong {
  color: var(--white);
  font-weight: 600;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

.footer-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.btn-primary   { background: var(--sage-dark); color: var(--white); }
.btn-outline   { background: transparent; color: var(--sage-dark); border: 2px solid var(--sage-dark); }
.btn-gold      { background: var(--gold); color: var(--white); }
.btn-sm        { padding: 0.6rem 1.4rem; font-size: 0.82rem; }

/* ── SECTION LAYOUT HELPERS ── */
.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--section-pad);
}

.section-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-mid);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background: var(--sage-mid);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--sage-deep);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.section-title em { font-style: italic; color: var(--sage-mid); }

.section-lead {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 620px;
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--sage-deep);
  padding: 1.25rem 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.trust-item::before {
  content: '✓';
  width: 20px;
  height: 20px;
  background: var(--sage-mid);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

/* ── CARDS ── */
.card {
  background: var(--white);
  border-radius: 18px;
  padding: 1.8rem;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 32px rgba(0,0,0,0.1); }

/* ── PULL QUOTE ── */
.pull-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--sage-dark);
  border-left: 3px solid var(--sage);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  line-height: 1.6;
}

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

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* ── PAGE HERO SHARED STYLES ── */
.page-hero {
  padding: 10rem 3rem 5rem;
  text-align: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.page-hero .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage-mid);
  margin-bottom: 1.5rem;
  justify-content: center;
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--sage-deep);
  margin-bottom: 1rem;
}

.page-hero h1 em { font-style: italic; color: var(--sage-mid); }

.page-hero .lead {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--muted);
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto 2rem;
}

/* ── HAMBURGER BUTTON ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: background 0.2s;
  flex-shrink: 0;
}
.nav-toggle:hover { background: rgba(255,255,255,0.12); }

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

/* Animate to X when open */
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav {
    padding: 1rem 1.5rem;
    flex-wrap: nowrap;
    align-items: center;
  }

  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--sage-deep);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    z-index: 99;
  }

  .nav-links.nav-open { display: flex; }

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 0.85rem 1.75rem;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }

  .nav-cta {
    margin: 0.75rem 1.75rem 0 !important;
    display: block !important;
    text-align: center !important;
    border-radius: 10px !important;
    padding: 0.75rem 1.4rem !important;
  }

  .trust-bar { gap: 1.25rem; padding: 1.25rem 1.5rem; }
  .trust-bar .trust-item { font-size: 0.78rem; }
  .section-inner { padding: 4rem 1.5rem; }
  .page-hero { padding: 8rem 1.5rem 3rem; }
}

@media (max-width: 480px) {
  .btn { padding: 0.75rem 1.5rem; font-size: 0.85rem; }
}
