@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

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

:root {
  --dark:    #1a2744;
  --teal:    #1a5276;
  --teal-lt: #d6eaf8;
  --teal-mid:#2471a3;
  --slate:   #64748B;
  --body:    #334155;
  --ltgray:  #F8FAFC;
  --midgray: #E2E8F0;
  --white:   #FFFFFF;
  --font:    'Lato', sans-serif;
  --display: 'Libre Baskerville', Georgia, serif;
  --nav-h:   72px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--body);
  background: var(--white);
  line-height: 1.6;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0 2rem;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  margin-right: auto;
  flex-shrink: 0;
}

.nav-logo-mark {
  width: 44px;
  height: 44px;
  overflow: hidden;
  border-radius: 50%;
  flex-shrink: 0;
  background: white;
}

.nav-logo-mark img {
  height: 44px;
  width: auto;
  display: block;
}

.nav-logo-wordmark {
  display: flex;
  flex-direction: column;
}

.nav-logo-name {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1;
  letter-spacing: 0.01em;
}

.nav-logo-sub {
  font-family: var(--font);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 0.3rem;
}

.nav-logo-img {
  margin-right: auto;
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img img {
  height: 52px;
  width: auto;
  display: block;
}

.nav-links { display: flex; gap: 0.25rem; align-items: center; }

/* Dropdown nav */
.nav-item { position: relative; }
.nav-item > a { display: flex; align-items: center; gap: 0.3rem; }
.nav-item > a::after { content: '▾'; font-size: 0.65rem; opacity: 0.6; }
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #1a2744;
  min-width: 200px;
  border-radius: 8px;
  padding: 0.5rem 0;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.nav-item:hover .dropdown { display: block; }
.dropdown a {
  display: block;
  padding: 0.5rem 1.25rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  border-radius: 0;
}
.dropdown a:hover { background: rgba(255,255,255,0.1); color: white; }

.nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); background: rgba(255,255,255,0.1); }

.nav-cta {
  background: var(--teal) !important;
  color: var(--white) !important;
  padding: 0.55rem 1.1rem !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  margin-left: 0.5rem;
}
.nav-cta:hover { background: var(--teal-mid) !important; }

/* ── HAMBURGER ── */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: 0.3s; }

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, #0f172a 100%);
  color: var(--white);
  padding: 6rem 2rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 60% 0%, rgba(13,148,136,0.25) 0%, transparent 60%);
}

.hero-inner { position: relative; max-width: 760px; margin: 0 auto; }

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-mid);
  background: rgba(13,148,136,0.15);
  border: 1px solid rgba(13,148,136,0.3);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}

.hero h1 em { font-style: normal; color: var(--teal-mid); }

.hero p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  max-width: 540px;
  margin: 0 auto 2.25rem;
  line-height: 1.65;
}

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── SERVICE TIMES BAR ── */
.service-bar {
  background: var(--teal);
  color: var(--white);
  padding: 1rem 2rem;
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.service-bar strong { display: block; font-size: 1rem; font-weight: 600; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1.6rem;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.1s;
}
.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-mid); }

.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { background: var(--body); }

.btn-ghost { background: transparent; color: var(--teal); border: 2px solid var(--teal); }
.btn-ghost:hover { background: var(--teal-lt); }

/* ── SECTION SHELLS ── */
section { padding: 5rem 2rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 600;
  color: var(--dark);
  letter-spacing: 0;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--slate);
  max-width: 560px;
  line-height: 1.65;
  margin-bottom: 3rem;
}

/* ── GRID HELPERS ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 1px solid var(--midgray);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.1); transform: translateY(-2px); }

.card-img { width: 100%; height: 200px; object-fit: cover; }

.card-body { padding: 1.5rem; }
.card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-lt);
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}
.card-title { font-size: 1.1rem; font-weight: 600; color: var(--dark); margin-bottom: 0.5rem; }
.card-meta { font-size: 0.85rem; color: var(--slate); margin-bottom: 0.75rem; }
.card-text { font-size: 0.95rem; color: var(--body); line-height: 1.6; }

/* ── EVENT CARD ── */
.event-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--midgray);
  border-radius: 12px;
  background: var(--white);
  transition: box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
}
.event-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }

.event-date {
  flex-shrink: 0;
  width: 56px;
  text-align: center;
  background: var(--teal-lt);
  border-radius: 10px;
  padding: 0.5rem 0.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.event-month { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); }
.event-day { font-size: 1.6rem; font-weight: 700; color: var(--dark); line-height: 1; }

.event-info { flex: 1; }
.event-title { font-weight: 600; color: var(--dark); margin-bottom: 0.25rem; }
.event-time { font-size: 0.85rem; color: var(--slate); }

/* ── HIGHLIGHT BAND ── */
.band { background: var(--ltgray); }
.band-dark { background: var(--dark); color: var(--white); }
.band-teal { background: var(--teal); color: var(--white); }

/* ── STAT ROW ── */
.stat-item { text-align: center; }
.stat-num {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--teal-mid);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat-label { font-size: 0.9rem; color: rgba(255,255,255,0.7); }

/* ── QUOTE ── */
.pull-quote {
  border-left: 4px solid var(--teal);
  padding: 1.25rem 1.75rem;
  background: var(--teal-lt);
  border-radius: 0 12px 12px 0;
  margin: 2rem 0;
}
.pull-quote p { font-size: 1.15rem; font-style: italic; color: var(--dark); line-height: 1.7; }
.pull-quote cite { display: block; margin-top: 0.75rem; font-size: 0.85rem; font-style: normal; color: var(--slate); }

/* ── MINISTRY CARD ── */
.ministry-card {
  padding: 2rem;
  border-radius: 14px;
  border: 1px solid var(--midgray);
  background: var(--white);
}
.ministry-icon {
  width: 48px;
  height: 48px;
  background: var(--teal-lt);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
.ministry-title { font-size: 1.05rem; font-weight: 600; color: var(--dark); margin-bottom: 0.5rem; }
.ministry-text { font-size: 0.93rem; color: var(--body); line-height: 1.65; }

/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #0f172a 100%);
  color: var(--white);
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(13,148,136,0.2) 0%, transparent 65%);
}
.page-hero-inner { position: relative; max-width: 1100px; margin: 0 auto; }
.page-hero h1 { font-family: var(--display); font-size: clamp(2.8rem, 5vw, 4rem); font-weight: 600; letter-spacing: 0; line-height: 1.05; margin-bottom: 0.75rem; }
.page-hero p { font-size: 1.05rem; color: rgba(255,255,255,0.72); max-width: 520px; line-height: 1.65; }

/* ── FOOTER ── */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 2rem 2rem;
}
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }

.footer-brand { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 0.75rem; }
.footer-tagline { font-size: 0.9rem; line-height: 1.65; margin-bottom: 1.25rem; }

.footer-col h4 { color: var(--white); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col a { display: block; color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.9rem; margin-bottom: 0.5rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── DIVIDER ── */
.divider { height: 1px; background: var(--midgray); margin: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 640px) {
  section { padding: 3.5rem 1.25rem; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0; background: var(--dark); padding: 1rem 1.5rem 1.5rem; gap: 0.15rem; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .service-bar { gap: 1.5rem; }
}
