/* ============================================================
   NCM A.M.E. Church — Main Stylesheet
   Theme: Black & Gold | Porto-inspired
   ============================================================ */

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
  --gold:          #b8963e;
  --gold-light:    #d4af62;
  --gold-dark:     #8a6f2a;
  --black:         #111111;
  --black-soft:    #1a1a1a;
  --dark:          #222222;
  --dark-2:        #2d2d2d;
  --grey:          #6b6b6b;
  --grey-light:    #f5f3ee;
  --white:         #ffffff;
  --text:          #333333;
  --text-light:    #666666;
  --border:        #e0d5c1;

  --font-body:     'Outfit', sans-serif;
  --font-heading:  'Cormorant Garamond', serif;

  --radius:        6px;
  --radius-lg:     12px;
  --shadow:        0 4px 20px rgba(0,0,0,.10);
  --shadow-lg:     0 8px 40px rgba(0,0,0,.16);
  --transition:    all .3s ease;

  --header-h:      80px;
}

/* ── Reset & Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-dark); }
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--black);
}

/* ── Preloader ─────────────────────────────────────────────── */
.page-loading {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  transition: opacity .6s ease, visibility .6s ease;
}
.page-loading.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; }
.preloader-logo { width: 80px; margin: 0 auto 16px; animation: pulse 2s infinite; }
.preloader-text {
  color: var(--gold); font-family: var(--font-heading);
  font-size: 1.1rem; letter-spacing: .1em; margin-bottom: 20px;
}
.preloader-spinner { display: flex; justify-content: center; }
.spinner-ring {
  width: 40px; height: 40px; border: 3px solid rgba(184,150,62,.25);
  border-top-color: var(--gold); border-radius: 50%;
  animation: spin .9s linear infinite;
}
@keyframes spin  { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:.6; } }

/* ── Top Bar ───────────────────────────────────────────────── */
.topbar-wrapper {
  background: var(--black);
  color: var(--grey);
  font-size: .82rem;
  border-bottom: 1px solid #333;
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0; gap: 12px; flex-wrap: wrap;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar-left a, .topbar-right a {
  color: #aaa; display: flex; align-items: center; gap: 6px;
  transition: color .2s;
}
.topbar-left a:hover, .topbar-right a:hover { color: var(--gold); }
.topbar-left a i, .topbar-right a i { font-size: .8rem; }
.topbar-quicklink { font-weight: 500; }
.topbar-quicklink.active { color: var(--gold) !important; }
.topbar-socials { display: flex; gap: 10px; margin-left: 8px; }
.topbar-socials a { font-size: .85rem; }

/* ── Header ────────────────────────────────────────────────── */
.header { background: var(--black); position: relative; z-index: 1000; }
.header-sticky { position: sticky; top: 0; box-shadow: 0 2px 20px rgba(0,0,0,.4); }
.header-body { padding: 0; }
.header-row {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 24px;
}
.header-logo { flex-shrink: 0; }
.logo-anchor { display: flex; align-items: center; gap: 12px; color: var(--white) !important; }
.logo-img { width: 54px; height: 54px; object-fit: contain; border-radius: 50%; }
.logo-text { display: flex; flex-direction: column; }
.logo-title { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; color: var(--white); line-height: 1.1; }
.logo-title em { color: var(--gold); font-style: normal; }
.logo-sub { font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); margin-top: 2px; }

/* ── Nav ───────────────────────────────────────────────────── */
.header-nav { display: flex; align-items: center; gap: 8px; flex: 1; justify-content: flex-end; }
.nav-list { list-style: none; display: flex; gap: 4px; align-items: center; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 4px;
  padding: 10px 14px; color: #ccc; font-size: .88rem; font-weight: 500;
  letter-spacing: .02em; text-transform: uppercase; white-space: nowrap;
  transition: color .2s;
}
.nav-link:hover, .nav-item.active > .nav-link { color: var(--gold); }
.nav-arrow { font-size: .65rem; transition: transform .2s; }
.nav-item:hover .nav-arrow { transform: rotate(180deg); }

.nav-dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--white); min-width: 220px;
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 var(--radius) var(--radius);
  list-style: none; padding: 8px 0; z-index: 100;
}
.nav-dropdown a {
  display: block; padding: 10px 20px;
  color: var(--text); font-size: .85rem; font-weight: 500;
  transition: background .2s, color .2s;
}
.nav-dropdown a:hover { background: var(--grey-light); color: var(--gold); }
.nav-item:hover .nav-dropdown { display: block; }

