/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: #2c2c2c;
  background: #fff;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
address { font-style: normal; }

/* ========== VARIABLES ========== */
:root {
  --navy:       #1B2D4F;
  --navy-deep:  #0f1e36;
  --gold:       #C89B3C;
  --gold-light: #e8b94a;
  --gold-pale:  rgba(200,155,60,0.12);
  --white:      #ffffff;
  --off-white:  #faf9f7;
  --light-grey: #F5F5F5;
  --text-dark:  #1a1a1a;
  --text-muted: #666;
  --radius:     8px;
  --shadow:     0 4px 20px rgba(0,0,0,0.10);
  --transition: 0.3s ease;

  --header-top-h: 40px;
  --header-main-h: 76px;
  --header-total-h: 116px;
}

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--navy);
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.4rem; font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { margin-bottom: 1rem; }

.section-label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.5rem;
  font-family: 'Inter', sans-serif;
}
.section-title   { margin-bottom: 1rem; }
.section-subtitle{ color: var(--text-muted); font-size: 1.05rem; max-width: 600px; }

/* ========== LAYOUT UTILITIES ========== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.section   { padding: 90px 0; }
.section--grey { background: var(--off-white); }
.text-center { text-align: center; }
.text-white  { color: var(--white)  !important; }
.text-gold   { color: var(--gold)   !important; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  padding: 13px 32px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: 'Inter', sans-serif;
}
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,155,60,0.35); }
.btn-outline  { background: transparent; border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover  { background: var(--white); color: var(--navy); }
.btn-navy    { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: #253f6e; transform: translateY(-2px); }


/* ══════════════════════════════════════════════
   HEADER — two-tier modern church style
   ══════════════════════════════════════════════ */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  /* scroll class added by JS */
}

/* ── Top Bar ── */
.header-topbar {
  background: var(--navy-deep);
  height: var(--header-top-h);
  border-bottom: 1px solid rgba(200,155,60,0.18);
  transition: var(--transition);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.55);
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.topbar-cross {
  width: 14px; height: 14px;
  fill: var(--gold);
  flex-shrink: 0;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.topbar-sep { color: rgba(255,255,255,0.2); font-size: 0.8rem; }
.topbar-link {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  transition: var(--transition);
}
.topbar-link:hover { color: var(--gold); }
.topbar-link svg { width: 13px; height: 13px; stroke-width: 1.8; }

/* ── Main Nav Bar ── */
.header-main {
  height: var(--header-main-h);
  background: var(--navy);
  /* glass tint when scrolled — JS adds .scrolled to .site-header */
  transition: background 0.4s ease, box-shadow 0.4s ease, height 0.3s ease;
}
.site-header.scrolled .header-main {
  background: rgba(15,30,54,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 32px rgba(0,0,0,0.35);
  height: 64px;
}
.site-header.scrolled .header-topbar {
  height: 0;
  overflow: hidden;
  border: none;
}
.site-header.scrolled { --header-total-h: 64px; }

.header-main-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

/* Brand */
.header-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  text-decoration: none;
}
.brand-logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: rgba(200,155,60,0.12);
  border: 1.5px solid rgba(200,155,60,0.3);
  transition: var(--transition);
  flex-shrink: 0;
}
.brand-logo-wrap::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(200,155,60,0.12);
}
.header-brand:hover .brand-logo-wrap {
  background: rgba(200,155,60,0.2);
  border-color: var(--gold);
}
.brand-logo-wrap img {
  height: 36px;
  width: auto;
}
.site-header.scrolled .brand-logo-wrap { width: 44px; height: 44px; }
.site-header.scrolled .brand-logo-wrap img { height: 30px; }

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  white-space: nowrap;
}
.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.3px;
}
.brand-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.9;
}

/* Desktop Nav */
#site-nav { flex-shrink: 0; }
#site-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
}
#site-nav ul li { position: relative; }
#site-nav ul li a {
  display: block;
  padding: 8px 12px;
  color: rgba(255,255,255,0.78);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  white-space: nowrap;
  border-radius: 2px;
}
#site-nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 12px; right: 12px;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: center;
}
#site-nav ul li a:hover { color: var(--white); }
#site-nav ul li a:hover::after { transform: scaleX(1); }
#site-nav ul li a.active { color: var(--gold); }
#site-nav ul li a.active::after { transform: scaleX(1); }

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

