/* ============================================================
   ST. JOHN'S CHURCH WOODSTOCK — Main Stylesheet
   ============================================================ */

:root {
  --navy: #1B2A4A;
  --gold: #C8923A;
  --gold-light: #F0C070;
  --white: #FFFFFF;
  --gray-light: #F5F5F5;
  --gray-mid: #E0E0E0;
  --text-dark: #222222;
  --text-mid: #555555;
  --shadow: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-hover: 0 8px 28px rgba(0,0,0,0.16);
  --radius: 6px;
  --transition: 0.3s ease;
}

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

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

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
}

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

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); margin-bottom: 0.6rem; }
h4 { font-size: 1.1rem; margin-bottom: 0.4rem; }

p { margin-bottom: 1rem; color: var(--text-mid); }

ul { list-style: none; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5rem 0; }
.section-alt { background: var(--gray-light); }

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}
.section-header p { font-size: 1.05rem; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.text-center { text-align: center; }

.gold-accent {
  display: inline-block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 0.5rem 0 1.2rem;
}
.text-center .gold-accent { margin-left: auto; margin-right: auto; }

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  border-radius: var(--radius);
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: #a97530;
  border-color: #a97530;
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: #253a63;
  border-color: #253a63;
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================================
   HEADER
   ============================================================ */

#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-mid);
  transition: box-shadow var(--transition);
}

#site-header.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 1.5rem;
  max-width: 1300px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}

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

.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  line-height: 1.2;
}

/* NAV */
#main-nav { display: flex; align-items: center; }

#nav-list {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
  white-space: nowrap;
}

#nav-list li { flex-shrink: 0; }

#nav-list a {
  display: block;
  padding: 0.4rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dark);
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

#nav-list a:hover,
#nav-list a.active {
  color: var(--gold);
  background: rgba(200,146,58,0.08);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--navy);
  padding: 0.3rem;
}

/* ============================================================
   HERO SECTIONS
   ============================================================ */

.hero {
  position: relative;
  min-height: 90vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 42, 74, 0.58);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  max-width: 820px;
  padding: 2rem 1.5rem;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-content p {
  color: rgba(255,255,255,0.9);
  font-size: 1.15rem;
  margin-bottom: 2rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 2px;
  margin-bottom: 1.2rem;
}

/* Page hero (shorter) */
.page-hero {
  min-height: 42vh;
}

/* ============================================================
   CARDS
   ============================================================ */

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.card-img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: 1.5rem; }
.card-body h3 { color: var(--navy); }
.card-body p { font-size: 0.93rem; margin-bottom: 1rem; }

/* Mission/Vision cards */
.mission-vision-strip { padding: 4rem 0; background: var(--white); }