.btn-gold {
  background: var(--gold); color: var(--black) !important;
  padding: 10px 22px; border-radius: var(--radius);
  font-size: .82rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; transition: background .2s, transform .2s;
  white-space: nowrap;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }

/* Burger */
.burger-btn {
  background: none; border: 2px solid rgba(255,255,255,.3);
  border-radius: var(--radius); padding: 8px 10px;
  cursor: pointer; display: flex; flex-direction: column; gap: 5px;
  width: 44px; height: 40px; justify-content: center;
  transition: border-color .2s;
}
.burger-btn:hover { border-color: var(--gold); }
.burger-btn span { display: block; width: 100%; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }
.burger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger-btn.open span:nth-child(2) { opacity: 0; }
.burger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Inner Hero Banner ─────────────────────────────────────── */
.inner-hero {
  position: relative; padding: 80px 0 60px;
  background: var(--black) center/cover no-repeat;
  overflow: hidden;
}
.inner-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.6) 100%);
}
.inner-hero-content { position: relative; z-index: 2; color: var(--white); }
.inner-hero-content h1 {
  font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white); margin-bottom: 10px;
}
.inner-hero-content p { font-size: 1.1rem; color: rgba(255,255,255,.8); margin-bottom: 16px; }
.hero-breadcrumb .breadcrumb {
  background: none; padding: 0; margin: 0;
  display: flex; gap: 4px; align-items: center;
}
.breadcrumb-item a { color: var(--gold); }
.breadcrumb-item.active { color: rgba(255,255,255,.7); }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.5); }

/* ── Homepage Slider ───────────────────────────────────────── */
.hero-slider { position: relative; overflow: hidden; height: 580px; background: var(--black); }
@media (max-width: 768px) { .hero-slider { height: 420px; } }
.slider-track { display: flex; height: 100%; transition: transform .7s cubic-bezier(.4,0,.2,1); }
.slide {
  min-width: 100%; height: 100%; position: relative;
  background: center/cover no-repeat var(--black);
  display: flex; align-items: center;
}
.slide-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.55); }
.slide-content {
  position: relative; z-index: 2; max-width: 720px;
  padding: 40px; color: var(--white);
}
.slide-tag {
  display: inline-block; background: var(--gold); color: var(--black);
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; padding: 5px 14px; border-radius: 20px;
  margin-bottom: 18px;
}
.slide-content h1 {
  font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 3.8rem);
  color: var(--white); margin-bottom: 14px; line-height: 1.1;
}
.slide-content p { font-size: 1.1rem; color: rgba(255,255,255,.85); margin-bottom: 28px; max-width: 560px; }
.slide-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.slide-btn-primary {
  background: var(--gold); color: var(--black);
  padding: 13px 30px; border-radius: var(--radius);
  font-weight: 700; font-size: .9rem; letter-spacing: .05em;
  transition: background .2s, transform .2s;
}
.slide-btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); color: var(--black); }
.slide-btn-outline {
  border: 2px solid rgba(255,255,255,.7); color: var(--white);
  padding: 11px 28px; border-radius: var(--radius);
  font-weight: 600; font-size: .9rem;
  transition: var(--transition);
}
.slide-btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.slider-controls { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.slider-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.4); border: none; cursor: pointer; transition: var(--transition); padding: 0; }
.slider-dot.active { background: var(--gold); width: 28px; border-radius: 5px; }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.2);
  color: var(--white); width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: .9rem; transition: var(--transition);
}
.slider-arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }
.slider-prev { left: 20px; }
.slider-next { right: 20px; }

