/* ============================================================
   DOOR CHURCH ATL — Main Stylesheet
   Accent: Slate Blue #4A6FA5  |  Background: Cream #F8F5F0
   Fonts: Barlow Condensed (display) + Inter (body)
   ============================================================ */

/* ── 1. CSS Custom Properties ───────────────────────────────── */
:root {
  --accent:        #4A6FA5;
  --accent-dark:   #3A5A90;
  --accent-light:  #EBF1F9;
  --bg:            #F8F5F0;
  --bg-white:      #FFFFFF;
  --bg-dark:       #1A1A2E;
  --bg-dark-alt:   #16213E;
  --text:          #1E1E2E;
  --text-muted:    #64647A;
  --border:        #E0DBD5;
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.07);
  --shadow-md:     0 6px 24px rgba(0,0,0,0.10);
  --radius:        8px;
  --radius-lg:     14px;
  --nav-height:    70px;
  --transition:    0.25s ease;
  --font-display:  'Barlow Condensed', sans-serif;
  --font-body:     'Inter', sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

/* ── 3. Typography ──────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 7vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { font-size: 1rem; color: var(--text-muted); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}

/* ── 4. Layout Utilities ────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

section { padding: 72px 0; }

.text-center { text-align: center; }
.text-white  { color: #fff; }

/* ── 5. Buttons ─────────────────────────────────────────────── */
.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              transform var(--transition), box-shadow var(--transition);
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-primary--white {
  background: #fff;
  color: var(--accent);
}
.btn-primary--white:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
}

/* ── 6. Navigation ──────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition);
}

/* Transparent over hero */
.navbar--transparent {
  background: transparent;
}

/* Scrolled / solid state (also default for inner pages) */
.navbar--solid,
.navbar.scrolled {
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 2px;
  flex-shrink: 0;
  cursor: pointer;
}
.logo-word {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.75rem;
  letter-spacing: -0.03em;
  transition: color var(--transition);
}
.logo-sub {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  transition: color var(--transition);
}

/* Logo colors: transparent nav = white, solid nav = dark */
.navbar--transparent .logo-word,
.navbar--transparent .logo-sub { color: #fff; }

.navbar--solid .logo-word,
.navbar--solid .logo-sub,
.navbar.scrolled .logo-word,
.navbar.scrolled .logo-sub { color: var(--text); }

/* Nav links */
.nav-links {
  display: none;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}

.navbar--transparent .nav-links a { color: rgba(255,255,255,0.9); }
.navbar--transparent .nav-links a:hover { color: #fff; background: rgba(255,255,255,0.12); }

.navbar--solid .nav-links a,
.navbar.scrolled .nav-links a { color: var(--text-muted); }
.navbar--solid .nav-links a:hover,
.navbar.scrolled .nav-links a:hover { color: var(--text); background: var(--bg); }

.nav-links a.active { color: var(--accent) !important; }

/* Highlight CTA in nav */
.nav-links .nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
}
.navbar--transparent .nav-links .nav-cta {
  background: #fff;
  color: var(--accent) !important;
}
.nav-links .nav-cta:hover {
  background: var(--accent-dark);
  color: #fff !important;
  transform: translateY(-1px);
}
.navbar--transparent .nav-links .nav-cta:hover {
  background: var(--accent-light);
  color: var(--accent-dark) !important;
}

/* Hamburger */
.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: background var(--transition);
}
.menu-toggle:hover { background: rgba(255,255,255,0.1); }
.navbar--solid .menu-toggle:hover,
.navbar.scrolled .menu-toggle:hover { background: var(--bg); }

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  transition: background var(--transition), transform 0.3s, opacity 0.3s, width 0.3s;
}
.navbar--transparent .menu-toggle span { background: #fff; }
.navbar--solid .menu-toggle span,
.navbar.scrolled .menu-toggle span { background: var(--text); }

.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; width: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile slide-down nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  z-index: 999;
  flex-direction: column;
  padding: 16px 24px 24px;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  padding: 12px 16px;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
}
.mobile-nav a:hover { background: var(--bg); }
.mobile-nav .nav-cta {
  background: var(--accent);
  color: #fff;
  text-align: center;
  margin-top: 8px;
  font-weight: 600;
}
.mobile-nav .nav-cta:hover { background: var(--accent-dark); color: #fff; }

/* ── 7. Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #0F2027 0%, #1A2A4A 55%, #2C5364 100%);
  /* TODO: Replace with hero image:
     background: url('/images/hero.jpg') center/cover no-repeat; */
}

/* Placeholder graphic elements to add visual interest */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 70% 40%, rgba(74,111,165,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 70%, rgba(44,83,100,0.3) 0%, transparent 60%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,10,20,0.75) 0%,
    rgba(10,10,20,0.35) 50%,
    rgba(10,10,20,0.15) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 24px 14vh;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
}

.hero-content h1 {
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.3);
  margin-bottom: 0.75rem;
}

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

