/* ============================================================
   Discipleship Catalyst Ministries — style.css
   Palette: deep navy / liturgical gold / warm cream
   ============================================================ */

:root {
  --navy: #16243d;
  --navy-2: #1e3054;
  --navy-3: #2a4070;
  --gold: #c19a3d;
  --gold-light: #d9b862;
  --cream: #faf7f1;
  --white: #ffffff;
  --ink: #26303f;
  --stone: #5f6b7a;
  --line: #e5dfd2;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(22, 36, 61, 0.10);
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
}

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

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; }

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin-bottom: 0.75rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }

a { color: var(--navy-3); }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }

section { padding: 72px 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-intro { max-width: 760px; margin: 0 auto 2.5rem; text-align: center; }
.section-intro p { color: var(--stone); }

.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: var(--font-body);
}

.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-outline { border-color: var(--white); color: var(--white); background: transparent; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }

.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-3); transform: translateY(-1px); }

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

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

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

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 52px; width: auto; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  line-height: 1.15;
}

.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.94rem;
}
.main-nav a:hover { color: var(--gold); }
.main-nav a.active { color: var(--gold); }
.main-nav .btn { padding: 10px 22px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.7rem;
  color: var(--navy);
  cursor: pointer;
}

/* ---------- Hero ----------
   Lighthouse at dusk with cross. Dusk-toned overlay: lighter at the
   top (sky/beacon), deeper at the base — keeps the light visible. */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(13, 22, 40, 0.45) 0%, rgba(13, 22, 40, 0.72) 100%),
    url("images/lighthouse-cross-hero.jpg") center/cover no-repeat;
  padding: 90px 0;
}

.scripture {
  font-family: var(--font-head);
  font-style: italic;
  color: var(--gold-light);
  font-size: 1.05rem;
  margin-top: 1.6rem;
}
.scripture .ref { font-family: var(--font-body); font-style: normal; font-size: 0.85rem; opacity: 0.85; letter-spacing: 0.06em; }

.hero-inner { max-width: 780px; }
.hero h1 { color: var(--white); margin: 0.4rem 0 1rem; }
.hero .eyebrow { color: var(--gold-light); }
.hero p.sub {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.2rem;
  max-width: 620px;
  margin-bottom: 2rem;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* Page hero (interior pages) */
/* Default interior hero: lantern line — pages override inline */
.page-hero {
  background: linear-gradient(rgba(22, 36, 61, 0.74), rgba(22, 36, 61, 0.74)),
    url("images/lantern-line.jpg") center/cover no-repeat;
  padding: 72px 0;
  text-align: center;
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255, 255, 255, 0.9); max-width: 680px; margin: 0.8rem auto 0; font-size: 1.15rem; }
.page-hero .eyebrow { color: var(--gold-light); }

/* ---------- Bands ---------- */
.band-cream { background: var(--cream); }
.band-navy { background: var(--navy); }
.band-navy h2, .band-navy h3 { color: var(--white); }
.band-navy p, .band-navy li { color: rgba(255, 255, 255, 0.88); }

/* ---------- Two-column split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card img { height: 210px; object-fit: cover; width: 100%; }
.card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.card-body p { color: var(--stone); font-size: 0.97rem; flex: 1; }
.card-body .btn { align-self: flex-start; margin-top: 0.6rem; }

/* ---------- Deployment / 50-30-20 ---------- */
.deploy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 2rem; }

.deploy {
  background: var(--white);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}
.deploy .pct {
  font-family: var(--font-head);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.deploy h3 { margin: 0.6rem 0 0.4rem; }
.deploy p, .deploy li { color: var(--stone); font-size: 0.96rem; }
.deploy ul { padding-left: 1.1rem; margin-bottom: 0.6rem; }
.deploy .tagline { font-weight: 700; color: var(--navy); }

/* ---------- Giving tiers ---------- */
.tier-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin: 2rem 0; }

.tier {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  text-align: center;
}
.tier.featured { border: 2px solid var(--gold); position: relative; }
.tier.featured::before {
  content: "Most Impact";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 20px;
  white-space: nowrap;
}
.tier h3 { font-size: 1.15rem; }
.tier .amount {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0.4rem 0;
}
.tier .amount span { font-size: 0.95rem; font-family: var(--font-body); font-weight: 600; color: var(--stone); }
.tier p { color: var(--stone); font-size: 0.92rem; flex: 1; }
.tier .btn { margin-top: 0.8rem; }

/* ---------- Numbered features ---------- */
.numbered { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 2rem; }
.numbered .item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px;
  border: 1px solid var(--line);
}
.numbered .num {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
}
.numbered .item p, .numbered .item li { color: var(--stone); font-size: 0.96rem; }
.numbered .item ul { padding-left: 1.1rem; }