/* ── Sections ──────────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.section-dark { background: var(--black); }
.section-grey { background: var(--grey-light); }
.section-gold { background: var(--gold); }

.section-header { text-align: center; margin-bottom: 52px; }
.section-badge {
  display: inline-block; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .16em;
  color: var(--gold); margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}
.section-dark .section-title { color: var(--white); }
.section-divider {
  width: 60px; height: 3px; background: var(--gold);
  margin: 0 auto 20px; border-radius: 2px;
}
.section-subtitle { font-size: 1.05rem; color: var(--text-light); max-width: 600px; margin: 0 auto; }
.section-dark .section-subtitle { color: rgba(255,255,255,.65); }

/* ── Stats Bar ─────────────────────────────────────────────── */
.stats-bar { background: var(--gold); padding: 36px 0; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
@media (max-width: 768px) { .stats-inner { grid-template-columns: repeat(2, 1fr); } }
.stat-item { color: var(--black); }
.stat-number { font-family: var(--font-heading); font-size: 2.8rem; font-weight: 700; line-height: 1; }
.stat-label { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; margin-top: 4px; opacity: .75; }

/* ── Cards ─────────────────────────────────────────────────── */
.card-ncm {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); overflow: hidden;
  transition: transform .3s, box-shadow .3s;
  height: 100%;
}
.card-ncm:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-img-wrap { position: relative; overflow: hidden; }
.card-img-wrap img {
  width: 100%; height: 220px; object-fit: cover;
  transition: transform .5s ease;
}
.card-ncm:hover .card-img-wrap img { transform: scale(1.04); }
.card-cat-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--gold); color: var(--black);
  font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 20px;
}
.card-body-ncm { padding: 22px 24px 28px; }
.card-date { font-size: .78rem; color: var(--text-light); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.card-title-ncm { font-family: var(--font-heading); font-size: 1.3rem; margin-bottom: 10px; line-height: 1.3; }
.card-title-ncm a { color: var(--black); }
.card-title-ncm a:hover { color: var(--gold); }
.card-excerpt { font-size: .9rem; color: var(--text-light); line-height: 1.6; margin-bottom: 16px; }
.card-read-more { color: var(--gold); font-size: .85rem; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.card-read-more:hover { gap: 10px; }

/* ── Leader Cards ──────────────────────────────────────────── */
.leader-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); text-align: center;
  padding: 32px 24px; transition: transform .3s, box-shadow .3s;
}
.leader-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.leader-img-wrap {
  width: 110px; height: 110px; border-radius: 50%;
  overflow: hidden; margin: 0 auto 18px;
  border: 3px solid var(--gold); box-shadow: 0 4px 16px rgba(184,150,62,.25);
}
.leader-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.leader-name { font-family: var(--font-heading); font-size: 1.25rem; margin-bottom: 4px; }
.leader-title { color: var(--gold); font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.leader-role { font-size: .88rem; color: var(--text-light); }

/* ── Events List ───────────────────────────────────────────── */
.event-item {
  display: flex; gap: 20px; padding: 20px;
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border); margin-bottom: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.event-item:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.event-date-box {
  flex-shrink: 0; width: 60px; text-align: center;
  background: var(--gold); color: var(--black);
  border-radius: var(--radius); padding: 10px 8px;
}
.event-day { font-family: var(--font-heading); font-size: 1.8rem; line-height: 1; font-weight: 700; }
.event-month { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.event-body { flex: 1; }
.event-title { font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: 4px; }
.event-meta { font-size: .82rem; color: var(--text-light); display: flex; flex-wrap: wrap; gap: 12px; }
.event-meta span { display: flex; align-items: center; gap: 5px; }
.event-type-badge {
  display: inline-block; font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  padding: 3px 10px; border-radius: 20px;
  background: var(--grey-light); color: var(--text-light);
  margin-left: auto; align-self: flex-start;
}

/* ── Calendar ──────────────────────────────────────────────── */
.calendar-wrap { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); overflow: hidden; }
.cal-header {
  background: var(--black); color: var(--white);
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
}
.cal-nav-btn {
  background: none; border: 1px solid rgba(255,255,255,.2);
  color: var(--white); width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition); font-size: .85rem;
}
.cal-nav-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }
.cal-month-year { font-family: var(--font-heading); font-size: 1.1rem; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-day-name { text-align: center; padding: 10px 4px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-light); background: var(--grey-light); border-bottom: 1px solid var(--border); }
.cal-cell {
  min-height: 56px; padding: 6px 4px;
  border: 1px solid var(--border); cursor: default;
  position: relative; font-size: .82rem; text-align: center;
}
.cal-cell:empty { background: var(--grey-light); }
.cal-cell.other-month { color: var(--border); background: var(--grey-light); }
.cal-cell.today { background: rgba(184,150,62,.1); }
.cal-cell.today .cal-cell-num { background: var(--gold); color: var(--black); border-radius: 50%; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; margin: 0 auto; }
.cal-cell.has-event { cursor: pointer; }
.cal-cell.has-event:hover { background: rgba(184,150,62,.07); }
.cal-event-dots { display: flex; gap: 3px; justify-content: center; flex-wrap: wrap; margin-top: 3px; }
.cal-dot { width: 7px; height: 7px; border-radius: 50%; }