.mv-card {
  background: var(--white);
  border-left: 5px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 2.2rem 2rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.mv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

.mv-icon {
  font-size: 2.4rem;
  margin-bottom: 0.8rem;
  display: block;
}
.mv-card h3 { color: var(--gold); font-size: 1.4rem; margin-bottom: 0.5rem; }
.mv-card p { font-size: 0.97rem; }

/* Value / Info cards */
.value-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.value-card:hover { transform: translateY(-4px); }
.value-icon { font-size: 2.8rem; margin-bottom: 0.8rem; }

/* ============================================================
   HOMEPAGE SECTIONS
   ============================================================ */

/* Welcome */
.welcome-section { padding: 5rem 0; }
.welcome-section .img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.welcome-section .img-wrap img { width: 100%; height: 420px; object-fit: cover; }
.welcome-text { padding-left: 1.5rem; display: flex; flex-direction: column; justify-content: center; }
.welcome-text p { font-size: 1rem; }

/* Service Times Banner */
.service-banner {
  background: var(--gold);
  color: var(--white);
  padding: 2rem 0;
  text-align: center;
}
.service-banner h3 { color: var(--white); font-family: 'Open Sans', sans-serif; font-weight: 700; font-size: 1rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.5rem; }
.service-times {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.service-time-item { text-align: center; }
.service-time-item strong { display: block; font-size: 1.1rem; color: var(--white); }
.service-time-item span { font-size: 0.88rem; color: rgba(255,255,255,0.85); }

/* Events preview */
.event-card {
  display: flex;
  gap: 1.2rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.event-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.event-date-box {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: var(--navy);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.event-date-box .month { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold-light); }
.event-date-box .day { font-size: 1.6rem; font-weight: 700; font-family: 'Playfair Display', serif; line-height: 1; }
.event-info h4 { color: var(--navy); margin-bottom: 0.3rem; }
.event-info p { font-size: 0.88rem; margin-bottom: 0; }
.event-info .event-meta { font-size: 0.78rem; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.3rem; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */

.team-card {
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.team-card:hover { transform: translateY(-4px); }
.team-avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: var(--gray-mid);
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
  color: var(--navy);
  overflow: hidden;
}
.team-card h4 { color: var(--navy); }
.team-card .role { color: var(--gold); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.5rem; }
.team-card p { font-size: 0.9rem; }

/* ============================================================
   MISSION PAGE
   ============================================================ */

.mission-statement {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 3rem;
  padding: 3rem 2.5rem;
  background: var(--navy);
  border-radius: var(--radius);
  position: relative;
}
.mission-statement::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 8rem;
  color: var(--gold);
  opacity: 0.3;
  position: absolute;
  top: -1rem; left: 1.5rem;
  line-height: 1;
}
.mission-statement blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-style: italic;
  color: var(--white);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.goals-list { counter-reset: goals; }
.goal-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
  transition: transform var(--transition);
}
.goal-item:hover { transform: translateX(4px); }
.goal-number {
  flex-shrink: 0;
  width: 50px; height: 50px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
}
.goal-text h4 { color: var(--navy); }
.goal-text p { margin-bottom: 0; font-size: 0.93rem; }

.scripture-block {
  background: var(--gray-light);
  border-left: 6px solid var(--gold);
  padding: 2rem 2.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  max-width: 680px;
  margin: 2rem auto;
}
.scripture-block blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.scripture-block cite { font-size: 0.88rem; color: var(--gold); font-weight: 600; }

/* ============================================================
   MINISTRIES PAGE
   ============================================================ */

.ministry-card { overflow: hidden; }
.ministry-card .card-img { height: 200px; }
.ministry-card .card-body h3 { font-size: 1.2rem; }

/* ============================================================
   WORSHIP / SERVICE TIMES TABLE
   ============================================================ */

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.schedule-table thead { background: var(--navy); }
.schedule-table thead th {
  color: var(--white);
  padding: 1rem 1.2rem;
  text-align: left;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.schedule-table tbody tr:nth-child(even) { background: var(--gray-light); }
.schedule-table td {
  padding: 1rem 1.2rem;
  font-size: 0.95rem;
  color: var(--text-dark);
  border-bottom: 1px solid var(--gray-mid);
}
.schedule-table td strong { color: var(--navy); }

/* ============================================================
   EVENTS PAGE
   ============================================================ */

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
}

.event-full-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.event-full-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.event-full-card .ev-img { width: 100%; height: 200px; object-fit: cover; }
.event-full-card .ev-body { padding: 1.5rem; }
.event-full-card .ev-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  border-radius: 2px;
  margin-bottom: 0.7rem;
}
.event-full-card h3 { color: var(--navy); font-size: 1.15rem; margin-bottom: 0.5rem; }
.event-full-card .ev-meta { font-size: 0.82rem; color: var(--text-mid); margin-bottom: 0.7rem; }
.event-full-card p { font-size: 0.92rem; }

/* ============================================================
   OUTREACH PAGE
   ============================================================ */

.outreach-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  border-top: 4px solid var(--gold);
  transition: transform var(--transition);
}
.outreach-card:hover { transform: translateY(-4px); }
.outreach-icon { font-size: 2.5rem; margin-bottom: 0.8rem; }
.outreach-card h3 { color: var(--navy); margin-bottom: 0.5rem; }
.outreach-card p { font-size: 0.93rem; }

.impact-strip {
  background: var(--navy);
  padding: 4rem 0;
  color: var(--white);
}
.impact-stat { text-align: center; }
.impact-stat .number {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
}
.impact-stat .label { font-size: 0.9rem; color: rgba(255,255,255,0.8); text-transform: uppercase; letter-spacing: 0.08em; }

/* ============================================================
   HISTORY PAGE
   ============================================================ */

.timeline { position: relative; padding: 2rem 0; }
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 3px;
  background: var(--gold);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 2.5rem);
  margin-bottom: 2.5rem;
  position: relative;
}
.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 2.5rem);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 1.2rem;
  width: 18px; height: 18px;
  background: var(--gold);
  border: 3px solid var(--white);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 3px var(--gold);
}

