/* =========================================================
   Wesleyville Valleyfield Pastoral Charge — style.css
   ========================================================= */

/* ----- CSS Custom Properties ----- */
:root {
  --primary:      #1B2A4A;
  --primary-dark: #111d35;
  --accent:       #C5972E;
  --accent-light: #e3b94a;
  --light-bg:     #F4F1EC;
  --white:        #FFFFFF;
  --text-dark:    #2C2C2C;
  --text-muted:   #6B6B6B;
  --border:       #D9D4C7;
  --shadow:       0 2px 16px rgba(0,0,0,0.09);
  --radius:       6px;
  --transition:   0.25s ease;
  --max-width:    1200px;
  --header-h:     88px;
}

/* ----- Reset & Base ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

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

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

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-light); }

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: 'Merriweather', Georgia, serif;
  line-height: 1.3;
  color: var(--primary);
}

h1 { font-size: 2.3rem; font-weight: 700; }
h2 { font-size: 1.75rem; font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }

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

address { font-style: normal; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ----- Utilities ----- */
.text-center { text-align: center; }
.text-accent  { color: var(--accent); }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.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.9rem;
  letter-spacing: 0.03em;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
  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(--primary);
}

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

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { color: var(--text-muted); max-width: 640px; margin: 0 auto; }

.divider {
  width: 56px; height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin: 0.9rem auto 0;
}

/* ----- HEADER ----- */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--primary);
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  height: var(--header-h);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.header-brand { flex-shrink: 0; }

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  text-decoration: none;
}
.brand-link:hover { color: var(--accent-light); }

.header-logo {
  width: 56px; height: 56px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  padding: 2px;
}

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

.brand-name {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.65);
  white-space: nowrap;
}

/* ----- NAVIGATION ----- */
#main-nav {
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
}

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

#nav-list li a {
  display: block;
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.42rem 0.65rem;
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

#nav-list li a:hover,
#nav-list li a.active {
  color: var(--white);
  background: rgba(255,255,255,0.12);
}

#nav-list li a.active {
  color: var(--accent-light);
  border-bottom: 2px solid var(--accent);
  border-radius: 4px 4px 0 0;
}

/* Hamburger button — hidden by default */
#nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 6px;
  margin-left: 0.5rem;
}
#nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
#nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#nav-toggle.open span:nth-child(2) { opacity: 0; }
#nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----- MOBILE NAV DRAWER ----- */
#mobile-nav {
  position: fixed;
  top: 0; right: -300px;
  width: 280px; height: 100%;
  background: var(--primary-dark);
  z-index: 1100;
  padding: 5rem 2rem 2rem;
  transition: right 0.3s ease;
  overflow-y: auto;
}
#mobile-nav.open { right: 0; }

#mobile-nav ul li { margin-bottom: 0.25rem; }
#mobile-nav ul li a {
  display: block;
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}
#mobile-nav ul li a:hover,
#mobile-nav ul li a.active {
  background: rgba(255,255,255,0.1);
  color: var(--accent-light);
}

#mobile-nav-close {
  position: absolute;
  top: 1.2rem; right: 1.2rem;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

#nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1050;
}
#nav-overlay.open { display: block; }

/* ----- HERO SECTION ----- */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,42,74,0.82) 0%, rgba(27,42,74,0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 3rem 1.5rem;
}

.hero-content h1 {
  color: var(--white);
  font-size: 2.6rem;
  margin-bottom: 1rem;
}

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

.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Inner page hero (shorter) */
.page-hero {
  min-height: 300px;
  padding: 4rem 0;
}
.page-hero .hero-content h1 { font-size: 2.1rem; }

/* ----- MISSION & VISION CARDS (Homepage) ----- */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.mv-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem 2rem;
  border-top: 5px solid var(--accent);
  transition: transform var(--transition);
}
.mv-card:hover { transform: translateY(-4px); }

.mv-icon {
  width: 56px; height: 56px;
  margin-bottom: 1.25rem;
  color: var(--accent);
}

.mv-card h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

/* ----- WELCOME / CTA BAND ----- */
.welcome-band {
  position: relative;
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 5rem 0;
}
.welcome-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(27,42,74,0.78);
}
.welcome-band .container { position: relative; z-index: 1; text-align: center; }
.welcome-band h2 { color: var(--white); margin-bottom: 1rem; }
.welcome-band p { color: rgba(255,255,255,0.88); max-width: 680px; margin: 0 auto 2rem; font-size: 1.05rem; }

