/* ══════════════════════════════════════
   GOOD GIFT FOUNDATION — styles.css
   ══════════════════════════════════════ */

:root {
  --bg:         #3B0A1A;
  --bg-dark:    #2A0612;
  --bg-deeper:  #1E0410;
  --red:        #C0284E;
  --red-dim:    rgba(220,80,110,0.85);
  --divider:    rgba(255,255,255,0.07);
  --divider-r:  rgba(192,40,78,0.2);
  --text:       #F0E4E8;
  --text-mid:   rgba(240,228,232,0.88);
  --text-dim:   rgba(240,228,232,0.72);
  --white:      #ffffff;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

/* ── SCROLL OFFSET for sticky nav ── */
#ministries, #evangelism, #biblestudy, #podcast, #donate {
  scroll-margin-top: 66px;
}

/* ══ NAV ══ */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(42,6,18,0.97);
  border-bottom: 1px solid var(--divider-r);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 54px;
  backdrop-filter: blur(10px);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-logo { height: 32px; width: auto; display: block; }

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.06em;
}

.nav-brand-sub {
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--red);
}

.nav-links {
  display: flex;
  gap: 0.2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240,228,232,0.82);
  text-decoration: none;
  padding: 0.4rem 0.85rem;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-burger span { display: block; width: 22px; height: 1.5px; background: var(--text-mid); }

/* ══ MOBILE MENU ══ */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--divider-r);
  position: sticky;
  top: 54px;
  z-index: 199;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(240,228,232,0.92);
  text-decoration: none;
  padding: 0.9rem 2rem;
  border-bottom: 1px solid var(--divider);
}

.mobile-menu a:hover { color: var(--text); }

/* ══ HERO ══ */
.hero {
  width: 100%;
  position: relative;
  line-height: 0;
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 30%;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

/* ══ FOUNDATION BAR ══ */
.foundation-bar {
  background: var(--bg-dark);
  border-bottom: 1px solid var(--divider-r);
  padding: 1.1rem 2rem;
  text-align: center;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240,228,232,0.85);
}

.foundation-bar strong { color: var(--red); font-weight: 600; }

/* ══ SECTION DIVIDER ══ */
.sec-divider {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 2.75rem;
}

.sec-divider img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
  mix-blend-mode: screen;
  opacity: 0.92;
}

.sec-divider-label {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.2rem;
  opacity: 0.85;
}

.sec-divider-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
}

/* ══ MINISTRIES ══ */
.ministries {
  max-width: 780px;
  margin: 0 auto;
  padding: 5rem 2rem;
}

.min-row {
  display: block;
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--divider);
}

.min-row:first-of-type { border-top: 1px solid var(--divider); }

.min-num {
  display: none;
}

.min-title-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.25rem;
  flex-wrap: wrap;
}

.min-icon { font-size: 1rem; line-height: 1; }

.min-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: var(--white);
  text-transform: uppercase;
}

.min-verse {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #E8607A;
  font-style: italic;
  margin-bottom: 0.5rem;
  opacity: 1;
}

.min-goal {
  font-family: 'Montserrat', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 0.8rem;
  color: rgba(240,228,232,0.92);
  margin-bottom: 0.6rem;
  line-height: 1.55;
}

.min-detail {
  font-size: 0.8rem;
  color: rgba(240,228,232,0.82);
  line-height: 1.85;
}

.min-detail ul {
  list-style: none;
  margin-top: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.min-detail ul li::before {
  content: '—';
  color: var(--red);
  margin-right: 0.5rem;
  opacity: 0.5;
}

/* ══ EVANGELISM ══ */
.evang-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

.evang-inner {
  border: 1px solid var(--divider);
  border-left: 2px solid var(--red);
  background: var(--bg-dark);
  padding: 2rem;
}

.evang-verse {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #E8607A;
  font-style: italic;
  margin-bottom: 0.5rem;
  opacity: 1;
}

.evang-goal {
  font-family: 'Montserrat', sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 0.8rem;
  color: rgba(240,228,232,0.92);
  margin-bottom: 1rem;
}

.evang-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.etag {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--divider-r);
  padding: 0.3rem 0.8rem;
  font-size: 0.68rem;
  font-weight: 500;
  color: rgba(240,228,232,0.85);
  letter-spacing: 0.06em;
}