/* ── 8. Service Info Bar ────────────────────────────────────── */
.service-info {
  background: var(--bg-white);
  padding: 0;
  border-bottom: 1px solid var(--border);
}

.service-info .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 20px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.info-item:nth-child(even) { border-right: none; }
.info-item:hover { background: var(--accent-light); }

.info-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.info-icon svg { width: 18px; height: 18px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.info-text strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-family: var(--font-body);
}
.info-text span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ── 9. What to Expect ──────────────────────────────────────── */
.expect { background: var(--bg); }

.section-header {
  margin-bottom: 48px;
}
.section-header h2 { margin-bottom: 0.5rem; }
.section-header p { max-width: 520px; }
.section-header.center { text-align: center; }
.section-header.center p { margin-inline: auto; }

.expect-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.expect-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.expect-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-img-wrap {
  height: 200px;
  overflow: hidden;
  background: var(--bg-dark-alt);
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.expect-card:hover .card-img-wrap img { transform: scale(1.06); }

/* Gradient placeholders when no image */
.card-img-wrap.placeholder-community {
  background: linear-gradient(135deg, #1e3a5f 0%, #2d5986 100%);
}
.card-img-wrap.placeholder-worship {
  background: linear-gradient(135deg, #0f2027 0%, #2c5364 100%);
}
.card-img-wrap.placeholder-teaching {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}
.card-img-wrap.placeholder-kids {
  background: linear-gradient(135deg, #1e3a5f 0%, #4a6fa5 100%);
}
.card-img-wrap.placeholder-event {
  background: linear-gradient(135deg, #0f2027 0%, #2c5364 100%);
}

.placeholder-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
}
.placeholder-icon svg { width: 48px; height: 48px; stroke: currentColor; fill: none; stroke-width: 1.5; }

.card-body {
  padding: 22px 24px 26px;
}
.card-body h3 { margin-bottom: 0.4rem; }
.card-body p  { font-size: 0.9rem; }

/* ── 10. Atmosphere Section ─────────────────────────────────── */
.atmosphere {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  overflow: hidden;
  background: linear-gradient(145deg, #0F2027 0%, #1A2A4A 55%, #2C5364 100%);
  /* TODO: Replace with atmosphere photo:
     background: url('/images/atmosphere.jpg') center/cover no-repeat; */
}

.atmosphere::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10,10,20,0.62);
}

.atmosphere-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
}

.atmosphere-content h2 {
  color: #fff;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1.25;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

/* ── 11. CTA Sections ───────────────────────────────────────── */
.cta-section {
  background: var(--bg-white);
  text-align: center;
  padding: 80px 24px;
}
.cta-section h2 { margin-bottom: 0.75rem; }
.cta-section p  { margin-bottom: 2rem; max-width: 480px; margin-inline: auto; }

.final-cta {
  background: var(--bg-dark);
  text-align: center;
  padding: 96px 24px;
}
.final-cta h2 {
  color: #fff;
  margin-bottom: 0.75rem;
}
.final-cta p {
  color: rgba(255,255,255,0.65);
  margin-bottom: 2.25rem;
  max-width: 420px;
  margin-inline: auto;
}

/* ── 12. Events Section ─────────────────────────────────────── */
.events { background: var(--bg); }

.events .section-header { margin-bottom: 40px; }

.event-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 36px;
}

.event-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  gap: 0;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.event-img-wrap {
  height: 180px;
  overflow: hidden;
}
.event-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.event-card:hover .event-img-wrap img { transform: scale(1.06); }

.event-date-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  flex-shrink: 0;
}
.event-date-badge .month {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.event-date-badge .day {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1;
}

.event-info { padding: 20px 22px 24px; }
.event-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.event-info h4 { margin-bottom: 4px; font-size: 1.05rem; }
.event-info p { font-size: 0.85rem; }

.events-footer { text-align: center; }

/* ── 13. Footer ─────────────────────────────────────────────── */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-word { color: #fff; font-size: 2rem; }
.footer-brand .logo-sub  { color: rgba(255,255,255,0.5); }

.footer-tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  margin-top: 12px;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.social-links a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.social-links svg { width: 18px; height: 18px; fill: currentColor; }

.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: #fff; }

.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact a:hover { color: #fff; }
.footer-contact svg { width: 16px; height: 16px; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.footer-bottom {
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.35); }
.footer-bottom a { color: rgba(255,255,255,0.45); transition: color var(--transition); }
.footer-bottom a:hover { color: rgba(255,255,255,0.75); }

/* ── 14. Sticky Mobile CTA ──────────────────────────────────── */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.15);
}
.sticky-cta a {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

/* Body padding so content isn't hidden behind sticky CTA on mobile */
body { padding-bottom: 54px; }

/* ── 15. Page Headers (inner pages) ─────────────────────────── */
.page-hero {
  background: var(--bg-dark);
  padding: calc(var(--nav-height) + 72px) 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(74,111,165,0.2) 0%, transparent 70%);
}

.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 0.6rem; }
.page-hero p  { color: rgba(255,255,255,0.65); font-size: 1.1rem; max-width: 480px; margin-inline: auto; }

/* ── 16. Service Details (PYV page) ─────────────────────────── */
.service-details {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
}
.service-details h3 { margin-bottom: 20px; }
.detail-list { display: flex; flex-direction: column; gap: 14px; }
.detail-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.detail-item:last-child { border-bottom: none; }
.detail-item svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 2; flex-shrink: 0; stroke-linecap: round; stroke-linejoin: round; }
.detail-text strong { display: block; font-weight: 600; font-size: 0.9rem; color: var(--text); }
.detail-text span   { font-size: 0.85rem; color: var(--text-muted); }