/* ----- SERVICE TIMES STRIP ----- */
.times-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.time-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
  text-align: center;
  border-bottom: 4px solid var(--accent);
}
.time-card h3 { color: var(--primary); margin-bottom: 0.5rem; font-size: 1rem; }
.time-card .time { font-size: 1.6rem; font-weight: 700; color: var(--accent); font-family: 'Merriweather', serif; }
.time-card .location { color: var(--text-muted); font-size: 0.9rem; margin-top: 0.25rem; }

/* ----- MINISTRY HIGHLIGHTS GRID ----- */
.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.mini-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.mini-card:hover { transform: translateY(-4px); box-shadow: 0 6px 24px rgba(0,0,0,0.13); }
.mini-card svg { width: 48px; height: 48px; color: var(--accent); margin: 0 auto 1rem; display: block; }
.mini-card h3 { font-size: 1rem; color: var(--primary); margin-bottom: 0.5rem; }
.mini-card p { font-size: 0.9rem; color: var(--text-muted); }
.mini-card a { font-size: 0.85rem; font-weight: 600; color: var(--accent); display: inline-block; margin-top: 0.75rem; }

/* ----- NEWS CARDS ----- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.news-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition);
}
.news-card:hover { transform: translateY(-3px); }
.news-card-img {
  width: 100%; height: 180px;
  object-fit: cover;
}
.news-card-body { padding: 1.5rem; }
.news-date { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.4rem; }
.news-card-body h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.news-card-body p { font-size: 0.9rem; color: var(--text-muted); }
.news-card-body a { font-size: 0.85rem; font-weight: 600; color: var(--accent); display: inline-block; margin-top: 0.75rem; }

/* ----- CONTACT STRIP ----- */
.contact-strip {
  background: var(--primary);
  color: var(--white);
  padding: 3rem 0;
}
.contact-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.contact-strip h2 { color: var(--white); margin-bottom: 0.5rem; }
.contact-strip p { color: rgba(255,255,255,0.8); margin-bottom: 0.25rem; }
.contact-strip a { color: var(--accent-light); }

/* ----- MISSION PAGE SPECIFICS ----- */
.mission-statement {
  background: var(--primary);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}
.mission-statement blockquote {
  font-family: 'Merriweather', serif;
  font-size: 1.35rem;
  line-height: 1.7;
  max-width: 820px;
  margin: 0 auto;
  color: var(--white);
  border: none;
  padding: 0;
}
.mission-statement blockquote::before {
  content: '\201C';
  font-size: 3rem;
  color: var(--accent);
  line-height: 0;
  vertical-align: -0.5rem;
  display: block;
  margin-bottom: 1rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.pillar-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
  text-align: center;
  border-top: 5px solid var(--accent);
}
.pillar-card svg { width: 52px; height: 52px; color: var(--accent); margin: 0 auto 1rem; display: block; }
.pillar-card h3 { color: var(--primary); margin-bottom: 0.75rem; }

.scripture-block {
  background: var(--light-bg);
  border-left: 6px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 2rem 2.5rem;
  max-width: 720px;
  margin: 0 auto;
}
.scripture-block blockquote {
  font-family: 'Merriweather', serif;
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-style: italic;
}
.scripture-block cite { color: var(--text-muted); font-size: 0.9rem; font-style: normal; }

/* ----- ABOUT PAGE ----- */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-intro-grid img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 360px; object-fit: cover; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}
.value-chip {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1rem;
  text-align: center;
  border-top: 4px solid var(--accent);
}
.value-chip h3 { font-size: 0.95rem; color: var(--primary); }

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.leader-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.5rem;
  text-align: center;
}
.leader-avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: var(--light-bg);
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
}
.leader-avatar svg { width: 48px; height: 48px; color: var(--text-muted); }
.leader-card h3 { font-size: 1rem; color: var(--primary); margin-bottom: 0.25rem; }
.leader-card p { font-size: 0.88rem; color: var(--text-muted); }

/* ----- WORSHIP PAGE ----- */
.worship-times-table {
  width: 100%;
  border-collapse: collapse;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
}
.worship-times-table thead { background: var(--primary); color: var(--white); }
.worship-times-table th, .worship-times-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 0.95rem;
}
.worship-times-table tbody tr { border-bottom: 1px solid var(--border); }
.worship-times-table tbody tr:last-child { border-bottom: none; }
.worship-times-table tbody tr:nth-child(even) { background: var(--light-bg); }