/* Mobile Drawer */
#mobile-drawer {
  position: fixed;
  top: var(--header-total-h);
  left: 0; right: 0;
  background: var(--navy-deep);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
  z-index: 999;
  border-top: 1px solid rgba(200,155,60,0.15);
}
#mobile-drawer.open { max-height: 520px; }

.drawer-inner {
  padding: 24px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.drawer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.drawer-brand img { height: 36px; width: auto; }
.drawer-brand span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
}
#mobile-drawer nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
#mobile-drawer nav ul li a {
  display: block;
  padding: 12px 4px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}
#mobile-drawer nav ul li a:hover,
#mobile-drawer nav ul li a.active { color: var(--gold); padding-left: 8px; }
.drawer-service {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
  padding: 14px 16px;
  background: var(--gold-pale);
  border: 1px solid rgba(200,155,60,0.2);
  border-radius: var(--radius);
}
.drawer-service svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; }
.drawer-service strong { display: block; font-size: 0.85rem; color: var(--white); }
.drawer-service span  { font-size: 0.75rem; color: rgba(255,255,255,0.5); }

/* Page offset for fixed header */
body { padding-top: var(--header-total-h); }


/* ══════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════ */
#hero {
  position: relative;
  height: calc(100vh - var(--header-total-h));
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: calc(-1 * var(--header-total-h));
  padding-top: var(--header-total-h);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/on (1).jpg') center center / cover no-repeat;
  transform: scale(1.04);
  transition: transform 9s ease;
}
#hero:hover .hero-bg { transform: scale(1); }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(15,30,54,0.88) 0%, rgba(27,45,79,0.65) 55%, rgba(0,0,0,0.25) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero-content .section-label { color: var(--gold); }
.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
}
.hero-content p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 540px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.5);
  font-size: 0.65rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  animation: bounce 2.2s infinite;
}
.hero-scroll svg { width: 20px; height: 20px; fill: none; stroke: rgba(255,255,255,0.5); stroke-width: 2; }
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ═══ WELCOME BANNER ═══ */
#welcome-banner { background: var(--gold); padding: 26px 0; }
.welcome-banner-grid {
  display: flex; justify-content: center;
  gap: 60px; flex-wrap: wrap; align-items: center;
}
.banner-item { display: flex; align-items: center; gap: 14px; color: var(--navy); }
.banner-item svg { width: 32px; height: 32px; flex-shrink: 0; stroke: var(--navy); fill: none; stroke-width: 1.8; }
.banner-item strong { display: block; font-size: 0.95rem; font-weight: 700; }
.banner-item span { font-size: 0.82rem; opacity: 0.75; }

/* ═══ WELCOME SECTION ═══ */
#welcome-section .welcome-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
#welcome-section .welcome-img {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 460px;
}
#welcome-section .welcome-img img { width: 100%; height: 100%; object-fit: cover; }
#welcome-section .welcome-text blockquote {
  border-left: 3px solid var(--gold);
  padding: 12px 20px; margin: 24px 0;
  font-style: italic; color: var(--text-muted);
  background: var(--off-white);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
}

