/*
Theme Name: Nonprofit Faith
Version: 2.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --navy:      #0D1B2A;
  --navy-mid:  #152338;
  --navy-light:#1E3A5F;
  --gold:      #C9A227;
  --gold-light:#E8C84A;
  --gold-pale: #F5EDD4;
  --warm-white:#FAF8F4;
  --white:     #FFFFFF;
  --text:      #1A1A2E;
  --text-mid:  #4A4A6A;
  --text-muted:#7A7A9A;
  --border:    #E8E4DC;
  --shadow:    rgba(13,27,42,0.08);
  --shadow-lg: rgba(13,27,42,0.16);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--warm-white);
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}

a { color: var(--navy); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }

/* ── SITE HEADER ─────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13,27,42,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201,162,39,0.2);
  padding: 0;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-brand { display: flex; flex-direction: column; gap: 1px; }
.site-name {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
}
.site-tagline {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}
.header-nav { display: flex; align-items: center; gap: 32px; }
.header-nav a {
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.header-nav a:hover { color: var(--gold); }
.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 9px 22px !important;
  border-radius: 4px !important;
  font-weight: 600 !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.06em !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--gold-light) !important; color: var(--navy) !important; }

/* ── MISSION STRIP ───────────────────────────── */
.mission-strip {
  background: var(--gold);
  padding: 10px 32px;
  margin-top: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.mission-strip span {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.mission-dot {
  width: 4px; height: 4px;
  background: var(--navy);
  border-radius: 50%;
  opacity: 0.4;
}

/* ── HERO ────────────────────────────────────── */
.hero {
  background: var(--navy);
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 32px 60px;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(201,162,39,0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(201,162,39,0.04) 0%, transparent 40%),
    linear-gradient(135deg, rgba(30,58,95,0.5) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,162,39,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,162,39,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}
.eyebrow-line {
  width: 40px; height: 2px;
  background: var(--gold);
}
.eyebrow-text {
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 780px;
  font-weight: 700;
}
.hero h1 em {
  color: var(--gold);
  font-style: italic;
}
.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  margin-bottom: 48px;
  line-height: 1.7;
  font-weight: 300;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--navy);
  padding: 16px 32px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all 0.2s;
  border: 2px solid var(--gold);
}
.btn-hero-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy);
  transform: translateY(-1px);
}
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: rgba(255,255,255,0.85);
  padding: 16px 32px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255,255,255,0.25);
  transition: all 0.2s;
}
.btn-hero-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.stat-item {}
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── LEAD MAGNET SECTION ─────────────────────── */
.lead-section {
  background: var(--white);
  padding: 80px 32px;
}
.lead-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.lead-content h2 { font-size: 38px; margin-bottom: 16px; }
.lead-content p {
  color: var(--text-mid);
  font-size: 16px;
  margin-bottom: 32px;
  line-height: 1.8;
}
.lead-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}
.lead-feature-icon {
  width: 32px; height: 32px;
  background: var(--gold-pale);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}
.lead-feature-text {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
}
.lead-feature-text strong { color: var(--text); }

.lead-form-card {
  background: var(--navy);
  border-radius: 12px;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}
.lead-form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
}
.lead-form-card h3 {
  color: var(--white);
  font-size: 24px;
  margin-bottom: 8px;
}
.lead-form-card p {
  color: rgba(255,255,255,0.55);
  font-size: 14px;
  margin-bottom: 28px;
}
.form-field { margin-bottom: 14px; }
.form-field input {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  padding: 13px 16px;
  font-size: 14px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s;
}
.form-field input::placeholder { color: rgba(255,255,255,0.3); }
.form-field input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,0.08);
}
.btn-submit {
  width: 100%;
  background: var(--gold);
  color: var(--navy);
  padding: 15px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  margin-top: 4px;
  transition: background 0.2s;
  font-family: 'Inter', sans-serif;
}
.btn-submit:hover { background: var(--gold-light); }
.form-privacy {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  text-align: center;
  margin-top: 12px;
}

