/* ============================================================
   God's House of Hope — Shared Stylesheet
   Used by: index.html, about.html, programs.html,
            get-help.html, get-involved.html, contact.html
   ============================================================ */

:root {
  --purple: #6b2d8c;
  --purple-deep: #4f1e6b;
  --purple-soft: #e8d8f0;
  --teal: #19a3a8;
  --teal-deep: #0d7a7f;
  --green: #8bc63f;
  --green-deep: #6ba62b;
  --sun: #f5b942;
  --cream: #fdf9f3;
  --warm-white: #fefcf8;
  --ink: #2a1f3d;
  --ink-soft: #5b4d6e;
  --shadow: 0 20px 60px -20px rgba(75, 30, 107, 0.25);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

a { color: var(--purple); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--teal); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ====== NAV ====== */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 249, 243, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(107, 45, 140, 0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  max-width: 1200px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 19px;
  color: var(--purple);
}
.brand img { height: 44px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text small {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: 2px;
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  list-style: none;
}
.nav-links a {
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
}
.nav-links a:hover { color: var(--purple); }
.nav-links a.active { color: var(--purple); border-bottom: 2px solid var(--purple); padding-bottom: 2px; }
.nav-cta {
  background: var(--purple);
  color: white !important;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px -2px rgba(107, 45, 140, 0.4);
}
.nav-cta:hover {
  background: var(--purple-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px -2px rgba(107, 45, 140, 0.5);
}
.menu-toggle { display: none; background: none; border: none; cursor: pointer; font-size: 24px; color: var(--purple); }

/* ====== PAGE HERO (inner pages) ====== */
.page-hero {
  padding: 90px 0 80px;
  background: linear-gradient(135deg, var(--cream) 0%, var(--warm-white) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(245, 185, 66, 0.13) 0%, transparent 70%);
  border-radius: 50%;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -150px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(139, 198, 63, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(40px, 5vw, 62px);
  font-weight: 500;
  margin-bottom: 22px;
}
.page-hero h1 em { font-style: italic; color: var(--purple); font-weight: 600; }
.page-hero h1 .accent-teal { color: var(--teal); font-style: italic; font-weight: 600; }
.page-hero p {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 600px;
  margin: 0 auto;
}

/* ====== BREADCRUMB ====== */
.breadcrumb {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  gap: 8px;
  align-items: center;
}
.breadcrumb a { color: var(--teal-deep); font-weight: 500; }
.breadcrumb span { opacity: 0.5; }

/* ====== EYEBROW ====== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 24px;
}
.eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--green);
}

/* ====== BUTTONS ====== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-primary {
  background: var(--purple);
  color: white;
  box-shadow: 0 8px 24px -6px rgba(107, 45, 140, 0.5);
}
.btn-primary:hover {
  background: var(--purple-deep);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px -8px rgba(107, 45, 140, 0.6);
}
.btn-secondary {
  background: white;
  color: var(--purple);
  border: 2px solid var(--purple-soft);
}
.btn-secondary:hover {
  color: var(--purple);
  border-color: var(--purple);
  transform: translateY(-2px);
}
.btn-teal {
  background: var(--teal);
  color: white;
  box-shadow: 0 8px 24px -6px rgba(25, 163, 168, 0.45);
}
.btn-teal:hover {
  background: var(--teal-deep);
  color: white;
  transform: translateY(-2px);
}

/* ====== SECTIONS ====== */
section.block { padding: 100px 0; }
.section-head {
  text-align: center;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.section-head .eyebrow { justify-content: center; }
.section-head h2 {
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 500;
  margin-bottom: 18px;
}
.section-head h2 em { font-style: italic; color: var(--teal); font-weight: 600; }
.section-head p { color: var(--ink-soft); font-size: 18px; }

/* ====== MISSION BAND ====== */
.mission-band {
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-deep) 100%);
  color: white;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.mission-band::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(245, 185, 66, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(25, 163, 168, 0.2) 0%, transparent 40%);
  pointer-events: none;
}
.mission-band .container { position: relative; z-index: 1; }
.mission-quote {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 400;
  line-height: 1.35;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 28px;
}
.mission-quote span { color: var(--sun); font-weight: 500; }
.mission-attribution {
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

/* ====== ABOUT ====== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text h2 {
  font-size: clamp(32px, 4vw, 44px);
  margin-bottom: 24px;
}
.about-text h2 em { font-style: italic; color: var(--purple); font-weight: 600; }
.about-text p {
  color: var(--ink-soft);
  margin-bottom: 18px;
  font-size: 17px;
}
.verse-card {
  background: var(--warm-white);
  border-left: 4px solid var(--green);
  padding: 24px 28px;
  border-radius: 0 14px 14px 0;
  margin-top: 30px;
  box-shadow: 0 6px 24px -10px rgba(75, 30, 107, 0.15);
}
.verse-card p {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--purple-deep);
  margin-bottom: 8px;
}
.verse-card cite {
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-deep);
}

.pillar-stack { display: flex; flex-direction: column; gap: 18px; }
.pillar {
  background: white;
  border-radius: 18px;
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  box-shadow: 0 8px 30px -12px rgba(75, 30, 107, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(107, 45, 140, 0.06);
}
.pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px -12px rgba(75, 30, 107, 0.2);
}
.pillar-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.pillar:nth-child(1) .pillar-icon { background: var(--purple-soft); color: var(--purple); }
.pillar:nth-child(2) .pillar-icon { background: rgba(25, 163, 168, 0.15); color: var(--teal-deep); }
.pillar:nth-child(3) .pillar-icon { background: rgba(139, 198, 63, 0.18); color: var(--green-deep); }
.pillar:nth-child(4) .pillar-icon { background: rgba(245, 185, 66, 0.2); color: #b87f1a; }
.pillar h3 { font-size: 20px; margin-bottom: 6px; color: var(--ink); }
.pillar p { color: var(--ink-soft); font-size: 15px; line-height: 1.55; }

/* ====== PROGRAMS ====== */
.programs { background: var(--warm-white); }
.program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.program-card {
  background: white;
  border-radius: 22px;
  padding: 40px 32px;
  box-shadow: 0 10px 40px -16px rgba(75, 30, 107, 0.15);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(107, 45, 140, 0.05);
}
.program-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 5px;
  transition: height 0.3s ease;
}
.program-card:nth-child(1)::before { background: var(--purple); }
.program-card:nth-child(2)::before { background: var(--teal); }
.program-card:nth-child(3)::before { background: var(--green); }
.program-card:nth-child(4)::before { background: var(--sun); }
.program-card:nth-child(5)::before { background: var(--purple); }
.program-card:nth-child(6)::before { background: var(--teal); }
.program-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px -16px rgba(75, 30, 107, 0.25);
}
.program-card:hover::before { height: 8px; }
.program-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}
.program-card h3 { font-size: 22px; margin-bottom: 12px; color: var(--ink); }
.program-card p { color: var(--ink-soft); font-size: 15px; }

/* ====== HELP ====== */
.help-section { background: linear-gradient(180deg, var(--cream) 0%, var(--warm-white) 100%); }
.help-wrap {
  background: white;
  border-radius: 28px;
  padding: 60px;
  box-shadow: 0 20px 60px -20px rgba(75, 30, 107, 0.18);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.help-wrap::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(25, 163, 168, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.help-text { position: relative; z-index: 1; }
.help-text h2 { font-size: clamp(30px, 3.5vw, 40px); margin-bottom: 20px; }
.help-text h2 em { font-style: italic; color: var(--teal); font-weight: 600; }
.help-text p { color: var(--ink-soft); margin-bottom: 14px; }
.help-steps { position: relative; z-index: 1; }
.step {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(107, 45, 140, 0.08);
}
.step:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--purple-soft);
  color: var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 20px;
}
.step:nth-child(2) .step-num { background: rgba(25, 163, 168, 0.15); color: var(--teal-deep); }
.step:nth-child(3) .step-num { background: rgba(139, 198, 63, 0.18); color: var(--green-deep); }
.step h4 { font-size: 18px; margin-bottom: 4px; }
.step p { color: var(--ink-soft); font-size: 15px; margin: 0; }

.urgent-banner {
  background: linear-gradient(135deg, var(--purple-deep), var(--purple));
  color: white;
  padding: 24px 32px;
  border-radius: 18px;
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.urgent-banner strong { font-family: 'Fraunces', serif; font-size: 19px; font-weight: 600; }
.urgent-banner p { margin: 4px 0 0; opacity: 0.92; font-size: 15px; }
.urgent-banner .phone {
  margin-left: auto;
  background: white;
  color: var(--purple);
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

/* ====== INVOLVED ====== */
.involved { background: var(--cream); }
.involved-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.involved-card {
  border-radius: 24px;
  padding: 50px 44px;
  color: white;
  position: relative;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.involved-card.donate { background: linear-gradient(135deg, var(--purple) 0%, var(--purple-deep) 100%); }
.involved-card.volunteer { background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%); }
.involved-card::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.involved-card h3 { font-size: clamp(28px, 3vw, 36px); font-weight: 500; margin-bottom: 16px; position: relative; }
.involved-card h3 em { font-style: italic; font-weight: 600; }
.involved-card.donate h3 em { color: var(--sun); }
.involved-card.volunteer h3 em { color: var(--green); }
.involved-card > p { position: relative; opacity: 0.95; margin-bottom: 30px; font-size: 16px; }
.involved-list { list-style: none; margin-bottom: 32px; position: relative; }
.involved-list li { padding: 8px 0; padding-left: 28px; position: relative; font-size: 15px; opacity: 0.95; }
.involved-list li::before { content: '✓'; position: absolute; left: 0; font-weight: 700; }
.involved-card.donate .involved-list li::before { color: var(--sun); }
.involved-card.volunteer .involved-list li::before { color: var(--green); }
.involved-card .btn { background: white; align-self: flex-start; position: relative; }
.involved-card.donate .btn { color: var(--purple); }
.involved-card.volunteer .btn { color: var(--teal-deep); }
.involved-card .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px rgba(0,0,0,0.3); }

/* ====== CONTACT ====== */
.contact-section {
  padding: 110px 0;
  background: var(--warm-white);
  position: relative;
  overflow: hidden;
}
.contact-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(107,45,140,0.15), transparent);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 { font-size: clamp(34px, 4vw, 46px); margin-bottom: 20px; }
.contact-info h2 em { font-style: italic; color: var(--purple); font-weight: 600; }
.contact-info > p { color: var(--ink-soft); margin-bottom: 36px; font-size: 17px; max-width: 480px; }
.contact-item { display: flex; gap: 18px; margin-bottom: 24px; align-items: flex-start; }
.contact-item .ic {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--purple-soft);
  color: var(--purple);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.contact-item:nth-child(3) .ic { background: rgba(25,163,168,0.15); color: var(--teal-deep); }
.contact-item:nth-child(4) .ic { background: rgba(139,198,63,0.18); color: var(--green-deep); }
.contact-item h4 { font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 4px; font-family: 'Manrope', sans-serif; font-weight: 600; }
.contact-item p, .contact-item a { font-size: 17px; color: var(--ink); font-weight: 500; }

.contact-form-wrap {
  background: white;
  border-radius: 24px;
  padding: 44px;
  box-shadow: 0 20px 60px -20px rgba(75, 30, 107, 0.18);
}
.contact-form-wrap h3 { font-size: 24px; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-field { display: flex; flex-direction: column; margin-bottom: 16px; }
.form-field label { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 6px; letter-spacing: 0.02em; }
.form-field input, .form-field textarea, .form-field select {
  padding: 13px 16px;
  border: 1.5px solid rgba(107,45,140,0.15);
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  background: var(--cream);
  color: var(--ink);
  transition: border-color 0.2s, background 0.2s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-color: var(--purple);
  background: white;
}
.form-field textarea { resize: vertical; min-height: 110px; }
.form-submit { width: 100%; justify-content: center; margin-top: 4px; }

/* ====== FOOTER ====== */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.85);
  padding: 70px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}