/* ═══ MISSION & VISION ═══ */
#mission-vision { background: var(--navy); position: relative; overflow: hidden; }
#mission-vision::before {
  content: ''; position: absolute;
  top: -80px; right: -80px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: rgba(200,155,60,0.06);
  pointer-events: none;
}
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.mv-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(200,155,60,0.2);
  border-radius: var(--radius);
  padding: 40px 36px;
  transition: var(--transition);
}
.mv-card:hover { background: rgba(255,255,255,0.08); border-color: var(--gold); transform: translateY(-4px); }
.mv-card .mv-icon {
  width: 54px; height: 54px;
  background: rgba(200,155,60,0.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.mv-card .mv-icon svg { width: 26px; height: 26px; stroke: var(--gold); fill: none; stroke-width: 1.8; }
.mv-card h3 { color: var(--gold); margin-bottom: 14px; font-size: 1.6rem; }
.mv-card p  { color: rgba(255,255,255,0.75); margin-bottom: 0; }
.mv-cta { margin-top: 48px; text-align: center; }

/* ═══ SCRIPTURE ═══ */
#scripture { background: linear-gradient(135deg, var(--navy) 0%, #253f6e 100%); text-align: center; padding: 80px 0; }
#scripture blockquote {
  max-width: 760px; margin: 0 auto;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 3vw, 1.9rem);
  font-style: italic; color: var(--white); line-height: 1.6;
}
#scripture blockquote::before { content: '\201C'; font-size: 4.5rem; color: var(--gold); line-height: 0; vertical-align: -1.1rem; margin-right: 4px; }
#scripture cite { display: block; margin-top: 18px; font-size: 0.82rem; color: var(--gold); font-style: normal; letter-spacing: 2.5px; text-transform: uppercase; }

/* ═══ MINISTRIES PREVIEW ═══ */
#ministries-preview .ministries-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 48px;
}
.ministry-card {
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; transition: var(--transition);
}
.ministry-card:hover { transform: translateY(-6px); box-shadow: 0 12px 36px rgba(0,0,0,0.14); }
.ministry-card-img { height: 200px; overflow: hidden; }
.ministry-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.ministry-card:hover .ministry-card-img img { transform: scale(1.06); }
.ministry-card-body { padding: 24px; }
.ministry-card-icon {
  width: 42px; height: 42px; background: rgba(27,45,79,0.08); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.ministry-card-icon svg { width: 20px; height: 20px; stroke: var(--navy); fill: none; stroke-width: 1.8; }
.ministry-card h3 { color: var(--navy); margin-bottom: 8px; font-size: 1.2rem; }
.ministry-card p  { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0; }

/* ═══ PHOTO STRIP ═══ */
#photo-strip { padding: 0; display: grid; grid-template-columns: repeat(4,1fr); height: 280px; }
.photo-strip-item { overflow: hidden; position: relative; }
.photo-strip-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.photo-strip-item:hover img { transform: scale(1.08); }

/* ═══ EVENTS PREVIEW ═══ */
#events-preview .events-list {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; margin-top: 48px;
}
.event-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 24px; background: var(--white);
  border-radius: var(--radius); box-shadow: var(--shadow);
  border-left: 3px solid var(--gold); transition: var(--transition);
}
.event-item:hover { transform: translateX(4px); }
.event-date {
  flex-shrink: 0; width: 58px; text-align: center;
  background: var(--navy); color: var(--white);
  border-radius: var(--radius); padding: 10px 6px;
}
.event-date .month { display: block; font-size: 0.62rem; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); }
.event-date .day   { display: block; font-family: 'Cormorant Garamond', serif; font-size: 1.9rem; font-weight: 700; line-height: 1; }
.event-info h4 { color: var(--navy); margin-bottom: 4px; }
.event-info p  { color: var(--text-muted); font-size: 0.88rem; margin: 0; }

/* ═══ CONTACT CTA ═══ */
#contact-cta { background: var(--off-white); text-align: center; }
#contact-cta h2 { margin-bottom: 1rem; }
#contact-cta p  { color: var(--text-muted); margin-bottom: 2rem; max-width: 520px; margin-left: auto; margin-right: auto; }
.contact-info-row { display: flex; justify-content: center; gap: 48px; margin-bottom: 2rem; flex-wrap: wrap; }
.contact-info-item { display: flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 600; }
.contact-info-item svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; stroke-width: 1.8; flex-shrink: 0; }


/* ══════════════════════════════════════════════
   FOOTER — modern church style
   ══════════════════════════════════════════════ */

#site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
}

/* Scripture strip */
.footer-scripture {
  background: linear-gradient(90deg, rgba(200,155,60,0.08) 0%, rgba(200,155,60,0.14) 50%, rgba(200,155,60,0.08) 100%);
  border-top: 1px solid rgba(200,155,60,0.25);
  border-bottom: 1px solid rgba(200,155,60,0.15);
  padding: 28px 0;
}
.scripture-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  text-align: center;
}
.scripture-cross {
  flex-shrink: 0;
  width: 32px; height: 32px;
  color: var(--gold);
  opacity: 0.7;
}
.scripture-cross svg { width: 100%; height: 100%; }
.scripture-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-style: italic;
  color: rgba(255,255,255,0.72);
  line-height: 1.5;
}
.scripture-quote cite {
  display: inline-block;
  margin-left: 8px;
  font-style: normal;
  font-size: 0.75rem;
  font-family: 'Inter', sans-serif;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
}

