/* ── Design Tokens ──────────────────────────────────────── */
:root {
  --navy:      #1e3a5f;
  --navy-dark: #132742;
  --gold:      #c9a84c;
  --gold-light:#e8c96a;
  --white:     #ffffff;
  --gray-50:   #f8f9fa;
  --gray-100:  #f1f3f5;
  --gray-200:  #e9ecef;
  --gray-400:  #868e96;
  --gray-700:  #495057;
  --gray-900:  #212529;
  --radius:    8px;
  --radius-lg: 16px;
  --shadow:    0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --transition: 0.2s ease;
  --max-width: 1200px;
  --section-pad: 5rem 1.5rem;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Utilities ──────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.section-header p {
  color: var(--gray-700);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
}
.btn-primary:hover { background: var(--gold-light); }
.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--navy); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-dark); }

/* ── Navigation ─────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo-img {
  height: 52px;
  width: auto;
  display: block;
  filter: invert(1);
  mix-blend-mode: screen;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); background: rgba(255,255,255,0.1); }
.nav-give { padding: 0.4rem 1rem !important; background: var(--gold) !important; color: var(--navy-dark) !important; }
.nav-give:hover { background: var(--gold-light) !important; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--navy-dark);
    padding: 1rem 1.5rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.75rem 0.5rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .nav-give { margin-top: 0.5rem; text-align: center; }
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--navy-dark);
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, var(--navy-dark) 0%, #2a4a7f 50%, #1a3055 100%);
  opacity: 0.75;
  z-index: 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/church-building.jpg') center 70% / cover no-repeat;
  opacity: 0.6;
  z-index: 0;
}
/* Subtle radial glow accents */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(201,168,76,0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(201,168,76,0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 6rem 1.5rem;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
}
.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1rem;
}
.hero-title {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1rem;
  max-width: 700px;
}
.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2.5rem;
  max-width: 480px;
}
.hero-times {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
  align-items: center;
}
.time-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 130px;
}
.time-card--secondary {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.08);
}
.time-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
}
.time-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.time-day {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}
.time-divider {
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 300;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }

@media (max-width: 600px) {
  .hero-times { gap: 0.75rem; }
  .time-card { min-width: 110px; padding: 0.8rem 1rem; }
  .time-value { font-size: 1.2rem; }
  .time-divider { display: none; }
}

/* ── Sections ───────────────────────────────────────────── */
.section { padding: var(--section-pad); }
.section--gray { background: var(--gray-50); }

/* ── Cards Grid ─────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* ── Event Cards ────────────────────────────────────────── */
.event-card { display: flex; align-items: flex-start; padding: 1.5rem; gap: 1.25rem; }
.event-date {
  flex-shrink: 0;
  width: 60px;
  background: var(--navy);
  border-radius: var(--radius);
  padding: 0.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
}
.event-month {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
}
.event-day {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
}
.event-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 0.4rem; }
.event-body p { font-size: 0.9rem; color: var(--gray-700); margin-bottom: 0.5rem; }
.event-time {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── Class Group Titles ─────────────────────────────────── */
.class-group-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.class-leader {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-400);
}

/* ── Class Cards ────────────────────────────────────────── */
.class-card {
  padding: 2rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.class-icon { font-size: 2.5rem; margin-bottom: 0.5rem; }
.class-card h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); }
.class-card p { font-size: 0.9rem; color: var(--gray-700); flex: 1; }
.class-time {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.5rem;
}

/* ── Ministries ─────────────────────────────────────────── */
.ministries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}
.ministry-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold);
  transition: transform var(--transition), box-shadow var(--transition);
}
.ministry-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.ministry-badge {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.ministry-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 0.35rem; }
.ministry-body p { font-size: 0.9rem; color: var(--gray-700); }

