/* ==========================================================================
   Morning Joy Counseling Center — Shared Stylesheet
   Palette: warm neutral tones — sunset gold, terracotta clay, espresso brown,
   dusty sage — paired with real nature photography (sunrise/sunset skies,
   sunflower fields, open fields).
   Fonts: Lora (headings, warm classic serif) + Nunito Sans (body)
   ========================================================================== */

:root {
  --color-cream: #faf3e6;
  --color-cream-dark: #efe0c6;
  --color-ink: #3a2e22;
  --color-ink-soft: #6b5b49;
  --color-gold: #c9873e;
  --color-gold-light: #e3a860;
  --color-gold-pale: #f3e0bd;
  --color-teal: #a85c36;
  --color-teal-dark: #3e2c1e;
  --color-sage: #8b9270;
  --color-sage-pale: #e8e6d4;
  --color-white: #ffffff;

  --font-heading: "Lora", "Georgia", serif;
  --font-body: "Nunito Sans", "Segoe UI", sans-serif;

  --radius: 14px;
  --shadow-soft: 0 10px 30px rgba(62, 44, 30, 0.1);
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-teal-dark);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); font-weight: 500; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

a {
  color: var(--color-teal);
  text-decoration: none;
}
a:hover { text-decoration: underline; }

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.placeholder-note {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-teal);
  background: var(--color-sage-pale);
  border: 1px dashed var(--color-sage);
  border-radius: 6px;
  padding: 2px 8px;
  margin-left: 6px;
  vertical-align: middle;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 13px 28px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: 2px solid transparent;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: var(--color-gold);
  color: var(--color-white);
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { background: var(--color-gold-light); }

.btn-outline {
  background: transparent;
  border-color: var(--color-teal);
  color: var(--color-teal);
}
.btn-outline:hover { background: var(--color-teal); color: var(--color-white); }

.btn-outline.on-dark {
  border-color: var(--color-white);
  color: var(--color-white);
}
.btn-outline.on-dark:hover { background: var(--color-white); color: var(--color-teal); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 243, 230, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-cream-dark);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  color: var(--color-teal-dark);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
}
.brand:hover { text-decoration: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--color-ink);
  font-weight: 600;
  font-size: 0.96rem;
}
.nav-links a.active { color: var(--color-gold); }

.nav-links .btn-primary { padding: 10px 22px; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-teal-dark);
  margin: 5px 0;
  transition: 0.2s;
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-cream);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 10px 24px 20px;
    border-bottom: 1px solid var(--color-cream-dark);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 0; width: 100%; }
  .nav-links .btn-primary { margin-top: 8px; }
}

/* ---------- Hero (warm photo + overlay) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(180deg, rgba(43,30,19,0.32) 0%, rgba(43,30,19,0.74) 100%), var(--bg-img, linear-gradient(180deg, #fbf5ea 0%, #f6e2bd 55%, #eab86b 100%));
  background-size: cover;
  background-position: center;
  padding: 120px 24px 140px;
  text-align: center;
  color: var(--color-white);
}
.hero-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}
.eyebrow {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--color-teal-dark);
  background: rgba(255,255,255,0.85);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 { color: var(--color-white); }
.hero .lede {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.92);
  max-width: 560px;
  margin: 0 auto 32px;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-hero {
  position: relative;
  background-image: linear-gradient(180deg, rgba(43,30,19,0.38) 0%, rgba(43,30,19,0.7) 100%), var(--bg-img, linear-gradient(180deg, #f6e2bd 0%, #fbf5ea 100%));
  background-size: cover;
  background-position: center;
  padding: 92px 24px 78px;
  text-align: center;
  color: var(--color-white);
}
.page-hero h1 { color: var(--color-white); }
.page-hero .eyebrow { background: rgba(255,255,255,0.85); }
.page-hero p.lede {
  max-width: 640px;
  margin: 0 auto;
  color: rgba(255,255,255,0.92);
  font-size: 1.05rem;
}

/* ---------- Sections ---------- */
section { padding: 72px 0; }
section.tight { padding: 48px 0; }
.section-alt { background: var(--color-white); }
.section-teal {
  background: var(--color-teal-dark);
  color: var(--color-cream);
}
.section-teal h2, .section-teal h3 { color: var(--color-white); }
.section-teal a:not(.btn) { color: var(--color-gold-light); }