.special-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.special-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem 1.5rem;
  border-left: 5px solid var(--accent);
}
.special-card h3 { color: var(--primary); margin-bottom: 0.5rem; font-size: 1rem; }
.special-card p { font-size: 0.9rem; color: var(--text-muted); }

/* ----- MINISTRIES PAGE ----- */
.ministries-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}
.ministry-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: transform var(--transition);
}
.ministry-card:hover { transform: translateY(-3px); }
.ministry-icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  background: var(--light-bg);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.ministry-icon svg { width: 28px; height: 28px; }
.ministry-card h3 { color: var(--primary); margin-bottom: 0.5rem; font-size: 1rem; }
.ministry-card p { font-size: 0.9rem; color: var(--text-muted); }

/* ----- PASTORAL CARE PAGE ----- */
.care-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.care-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem 1.5rem;
  text-align: center;
  border-top: 4px solid var(--accent);
}
.care-card svg { width: 44px; height: 44px; color: var(--accent); margin: 0 auto 1rem; }
.care-card h3 { color: var(--primary); margin-bottom: 0.5rem; font-size: 0.95rem; }
.care-card p { font-size: 0.88rem; color: var(--text-muted); }

.confidential-banner {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  text-align: center;
}
.confidential-banner h3 { color: var(--white); margin-bottom: 0.5rem; }
.confidential-banner p { color: rgba(255,255,255,0.85); margin-bottom: 0; }

/* ----- COMMUNITY PAGE ----- */
.outreach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.outreach-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem 1.5rem;
  border-bottom: 4px solid var(--accent);
}
.outreach-card svg { width: 40px; height: 40px; color: var(--accent); margin-bottom: 0.75rem; }
.outreach-card h3 { color: var(--primary); margin-bottom: 0.5rem; font-size: 1rem; }
.outreach-card p { font-size: 0.9rem; color: var(--text-muted); }

/* ----- HISTORY PAGE ----- */
.timeline {
  position: relative;
  padding-left: 2.5rem;
  max-width: 820px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0.6rem;
  top: 0; bottom: 0;
  width: 3px;
  background: var(--border);
  border-radius: 2px;
}
.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.95rem;
  top: 0.35rem;
  width: 14px; height: 14px;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--accent);
}
.timeline-year {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 3px;
  margin-bottom: 0.5rem;
  font-family: 'Open Sans', sans-serif;
}
.timeline-item h3 { color: var(--primary); font-size: 1rem; margin-bottom: 0.4rem; }
.timeline-item p { font-size: 0.92rem; color: var(--text-muted); }

/* ----- NEWS PAGE ----- */
.news-full-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: start;
}
.news-articles article {
  border-bottom: 1px solid var(--border);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}
.news-articles article:last-child { border-bottom: none; margin-bottom: 0; }
.news-articles .article-meta { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.news-articles h3 { color: var(--primary); margin-bottom: 0.5rem; font-size: 1.05rem; }
.news-articles p { font-size: 0.93rem; }

.news-sidebar { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.sidebar-box {
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}
.sidebar-box h3 { font-size: 1rem; color: var(--primary); margin-bottom: 1rem; border-bottom: 2px solid var(--accent); padding-bottom: 0.5rem; }
.sidebar-box ul li { padding: 0.5rem 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.sidebar-box ul li:last-child { border-bottom: none; }

/* =========================================================
   CONTACT PAGE — redesigned
   ========================================================= */

/* Quick contact cards bar */
.contact-cards-bar {
  background: var(--primary);
  padding: 0;
}
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 2rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,0.08);
  transition: background var(--transition);
}
.contact-card:last-child { border-right: none; }
.contact-card:hover { background: rgba(255,255,255,0.05); }
.contact-card--featured {
  background: rgba(197,151,46,0.18);
  border-bottom: 3px solid var(--accent);
}
.contact-card-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-light);
}
.contact-card-icon svg { width: 20px; height: 20px; }
.contact-card-body h3 {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.25rem;
}
.contact-card-body p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.4rem;
}
.contact-card-body a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-light);
}
.contact-card-body a:hover { color: var(--white); }
.contact-card-note {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-light);
}

/* Main 2-column layout */
.contact-main-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

