/* ============================================================
   Cassie Perez Gardner Counseling — Shared Styles
   Redesign: Earthy / Botanical / Warm
   ============================================================ */

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

:root {
  --sage:       #8aa68a;   /* muted sage green          */
  --moss:       #4e6b47;   /* deep forest green         */
  --terracotta: #9e5940;   /* warm terracotta           */
  --blush:      #deb5a5;   /* dusty blush               */
  --cream:      #f8f3eb;   /* warm off-white            */
  --sand:       #ede5d8;   /* warm linen/sand           */
  --bark:       #3d2f24;   /* dark warm brown — text    */
  --muted:      #7a6254;   /* body text — warm mid-tone */
  --stone:      #a8998c;   /* placeholder / subtle      */
  --white:      #ffffff;
  --nav-h:      76px;
}

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  background: var(--cream);
  font-family: 'Jost', sans-serif;
  color: var(--bark);
  line-height: 1.6;
}

/* ── navigation ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(248, 243, 235, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(168, 153, 140, 0.22);
  display: flex;
  align-items: center;
  padding: 0 48px;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--terracotta);
  text-decoration: none;
  flex-shrink: 0;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
  margin-left: auto;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--terracotta); }

.nav-cta {
  display: inline-block;
  padding: 8px 20px !important;
  background: var(--terracotta) !important;
  color: var(--white) !important;
  border-radius: 3px;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.09em !important;
  text-transform: uppercase !important;
  transition: background 0.2s, transform 0.15s !important;
}
.nav-cta:hover { background: #8b4d35 !important; transform: translateY(-1px); color: var(--white) !important; }

/* hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  margin-left: auto;
  background: none;
  border: none;
  padding: 8px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--bark);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}
.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 nav */
.nav-links.open {
  display: flex !important;
  flex-direction: column;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(248, 243, 235, 0.98);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 28px 36px 36px;
  gap: 20px;
  border-bottom: 1px solid rgba(168,153,140,0.22);
  box-shadow: 0 8px 32px rgba(61, 47, 36, 0.08);
  z-index: 99;
}
.nav-links.open a { font-size: 0.9rem; }
.nav-links.open .nav-cta { align-self: flex-start; margin-top: 4px; }

/* page wrapper */
.page {
  min-height: 100vh;
  padding-top: var(--nav-h);
}

/* ══════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--nav-h));
  background-image: url('img/hero-bg.jpg');
  background-size: cover;
  background-position: center 38%;
}
/* warm cream wash over the forest photo */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(248, 243, 235, 0.93);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: center;
  padding: 80px 60px 60px;
  gap: 32px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 540px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Jost', sans-serif;
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--moss);
  padding: 6px 14px;
  border: 1.5px solid rgba(78, 107, 71, 0.28);
  border-radius: 3px;
  background: rgba(78, 107, 71, 0.06);
  width: fit-content;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: clamp(2.6rem, 4.5vw, 4.2rem);
  line-height: 1.12;
  color: var(--bark);
  letter-spacing: -0.015em;
}
.hero h1 em {
  font-style: italic;
  color: var(--terracotta);
}

.hero-subtext {
  font-size: 1.08rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.75;
  max-width: 460px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* illustration column */
.hero-illustration {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: calc(100vh - var(--nav-h) - 60px);
  max-height: 580px;
}
.hero-botanical {
  width: 100%;
  max-width: 400px;
  height: 100%;
}

/* ══════════════════════════════════════════════════
   WAVE DIVIDER
══════════════════════════════════════════════════ */
.wave-divider {
  line-height: 0;
  font-size: 0;
  background: var(--sand);
}
.wave-divider svg {
  display: block;
  width: 100%;
  height: 56px;
}

/* ══════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════ */
.btn-primary {
  display: inline-block;
  padding: 14px 34px;
  background: var(--terracotta);
  color: var(--white);
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 3px 16px rgba(158, 89, 64, 0.32);
  transition: background 0.2s, transform 0.15s;
  width: fit-content;
}
.btn-primary:hover  { background: #8b4d35; transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  background: transparent;
  color: var(--terracotta);
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1.5px solid rgba(158, 89, 64, 0.4);
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
  width: fit-content;
}
.btn-secondary:hover {
  background: rgba(158, 89, 64, 0.07);
  border-color: var(--terracotta);
}

/* ══════════════════════════════════════════════════
   PILL CHIPS
══════════════════════════════════════════════════ */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 3px;
  background: rgba(78, 107, 71, 0.08);
  border: 1px solid rgba(78, 107, 71, 0.2);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--moss);
  font-family: 'Jost', sans-serif;
}
.pill svg { flex-shrink: 0; }

/* ── Psychology Today profile link ── */
.pt-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Jost', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--terracotta);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
}
.pt-link:hover { opacity: 0.72; }
.pt-link svg { flex-shrink: 0; }

.bio-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
}

/* ══════════════════════════════════════════════════
   MEET CASSIE SECTION
══════════════════════════════════════════════════ */
.meet-cassie {
  background: var(--sand);
  padding: 0 40px 100px;
}

.meet-cassie-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  align-items: start;
  padding: 64px 56px 56px;
  background: var(--white);
  border-radius: 6px;
  box-shadow: 0 8px 48px rgba(61, 47, 36, 0.08), 0 2px 10px rgba(61, 47, 36, 0.04);
}

/* polaroid-style white border frame */
.photo-frame {
  background: var(--white);
  padding: 10px 10px 26px;
  box-shadow: 3px 6px 22px rgba(61, 47, 36, 0.16), 0 1px 4px rgba(61, 47, 36, 0.08);
  display: block;
  transform: rotate(-1.2deg);
  transform-origin: center bottom;
}

.cassie-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  border-radius: 2px;
  display: block;
}