/* ── 17. Map Section ─────────────────────────────────────────── */
.map-section { background: var(--bg-white); }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 340px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.map-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.map-address {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex: 1;
}
.map-address strong { color: var(--text); }

/* ── 18. FAQ Accordion ───────────────────────────────────────── */
.faq-section { background: var(--bg); }

.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--accent); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  transition: color var(--transition);
}
.faq-question:hover { color: var(--accent); }
.faq-item.open .faq-question { color: var(--accent); }

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), border-color var(--transition), transform 0.35s;
}
.faq-item.open .faq-icon {
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(45deg);
}
.faq-icon svg { width: 12px; height: 12px; stroke: var(--text-muted); stroke-width: 2.5; fill: none; transition: stroke var(--transition); }
.faq-item.open .faq-icon svg { stroke: #fff; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer-inner {
  padding: 0 24px 22px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── 19. Forms ──────────────────────────────────────────────── */
.visit-section { background: var(--bg-white); }
.contact-section { background: var(--bg); }

.form-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  max-width: 600px;
  margin-inline: auto;
}
.form-card h3 { margin-bottom: 6px; }
.form-card > p { font-size: 0.9rem; margin-bottom: 28px; }

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.form-group label .required { color: var(--accent); }

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.form-control::placeholder { color: var(--text-muted); opacity: 0.7; }
.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(74,111,165,0.15);
  background: var(--bg-white);
}

select.form-control {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2364647A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.form-status {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 16px;
}
.form-status.success {
  display: block;
  background: #e6f4ea;
  color: #1a7a34;
  border: 1px solid #a8d5b0;
}
.form-status.error {
  display: block;
  background: #fdecea;
  color: #c62828;
  border: 1px solid #f5aea8;
}

.btn-submit {
  width: 100%;
  padding: 15px;
  font-size: 1rem;
  border: none;
}
.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* ── 20. Give Page ──────────────────────────────────────────── */
.give-section { background: var(--bg-white); }

.give-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  max-width: 540px;
  margin-inline: auto;
  border: 1px solid var(--border);
}
.give-card h2 { margin-bottom: 1rem; }
.give-card p  { font-size: 1rem; margin-bottom: 2rem; max-width: 380px; margin-inline: auto; }
.give-scripture {
  font-style: italic;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* ── 21. Connect / Events List ──────────────────────────────── */
.connect-events { background: var(--bg-white); }

/* ── 22. Discover Stub Sections ──────────────────────────────── */
.discover-stub {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  border: 1px solid var(--border);
  text-align: center;
}
.discover-stub p { font-size: 0.9rem; color: var(--text-muted); margin-top: 8px; }
.discover-stub-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: var(--accent);
}
.discover-stub-icon svg { width: 26px; height: 26px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── 23. Animations ──────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up { animation: fadeUp 0.65s ease both; }
.fade-up-delay-1 { animation-delay: 0.1s; }
.fade-up-delay-2 { animation-delay: 0.2s; }
.fade-up-delay-3 { animation-delay: 0.3s; }

/* Intersection observer fade-in */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── 24. Media Queries ───────────────────────────────────────── */

/* Tablet and up */
@media (min-width: 640px) {
  .service-info .container { grid-template-columns: 1fr 1fr; }
  .info-item { border-bottom: none; }
  .info-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .info-item:nth-child(even) { border-right: none; }

  .expect-grid { grid-template-columns: 1fr 1fr; }
  .event-grid  { grid-template-columns: 1fr 1fr; }
  .form-row    { grid-template-columns: 1fr 1fr; }
}

/* Desktop */
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .sticky-cta { display: none; }
  .menu-toggle { display: none; }
  .nav-links { display: flex; }

  .service-info .container { grid-template-columns: repeat(4, 1fr); }
  .info-item { border-right: 1px solid var(--border) !important; border-bottom: none !important; }
  .info-item:last-child { border-right: none !important; }

  .expect-grid { grid-template-columns: repeat(4, 1fr); }
  .event-grid  { grid-template-columns: repeat(3, 1fr); }

  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* Large desktop */
@media (min-width: 1024px) {
  .hero-content { padding-inline: 80px; }
}