/* ---------- Pull quote ---------- */
.pullquote {
  background: linear-gradient(rgba(22, 36, 61, 0.78), rgba(22, 36, 61, 0.78)),
    url("images/lighthouse-crosses.jpg") center/cover no-repeat;
  text-align: center;
  padding: 90px 0;
}
.pullquote blockquote {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--white);
  max-width: 860px;
  margin: 0 auto;
  font-style: italic;
}

/* ---------- Trust block ---------- */
.trust {
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  background: var(--cream);
  border-radius: var(--radius);
  padding: 30px 34px;
}
.trust p { margin-bottom: 0.6rem; }
.trust .fine { font-size: 0.9rem; color: var(--stone); }

/* ---------- Leadership ---------- */
.leader-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 2rem; }
.leader {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  align-items: start;
}
.leader img { width: 180px; height: 200px; object-fit: cover; border-radius: 8px; }
.leader .role { color: var(--gold); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }
.leader p { font-size: 0.95rem; color: var(--stone); margin-bottom: 0; }

/* ---------- FAQ ---------- */
.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 12px;
  background: var(--white);
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 16px 20px;
  color: var(--navy);
  list-style: none;
}
.faq summary::after { content: "+"; float: right; color: var(--gold); font-size: 1.2rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 16px; color: var(--stone); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }

label { font-weight: 600; font-size: 0.9rem; color: var(--navy); display: block; margin-bottom: 5px; }
label .req { color: #a13c2f; }

input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfd6df;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
  color: var(--ink);
}
input[type="radio"], input[type="checkbox"] { width: auto; margin-right: 8px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
textarea { min-height: 120px; resize: vertical; }

.choice-row { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.choice-row label { font-weight: 400; display: inline-flex; align-items: center; margin-bottom: 0; }

.form-note { font-size: 0.85rem; color: var(--stone); }

.form-status { display: none; padding: 14px 18px; border-radius: 6px; margin-top: 14px; font-weight: 600; }
.form-status.ok { display: block; background: #e8f4e5; color: #2c5e26; }
.form-status.err { display: block; background: #fbe9e7; color: #a13c2f; }

/* Application form sections */
.app-section {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 34px;
  margin-bottom: 26px;
  box-shadow: var(--shadow);
}
.app-section h3 {
  border-bottom: 2px solid var(--gold);
  padding-bottom: 10px;
  margin-bottom: 20px;
  font-size: 1.2rem;
}
.app-section .q { margin-bottom: 20px; }
.app-section .hint { font-size: 0.86rem; color: var(--stone); margin: -2px 0 8px; }

/* ---------- Email capture ---------- */
.capture { background: var(--navy-2); }
.capture h2 { color: var(--white); }
.capture p { color: rgba(255, 255, 255, 0.85); }
.capture form { display: flex; gap: 12px; max-width: 560px; margin: 1.4rem auto 0; flex-wrap: wrap; justify-content: center; }
.capture input { flex: 1; min-width: 200px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(rgba(22, 36, 61, 0.80), rgba(22, 36, 61, 0.80)),
    url("images/lighthouse-cross-redtop.jpg") center/cover no-repeat;
  text-align: center;
  padding: 84px 0;
}

/* Beacon divider — lighthouse-beam accent between major sections */
.beacon-divider {
  height: 4px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 50%, transparent 100%);
  opacity: 0.7;
}
.cta-banner h2 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.6rem); }
.cta-banner p { color: rgba(255, 255, 255, 0.9); max-width: 640px; margin: 0.8rem auto 1.6rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.85); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
.site-footer h4 { color: var(--white); margin-bottom: 0.8rem; font-size: 1.05rem; }
.site-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 22px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
}
.footer-legal p { margin-bottom: 6px; }

/* ---------- Utility ---------- */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mb-1 { margin-bottom: 1rem; }
.gold-rule { width: 64px; height: 3px; background: var(--gold); border: 0; margin: 0 0 1.4rem; }
.gold-rule.centered { margin: 0 auto 1.4rem; }

.checklist { list-style: none; margin: 0 0 1rem; }
.checklist li { padding-left: 1.7rem; position: relative; margin-bottom: 0.6rem; }
.checklist li::before { content: "✦"; color: var(--gold); position: absolute; left: 0; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .card-grid, .deploy-grid { grid-template-columns: 1fr 1fr; }
  .tier-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .leader-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
    gap: 16px;
    align-items: flex-start;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .card-grid, .deploy-grid, .tier-grid, .numbered { grid-template-columns: 1fr; }
  .leader { grid-template-columns: 1fr; }
  .leader img { width: 100%; height: 260px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
  .app-section { padding: 22px 20px; }
}