.footer-brand img { height: 60px; margin-bottom: 20px; filter: brightness(1.05); background: white; padding: 8px; border-radius: 12px; }
.footer-brand p { font-size: 15px; opacity: 0.75; max-width: 320px; line-height: 1.6; }
.footer-col h5 { font-family: 'Fraunces', serif; font-size: 17px; font-weight: 600; color: white; margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 15px; }
.footer-col a:hover { color: var(--sun); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  opacity: 0.6;
}
.footer-tagline { font-family: 'Fraunces', serif; font-style: italic; color: var(--sun); font-size: 14px; }

/* ====== ANIMATIONS ====== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ====== RESPONSIVE ====== */
@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: white;
    flex-direction: column;
    gap: 0;
    padding: 14px 0;
    border-bottom: 1px solid rgba(107, 45, 140, 0.1);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { padding: 12px 28px; display: block; }
  .menu-toggle { display: block; }
  .nav-cta { margin: 8px 28px; text-align: center; }

  .page-hero { padding: 70px 0 60px; }

  section.block { padding: 70px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .program-grid { grid-template-columns: 1fr; }
  .help-wrap { grid-template-columns: 1fr; padding: 36px; gap: 36px; }
  .involved-grid { grid-template-columns: 1fr; }
  .involved-card { padding: 36px 28px; min-height: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form-wrap { padding: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .urgent-banner { flex-direction: column; align-items: flex-start; }
  .urgent-banner .phone { margin-left: 0; }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
  .brand-text small { display: none; }
  .mission-band { padding: 60px 0; }
  .contact-section { padding: 70px 0; }
}
