
/* ============================================================
   Self-hosted fonts -- eliminates Google Fonts network dependency
   Files served from /fonts/ folder on same origin
   ============================================================ */

/* EB Garamond */
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/eb-garamond-v32-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/eb-garamond-v32-latin-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/eb-garamond-v32-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/eb-garamond-v32-latin-500italic.woff2') format('woff2');
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/eb-garamond-v32-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/eb-garamond-v32-latin-600italic.woff2') format('woff2');
}

/* Lato */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/lato-v25-latin-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/lato-v25-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/lato-v25-latin-700.woff2') format('woff2');
}

/* ============================================================
   McConnell Road Baptist Church — Main Stylesheet
   Colors: Navy #1B2D6B | Gold #B8922A | Cream #F8F4EE
   Fonts: EB Garamond (headings) | Lato (body)
   ============================================================ */

:root {
  --navy:       #1B2D6B;
  --navy-dark:  #111E4A;
  --navy-light: #2C4190;
  --gold:       #B8922A;   /* decorative use only - fails AA on white */
  --gold-text:  #8B6914;   /* AA-compliant gold for text on white (5.09:1) */
  --gold-light: #D4AF5A;
  --gold-pale:  #F5EDD8;
  --cream:      #F8F4EE;
  --cream-dark: #EDE7DA;
  --white:      #FFFFFF;
  --text-dark:  #1A1A1A;
  --text-mid:   #444444;
  --text-light: #777777;
  --border:     #D9D0C0;
  --header-h:   90px;
  --radius:     6px;
  --shadow:     0 2px 12px rgba(0,0,0,0.10);
  --transition: 0.25s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-dark);
  background: var(--white);
}

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

h1, h2, h3, h4 {
  font-family: 'EB Garamond', Georgia, serif;
  line-height: 1.25;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 500; }
h3 { font-size: 1.4rem; font-weight: 500; }
h4 { font-size: 1.1rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; font-family: 'Lato', sans-serif; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Layout Utilities ── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-alt { background: var(--cream); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3, .section-navy h4 { color: var(--white); }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { margin-bottom: 0.5rem; }
.section-header .rule {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 0.75rem auto 1rem;
  border-radius: 2px;
}
.section-header p { color: var(--text-mid); max-width: 600px; margin: 0 auto; }

/* ── HEADER ── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 3px solid var(--gold);
  height: var(--header-h);
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  object-position: center;
  background: transparent;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}
.logo-text { display: flex; flex-direction: column; }
.logo-top {
  font-family: 'EB Garamond', serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.1;
}
.logo-bottom {
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-text);
  line-height: 1.3;
}

/* NAV */
#main-nav > ul {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0; padding: 0;
}
#main-nav > ul > li { position: relative; }
#main-nav > ul > li > a {
  display: block;
  padding: 0.45rem 0.5rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--navy);
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}
#main-nav > ul > li > a:hover,
#main-nav > ul > li > a.active {
  color: var(--gold-text);
  background: var(--gold-pale);
}
.caret { font-size: 0.55rem; vertical-align: middle; margin-left: 2px; }

/* Dropdown — JS-controlled via .open class only, no CSS hover/focus-within */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  z-index: 1100;
  padding: 0.3rem 0;
}
.dropdown.open { display: block; }
.dropdown::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}
.dropdown li { list-style: none; }
.dropdown li a {
  display: block;
  padding: 0.55rem 1.1rem;
  font-size: 0.83rem;
  font-weight: 400;
  white-space: nowrap;
  color: var(--text-dark);
  transition: background var(--transition), color var(--transition);
}
.dropdown li a:hover { background: var(--cream); color: var(--navy); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  width: 36px;
  height: 36px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO SLIDER ── */
.hero {
  position: relative;
  contain: layout;
  height: calc(100vh - var(--header-h));
  min-height: 500px;
  max-height: 820px;
  margin-top: var(--header-h);
  overflow: hidden;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  will-change: opacity;
}
.slide.active { opacity: 1; }
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,20,50,0.25) 0%, rgba(10,20,50,0.65) 100%);
}
.slide-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  text-align: center;
  padding: 3rem 2rem 4rem;
  color: var(--white);
}
.slide-caption h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
  margin-bottom: 1rem;
}
.slide-caption .verse {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 1.2rem;
  opacity: 0.92;
}
.slider-controls {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.slider-dot {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Visual dot is smaller inside the larger touch target */
.slider-dot::after {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transition: background var(--transition), transform var(--transition);
}
.slider-dot.active::after { background: var(--gold); transform: scale(1.3); }
.slider-dot.active { background: transparent; }
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.4);
  color: white;
  font-size: 1.5rem;
  width: 46px; height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  z-index: 10;
}
.slider-arrow:hover { background: rgba(255,255,255,0.3); }
.slider-arrow.prev { left: 1.5rem; }
.slider-arrow.next { right: 1.5rem; }

