@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Source+Sans+3:wght@300;400;600;700&display=swap');

/* ── Variables ─────────────────────────────────────────── */
:root {
  --blue:       #2e6da4;
  --blue-dark:  #1f4e7a;
  --blue-light: #4a8cc2;
  --gray:       #8a9aaa;
  --gray-light: #f4f5f6;
  --gray-mid:   #dde2e7;
  --charcoal:   #1e2730;
  --white:      #ffffff;
  --text:       #2c3540;
  --text-light: #5a6472;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Source Sans 3', sans-serif;

  --radius: 4px;
  --shadow: 0 2px 20px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.15);
  --transition: 0.25s ease;
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Navigation ────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 72px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-mid);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow); }
.nav-brand { display: flex; align-items: center; gap: 14px; }
.nav-brand img { height: 44px; width: 44px; }
.nav-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav-brand-text .name { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--charcoal); letter-spacing: 0.01em; }
.nav-brand-text .location { font-size: 11px; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: 0.08em; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a { font-size: 14px; font-weight: 600; color: var(--text-light); padding: 8px 14px; border-radius: var(--radius); transition: color var(--transition), background var(--transition); letter-spacing: 0.03em; }
.nav-links a:hover { color: var(--blue); background: rgba(46,109,164,0.07); }
.nav-links a.active { color: var(--blue); }
.nav-links .btn-nav { background: var(--blue); color: var(--white); padding: 9px 20px; border-radius: var(--radius); }
.nav-links .btn-nav:hover { background: var(--blue-dark); color: var(--white); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--charcoal); transition: var(--transition); }

/* ── Buttons ───────────────────────────────────────────── */
.btn { display: inline-block; font-family: var(--font-body); font-weight: 700; font-size: 15px; letter-spacing: 0.04em; padding: 14px 32px; border-radius: var(--radius); cursor: pointer; transition: all var(--transition); border: 2px solid transparent; }
.btn-primary { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }
.btn-outline-dark { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline-dark:hover { background: var(--blue); color: var(--white); }

/* ── Section helpers ───────────────────────────────────── */
.section { padding: 96px 40px; }
.section-sm { padding: 64px 40px; }
.container { max-width: 1100px; margin: 0 auto; }
.container-narrow { max-width: 740px; margin: 0 auto; }
.section-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--blue); margin-bottom: 12px; }
.section-title { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--charcoal); line-height: 1.2; margin-bottom: 20px; }
.section-title.light { color: var(--white); }
.section-subtitle { font-size: 18px; color: var(--text-light); max-width: 580px; line-height: 1.7; }
.section-subtitle.light { color: rgba(255,255,255,0.82); }
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}
.hero-bg { position: absolute; inset: 0; background: var(--charcoal); }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; opacity: 0.48; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(20,30,42,0.80) 0%, rgba(20,30,42,0.45) 55%, rgba(20,30,42,0.2) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 1100px; margin: 0 auto; padding: 80px 40px 80px; width: 100%; }
.hero-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--blue-light); margin-bottom: 20px; padding: 6px 14px; border: 1px solid rgba(74,140,194,0.4); border-radius: 20px; }
.hero h1 { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 900; color: var(--white); line-height: 1.15; margin-bottom: 24px; max-width: 600px; }
.hero h1 em { font-style: italic; color: rgba(255,255,255,0.88); }
.hero-sub { font-size: 19px; color: rgba(255,255,255,0.85); max-width: 480px; margin-bottom: 40px; line-height: 1.65; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-info-bar { position: relative; bottom: auto; left: auto; right: auto; z-index: 2; background: rgba(255,255,255,0.97); backdrop-filter: blur(8px); border-top: 3px solid var(--blue); }
.hero-info-bar-inner { max-width: 1100px; margin: 0 auto; padding: 22px 40px; display: flex; gap: 48px; align-items: center; flex-wrap: wrap; }
.info-item { display: flex; align-items: center; gap: 12px; }
.info-icon { width: 38px; height: 38px; background: rgba(46,109,164,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.info-icon svg { width: 18px; height: 18px; stroke: var(--blue); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.info-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray); display: block; margin-bottom: 1px; }
.info-value { font-size: 15px; font-weight: 600; color: var(--charcoal); }

/* ── Translation banner ────────────────────────────────── */
.translation-band {
  background: var(--charcoal);
  padding: 20px 40px;
}
.translation-band-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.translation-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.02em;
}
.translation-item .flag { font-size: 20px; }
.translation-item .asl-icon {
  width: 28px;
  height: 28px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.translation-divider {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,0.2);
}
.translation-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  margin-right: 8px;
}