/* ── SECTION HEADER ──────────────────────────── */
.section-header {
  max-width: 1200px;
  margin: 0 auto 48px;
  padding: 0 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.section-eyebrow {
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px; height: 2px;
  background: var(--gold);
}
.section-title { font-size: 36px; }
.section-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  padding-bottom: 4px;
}

/* ── ARTICLE SECTION ─────────────────────────── */
.articles-section {
  background: var(--warm-white);
  padding: 80px 0;
}
.articles-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.article-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.25s;
  position: relative;
}
.article-card::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transition: transform 0.25s;
  transform-origin: bottom;
}
.article-card:hover {
  box-shadow: 0 12px 40px var(--shadow-lg);
  transform: translateY(-4px);
  border-color: transparent;
}
.article-card:hover::after { transform: scaleY(1); }
.card-thumb {
  height: 200px;
  overflow: hidden;
  background: var(--navy);
}
.card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.25s, transform 0.25s;
}
.article-card:hover .card-thumb img {
  opacity: 1;
  transform: scale(1.03);
}
.card-body { padding: 24px; }
.card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.card-category {
  display: inline-block;
  padding: 3px 10px;
  background: var(--gold-pale);
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
}
.card-date {
  font-size: 11px;
  color: var(--text-muted);
}
.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.35;
  transition: color 0.2s;
}
.article-card:hover .card-title { color: var(--gold); }
.card-excerpt {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 20px;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.read-more {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.read-time {
  font-size: 11px;
  color: var(--text-muted);
}

/* ── FEATURED RESOURCE ───────────────────────── */
.featured-section {
  background: var(--navy);
  padding: 80px 32px;
  position: relative;
  overflow: hidden;
}
.featured-section::before {
  content: '';
  position: absolute;
  right: -100px; top: -100px;
  width: 500px; height: 500px;
  border: 1px solid rgba(201,162,39,0.1);
  border-radius: 50%;
}
.featured-section::after {
  content: '';
  position: absolute;
  right: -50px; top: -50px;
  width: 300px; height: 300px;
  border: 1px solid rgba(201,162,39,0.08);
  border-radius: 50%;
}
.featured-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.featured-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.featured-label::before {
  content: '';
  width: 32px; height: 2px;
  background: var(--gold);
}
.featured-inner h2 {
  color: var(--white);
  font-size: 40px;
  margin-bottom: 20px;
}
.featured-inner p {
  color: rgba(255,255,255,0.6);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 36px;
}
.featured-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,162,39,0.2);
  border-radius: 12px;
  padding: 40px;
}
.featured-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--white);
  margin-bottom: 16px;
}
.featured-list {
  list-style: none;
  margin-bottom: 28px;
}
.featured-list li {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  gap: 10px;
}
.featured-list li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── DONATION ────────────────────────────────── */
.donate-section {
  background: var(--warm-white);
  padding: 80px 32px;
  text-align: center;
}
.donate-inner { max-width: 640px; margin: 0 auto; }
.donate-section h2 { font-size: 38px; margin-bottom: 16px; }
.donate-section p {
  color: var(--text-mid);
  font-size: 16px;
  margin-bottom: 36px;
  line-height: 1.8;
}
.donate-amounts {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.donate-amount {
  padding: 10px 24px;
  border: 2px solid var(--border);
  border-radius: 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  transition: all 0.15s;
  background: var(--white);
}
.donate-amount:hover, .donate-amount.active {
  border-color: var(--gold);
  color: var(--navy);
  background: var(--gold-pale);
}
.btn-donate {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  padding: 16px 48px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 0.2s;
}
.btn-donate:hover {
  background: var(--navy-light);
  color: var(--white);
  transform: translateY(-1px);
}

/* ── FOOTER ──────────────────────────────────── */
.site-footer {
  background: var(--navy);
  padding: 64px 32px 32px;
  border-top: 1px solid rgba(201,162,39,0.15);
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 32px;
}
.footer-brand .site-name { font-size: 22px; margin-bottom: 12px; }
.footer-brand p {
  color: rgba(255,255,255,0.45);
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
}
.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.45);
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-ein {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}
.footer-legal {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}