/* ── SERVICE TIMES BANNER ── */
.times-banner {
  background: var(--navy);
  color: var(--white);
  padding: 1.5rem 2rem;
}
.times-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.5rem 1.5rem;
  text-align: center;
}
.times-item .time-name {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.times-item .time-val {
  font-family: 'EB Garamond', serif;
  font-size: 1.3rem;
  color: var(--white);
}
.times-item .time-day {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
}

/* ── WELCOME SECTION ── */
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.welcome-img { border-radius: var(--radius); overflow: hidden; }
.welcome-img img { width: 100%; height: 380px; object-fit: cover; }
.welcome-text h2 { margin-bottom: 0.5rem; }
.gold-rule {
  display: block;
  width: 50px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 0.75rem 0 1.25rem;
}
.btn {
  display: inline-block;
  will-change: transform;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  font-family: 'Lato', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: opacity var(--transition), transform var(--transition);
  text-decoration: none;
}
.btn-gold { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-light); border-color: var(--navy-light); color: var(--white); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }

/* ── CARDS ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.card:hover { transform: translateY(-4px); }

/* ── HERO CARDS (photo + overlay + icon) ── */
.hero-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition);
}
.hero-card:hover { transform: translateY(-4px); }

.hero-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(11, 20, 60, 0.82) 0%,
    rgba(11, 20, 60, 0.70) 50%,
    rgba(11, 20, 60, 0.78) 100%
  );
  z-index: 1;
}
.hero-card-body {
  position: relative;
  z-index: 2;
  padding: 2rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  justify-content: flex-end;
}
.hero-card-icon {
  font-size: 2.8rem;
  line-height: 1;
  margin-bottom: 0.75rem;
  opacity: 0.92;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.4));
}
.hero-card-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.4rem;
  border: 1px solid rgba(212, 175, 90, 0.5);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}
.hero-card h3 {
  color: var(--white);
  font-size: 1.55rem;
  margin-bottom: 0.6rem;
  line-height: 1.2;
}
.hero-card p {
  color: rgba(255,255,255,0.82);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.hero-card-btn {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
  font-size: 0.78rem;
  padding: 0.45rem 1.1rem;
  transition: background var(--transition), border-color var(--transition);
}
.hero-card-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
}
.card-img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 1.5rem; }
.card-body h3 { margin-bottom: 0.4rem; }
.card-body p { color: var(--text-mid); font-size: 0.95rem; }
.card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 0.5rem;
}