/* Left info column */
.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.cinfo-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.cinfo-block h2 {
  margin-bottom: 0.75rem;
}
.cinfo-lead {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* Detail rows with icon */
.cinfo-details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.cinfo-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.cinfo-row:last-child { border-bottom: none; }
.cinfo-row-icon {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(197,151,46,0.12);
  color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.cinfo-row strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}
.cinfo-row p, .cinfo-row address {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-dark);
}
.cinfo-row a { color: var(--accent); font-weight: 600; }
.cinfo-row a:hover { color: var(--accent-light); }

/* Urgent box */
.cinfo-urgent {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: linear-gradient(135deg, var(--primary) 0%, #24385f 100%);
  border-radius: var(--radius);
  padding: 1.75rem;
  color: var(--white);
}
.cinfo-urgent-icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-light);
}
.cinfo-urgent h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.4rem;
}
.cinfo-urgent p {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Org meta strip */
.cinfo-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.cinfo-meta-item {
  padding: 1rem 1.1rem;
  border-right: 1px solid var(--border);
  text-align: center;
}
.cinfo-meta-item:last-child { border-right: none; }
.cinfo-meta-item span {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}
.cinfo-meta-item strong {
  display: block;
  font-size: 0.82rem;
  color: var(--primary);
  line-height: 1.4;
}

/* Right form column */
.contact-form-col { position: sticky; top: calc(var(--header-h) + 1.5rem); }

.cform-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  overflow: hidden;
}

.cform-header {
  background: linear-gradient(135deg, #f9f7f3 0%, var(--white) 100%);
  border-bottom: 1px solid var(--border);
  padding: 1.75rem 2rem;
}
.cform-header h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.cform-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

/* Form alerts */
.form-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  font-size: 0.9rem;
  border-bottom: 1px solid transparent;
}
.form-alert svg { flex-shrink: 0; margin-top: 2px; }
.form-alert.success {
  background: #f0faf1;
  color: #276027;
  border-color: #b2dfb4;
}
.form-alert.error {
  background: #fff5f5;
  color: #b71c1c;
  border-color: #ffcdd2;
}

/* Form fields */
#contact-form {
  padding: 1.75rem 2rem 2rem;
}
.cform-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.cform-field {
  margin-bottom: 1.1rem;
}
.cform-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}
.req { color: var(--accent); }
.opt { font-weight: 400; color: var(--text-muted); font-size: 0.8rem; }

.cform-field input,
.cform-field select,
.cform-field textarea {
  width: 100%;
  padding: 0.72rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Open Sans', sans-serif;
  font-size: 0.92rem;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.cform-field input:focus,
.cform-field select:focus,
.cform-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(197,151,46,0.18);
}
.cform-field textarea { min-height: 130px; resize: vertical; }

.honey { display: none; }

.cform-submit {
  width: 100%;
  font-size: 1rem;
  padding: 0.9rem 1.5rem;
  justify-content: center;
  letter-spacing: 0.04em;
}

/* Map section */
.map-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: stretch;
}
.map-info h2 { margin-bottom: 0; }
.map-info p { color: var(--text-muted); font-size: 0.95rem; }
.map-details {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.map-detail-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: var(--text-dark);
}
.map-detail-item svg { flex-shrink: 0; color: var(--accent); }
.map-detail-item a { color: var(--accent); font-weight: 600; }
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  min-height: 360px;
}

/* Responsive */
@media (max-width: 1024px) {
  .contact-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-card { border-bottom: 1px solid rgba(255,255,255,0.08); }
  .contact-main-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-form-col { position: static; }
  .map-layout { grid-template-columns: 1fr; }
  .map-frame { min-height: 300px; }
}
@media (max-width: 640px) {
  .contact-cards-grid { grid-template-columns: 1fr; }
  .cform-row-2 { grid-template-columns: 1fr; }
  .cinfo-meta { grid-template-columns: 1fr; }
  .cinfo-meta-item { border-right: none; border-bottom: 1px solid var(--border); }
  .cinfo-meta-item:last-child { border-bottom: none; }
  #contact-form { padding: 1.25rem; }
  .cform-header { padding: 1.25rem; }
}

/* =========================================================
   FOOTER — redesigned
   ========================================================= */
#site-footer {
  background: #0e1a2e;
  color: rgba(255,255,255,0.78);
  font-size: 0.9rem;
}

/* Gold accent bar at top of footer */
.footer-accent-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 50%, var(--accent) 100%);
}