/* ══ PODCAST ══ */
.podcast-block {
  background: var(--bg-dark);
  border-top: 1px solid var(--divider-r);
  border-bottom: 1px solid var(--divider-r);
  padding: 4rem 2rem;
}

.podcast-inner {
  max-width: 780px;
  margin: 0 auto;
}

.podcast-sub {
  font-size: 0.78rem;
  color: rgba(240,228,232,0.85);
  margin-bottom: 1.75rem;
  letter-spacing: 0.04em;
  max-width: 480px;
}

/* ══ DONATE ══ */
.donate-block {
  background: var(--bg-deeper);
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}

.donate-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 65% at 50% 50%, rgba(125,32,64,0.35) 0%, transparent 70%);
  pointer-events: none;
}

.donate-inner {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
}

.donate-verse {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(240,228,232,0.92);
  max-width: 520px;
  margin: 0 0 0.65rem;
  line-height: 1.85;
}

.donate-ref {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 2rem;
  opacity: 0.8;
  display: block;
}

/* ══ BUTTONS ══ */
.btn-red {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9rem 2.5rem;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-red:hover { background: #d4305a; transform: translateY(-2px); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: rgba(240,228,232,0.92);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.9rem 2.5rem;
  border: 1px solid var(--divider-r);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
}

.btn-outline:hover { border-color: var(--red); color: var(--text); transform: translateY(-2px); }

/* ══ FOOTER ══ */
footer {
  background: var(--bg-dark);
  border-top: 1px solid var(--divider-r);
  padding: 2.5rem 2rem;
  text-align: center;
}

.footer-logo {
  width: 44px;
  margin: 0 auto 0.9rem;
  display: block;
  mix-blend-mode: screen;
  opacity: 0.4;
}

.footer-text {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240,228,232,0.75);
  line-height: 2.2;
}

.footer-text a { color: var(--red-dim); text-decoration: none; transition: color 0.2s; }
.footer-text a:hover { color: var(--red); }

.footer-copy {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--divider);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: rgba(240,228,232,0.55);
}

/* ══ SCRIPTURE TOOLTIPS ══ */
.scripture-ref {
  color: #E8607A;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-style: italic;
  cursor: pointer;
  border-bottom: 1px dotted rgba(232,96,122,0.55);
  white-space: nowrap;
  position: relative;
}

.scripture-ref:hover { opacity: 0.85; }

.scripture-tooltip {
  position: fixed;
  z-index: 9999;
  background: #1E0410;
  border: 1px solid rgba(192,40,78,0.35);
  border-left: 3px solid var(--red);
  padding: 1rem 1.25rem;
  max-width: 320px;
  min-width: 220px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease;
}

@media (max-width: 600px) {
  .scripture-tooltip {
    position: fixed;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    max-width: calc(100vw - 40px);
    min-width: 260px;
    z-index: 10000;
    box-shadow: 0 0 0 100vmax rgba(0,0,0,0.45), 0 8px 32px rgba(0,0,0,0.8);
  }
}

.scripture-tooltip.visible { opacity: 1; pointer-events: auto; }

.scripture-tooltip-ref {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #E8607A;
  margin-bottom: 0.5rem;
}

.scripture-tooltip-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(240,228,232,0.95);
  line-height: 1.65;
}

.scripture-tooltip-link {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #E8607A;
  text-decoration: none;
  border-bottom: 1px solid rgba(232,96,122,0.4);
  padding-bottom: 1px;
  pointer-events: auto;
}

.scripture-tooltip-link:hover { color: #e0406a; }

/* ══ REVEAL ANIMATION ══ */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
  .reveal.on { opacity: 1; transform: none; }
}


/* ══ BIBLE STUDY SECTION ══ */
.biblestudy-block {
  background: var(--bg-dark);
  border-top: 1px solid var(--divider-r);
  border-bottom: 1px solid var(--divider-r);
  padding: 5rem 2rem;
}