/* Footer body */
.footer-body { padding: 64px 0 48px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.9fr 1.1fr;
  gap: 48px;
}

/* Col 1 – brand */
.footer-brand-col { display: flex; flex-direction: column; gap: 20px; }
.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-brand-row img { height: 48px; width: auto; }
.footer-brand-name {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.footer-brand-name strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
}
.footer-brand-name span {
  font-size: 0.64rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}
.footer-tagline {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
}
.footer-service-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(200,155,60,0.08);
  border: 1px solid rgba(200,155,60,0.2);
  border-radius: var(--radius);
}
.footer-service-badge svg {
  width: 20px; height: 20px;
  color: var(--gold);
  flex-shrink: 0;
}
.footer-service-badge strong {
  display: block;
  font-size: 0.85rem;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}
.footer-service-badge span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
}
.footer-registry {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
  margin: 0;
  letter-spacing: 0.5px;
}

/* Col headings */
.footer-heading {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(200,155,60,0.2);
}

/* Quick links */
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.footer-links li a {
  display: block;
  padding: 7px 0;
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: var(--transition);
  position: relative;
  padding-left: 0;
}
.footer-links li a::before {
  content: '';
  position: absolute;
  left: -12px; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 1px;
  background: var(--gold);
  opacity: 0;
  transition: var(--transition);
}
.footer-links li a:hover { color: var(--white); padding-left: 12px; }
.footer-links li a:hover::before { opacity: 1; left: 0; }

/* Contact list */
.footer-contact-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
}
.footer-contact-list li svg {
  width: 16px; height: 16px;
  stroke: var(--gold);
  flex-shrink: 0;
  margin-top: 3px;
}
.footer-contact-list li a { color: rgba(255,255,255,0.55); transition: var(--transition); }
.footer-contact-list li a:hover { color: var(--gold); }

/* Bottom bar */
.footer-bottom {
  background: rgba(0,0,0,0.3);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 18px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}
.footer-bottom-right { text-align: right; }


/* ══════════════════════════════════════════════
   FADE-IN ANIMATION
   ══════════════════════════════════════════════ */
.fade-in { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }


/* ══════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  #site-nav ul li a { padding: 8px 9px; font-size: 0.73rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
  .mv-grid { gap: 24px; }
  #ministries-preview .ministries-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  :root {
    --header-top-h: 0px;
    --header-main-h: 64px;
    --header-total-h: 64px;
  }
  .header-topbar { display: none; }
  .hamburger { display: flex; }
  #site-nav { display: none; }
  .brand-text .brand-sub { display: none; }

  #welcome-section .welcome-grid { grid-template-columns: 1fr; }
  #welcome-section .welcome-img { height: 300px; }
  .mv-grid { grid-template-columns: 1fr; }
  #ministries-preview .ministries-grid { grid-template-columns: 1fr; }
  #photo-strip { grid-template-columns: repeat(2,1fr); height: 360px; }
  #events-preview .events-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand-col { grid-column: auto; }
  .welcome-banner-grid { gap: 28px; justify-content: flex-start; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .footer-bottom-right { text-align: center; }
  .scripture-strip { flex-direction: column; gap: 10px; }
}

@media (max-width: 480px) {
  .section { padding: 60px 0; }
  #photo-strip { grid-template-columns: 1fr 1fr; height: 260px; }
  .hero-actions { flex-direction: column; }
  .contact-info-row { gap: 20px; flex-direction: column; align-items: center; }
  .brand-name { font-size: 1rem; }
}

/* ========== INNER PAGE SYSTEM ========== */
.page-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy-deep);
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(15,30,54,0.92) 0%, rgba(27,45,79,0.74) 52%, rgba(15,30,54,0.35) 100%);
  z-index: 1;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.03);
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 110px 0 70px;
}
.page-hero-copy {
  max-width: 720px;
}
.page-hero-copy h1 {
  color: var(--white);
  margin-bottom: 16px;
}
.page-hero-copy p {
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
  max-width: 620px;
  margin-bottom: 0;
}
.page-hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 12px 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(200,155,60,0.18);
  border-radius: var(--radius);
  color: rgba(255,255,255,0.82);
  font-size: 0.82rem;
}
.page-hero-meta strong {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 0.72rem;
}

