/* =========================================================
   New Life Missionary Fund — static site styles
   Palette:  --ink (charcoal navy) / --parchment (warm ivory)
             --evergreen (deep green) / --gold (warm accent)
   Type:     Fraunces (display) + Inter (body/utility)
   Signature: hand-drawn "harvest line" divider (wheat stalks),
              a nod to Matthew 9:36-38 ("the harvest is plentiful")
   ========================================================= */

:root {
  --ink: #1c2b28;
  --parchment: #f6f1e7;
  --parchment-dim: #efe8d8;
  --evergreen: #2f4b3c;
  --evergreen-dark: #203329;
  --gold: #b98d3e;
  --gold-light: #d9b06a;
  --white: #ffffff;
  --muted: #5c6a63;

  --font-display: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-copy: "PT Serif", Georgia, serif;

  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 18px; }

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

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

a { color: inherit; }

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

/* ---------- Utility label ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--parchment);
  border-bottom: 1px solid rgba(28, 43, 40, 0.08);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
}

.brand img { height: 40px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 28px; }

.site-nav a {
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
}

.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.site-nav a:not(.btn):hover::after { transform: scaleX(1); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 13px 30px;
  border-radius: 4px;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-give {
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
}

.btn-give:hover {
  background: var(--ink);
  color: var(--parchment);
  transform: none;
  box-shadow: none;
}

.btn-give--bright {
  background: #f1cb90;
  border: 1.5px solid var(--gold);
  color: var(--ink);
}

.btn-give--bright:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  padding: 11px 28px;
}

.btn-outline:hover { background: var(--ink); color: var(--parchment); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  width: 100%;
  padding-top: 35.9%; /* matches banner image's true aspect ratio (908 / 2528) */
  background-color: #ffffff;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: url("../images/nlmf_new_banner_tinted.jpg");
  background-size: cover;
  background-position: center;
}

.hero-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 24px;
}

.hero-logo-link { display: inline-block; }

.hero-logo {
  height: auto;
  width: 100%;
  max-width: 480px;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.18));
}

/* ---------- Harvest line divider (signature element) ---------- */
.harvest-line {
  display: block;
  width: 100%;
  height: 34px;
  margin: 0 auto;
}

.harvest-line--dark { color: var(--evergreen); }
.harvest-line--light { color: var(--parchment); opacity: 0.55; }

/* ---------- Scripture block ---------- */
.scripture {
  background: #f1cb90;
  padding: 56px 0;
  text-align: center;
}

.scripture blockquote {
  margin: 0 auto;
  max-width: 760px;
  font-family: var(--font-copy);
  font-style: normal;
  font-weight: 400;
  font-size: clamp(0.9rem, 1.8vw, 1.2rem);
  line-height: 1.5;
  color: var(--ink);
}

.scripture cite {
  display: block;
  margin-top: 20px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--evergreen);
}

/* ---------- Card grid (Vision above Passion/Role/Dream) ---------- */
.card-grid {
  padding: 70px 0;
}

.vision-row {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

/* Vision card is exactly 2x the width of one card in the 3-col row below:
   (2 col-widths + 1 gap) out of (3 col-widths + 2 gaps) */
.info-card--vision {
  width: calc((100% - 2 * 32px) * 2 / 3 + 32px);
}

.info-card--vision p {
  text-align: center;
}

.card-row-three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.info-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0;
  padding: 16px 30px;
  text-align: center;
  background: var(--gold-light);
  color: var(--ink);
  border-radius: 4px 4px 0 0;
}

.info-card p {
  margin: 0;
  padding: 30px;
  background: var(--parchment-dim);
  border-radius: 0 0 4px 4px;
  font-family: var(--font-copy);
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--ink);
  text-align: center;
}

.info-card p strong {
  font-style: italic;
  font-weight: 600;
}

/* ---------- Video section ---------- */
.video-section {
  background: var(--parchment-dim);
  padding: 70px 0;
  text-align: center;
}

.video-heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--evergreen);
  margin: 0 0 40px;
}

.video-frame {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding-top: 45%;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Give section ---------- */
.give-section {
  padding: 90px 0;
  text-align: center;
}

.give-section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  max-width: 900px;
  margin: 0 auto 48px;
  color: var(--evergreen);
}

.give-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 940px;
  margin: 0 auto;
  text-align: left;
}

.give-card {
  background: var(--white);
  border: 1px solid rgba(28, 43, 40, 0.1);
  border-radius: 8px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.give-card .eyebrow { color: var(--gold); }

.give-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0;
  color: var(--ink);
}

.give-card p,
.give-card address {
  margin: 0;
  font-family: var(--font-copy);
  font-style: normal;
  color: var(--muted);
  line-height: 1.6;
  font-size: 1.05rem;
}

.give-card .btn { align-self: center; margin-top: 6px; }

/* ---------- Contact page ---------- */
.contact-section {
  padding: 35px 0 100px;
  text-align: center;
}

.contact-heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--evergreen);
  margin: 0 0 40px;
}

.contact-card--single {
  max-width: 620px;
  margin: 0 auto;
}

.contact-card {
  background: var(--white);
  border: 1px solid rgba(28, 43, 40, 0.1);
  border-radius: 8px;
  padding: 44px;
  text-align: center;
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 20px;
  color: var(--evergreen);
}

.contact-intro {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1.05rem;
}

.contact-rows {
  display: inline-grid;
  grid-template-columns: auto auto;
  column-gap: 12px;
  row-gap: 10px;
  margin-top: 10px;
  text-align: left;
}

.contact-label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  align-self: center;
}

.contact-value {
  font-family: var(--font-copy);
  color: var(--ink);
  align-self: center;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #000000;
  color: rgba(246, 241, 231, 0.7);
  padding: 40px 0;
  text-align: center;
  font-size: 0.85rem;
}

.site-footer a { color: var(--gold-light); text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .site-nav { gap: 16px; }
  .card-row-three { grid-template-columns: 1fr; gap: 24px; }
  .info-card--vision { width: 100%; }
  .give-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 70%; }
}

@media (max-width: 600px) {
  .site-header .wrap {
    flex-direction: column;
    gap: 12px;
    padding-top: 14px;
    padding-bottom: 14px;
  }
  .site-nav {
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
  }
  .site-nav a { font-size: 0.95rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn-give:hover { transform: none; }
}

/* ---------- Keyboard focus ---------- */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