.biblestudy-inner {
  max-width: 780px;
  margin: 0 auto;
}

.bs-card {
  background: var(--bg);
  border: 1px solid var(--divider);
  border-top: 2px solid var(--red);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.bs-card:last-child { margin-bottom: 0; }

.bs-day-header {
  background: rgba(192,40,78,0.12);
  border-bottom: 1px solid var(--divider-r);
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.bs-day-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.08em;
}

.bs-day-location {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--red);
  text-transform: uppercase;
}

.bs-sessions {
  padding: 0.5rem 0;
}

.bs-session-row {
  display: grid;
  grid-template-columns: 175px 1fr;
  gap: 0 1.25rem;
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid var(--divider);
  align-items: start;
  transition: background 0.15s;
}

.bs-session-row:last-child { border-bottom: none; }
.bs-session-row:hover { background: rgba(255,255,255,0.02); }

.bs-time {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(240,228,232,0.92);
  padding-top: 2px;
  white-space: nowrap;
}

.bs-session-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.35;
}

.bs-session-loc {
  font-size: 0.72rem;
  color: var(--red);
  font-weight: 500;
  margin-top: 0.2rem;
  letter-spacing: 0.04em;
}

.bs-session-note {
  font-size: 0.7rem;
  color: rgba(240,228,232,0.8);
  margin-top: 0.2rem;
}


.bs-day-loc-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.bs-day-address {
  font-size: 0.65rem;
  font-weight: 500;
  color: #E0607A;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}

.bs-day-address:hover { color: #ff8099; text-decoration: underline; }

.bs-loc-link {
  font-size: 0.72rem;
  font-weight: 500;
  color: #E0607A;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
  display: block;
}

.bs-loc-link:hover { color: #ff8099; text-decoration: underline; }

.bs-loc-address {
  display: block;
  font-size: 0.65rem;
  color: var(--text-dim);
  margin-top: 0.1rem;
  letter-spacing: 0.03em;
}

.bs-session-loc-name {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(240,228,232,0.88);
  margin-bottom: 0.1rem;
}

/* ══ RESPONSIVE ══ */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-brand-text { display: flex; }
  .nav-brand-name { font-size: 0.85rem; }
  .nav-brand-sub { font-size: 0.42rem; letter-spacing: 0.25em; }
  .nav-logo { height: 26px; }
  .min-num { display: none; }
  .evang-inner { padding: 1.5rem; }
  .ministries, .evang-wrap { padding-left: 1.25rem; padding-right: 1.25rem; }
  .sec-divider img { width: 42px; height: 42px; }
  .sec-divider-title { font-size: 1.4rem; }
  .donate-block { padding: 4rem 1.25rem; }
  .bs-session-row { grid-template-columns: 1fr; gap: 0.2rem; }
  .bs-time { font-size: 0.68rem; }
  .bs-day-header { padding: 0.75rem 1rem; }
  .bs-session-row { padding: 0.75rem 1rem; }
}

/* ══ WHAT WE DO ══ */
.whoweare-block {
  background: var(--bg-dark);
  border-bottom: 1px solid var(--divider-r);
  padding: 4.5rem 2rem;
}

.whoweare-inner {
  max-width: 780px;
  margin: 0 auto;
}

/* Two-column layout: image left, text right */
.whoweare-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2.5rem;
  align-items: center;
}

.whoweare-img-wrap {
  flex-shrink: 0;
}

.whoweare-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center 60%;
  display: block;
  border: 1px solid rgba(192,40,78,0.25);
}

.whoweare-text-wrap {
  /* nothing needed */
}

.whoweare-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 400;
  font-style: normal;
  color: rgba(240,228,232,0.92);
  line-height: 1.85;
  border-left: 3px solid var(--red);
  padding-left: 1.5rem;
  margin: 0;
}

@media (max-width: 600px) {
  .whoweare-layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .whoweare-img {
    height: 130px;
    object-position: center 60%;
    width: 100%;
  }
}