/* Main content area */
.footer-main {
  padding: 4rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1.2fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

/* ---- Column 1: Brand ---- */
.footer-col--brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-brand-link {
  display: inline-block;
  margin-bottom: 1.1rem;
  transition: opacity var(--transition);
}
.footer-brand-link:hover { opacity: 0.85; }

.footer-logo {
  width: 72px; height: 72px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  padding: 4px;
  box-shadow: 0 0 0 1px rgba(197,151,46,0.35);
}

.footer-org-name {
  font-family: 'Merriweather', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 0.55rem;
}

.footer-org-denom {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-light);
  margin-bottom: 1rem;
}
.footer-denom-dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.footer-blurb {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.58);
  line-height: 1.7;
  margin-bottom: 1rem;
  max-width: 320px;
}

.footer-est {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.02em;
}

/* ---- Column headings ---- */
.footer-col-heading {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-light);
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* ---- Column 2: Quick Links ---- */
.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}
.footer-links-grid ul li {
  margin-bottom: 0.55rem;
}
.footer-links-grid ul li a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition), padding-left var(--transition);
  display: inline-block;
}
.footer-links-grid ul li a:hover {
  color: var(--accent-light);
  padding-left: 4px;
}

/* ---- Column 3: Contact ---- */
.footer-col--contact address { font-style: normal; }

.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.65);
  font-size: 0.87rem;
  line-height: 1.6;
}
.footer-contact-row svg {
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent);
}
.footer-contact-row a {
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-contact-row a:hover { color: var(--accent-light); }

.footer-hours {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-hours h4 {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-light);
  margin-bottom: 0.5rem;
}
.footer-hours p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 0.25rem;
}

/* ---- Bottom bar ---- */
.footer-bottom {
  background: rgba(0,0,0,0.35);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.1rem 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin: 0;
}
.footer-charity {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  margin: 0;
}

/* ---- Footer responsive ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-col--brand { grid-column: 1 / -1; flex-direction: row; align-items: flex-start; gap: 1.5rem; }
  .footer-blurb { max-width: 480px; }
}

@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-col--brand { flex-direction: column; gap: 0; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

/* ----- SCROLL REVEAL ANIMATION ----- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----- PAGE BANNER (inner pages shared style) ----- */
.page-banner {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  color: var(--white);
}
.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,42,74,0.88) 0%, rgba(27,42,74,0.6) 100%);
}
.page-banner-content {
  position: relative;
  z-index: 1;
  padding: 2.5rem 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}
.page-banner-content h1 { color: var(--white); font-size: 2.1rem; margin-bottom: 0.5rem; }
.page-banner-content p { color: rgba(255,255,255,0.85); font-size: 1.05rem; max-width: 600px; }

.breadcrumb {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.75rem;
}
.breadcrumb a { color: var(--accent-light); }
.breadcrumb span { margin: 0 0.4rem; }

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

/* Tablet */
@media (max-width: 1024px) {
  .brand-name { font-size: 0.82rem; }
  #nav-list li a { font-size: 0.76rem; padding: 0.38rem 0.5rem; }
  .mv-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner .footer-brand { grid-column: 1 / -1; }
}

/* Hamburger breakpoint — activated by JS when nav overflows */
@media (max-width: 900px) {
  .brand-name { font-size: 0.78rem; }
  #nav-list { display: none; }
  #nav-toggle { display: flex; }
}

/* Mobile */
@media (max-width: 768px) {
  :root { --header-h: 72px; }

  .hero-content h1 { font-size: 1.9rem; }
  .hero-content p { font-size: 1rem; }

  .mv-grid,
  .times-grid,
  .mini-grid,
  .news-grid,
  .contact-highlights,
  .pillars-grid,
  .about-intro-grid,
  .care-services-grid,
  .outreach-grid,
  .special-services-grid,
  .contact-grid,
  .location-grid,
  .leadership-grid { grid-template-columns: 1fr; }

  .ministries-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .news-full-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .contact-strip .container { flex-direction: column; text-align: center; }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.45rem; }
  .section { padding: 3.5rem 0; }

  .about-intro-grid img { height: 240px; }
  .contact-meta-grid { grid-template-columns: 1fr; }
  .location-copy { padding-right: 0; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; }
  .btn { width: 100%; text-align: center; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .page-banner-content h1 { font-size: 1.7rem; }
  .hero-content h1 { font-size: 1.6rem; }
}