.cassie-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 4px;
  background: linear-gradient(160deg, rgba(138,166,138,0.1), rgba(222,181,165,0.18));
  border: 2px dashed rgba(168, 153, 140, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--stone);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  padding: 24px;
}
.cassie-photo-placeholder .placeholder-icon { font-size: 3rem; }

.section-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 12px;
  font-family: 'Jost', sans-serif;
}

.meet-cassie h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--bark);
  line-height: 1.1;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}
.meet-cassie h2 em {
  font-style: italic;
  color: var(--terracotta);
}

.bio-text {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.82;
  margin-bottom: 14px;
  font-weight: 400;
}

.hope-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.22rem;
  font-style: italic;
  font-weight: 500;
  color: var(--bark);
  line-height: 1.72;
  margin: 22px 0 28px;
  padding: 16px 22px;
  border-left: 3px solid var(--terracotta);
  background: rgba(237, 229, 216, 0.45);
  border-radius: 0 4px 4px 0;
}

.meet-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

/* ══════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════ */
.site-footer {
  position: relative;
}

.footer-nature {
  height: 260px;
  background-image: url('img/lotus.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
}
.footer-nature::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(61,47,36,0) 10%, rgba(61,47,36,0.82) 100%);
}

.footer-content {
  background: var(--bark);
  padding: 44px 24px 36px;
  text-align: center;
}

.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--blush);
  margin-bottom: 18px;
  display: block;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 22px;
  list-style: none;
  margin-bottom: 22px;
}
.footer-links a {
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--stone);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--blush); }

.footer-copy {
  font-size: 0.76rem;
  color: var(--stone);
  font-weight: 400;
  letter-spacing: 0.04em;
}

/* ══════════════════════════════════════════════════
   MODAL / LIGHTBOX
══════════════════════════════════════════════════ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(61, 47, 36, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 24px 20px;
  overflow-y: auto;
  align-items: flex-start;
  justify-content: center;
}
.modal-overlay.open { display: flex; }

.modal-content {
  position: relative;
  background: var(--cream);
  border: 1px solid rgba(168, 153, 140, 0.22);
  border-radius: 6px;
  padding: 52px 48px 48px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 24px 72px rgba(61, 47, 36, 0.2);
  animation: modal-in 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  margin: auto;
}
@keyframes modal-in {
  from { opacity: 0; transform: scale(0.94) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
  position: absolute;
  top: 18px; right: 20px;
  background: rgba(168, 153, 140, 0.15);
  border: none;
  border-radius: 50%;
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  color: var(--muted);
  transition: background 0.2s;
}
.modal-close:hover { background: rgba(158, 89, 64, 0.15); color: var(--terracotta); }

/* ══════════════════════════════════════════════════
   FORM (inside modal)
══════════════════════════════════════════════════ */
.form-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--bark);
  margin-bottom: 6px;
  text-align: center;
  letter-spacing: -0.01em;
}
.form-title em { font-style: italic; color: var(--terracotta); }

.form-sub {
  text-align: center;
  font-size: 0.93rem;
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.6;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.form-group label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: 'Jost', sans-serif;
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'Jost', sans-serif;
  font-size: 0.96rem;
  font-weight: 400;
  color: var(--bark);
  background: var(--white);
  border: 1.5px solid rgba(168, 153, 140, 0.38);
  border-radius: 4px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(158, 89, 64, 0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--stone);
  font-weight: 400;
}
.form-group textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.6;
}

.select-wrap { position: relative; }
.select-wrap::after {
  content: '▾';
  position: absolute;
  right: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--stone);
  pointer-events: none;
  font-size: 1rem;
}

.btn-submit {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 3px;
  background: var(--terracotta);
  color: var(--white);
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 3px 14px rgba(158, 89, 64, 0.28);
  transition: background 0.2s, transform 0.15s;
  margin-top: 8px;
}
.btn-submit:hover  { background: #8b4d35; transform: translateY(-1px); }
.btn-submit:active { transform: translateY(0); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* success state */
.success-state {
  display: none;
  text-align: center;
  padding: 24px 0 8px;
}
.success-state .success-icon {
  font-size: 3rem;
  margin-bottom: 14px;
  display: block;
}
.success-state h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--bark);
  margin-bottom: 12px;
}
.success-state p {
  font-size: 0.96rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ══════════════════════════════════════════════════
   STUB / PLACEHOLDER PAGES
══════════════════════════════════════════════════ */
.page-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--nav-h) - 200px);
  padding: 64px 24px;
  text-align: center;
  gap: 16px;
}
.placeholder-emoji { font-size: 3rem; margin-bottom: 4px; }
.page-placeholder h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--bark);
  letter-spacing: -0.01em;
}
.page-placeholder h1 em { font-style: italic; color: var(--terracotta); }
.page-placeholder p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 440px;
}

/* ══════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 64px 40px 60px;
    min-height: auto;
    padding-bottom: 80px;
  }
  .hero-illustration { display: none; }
  .hero { min-height: auto; }
}

@media (max-width: 768px) {
  .site-nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero-inner { padding: 56px 24px 64px; }

  .meet-cassie { padding: 0 20px 80px; }
  .meet-cassie-inner {
    grid-template-columns: 1fr;
    padding: 36px 28px 40px;
    gap: 28px;
  }
  .cassie-photo { aspect-ratio: 3/4; }   /* portrait — was 4/3 which cropped to top of head */
  .photo-frame { max-width: 220px; margin: 0 auto; }
  .meet-cassie h2 { font-size: 2.4rem; }

  .modal-content { padding: 44px 28px 36px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-nature { height: 200px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2.2rem; }
  .meet-cassie h2 { font-size: 2rem; }
  .btn-primary { padding: 13px 26px; }
}