/* ── MISSIONS ── */
.mission-section-label {
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.mission-label-gold { color: var(--gold-text); }
.mission-label-navy { color: var(--navy); }

.missions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.mission-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.mission-card:hover { transform: translateY(-3px); }
.mission-card.local { border-top-color: var(--navy); }

.mission-card-header {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.25rem 1.5rem 1rem;
  border-bottom: 1px solid var(--border);
}
.mission-globe {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 0.2rem;
}
.mission-card.local .mission-globe { color: var(--navy); }
.mission-card-title h3 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.mission-card-title .location { font-size: 0.85rem; color: var(--text-light); }

.mission-card-body { padding: 1rem 1.5rem 1.25rem; }
.mission-ministry { font-size: 0.92rem; color: var(--text-mid); margin-bottom: 0.9rem; }
.mission-prayer {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
}
.prayer-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.mission-prayer p { font-size: 0.88rem; color: var(--text-mid); margin: 0; font-style: italic; }


.mission-bio {
  font-size: 0.92rem;
  color: var(--text-mid);
  margin-bottom: 0.85rem;
  line-height: 1.65;
}

/* "More Info" button on card */
.btn-learn-more {
  display: inline-block;
  margin-top: 1rem;
  background: none;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  border-radius: var(--radius);
  padding: 0.45rem 1rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.btn-learn-more:hover {
  background: var(--navy);
  color: var(--white);
}
.mission-card.local .btn-learn-more {
  border-color: var(--navy);
}

/* ── MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 50, 0.65);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: fadeInOverlay 0.2s ease;
}
.modal-overlay[hidden] { display: none; }

@keyframes fadeInOverlay {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 620px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  animation: slideUpModal 0.25s ease;
}

@keyframes slideUpModal {
  from { transform: translateY(24px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.modal-close {
  position: sticky;
  top: 0;
  float: right;
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--text-light);
  cursor: pointer;
  padding: 0.75rem 1rem 0;
  z-index: 10;
  transition: color var(--transition);
}
.modal-close:hover { color: var(--navy); }

.modal-header {
  background: var(--navy);
  padding: 2rem 2rem 1.5rem;
  border-radius: var(--radius) var(--radius) 0 0;
}
.modal-type-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.5rem;
}
.modal-header h2 {
  color: var(--white);
  font-size: 1.6rem;
  margin-bottom: 0.35rem;
}
.modal-location {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  margin: 0;
}

.modal-body {
  padding: 1.75rem 2rem 2rem;
}
.modal-bio {
  font-size: 0.97rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 0;
}
.modal-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 1.25rem 0;
}

/* Details grid */
.modal-details-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.modal-detail-row {
  display: flex;
  gap: 1rem;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}
.modal-detail-row:last-child { border-bottom: none; }
.modal-detail-row:nth-child(odd)  { background: var(--cream); }
.modal-detail-row:nth-child(even) { background: var(--white); }
.modal-detail-label {
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  min-width: 130px;
  flex-shrink: 0;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.modal-detail-val { color: var(--text-mid); }
.modal-detail-val a { color: var(--navy); font-weight: 700; }
.modal-detail-val a:hover { color: var(--gold); }

/* Birthdays */
.modal-birthdays {
  margin-bottom: 1.25rem;
  background: var(--gold-pale);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}
.modal-section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.modal-birthday-list { display: flex; flex-direction: column; gap: 0.4rem; }
.modal-birthday-item { display: flex; justify-content: space-between; font-size: 0.92rem; align-items: baseline; padding: 0.25rem 0; border-bottom: 1px solid rgba(0,0,0,0.05); }
.modal-birthday-item:last-child { border-bottom: none; }
.modal-birthday-item strong { color: var(--navy); }
.modal-birthday-item span { color: var(--text-mid); text-align: right; }

/* Prayer focus in modal */
.modal-prayer {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--gold);
}
.modal-prayer p { font-size: 0.92rem; color: var(--text-mid); margin: 0; font-style: italic; }

@media (max-width: 600px) {
  .modal-box { max-height: 95vh; border-radius: var(--radius) var(--radius) 0 0; }
  .modal-overlay { align-items: flex-end; padding: 0; }
  .modal-detail-label { min-width: 100px; }
  .modal-header { padding: 1.5rem 1.25rem 1.25rem; }
  .modal-body { padding: 1.25rem; }
}


/* ── WHO WE ARE ── */
.who-we-are-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}
.wwa-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem 1.75rem;
  box-shadow: var(--shadow);
}
.wwa-card-header {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}
.wwa-icon {
  color: var(--gold);
  font-size: 1rem;
  margin-top: 0.35rem;
  flex-shrink: 0;
}
.wwa-card h3 {
  font-size: 1.15rem;
  color: var(--navy);
  line-height: 1.3;
}
.wwa-intro {
  font-size: 0.95rem;
  color: var(--text-mid);
  margin-bottom: 0.75rem;
  font-style: italic;
}
.wwa-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.wwa-list li {
  font-size: 0.92rem;
  color: var(--text-mid);
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}
.wwa-list li::before {
  content: "–";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
.wwa-card > p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 720px) {
  .who-we-are-grid { grid-template-columns: 1fr; }
}