/* ── Prayer Request Form ───────────────────────────────────── */
.form-ncm .form-label { font-weight: 600; font-size: .88rem; color: var(--text); margin-bottom: 5px; }
.form-ncm .form-control, .form-ncm .form-select {
  border: 1.5px solid var(--border); border-radius: var(--radius);
  padding: 11px 14px; font-size: .92rem; transition: border-color .2s, box-shadow .2s;
}
.form-ncm .form-control:focus, .form-ncm .form-select:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,150,62,.15); outline: none;
}
.btn-submit {
  background: var(--gold); color: var(--black);
  border: none; padding: 13px 36px; border-radius: var(--radius);
  font-weight: 700; font-size: .95rem; letter-spacing: .05em;
  cursor: pointer; transition: background .2s, transform .2s;
}
.btn-submit:hover { background: var(--gold-light); transform: translateY(-2px); }

/* ── Giving / Offering ─────────────────────────────────────── */
.giving-method {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 32px;
  text-align: center; height: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.giving-method:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.giving-icon { font-size: 2.5rem; color: var(--gold); margin-bottom: 16px; }
.giving-method h4 { font-family: var(--font-heading); font-size: 1.4rem; margin-bottom: 12px; }

/* ── Gallery Grid ──────────────────────────────────────────── */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 768px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-item {
  position: relative; overflow: hidden; border-radius: var(--radius);
  cursor: pointer; aspect-ratio: 4/3;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-overlay {
  position: absolute; inset: 0; background: rgba(0,0,0,.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay i { color: var(--white); font-size: 1.8rem; }

/* Lightbox */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 9000;
  background: rgba(0,0,0,.92); align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox-close {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none; color: var(--white);
  font-size: 1.8rem; cursor: pointer; padding: 8px;
}
.lightbox-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.15); border: none;
  color: var(--white); font-size: 1.5rem; padding: 12px 16px;
  cursor: pointer; transition: background .2s;
}
.lightbox-arrow:hover { background: rgba(255,255,255,.3); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ── Contact Page ──────────────────────────────────────────── */
.contact-info-card {
  background: var(--black); color: var(--white);
  border-radius: var(--radius-lg); padding: 36px; height: 100%;
}
.contact-info-item { display: flex; gap: 16px; margin-bottom: 28px; align-items: flex-start; }
.contact-info-icon {
  width: 44px; height: 44px; background: rgba(184,150,62,.15);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1rem; flex-shrink: 0;
}
.contact-info-text h6 { color: var(--gold); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }
.contact-info-text a, .contact-info-text span { color: rgba(255,255,255,.8); font-size: .92rem; }
.contact-info-text a:hover { color: var(--gold); }

/* ── Map ───────────────────────────────────────────────────── */
.map-container { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.map-container iframe { width: 100%; height: 350px; border: none; display: block; }

/* ── Alerts ────────────────────────────────────────────────── */
.alert-ncm {
  padding: 14px 20px; border-radius: var(--radius);
  margin-bottom: 20px; font-size: .9rem; display: flex; align-items: center; gap: 10px;
}
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error   { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-info    { background: #fff3cd; color: #856404; border: 1px solid #ffeeba; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn-ncm {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius);
  font-weight: 700; font-size: .88rem; letter-spacing: .05em;
  text-transform: uppercase; transition: var(--transition); cursor: pointer;
  border: 2px solid transparent;
}
.btn-ncm-primary { background: var(--gold); color: var(--black); border-color: var(--gold); }
.btn-ncm-primary:hover { background: var(--gold-light); color: var(--black); }
.btn-ncm-outline { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-ncm-outline:hover { background: var(--gold); color: var(--black); }
.btn-ncm-dark { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-ncm-dark:hover { background: var(--dark-2); color: var(--white); }

/* ── About / History ───────────────────────────────────────── */
.history-timeline { position: relative; padding-left: 40px; }
.history-timeline::before {
  content: ''; position: absolute; left: 16px; top: 0; bottom: 0;
  width: 2px; background: var(--gold); opacity: .3;
}
.timeline-item { position: relative; margin-bottom: 36px; }
.timeline-item::before {
  content: ''; position: absolute; left: -30px; top: 6px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold); border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold);
}
.timeline-year { color: var(--gold); font-weight: 700; font-size: .85rem; letter-spacing: .06em; margin-bottom: 4px; }
.timeline-text { font-size: .95rem; color: var(--text); }

/* ── Pastor Section ────────────────────────────────────────── */
.pastor-img {
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 4px solid var(--gold); width: 100%; max-width: 420px;
}
.pastor-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(184,150,62,.1); border: 1px solid rgba(184,150,62,.3);
  color: var(--gold); padding: 6px 16px; border-radius: 20px;
  font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  margin-bottom: 16px;
}
.pastor-quote {
  font-family: var(--font-heading); font-style: italic;
  font-size: 1.3rem; color: var(--text-light); line-height: 1.5;
  border-left: 4px solid var(--gold); padding-left: 20px; margin: 24px 0;
}

/* ── Ministry Cards ────────────────────────────────────────── */
.ministry-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 36px 28px; height: 100%;
  transition: border-color .3s, box-shadow .3s;
}
.ministry-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.ministry-icon {
  width: 64px; height: 64px; background: rgba(184,150,62,.1);
  border-radius: var(--radius-lg); display: flex; align-items: center;
  justify-content: center; margin-bottom: 20px; color: var(--gold); font-size: 1.6rem;
  transition: background .3s;
}
.ministry-card:hover .ministry-icon { background: var(--gold); color: var(--black); }
.ministry-card h4 { font-family: var(--font-heading); font-size: 1.3rem; margin-bottom: 10px; }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer { background: var(--black-soft); color: rgba(255,255,255,.75); }
.footer-main { padding: 70px 0 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-logo { width: 50px; height: 50px; object-fit: contain; border-radius: 50%; }
.footer-brand-text { font-size: .95rem; color: var(--white); line-height: 1.35; }
.footer-about { font-size: .88rem; line-height: 1.7; margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); font-size: .85rem; transition: var(--transition);
}
.footer-socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }
.footer-heading { font-family: var(--font-body); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--gold); margin-bottom: 18px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: rgba(255,255,255,.65); font-size: .87rem; display: flex; align-items: center; gap: 7px; transition: color .2s; }
.footer-links a i { font-size: .6rem; color: var(--gold); }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-services { list-style: none; }
.footer-services li { margin-bottom: 14px; font-size: .85rem; border-bottom: 1px solid rgba(255,255,255,.08); padding-bottom: 10px; }
.service-day { display: block; font-weight: 700; color: var(--gold); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.service-time { display: block; font-size: 1rem; color: var(--white); font-family: var(--font-heading); }
.service-name { font-size: .8rem; color: rgba(255,255,255,.5); }
.footer-contact-list { list-style: none; }
.footer-contact-list li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; font-size: .87rem; }
.footer-contact-list i { color: var(--gold); margin-top: 3px; flex-shrink: 0; }
.footer-contact-list a { color: rgba(255,255,255,.75); }
.footer-contact-list a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; font-size: .82rem; color: rgba(255,255,255,.45); }
.footer-locations { display: flex; align-items: center; gap: 6px; }
.footer-locations i { color: var(--gold); }