.timeline-content {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  max-width: 420px;
}
.timeline-content .year {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.2rem 0.7rem;
  border-radius: 2px;
  margin-bottom: 0.5rem;
}
.timeline-content h4 { color: var(--navy); margin-bottom: 0.4rem; }
.timeline-content p { font-size: 0.9rem; margin-bottom: 0; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.gallery-grid img:hover { transform: scale(1.03); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem;
}
.form-group { margin-bottom: 1.3rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--gray-mid);
  border-radius: var(--radius);
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-group textarea { resize: vertical; min-height: 130px; }

.contact-info-card {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 2.5rem;
  color: var(--white);
}
.contact-info-card h3 { color: var(--white); margin-bottom: 1.5rem; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.contact-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: rgba(200,146,58,0.2);
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.contact-item-text strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  margin-bottom: 0.2rem;
}
.contact-item-text span, .contact-item-text a {
  color: rgba(255,255,255,0.85);
  font-size: 0.93rem;
}
.contact-item-text a:hover { color: var(--gold-light); }

.office-hours { margin-top: 2rem; }
.office-hours h4 { color: var(--gold-light); margin-bottom: 0.8rem; font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.08em; }
.hours-row { display: flex; justify-content: space-between; font-size: 0.88rem; padding: 0.4rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.hours-row span:first-child { color: rgba(255,255,255,0.7); }
.hours-row span:last-child { color: var(--white); font-weight: 600; }

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.map-container iframe { width: 100%; height: 350px; border: none; display: block; }

/* Alert messages */
.alert {
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 1.2rem;
  font-size: 0.93rem;
  font-weight: 600;
}
.alert-success { background: #d4edda; color: #155724; border-left: 4px solid #28a745; }
.alert-error   { background: #f8d7da; color: #721c24; border-left: 4px solid #dc3545; }

/* ============================================================
   FOOTER
   ============================================================ */

#site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.8);
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.footer-brand { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; }
.footer-brand img { height: 46px; }
.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
}

.footer-tagline { font-size: 0.88rem; line-height: 1.65; color: rgba(255,255,255,0.7); }

.footer-links h4, .footer-contact h4 {
  color: var(--gold-light);
  font-family: 'Open Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-links ul li { margin-bottom: 0.5rem; }
.footer-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold-light); }

.footer-contact-item { display: flex; gap: 0.7rem; margin-bottom: 1rem; align-items: flex-start; }
.footer-contact-item span:first-child { font-size: 1rem; margin-top: 0.1rem; }
.footer-contact-item .fc-text { font-size: 0.85rem; color: rgba(255,255,255,0.75); line-height: 1.5; }
.footer-contact-item a { color: rgba(255,255,255,0.75); }
.footer-contact-item a:hover { color: var(--gold-light); }

.footer-bottom {
  background: rgba(0,0,0,0.25);
  text-align: center;
  padding: 1.1rem 1.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-bottom a { color: rgba(255,255,255,0.55); }
.footer-bottom a:hover { color: var(--gold-light); }

/* ============================================================
   DIVIDER IMAGE BANNER
   ============================================================ */

.img-divider {
  position: relative;
  height: 320px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.img-divider-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27,42,74,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}
.img-divider-overlay h2 { color: var(--white); }
.img-divider-overlay p { color: rgba(255,255,255,0.85); max-width: 600px; }

/* ============================================================
   FADE-IN ANIMATION
   ============================================================ */

.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  #nav-list a { padding: 0.4rem 0.55rem; font-size: 0.77rem; }
}

@media (max-width: 900px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .timeline::before { left: 20px; }
  .timeline-item,
  .timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-left: 3.5rem;
    padding-right: 0;
  }
  .timeline-dot { left: 20px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  #nav-list {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: var(--white);
    padding: 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-top: 2px solid var(--gold);
    z-index: 999;
  }
  #nav-list.open { display: flex; }
  #nav-list li { width: 100%; }
  #nav-list a { padding: 0.6rem 0.8rem; font-size: 0.88rem; border-radius: 4px; }
  .hero { min-height: 70vh; }
  .grid-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .welcome-text { padding-left: 0; margin-top: 1.5rem; }
  .service-times { gap: 1.5rem; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .mission-statement { padding: 2rem 1.5rem; }
}