.intro-grid,
.split-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 48px;
  align-items: center;
}
.split-layout--top,
.contact-layout {
  align-items: start;
}
.media-card,
.content-panel,
.image-stack {
  border-radius: var(--radius);
  overflow: hidden;
}
.media-card {
  min-height: 380px;
  box-shadow: var(--shadow);
}
.media-card img,
.image-stack img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.content-panel {
  background: var(--white);
  border: 1px solid rgba(27,45,79,0.08);
  box-shadow: var(--shadow);
  padding: 36px;
}
.content-panel p:last-child,
.info-card p:last-child,
.sermon-card p:last-child,
.event-card p:last-child,
.ministry-feature-copy p:last-child,
.expect-card p:last-child,
.sacrament-card p:last-child,
.history-card p:last-child {
  margin-bottom: 0;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.stat-card {
  padding: 22px 20px;
  background: var(--off-white);
  border-radius: var(--radius);
  border: 1px solid rgba(27,45,79,0.08);
}
.stat-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 1.45rem;
  font-family: 'Cormorant Garamond', serif;
}
.stat-card span {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.accent-card {
  padding: 28px;
  background: linear-gradient(145deg, var(--navy) 0%, #243d68 100%);
  color: rgba(255,255,255,0.78);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.accent-card h3,
.accent-card h4 {
  color: var(--white);
  margin-bottom: 12px;
}
.accent-card ul {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 20px;
}
.accent-card li {
  padding-left: 18px;
  position: relative;
}
.accent-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.section-band {
  background: var(--off-white);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 42px;
}
.info-card,
.expect-card,
.sacrament-card,
.event-card,
.sermon-card,
.leadership-card,
.value-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  border-top: 3px solid rgba(200,155,60,0.9);
  transition: var(--transition);
}
.info-card:hover,
.expect-card:hover,
.sacrament-card:hover,
.event-card:hover,
.sermon-card:hover,
.leadership-card:hover,
.value-card:hover {
  transform: translateY(-4px);
}
.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(27,45,79,0.08);
  margin-bottom: 16px;
}
.card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--navy);
  fill: none;
  stroke-width: 1.8;
}

.history-card {
  background: var(--off-white);
  border-left: 3px solid var(--gold);
  padding: 28px;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.history-card h3 {
  margin-bottom: 10px;
}

.timeline-list {
  display: grid;
  gap: 20px;
  margin-top: 40px;
}
.timeline-item {
  display: grid;
  grid-template-columns: 138px 1fr;
  gap: 22px;
  align-items: start;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}
.timeline-date {
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
  text-align: center;
}
.timeline-date span {
  display: block;
}
.timeline-date .timeline-month {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.72rem;
}
.timeline-date .timeline-day {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  line-height: 1.05;
}
.timeline-date .timeline-year {
  margin-top: 4px;
  font-size: 0.8rem;
  opacity: 0.82;
}
.timeline-content h3,
.timeline-content h4 {
  margin-bottom: 6px;
}
.timeline-meta {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 1.6px;
}

.archive-table-wrap {
  margin-top: 42px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.archive-table {
  width: 100%;
  border-collapse: collapse;
}
.archive-table th,
.archive-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid rgba(27,45,79,0.08);
  vertical-align: top;
}
.archive-table thead th {
  background: var(--navy);
  color: var(--white);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-family: 'Inter', sans-serif;
}
.archive-table tbody tr:nth-child(even) {
  background: rgba(245,245,245,0.55);
}
.archive-table strong {
  display: block;
  color: var(--navy);
  margin-bottom: 4px;
}

.verse-block {
  padding: 34px;
  background: linear-gradient(135deg, var(--navy) 0%, #2a4b7c 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
}
.verse-block blockquote {
  max-width: 760px;
  margin: 0 auto;
  color: var(--white);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 2.8vw, 2rem);
  line-height: 1.55;
  font-style: italic;
}
.verse-block cite {
  display: block;
  margin-top: 14px;
  color: var(--gold);
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.values-grid,
.leadership-grid,
.sermons-grid,
.events-grid,
.ministries-page-grid,
.expect-grid,
.sacraments-grid {
  display: grid;
  gap: 28px;
}
.values-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-top: 40px;
}
.leadership-grid,
.sermons-grid,
.events-grid,
.ministries-page-grid,
.expect-grid,
.sacraments-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 40px;
}