/* ── MINISTRY CARDS ── */
.ministry-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 2rem;
  border-top: 4px solid var(--gold);
}
.ministry-card h3 { margin-bottom: 1rem; color: var(--navy); }
.ministry-card ul { list-style: disc; padding-left: 1.4rem; }
.ministry-card ul li { padding: 0.2rem 0; color: var(--text-mid); font-size: 0.95rem; }

/* ── PAGE HERO BANNER ── */
.page-banner {
  margin-top: var(--header-h);
  background: var(--navy);
  padding: 4.5rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/page_banner_bg.jpg') center 35%/cover no-repeat;
  opacity: 0.22;
}
.page-banner-inner { position: relative; }
.page-banner h1 { color: var(--white); font-size: clamp(1.8rem, 3vw, 2.6rem); }
.page-banner .breadcrumb { color: rgba(255,255,255,0.6); font-size: 0.85rem; margin-top: 0.5rem; }
.page-banner .breadcrumb a { color: var(--gold-light); }

/* ── CONTACT FORM ── */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h3 { margin-bottom: 1rem; }
.contact-detail { display: flex; gap: 0.75rem; margin-bottom: 1.2rem; align-items: flex-start; }
.contact-detail-icon { font-size: 1.3rem; margin-top: 0.1rem; flex-shrink: 0; }
.contact-detail h4 { margin: 0 0 0.2rem; font-size: 0.82rem; }
.contact-detail p { font-size: 0.95rem; color: var(--text-mid); margin: 0; }

.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--navy); letter-spacing: 0.04em; text-transform: uppercase; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--navy); }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Form feedback */
.alert { padding: 0.9rem 1.2rem; border-radius: var(--radius); margin-bottom: 1.5rem; font-size: 0.95rem; }
.alert-success { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.alert-error { background: #fdecea; color: #c62828; border: 1px solid #ef9a9a; }

/* ── MAP EMBED ── */
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.map-wrap iframe { display: block; width: 100%; height: 320px; border: none; }

/* ── SCRIPTURE PULL QUOTE ── */
.scripture-block {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 4rem 2rem;
}
.scripture-block blockquote {
  font-family: 'EB Garamond', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.9rem);
  font-style: italic;
  max-width: 800px;
  margin: 0 auto 1rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.95);
}
.scripture-block cite {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--gold-light);
  letter-spacing: 0.08em;
}

/* ── SERVICE TIMES TABLE ── */
.times-table { width: 100%; border-collapse: collapse; }
.times-table th, .times-table td { padding: 0.9rem 1.2rem; text-align: left; border-bottom: 1px solid var(--border); }
.times-table th { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); background: var(--cream); }
.times-table tr:last-child td { border-bottom: none; }
.times-table .day-col { font-weight: 700; color: var(--navy); }

/* ── SALVATION PAGE ── */
.salvation-content h2 { margin-top: 2rem; margin-bottom: 0.75rem; }
.salvation-content h2:first-child { margin-top: 0; }
.salvation-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.salvation-content ul li { margin-bottom: 0.4rem; }


/* ── SALVATION / ROMANS ROAD ── */
.romans-step {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.romans-step:last-of-type { border-bottom: none; }

.romans-ref {
  font-family: 'EB Garamond', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  padding-top: 0.25rem;
  line-height: 1.3;
  letter-spacing: 0.01em;
}
.romans-step-results .romans-ref {
  color: var(--navy);
  font-size: 0.85rem;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.romans-verse {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--navy);
  border-left: 3px solid var(--gold);
  padding: 0.5rem 0 0.5rem 1rem;
  margin: 0 0 0.9rem;
  line-height: 1.5;
}
.romans-body p {
  font-size: 0.97rem;
  color: var(--text-mid);
  margin-bottom: 0.75rem;
}
.romans-body p:last-child { margin-bottom: 0; }

.salvation-prayer-box {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
  margin: 2.5rem 0;
  color: var(--white);
}
.salvation-prayer-box h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}
.salvation-prayer-box > p {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}
.salvation-prayer-box strong { color: var(--gold-light); }
.salvation-prayer {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.95);
  border-left: 3px solid var(--gold);
  padding: 0.75rem 0 0.75rem 1.25rem;
  margin: 0;
}