/* ── About strip ───────────────────────────────────────── */
.about-strip { background: var(--blue); padding: 72px 40px; }
.about-strip-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-strip p { font-size: 18px; color: rgba(255,255,255,0.88); line-height: 1.75; margin-bottom: 24px; }
.about-strip p:last-child { margin-bottom: 0; }
.about-strip-image { position: relative; }
.about-strip-image img { width: 100%; height: 420px; object-fit: cover; border-radius: 2px; }
.about-strip-image::before { content: ''; position: absolute; top: -12px; left: -12px; right: 12px; bottom: 12px; border: 2px solid rgba(255,255,255,0.25); border-radius: 2px; pointer-events: none; }

/* ── Visit preview ─────────────────────────────────────── */
.visit-preview { background: var(--gray-light); }
.visit-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 52px; }
.visit-card { background: var(--white); border-radius: var(--radius); padding: 36px 30px; border-top: 3px solid var(--blue); box-shadow: var(--shadow); }
.visit-card-icon { width: 48px; height: 48px; background: rgba(46,109,164,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.visit-card-icon svg { width: 22px; height: 22px; stroke: var(--blue); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.visit-card h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--charcoal); margin-bottom: 10px; }
.visit-card p { font-size: 16px; color: var(--text-light); line-height: 1.65; }

/* ── Ministry cards ────────────────────────────────────── */
.ministry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 52px; }
.ministry-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition); }
.ministry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ministry-card-img { height: 220px; overflow: hidden; }
.ministry-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.ministry-card:hover .ministry-card-img img { transform: scale(1.04); }
.ministry-card-body { padding: 28px 26px; }
.ministry-card-body h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--charcoal); margin-bottom: 10px; }
.ministry-card-body p { font-size: 15px; color: var(--text-light); line-height: 1.65; }

/* ── Pastor section ────────────────────────────────────── */
.pastor-section { background: var(--charcoal); }
.pastor-inner { display: grid; grid-template-columns: 380px 1fr; gap: 80px; align-items: center; }
.pastor-photo { position: relative; }
.pastor-photo img { width: 100%; height: 500px; object-fit: cover; object-position: center top; border-radius: 2px; }
.pastor-photo::after { content: ''; position: absolute; bottom: -14px; right: -14px; width: 80%; height: 80%; border: 2px solid rgba(46,109,164,0.4); border-radius: 2px; pointer-events: none; }
.pastor-content .section-label { color: var(--blue-light); }
.pastor-content .section-title { color: var(--white); }
.pastor-content p { font-size: 17px; color: rgba(255,255,255,0.78); line-height: 1.8; margin-bottom: 18px; }
.pastor-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--white); margin-top: 8px; }

/* ── CTA band ──────────────────────────────────────────── */
.cta-band { background: var(--blue); padding: 80px 40px; text-align: center; }
.cta-band h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; color: var(--white); margin-bottom: 16px; }
.cta-band p { font-size: 18px; color: rgba(255,255,255,0.82); margin-bottom: 36px; max-width: 520px; margin-left: auto; margin-right: auto; }

/* ── Page hero ─────────────────────────────────────────── */
.page-hero { background: var(--charcoal); padding: 140px 40px 72px; text-align: center; }
.page-hero .section-label { color: var(--blue-light); }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 900; color: var(--white); line-height: 1.15; margin-bottom: 16px; }
.page-hero p { font-size: 18px; color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto; }

