/* =====================================================
   DEEP HEALING — style.css
   Shared across all pages
   ===================================================== */

/* ── RESET & BASE ──────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
  --forest-deep:  #0a0a0a;
  --forest-mid:   #1a1a1a;
  --gold:         #c8860a;
  --gold-light:   #e8b84b;
  --gold-pale:    #f5d98a;
  --cream:        #f0e8d8;
  --cream-dim:    #b8b0a0;
  --section-bg:   #111111;
}

body {
  background: var(--forest-deep);
  color: var(--cream);
  font-family: 'Crimson Pro', Georgia, serif;
  overflow-x: hidden;
}

/* ── NAV ───────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 26px 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
  opacity: 0;
  /* transparent by default — index.html uses this */
}

/* Interior pages add this class for a readable gradient */
nav.interior {
  background: linear-gradient(to bottom, rgba(5,5,5,0.92) 0%, transparent 100%);
}

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

.nav-links a {
  font-family: 'Crimson Pro', serif;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  opacity: 0.72;
  transition: opacity 0.3s, color 0.3s;
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.nav-links a:hover,
.nav-links a.active { opacity: 1; color: var(--gold-light); }

.nav-search {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--cream);
  opacity: 0.72;
  transition: opacity 0.3s, color 0.3s;
  padding: 4px;
  display: flex;
  align-items: center;
}
.nav-search:hover { opacity: 1; color: var(--gold-light); }

/* ── INTERIOR PAGE HEADER ──────────────────────────── */
/* Used by book, about, podcast pages */
.page-header {
  min-height: 52vh;
  background-image: url('images/Deep-Healing-BG.webp');
  background-size: cover;
  background-position: center top;
  display: flex;
  align-items: flex-end;
  padding: 0 52px 72px;
  position: relative;
}

.page-header::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(5,5,5,0.3) 0%, var(--forest-deep) 100%);
}

.page-header-text { position: relative; z-index: 1; }

.page-label {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: block;
  opacity: 0;
}

.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(56px, 8vw, 104px);
  font-weight: 300;
  font-style: italic;
  line-height: 0.95;
  color: var(--cream);
  opacity: 0;
}

/* ── SHARED LAYOUT ─────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 52px;
}

.will-animate {
  opacity: 0;
  transform: translateY(24px);
}

.divider {
  width: 56px;
  height: 1px;
  background: linear-gradient(to right, var(--gold), transparent);
  margin: 28px 0;
}

.section-label {
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  display: block;
}

.section-body {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.78;
  color: var(--cream-dim);
  max-width: 640px;
}

/* ── CLOSE BUTTON (interior pages → back to home) ──── */
.close-btn {
  position: fixed;
  top: 24px;
  right: 28px;
  z-index: 200;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  opacity: 0;
  text-decoration: none;
  transition: opacity 0.3s, color 0.3s;
}
.close-btn:hover { color: var(--gold-light); opacity: 1 !important; }
.close-btn svg { filter: drop-shadow(0 1px 6px rgba(0,0,0,0.7)); }

/* ── BUTTONS ───────────────────────────────────────── */
.btn-outline {
  display: inline-block;
  padding: 15px 44px;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-family: 'Crimson Pro', serif;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
  cursor: pointer;
  background: transparent;
}
.btn-outline:hover { background: var(--gold); color: var(--forest-deep); }

/* ── FOOTER ────────────────────────────────────────── */
footer {
  background: #050505;
  padding: 64px 0 36px;
  border-top: 1px solid rgba(200,134,10,0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 52px;
  margin-bottom: 52px;
}

.footer-label {
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 20px;
}

.newsletter-form { display: flex; }

.newsletter-form input {
  flex: 1;
  padding: 13px 16px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(200,134,10,0.18);
  border-right: none;
  color: var(--cream);
  font-family: 'Crimson Pro', serif;
  font-size: 15px;
  outline: none;
}
.newsletter-form input::placeholder { color: var(--cream-dim); opacity: 0.38; }

.newsletter-form button {
  padding: 13px 20px;
  background: var(--gold);
  border: 1px solid var(--gold);
  color: var(--forest-deep);
  font-family: 'Crimson Pro', serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
}
.newsletter-form button:hover { background: var(--gold-light); }

.social-links { display: flex; flex-direction: column; gap: 11px; }

.social-links a {
  font-size: 15px;
  color: var(--cream-dim);
  text-decoration: none;
  opacity: 0.58;
  transition: opacity 0.3s, color 0.3s;
}
.social-links a:hover { opacity: 1; color: var(--gold-light); }

.newman-link {
  font-size: 14px;
  color: var(--cream-dim);
  opacity: 0.45;
  text-decoration: none;
  letter-spacing: 0.06em;
  transition: opacity 0.3s, color 0.3s;
}
.newman-link:hover { opacity: 0.9; color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.04);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--cream-dim);
  opacity: 0.32;
  letter-spacing: 0.06em;
}

/* ── HAMBURGER & MOBILE NAV ────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 200;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--cream);
  opacity: 0.8;
  transition: opacity 0.3s;
}
.hamburger:hover span { opacity: 1; }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(5,5,5,0.97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-nav-close {
  position: absolute;
  top: 24px; right: 28px;
  background: none; border: none;
  color: var(--cream); opacity: 0.7;
  cursor: pointer; padding: 6px;
  transition: opacity 0.3s, color 0.3s;
}
.mobile-nav-close:hover { opacity: 1; color: var(--gold-light); }

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.mobile-nav-links a {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  text-decoration: none;
  opacity: 0.75;
  letter-spacing: 0.04em;
  transition: opacity 0.3s, color 0.3s;
}
.mobile-nav-links a:hover,
.mobile-nav-links a.active { opacity: 1; color: var(--gold-light); }

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 800px) {
  nav { padding: 18px 24px; justify-content: flex-end; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .close-btn { display: none; } /* mobile uses browser back + hamburger */
  .container { padding: 0 24px; }
  .page-header { padding: 0 24px 56px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
}