.section-photo {
  position: relative;
  background-image: linear-gradient(180deg, rgba(43,30,19,0.58) 0%, rgba(43,30,19,0.82) 100%), var(--bg-img);
  background-size: cover;
  background-position: center;
  color: var(--color-white);
}
.section-photo h2, .section-photo h3 { color: var(--color-white); }
.section-photo a:not(.btn) { color: var(--color-gold-light); }
.section-photo .section-head p { color: rgba(255,255,255,0.88); }
.section-photo .eyebrow { background: rgba(255,255,255,0.85); color: var(--color-teal-dark); }

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-head p { color: var(--color-ink-soft); }
.section-teal .section-head p { color: #e7ddd0; }

/* ---------- Image band (full-width photo strip with a short line) ---------- */
.image-band {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: linear-gradient(180deg, rgba(43,30,19,0.28) 0%, rgba(43,30,19,0.58) 100%), var(--bg-img);
  background-size: cover;
  background-position: center;
  padding: 60px 24px;
}
.image-band blockquote {
  margin: 0;
  max-width: 640px;
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--color-white);
  font-weight: 500;
  line-height: 1.4;
}
.image-band cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}

/* ---------- Scripture band (plain, no photo) ---------- */
.scripture-band {
  text-align: center;
  padding: 12px 24px 56px;
}
.scripture-band blockquote {
  margin: 0 auto 14px;
  max-width: 700px;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  color: var(--color-teal-dark);
  line-height: 1.5;
}
.scripture-band cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--color-teal);
}

/* ---------- Grids / Cards ---------- */
.grid {
  display: grid;
  gap: 26px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 860px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-soft);
}
.card h3 { margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-gold-pale);
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.principle-card {
  border-left: 4px solid var(--color-gold);
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-soft);
}

/* ---------- Fee Table ---------- */
.fee-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.fee-table th, .fee-table td {
  text-align: left;
  padding: 16px 22px;
  border-bottom: 1px solid var(--color-cream-dark);
}
.fee-table th {
  background: var(--color-teal-dark);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 500;
}
.fee-table tr:last-child td { border-bottom: none; }
.fee-table td.amount { font-weight: 700; color: var(--color-teal); white-space: nowrap; }

/* ---------- Team ---------- */
.team-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-soft);
  display: flex;
  gap: 26px;
  align-items: flex-start;
}
@media (max-width: 640px) {
  .team-card { flex-direction: column; align-items: center; text-align: center; }
}
.avatar-placeholder {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  flex-shrink: 0;
  background: linear-gradient(145deg, var(--color-gold-pale), var(--color-sage-pale));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-teal);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-align: center;
  border: 2px dashed var(--color-gold);
}

.avatar-photo {
  width: 168px;
  height: 168px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  object-position: center 15%;
  border: 3px solid var(--color-gold-pale);
  box-shadow: var(--shadow-soft);
}

/* ---------- Blog / Resource cards ---------- */
.resource-card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}
.resource-thumb {
  height: 140px;
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-sage));
}
.resource-card .card-body { padding: 24px; }
.resource-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-gold);
  margin-bottom: 8px;
  display: block;
}

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
}
label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--color-teal-dark);
}
input, textarea, select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--color-cream-dark);
  border-radius: 8px;
  background: var(--color-white);
  color: var(--color-ink);
}
input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--color-gold-light);
  outline-offset: 1px;
}

.info-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.info-list li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-cream-dark);
}
.info-list li:last-child { border-bottom: none; }
.info-list .label {
  font-weight: 700;
  color: var(--color-teal-dark);
  min-width: 110px;
}

.callout {
  background: var(--color-sage-pale);
  border-left: 4px solid var(--color-sage);
  border-radius: var(--radius);
  padding: 22px 26px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-teal-dark);
  color: #e7ddd0;
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.site-footer h4 {
  color: var(--color-white);
  font-size: 1rem;
  margin-bottom: 14px;
}
.site-footer a { color: #e7ddd0; }
.site-footer a:hover { color: var(--color-gold-light); }
.footer-brand {
  display: flex;
  align-items: center;
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 14px;
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.pill-list li {
  background: var(--color-sage-pale);
  color: var(--color-teal-dark);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 600;
}