.leader-role,
.sermon-meta,
.event-meta {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.74rem;
  font-weight: 700;
}
.leader-contact {
  margin-top: 18px;
  color: var(--navy);
  font-weight: 600;
}

.sermon-card,
.event-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ministry-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}
.ministry-feature-media {
  height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.ministry-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ministry-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 42px;
}

.service-schedule {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}
.service-schedule-item {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 18px;
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 20px;
}
.service-time {
  background: var(--gold);
  color: var(--navy);
  border-radius: var(--radius);
  padding: 14px 12px;
  text-align: center;
}
.service-time strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.service-time span {
  display: block;
  margin-top: 4px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 700;
}

.contact-card,
.contact-form-wrap,
.map-wrap {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-card {
  padding: 30px;
}
.contact-card + .contact-card {
  margin-top: 22px;
}
.contact-list {
  list-style: none;
  display: grid;
  gap: 16px;
  margin-top: 20px;
}
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-muted);
}
.contact-list li svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.8;
  margin-top: 3px;
  flex-shrink: 0;
}
.contact-list a {
  color: var(--navy);
  font-weight: 600;
}

.contact-form-wrap {
  padding: 34px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.form-field label {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.88rem;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 14px 15px;
  border-radius: 6px;
  border: 1px solid rgba(27,45,79,0.15);
  background: var(--off-white);
  font: inherit;
  color: var(--text-dark);
  transition: var(--transition);
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(200,155,60,0.12);
}
.form-field textarea {
  min-height: 180px;
  resize: vertical;
}
.field-full {
  grid-column: 1 / -1;
}
.form-message {
  margin-bottom: 22px;
  padding: 14px 16px;
  border-radius: 6px;
  font-size: 0.92rem;
}
.form-message.success {
  background: rgba(61, 144, 88, 0.12);
  border: 1px solid rgba(61, 144, 88, 0.2);
  color: #1b6c38;
}
.form-message.error {
  background: rgba(170, 51, 51, 0.08);
  border: 1px solid rgba(170, 51, 51, 0.18);
  color: #8b2222;
}

.map-wrap {
  margin-top: 40px;
  overflow: hidden;
}
.map-wrap iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

@media (max-width: 1024px) {
  .intro-grid,
  .split-layout,
  .contact-layout,
  .ministry-feature {
    grid-template-columns: 1fr;
  }
  .cards-grid,
  .values-grid,
  .ministry-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-row,
  .leadership-grid,
  .sermons-grid,
  .events-grid,
  .ministries-page-grid,
  .expect-grid,
  .sacraments-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .page-hero {
    min-height: 340px;
  }
  .page-hero-inner {
    padding: 84px 0 52px;
  }
  .content-panel,
  .contact-form-wrap,
  .contact-card {
    padding: 24px;
  }
  .stats-row,
  .cards-grid,
  .values-grid,
  .ministry-list,
  .leadership-grid,
  .sermons-grid,
  .events-grid,
  .ministries-page-grid,
  .expect-grid,
  .sacraments-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .timeline-item,
  .service-schedule-item {
    grid-template-columns: 1fr;
  }
  .timeline-date,
  .service-time {
    text-align: left;
  }
  .media-card,
  .ministry-feature-media {
    min-height: 280px;
    height: 280px;
  }
  .archive-table-wrap {
    overflow-x: auto;
  }
  .archive-table {
    min-width: 720px;
  }
}