.salvation-cta {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  border-left: 4px solid var(--gold);
}
.salvation-cta p {
  font-size: 0.97rem;
  color: var(--text-mid);
  margin-bottom: 0.75rem;
}
.salvation-cta p:last-of-type { margin-bottom: 0; }

@media (max-width: 600px) {
  .romans-step {
    grid-template-columns: 1fr;
    gap: 0.5rem 0;
  }
  .romans-ref {
    font-size: 0.82rem;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .salvation-prayer-box { padding: 1.5rem; }
  .salvation-cta { padding: 1.25rem; }
}

/* ── LIVESTREAM ── */
.stream-embed { position: relative; padding-top: 56.25%; border-radius: var(--radius); overflow: hidden; background: var(--navy-dark); }
.stream-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }


/* ── SALVATION / ROMANS ROAD ── */
.romans-step {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.romans-step:last-of-type { border-bottom: none; }

.romans-ref {
  font-family: 'EB Garamond', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold);
  padding-top: 0.25rem;
  line-height: 1.3;
  letter-spacing: 0.01em;
}
.romans-step-results .romans-ref {
  color: var(--navy);
  font-size: 0.85rem;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.romans-verse {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: var(--navy);
  border-left: 3px solid var(--gold);
  padding: 0.5rem 0 0.5rem 1rem;
  margin: 0 0 0.9rem;
  line-height: 1.5;
}
.romans-body p {
  font-size: 0.97rem;
  color: var(--text-mid);
  margin-bottom: 0.75rem;
}
.romans-body p:last-child { margin-bottom: 0; }

.salvation-prayer-box {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 2rem 2.25rem;
  margin: 2.5rem 0;
  color: var(--white);
}
.salvation-prayer-box h3 {
  color: var(--white);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}
.salvation-prayer-box > p {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
}
.salvation-prayer-box strong { color: var(--gold-light); }
.salvation-prayer {
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.95);
  border-left: 3px solid var(--gold);
  padding: 0.75rem 0 0.75rem 1.25rem;
  margin: 0;
}

.salvation-cta {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  border-left: 4px solid var(--gold);
}
.salvation-cta p {
  font-size: 0.97rem;
  color: var(--text-mid);
  margin-bottom: 0.75rem;
}
.salvation-cta p:last-of-type { margin-bottom: 0; }