/* ── PYV page ──────────────────────────────────────────── */
.pyv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.pyv-what h2 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--charcoal); margin-bottom: 28px; }
.pyv-item { display: flex; gap: 18px; margin-bottom: 28px; }
.pyv-item-icon { width: 42px; height: 42px; background: rgba(46,109,164,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.pyv-item-icon svg { width: 20px; height: 20px; stroke: var(--blue); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pyv-item h4 { font-weight: 700; font-size: 16px; color: var(--charcoal); margin-bottom: 4px; }
.pyv-item p { font-size: 15px; color: var(--text-light); line-height: 1.6; }
.pyv-door-img { width: 100%; height: 300px; object-fit: cover; object-position: center top; border-radius: var(--radius); margin-bottom: 28px; box-shadow: var(--shadow-lg); }

/* ── Form ──────────────────────────────────────────────── */
.form-card { background: var(--white); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-lg); border-top: 3px solid var(--blue); }
.form-card h2 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--charcoal); margin-bottom: 8px; }
.form-card p { font-size: 15px; color: var(--text-light); margin-bottom: 28px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-light); margin-bottom: 7px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 16px; border: 1.5px solid var(--gray-mid); border-radius: var(--radius); font-family: var(--font-body); font-size: 16px; color: var(--text); background: var(--white); transition: border-color var(--transition); outline: none; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--blue); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit { width: 100%; padding: 15px; font-size: 16px; margin-top: 8px; }
.form-note { text-align: center; font-size: 13px; color: var(--text-light); margin-top: 14px; }

/* ── Events ────────────────────────────────────────────── */
.events-list { margin-top: 52px; }
.event-item { display: grid; grid-template-columns: 100px 1fr auto; gap: 28px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--gray-mid); }
.event-item:first-child { border-top: 1px solid var(--gray-mid); }
.event-date { text-align: center; background: rgba(46,109,164,0.08); border-radius: var(--radius); padding: 14px 10px; }
.event-date .month { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--blue); display: block; }
.event-date .day { font-family: var(--font-display); font-size: 2.2rem; font-weight: 900; color: var(--charcoal); line-height: 1; display: block; }
.event-info h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--charcoal); margin-bottom: 6px; }
.event-info p { font-size: 15px; color: var(--text-light); }
.event-tag { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 5px 12px; border-radius: 20px; background: rgba(46,109,164,0.1); color: var(--blue); white-space: nowrap; }

/* ── Footer ────────────────────────────────────────────── */
.footer { background: var(--charcoal); padding: 64px 40px 32px; }
.footer-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand img { height: 52px; margin-bottom: 16px; }
.footer-brand p { font-size: 15px; color: rgba(255,255,255,0.55); line-height: 1.7; max-width: 280px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
.footer-social a:hover { background: var(--blue); }
.footer-social svg { width: 16px; height: 16px; fill: rgba(255,255,255,0.7); }
.footer-col h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.4); margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 15px; color: rgba(255,255,255,0.65); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-col p { font-size: 15px; color: rgba(255,255,255,0.65); line-height: 1.8; }
.footer-bottom { max-width: 1100px; margin: 28px auto 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.35); }

/* ── Scroll animations ─────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Mobile ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav { padding: 0 24px; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--gray-mid); padding: 16px 24px; gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; }
  .nav-hamburger { display: flex; }
  .section { padding: 64px 24px; }
  .section-sm { padding: 48px 24px; }
  .hero-content { padding: 60px 24px 56px; }
  .hero-info-bar-inner { padding: 20px 24px; gap: 20px; }
  .translation-band { padding: 16px 24px; }
  .about-strip { padding: 56px 24px; }
  .about-strip-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-strip-image { order: -1; }
  .about-strip-image::before { display: none; }
  .visit-cards { grid-template-columns: 1fr; }
  .ministry-grid { grid-template-columns: 1fr; }
  .pastor-inner { grid-template-columns: 1fr; gap: 48px; }
  .pastor-photo::after { display: none; }
  .pyv-grid { grid-template-columns: 1fr; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
  .event-item { grid-template-columns: 80px 1fr; }
  .event-tag { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-band { padding: 60px 24px; }
  .page-hero { padding: 120px 24px 56px; }
  .footer { padding: 48px 24px 24px; }
  .translation-divider { display: none; }
  .about-strip-inner > div:first-child { order: 2; }
  .about-strip-image { order: 1; }
}