/* ── Back to Top ───────────────────────────────────────────── */
.back-to-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 500;
  width: 44px; height: 44px; background: var(--gold); color: var(--black);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .9rem; box-shadow: 0 4px 16px rgba(0,0,0,.25);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: var(--transition);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--gold-light); color: var(--black); transform: translateY(-3px); }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .header-nav { display: none; position: fixed; top: 0; right: 0; bottom: 0; width: 300px;
    background: var(--black); flex-direction: column; align-items: flex-start;
    padding: 80px 24px 40px; overflow-y: auto; gap: 0;
    box-shadow: -4px 0 30px rgba(0,0,0,.4); z-index: 900; }
  .header-nav.open { display: flex; }
  .nav-list { flex-direction: column; width: 100%; gap: 0; }
  .nav-item { width: 100%; }
  .nav-link { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.08); width: 100%; }
  .nav-dropdown { position: static; box-shadow: none; border: none; background: rgba(255,255,255,.04); padding: 0 0 0 16px; border-radius: 0; }
  .nav-item:hover .nav-dropdown { display: block; }
  .nav-cta { margin-top: 24px; width: 100%; }
  .nav-cta .btn-gold { width: 100%; text-align: center; display: block; }
}
@media (max-width: 768px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 56px 0; }
  .slide-content { padding: 24px; }
}
@media (max-width: 480px) {
  .topbar-left { display: none !important; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
}