@media (max-width: 600px) {
  .romans-step {
    grid-template-columns: 1fr;
    gap: 0.5rem 0;
  }
  .romans-ref {
    font-size: 0.82rem;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .salvation-prayer-box { padding: 1.5rem; }
  .salvation-cta { padding: 1.25rem; }
}

/* ── LIVESTREAM ── */
/* 16:9 responsive iframe container */
.stream-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  margin-bottom: 0;
}
.stream-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.stream-info-bar {
  margin-top: 1.75rem;
  background: var(--cream);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
.stream-info-col h4 { margin-bottom: 0.5rem; }
.stream-info-col p {
  margin: 0.2rem 0;
  font-size: 0.92rem;
  color: var(--text-mid);
}
@media (max-width: 600px) {
  .stream-info-bar { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ── EVENTS ── */
.event-list { display: flex; flex-direction: column; gap: 1.5rem; }
.event-item {
  display: flex;
  gap: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  align-items: flex-start;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.event-item:hover { transform: translateY(-2px); }

/* Date box — calendar-style */
.event-date-box {
  flex-shrink: 0;
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  width: 72px;
  text-align: center;
  padding: 0.5rem 0.4rem 0.6rem;
  overflow: hidden;
}
.event-date-box .ev-month {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--white);
  margin: -0.5rem -0.4rem 0.4rem;
  padding: 0.25rem 0;
}
.event-date-box .ev-day {
  font-family: 'EB Garamond', serif;
  font-size: 2rem;
  line-height: 1;
  font-weight: 500;
}
.event-date-box.multi-day { background: var(--navy-dark); }
.event-date-box .ev-range-label {
  font-size: 0.62rem;
  color: var(--gold-light);
  margin-top: 0.2rem;
  letter-spacing: 0.04em;
}

/* Event info */
.event-meta-row { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.4rem; }
.ev-category {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid;
}
.cat-children { color: #2e7d32; background: #e8f5e9; border-color: #a5d6a7; }
.cat-teen     { color: #1565c0; background: #e3f2fd; border-color: #90caf9; }
.cat-ladies   { color: #880e4f; background: #fce4ec; border-color: #f48fb1; }
.cat-men      { color: #1B2D6B; background: #e8eaf6; border-color: #9fa8da; }
.cat-seniors  { color: #4e342e; background: #efebe9; border-color: #bcaaa4; }
.cat-all      { color: var(--navy); background: var(--gold-pale); border-color: var(--gold-light); }

.ev-multiday-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--gold-light);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
}
.event-info h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.ev-details { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; margin-bottom: 0.6rem; }
.ev-date-str, .ev-time-str, .ev-location {
  font-size: 0.83rem;
  color: var(--text-mid);
  white-space: nowrap;
}
.ev-date-str { color: var(--navy); font-weight: 700; }
.ev-desc { font-size: 0.95rem; color: var(--text-mid); margin: 0; }

@media (max-width: 540px) {
  .event-item { flex-direction: column; gap: 1rem; }
  .event-date-box { width: 100%; display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 1rem; border-radius: var(--radius); }
  .event-date-box .ev-month { margin: 0; padding: 0.2rem 0.6rem; border-radius: 999px; font-size: 0.7rem; }
  .event-date-box .ev-day { font-size: 1.4rem; }
  .ev-details { flex-direction: column; gap: 0.25rem; }
}

/* ── FOOTER ── */
#site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.8); }
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 3rem;
}
.footer-logo { width: 130px; margin-bottom: 1.25rem; filter: brightness(0) invert(1) opacity(0.9); }
.footer-church-name { font-size: 1rem; font-weight: 700; color: rgba(255,255,255,0.9); margin-bottom: 0.25rem; }
.footer-tagline { font-size: 0.88rem; color: rgba(255,255,255,0.55); line-height: 1.6; }
.footer-heading {
  color: var(--gold-light);
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  margin-top: 0;
}
.footer-links h4, .footer-contact h4 {
  color: var(--gold-light);
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.footer-links ul li { margin-bottom: 0.4rem; }
.footer-links ul li a { color: rgba(255,255,255,0.7); font-size: 0.9rem; transition: color var(--transition); }
.footer-links ul li a:hover { color: var(--gold-light); }
.footer-contact p { font-size: 0.9rem; color: rgba(255,255,255,0.7); line-height: 1.6; }
.footer-times li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  padding: 0.2rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-times li:last-child { border-bottom: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  max-width: 1140px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}
.footer-credit a { color: var(--gold-light); }
.footer-credit a:hover { color: var(--gold); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .welcome-grid { grid-template-columns: 1fr; gap: 2rem; }
  .welcome-img { display: none; }
  .contact-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  :root { --header-h: 70px; }

  .hamburger { display: flex; }

  #main-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0; bottom: 0;
    background: var(--white);
    overflow-y: auto;
    padding: 1.5rem 1.5rem 3rem;
    z-index: 999;
    border-top: 1px solid var(--border);
  }
  #main-nav.open { display: block; }
  #main-nav ul { flex-direction: column; gap: 0; }
  #main-nav > ul > li > a {
    font-size: 1rem;
    padding: 0.8rem 0.5rem;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
  }
  /* Mobile: dropdown always visible, no absolute positioning */
  .dropdown {
    display: block !important;
    position: static;
    box-shadow: none;
    border: none;
    border-top: none;
    background: var(--cream);
    border-radius: 0;
    padding: 0;
    margin-bottom: 0.5rem;
  }
  .dropdown li a { padding: 0.55rem 1.5rem; font-size: 0.9rem; }
  .caret { display: none; }
  .hero { max-height: 600px; min-height: 400px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .logo-img { width: 58px; height: 58px; }
}

@media (max-width: 900px) {
  .logo-text { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.2rem; }
  .section { padding: 3rem 0; }
  .times-grid { grid-template-columns: 1fr 1fr; }
  .event-item { flex-direction: column; gap: 0.75rem; }
  .event-date-box { width: auto; display: flex; gap: 0.5rem; align-items: center; }
}