/* ── Leadership ─────────────────────────────────────────── */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.leader-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.leader-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.leader-photo {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--gray-100);
}
.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.leader-info { padding: 1.25rem 1rem; }
.leader-info h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.25rem; }
.leader-title { font-size: 0.85rem; color: var(--gray-400); margin-bottom: 0.6rem; font-weight: 500; }
.leader-contact {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
  word-break: break-all;
  transition: var(--transition);
}
.leader-contact:hover { color: var(--navy); }
.leadership-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-400);
  font-style: italic;
  margin-top: 1rem;
}

/* ── Watch / Sermons ────────────────────────────────────── */
.watch-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3rem;
}
.watch-embed {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/9;
  background: #000;
}
.watch-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.watch-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.watch-featured-info h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.watch-pastor { font-size: 0.9rem; color: var(--gray-400); margin-bottom: 0.75rem; }
.watch-archive-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1.25rem;
}
.watch-archive {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.sermon-thumb { display: block; text-decoration: none; }
.sermon-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--gray-200);
  margin-bottom: 0.6rem;
}
.sermon-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.sermon-thumb:hover .sermon-img img { opacity: 0.8; }
.sermon-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  opacity: 0;
  transition: var(--transition);
  background: rgba(0,0,0,0.35);
}
.sermon-thumb:hover .sermon-play { opacity: 1; }
.sermon-name { font-size: 0.9rem; font-weight: 600; color: var(--gray-900); margin-bottom: 0.2rem; }
.sermon-date { font-size: 0.78rem; color: var(--gray-400); }
.watch-note {
  font-size: 0.85rem;
  color: var(--gray-400);
  font-style: italic;
  text-align: center;
}

@media (max-width: 768px) {
  .watch-featured { grid-template-columns: 1fr; }
}

/* ── I'm New ────────────────────────────────────────────── */
.new-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.new-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.new-icon { font-size: 2.5rem; }
.new-card h3 { font-size: 1.2rem; font-weight: 800; color: var(--navy); }
.new-card p { font-size: 0.95rem; color: var(--gray-700); }
.new-times {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--gray-700);
}

/* ── What We Believe ────────────────────────────────────── */
.believe-section {
  background: var(--navy);
  color: var(--white);
}
.believe-section .section-header h2 { color: var(--white); }
.believe-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.believe-text h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}
.believe-text p { color: rgba(255,255,255,0.8); margin-bottom: 1rem; font-size: 1rem; }
.believe-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.believe-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.pillar {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}
.pillar-icon { font-size: 1.75rem; display: block; margin-bottom: 0.5rem; }
.pillar h4 { font-size: 0.95rem; font-weight: 700; color: var(--gold); margin-bottom: 0.35rem; }
.pillar p { font-size: 0.85rem; color: rgba(255,255,255,0.7); }

@media (max-width: 768px) {
  .believe-inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* ── Contact ────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 2rem;
  align-items: start;
}
.contact-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.75rem;
}
.contact-block h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.6rem; }
.contact-block p { font-size: 0.95rem; color: var(--gray-700); }
.contact-link {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  display: block;
  margin-bottom: 0.35rem;
}
.contact-link:hover { color: var(--navy); }
.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
  background: var(--gray-100);
}
.contact-map iframe { width: 100%; height: 100%; border: none; display: block; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .contact-map { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ── Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 3rem 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
}
.footer-logo {
  height: 120px;
  width: auto;
  margin-bottom: 0.75rem;
  filter: invert(1);
  mix-blend-mode: screen;
}
.footer-name { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem; }
.footer-address { font-size: 0.9rem; margin-bottom: 0.35rem; }
.footer-address a { color: var(--gold); }
.footer-col-title { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 0.75rem; }
.footer-links ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { font-size: 0.9rem; color: rgba(255,255,255,0.7); transition: var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-social-link { display: block; font-size: 0.95rem; color: rgba(255,255,255,0.7); transition: var(--transition); }
.footer-social-link:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 1.5rem;
  font-size: 0.8rem;
  text-align: center;
  color: rgba(255,255,255,0.45);
}

@media (max-width: 700px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* ── Next Service Card ─────────────────────────────────── */
.next-service-card {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  color: #fff;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.next-service-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.next-service-text {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

