/* ============================================================
   FRCSG — Design System
   Colours: #dd8851 (terracotta) · #716e53 (olive) · #e1a97c (peach)
   Fonts: Galvji (Apple native) / Jost (Google Fonts fallback)
   ============================================================ */

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

:root {
  --primary:        #dd8851;
  --primary-dark:   #c97440;
  --secondary:      #716e53;
  --secondary-dark: #5c5a43;
  --accent:         #e1a97c;
  --white:          #ffffff;
  --off-white:      #faf7f4;
  --cream:          #f3ede6;
  --text:           #2a2520;
  --text-muted:     #6e6660;
  --border:         #e0d8d0;

  --font: 'Galvji', 'Jost', system-ui, -apple-system, sans-serif;

  --nav-height:      76px;
  --max-width:       1160px;
  --section-v:       80px;

  --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.14);
  --transition: 0.2s ease;
}

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

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem,   5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw,  1.4rem); }
p  { max-width: 70ch; }

/* ── Layout helpers ──────────────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.text-center   { text-align: center; }
.text-center p { margin: 0 auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary  { background: var(--primary);   color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-outline  { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }
.btn-secondary { background: var(--secondary); color: var(--white); border-color: var(--secondary); }
.btn-secondary:hover { background: var(--secondary-dark); border-color: var(--secondary-dark); }
.btn-ghost {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-ghost:hover { background: var(--primary); color: var(--white); }
.btn-sm { padding: 8px 18px; font-size: 0.78rem; }

/* ── Sections ────────────────────────────────────────────────── */
.section     { padding: var(--section-v) 24px; }
.section-alt { background: var(--off-white); }
.section-dark    { background: var(--secondary); color: var(--white); }
.section-primary { background: var(--primary);   color: var(--white); }
.section-cream   { background: var(--cream); }

.section-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.section-dark .section-label,
.section-primary .section-label { color: var(--accent); }

.section-header { margin-bottom: 52px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p  { color: var(--text-muted); font-size: 1.05rem; }
.section-dark .section-header p,
.section-primary .section-header p { color: rgba(255,255,255,0.82); }

/* ── Cards ───────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.card-grid   { display: grid; gap: 24px; }
.card-grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-grid-3 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* ══════════════════════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════════════════════ */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav-height);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  box-shadow: var(--shadow);
}
.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-img { height: 42px; width: auto; }
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav-logo-sub {
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 400;
}
.nav-logo-name {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--secondary);
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 8px 13px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: rgba(221, 136, 81, 0.09);
}
.nav-cta { margin-left: 8px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 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); }

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 24px;
    gap: 2px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 16px; font-size: 0.95rem; }
  .nav-cta { margin: 8px 0 0; }
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--secondary);
  color: var(--white);
  padding: 64px 24px 28px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  margin-bottom: 28px;
}
.footer-logo { height: 44px; width: auto; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-tagline { font-size: 0.9rem; opacity: 0.78; max-width: 46ch; }
.footer-heading {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 700;
  opacity: 0.55;
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 0.9rem; opacity: 0.8; transition: opacity var(--transition); }
.footer-links a:hover { opacity: 1; }
.footer-address { font-size: 0.88rem; opacity: 0.8; line-height: 1.9; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  opacity: 0.55;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-social { display: flex; gap: 18px; }
.footer-social a { opacity: 0.7; transition: opacity var(--transition); font-size: 0.85rem; }
.footer-social a:hover { opacity: 1; }

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* ══════════════════════════════════════════════════════════════
   PAGE HEADER (inner pages)
══════════════════════════════════════════════════════════════ */
.page-header {
  background: var(--primary);
  color: var(--white);
  padding: 64px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/logo-emblem.png') center / 320px no-repeat;
  opacity: 0.07;
  pointer-events: none;
}
.page-header-inner { position: relative; }
.page-header h1 { margin-bottom: 12px; }
.page-header p {
  margin: 0 auto;
  opacity: 0.88;
  font-size: 1.05rem;
  max-width: 52ch;
}

/* ══════════════════════════════════════════════════════════════
   HOME — HERO
══════════════════════════════════════════════════════════════ */
.hero {
  background: var(--primary);
  color: var(--white);
  padding: 110px 24px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/logo-emblem.png') center / 680px no-repeat;
  opacity: 0.055;
  pointer-events: none;
}
.hero-content { position: relative; max-width: 820px; margin: 0 auto; }
.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.78;
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin-bottom: 22px; }
.hero-lead {
  font-size: 1.15rem;
  opacity: 0.9;
  margin: 0 auto 40px;
  max-width: 54ch;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-meta {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.85rem;
  opacity: 0.85;
  margin-bottom: 28px;
}
.hero-meta-sep { opacity: 0.5; }
.hero-highlight { color: var(--secondary-dark); }
.hero-photo {
  margin: 44px auto 0;
  max-width: 640px;
  border-radius: 12px;
  overflow: hidden;
}
.hero-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 260px;
  opacity: 0.4;
  color: var(--white);
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px dashed rgba(255, 255, 255, 0.35);
  border-radius: 12px;
}
.hero-photo-placeholder img { height: 64px; width: auto; filter: brightness(0) invert(1); }

/* ── Welcome / video ─────────────────────────────────────────── */
.video-section {
  padding: var(--section-v) 24px;
  background: var(--off-white);
}
.video-wrap { max-width: 860px; margin: 0 auto; }
.video-box {
  position: relative;
  padding-bottom: 56.25%;
  background: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.video-box iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.video-placeholder-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--text-muted);
}
.video-placeholder-inner .play-icon {
  width: 64px; height: 64px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.6;
}
.video-placeholder-inner p { font-size: 0.9rem; }

/* ── Service times ───────────────────────────────────────────── */
.service-card {
  text-align: center;
  padding: 36px 28px;
}
.service-card .svc-day {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 10px;
}
.service-card .svc-time {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1;
}
.service-card .svc-label { color: var(--text-muted); font-size: 0.9rem; }

/* ── Who we are preview ──────────────────────────────────────── */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: var(--max-width);
  margin: 0 auto;
}
.split-text {
  padding: 72px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.split-text p { color: var(--text-muted); }
.split-image {
  background: var(--secondary);
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.split-image img { width: 100%; height: 100%; object-fit: cover; }
.split-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  opacity: 0.35;
  color: var(--white);
  font-size: 0.85rem;
}
.split-image-placeholder img { height: 80px; width: auto; filter: brightness(0) invert(1); }
.split-verse {
  background: var(--secondary);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px;
  min-height: 380px;
}
.split-verse blockquote {
  font-size: 1.3rem;
  line-height: 1.55;
  font-style: italic;
  margin: 0 0 18px;
}
.split-verse cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  opacity: 0.85;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  .split-section { grid-template-columns: 1fr; }
  .split-text { padding: 48px 24px; }
  .split-image { min-height: 240px; }
  .split-verse { padding: 40px 24px; min-height: unset; }
}

/* ── Invite ──────────────────────────────────────────────────── */
.invite {
  background: var(--secondary);
  color: var(--white);
  padding: var(--section-v) 24px;
  text-align: center;
}
.invite h2 { margin-bottom: 14px; }
.invite p { opacity: 0.84; margin: 0 auto 36px; font-size: 1.05rem; }
.invite-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.invite .btn-accent {
  background: var(--accent);
  color: var(--secondary-dark);
  border-color: var(--accent);
  font-weight: 700;
}
.invite .btn-accent:hover { background: #d89a68; border-color: #d89a68; }

/* ── Livestream strip ────────────────────────────────────────── */
.livestream-strip {
  background: var(--cream);
  padding: 28px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.livestream-strip p { margin: 0 auto; color: var(--text-muted); font-size: 0.95rem; }
.livestream-strip a { color: var(--primary); font-weight: 600; }
.livestream-strip a:hover { text-decoration: underline; }

/* ══════════════════════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════════════════════ */
.belief-grid { display: flex; flex-direction: column; gap: 36px; max-width: 760px; }
.belief-item { display: flex; gap: 22px; align-items: flex-start; }
.belief-icon {
  flex-shrink: 0;
  width: 50px; height: 50px;
  background: rgba(221,136,81,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}
.belief-item h3 { margin-bottom: 8px; }
.belief-item p  { color: var(--text-muted); font-size: 0.95rem; }

.creeds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 12px;
}
.creed-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 22px 20px;
}
.creed-card h4 { font-size: 0.95rem; margin-bottom: 6px; }
.creed-card p  { font-size: 0.85rem; opacity: 0.8; max-width: none; margin-bottom: 12px; }
.creed-link {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent);
  opacity: 0.9;
  transition: opacity var(--transition);
}
.creed-link:hover { opacity: 1; text-decoration: underline; }

.catechism-quote {
  max-width: 720px;
  margin: 40px auto 0;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
}
.catechism-quote > p { opacity: 0.85; font-size: 0.95rem; max-width: none; }
.catechism-question {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--accent);
  margin-top: 18px !important;
  margin-bottom: 10px !important;
}
.catechism-quote blockquote { margin: 0; }
.catechism-quote blockquote p { font-style: italic; opacity: 0.92; max-width: none; }
.catechism-quote cite {
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-size: 0.85rem;
  opacity: 0.7;
}

.creeds-acknowledgement {
  text-align: center;
  font-size: 0.82rem;
  opacity: 0.65;
  margin: 28px auto 0;
  max-width: none;
}
.creeds-acknowledgement a { color: var(--accent); }

.pastor-card {
  max-width: 780px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 36px;
  align-items: center;
}
.pastor-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--cream);
  border: 3px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-align: center;
  overflow: hidden;
}
.pastor-name  { font-size: 1.5rem; margin-bottom: 4px; }
.pastor-title {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 16px;
}
.pastor-bio { color: var(--text-muted); font-size: 0.95rem; }

.church-photo-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}
.church-photo-wrap img { width: 100%; height: 360px; object-fit: cover; }
.church-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 60px;
  text-align: center;
}

.frca-banner {
  max-width: 680px;
  margin: 0 auto;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.frca-banner p { color: var(--text-muted); font-size: 0.95rem; max-width: 40ch; }

@media (max-width: 600px) {
  .pastor-card { grid-template-columns: 1fr; text-align: center; }
  .pastor-photo { margin: 0 auto; }
  .frca-banner { flex-direction: column; text-align: center; }
}

/* ══════════════════════════════════════════════════════════════
   VISIT US — FAQ
══════════════════════════════════════════════════════════════ */
.location-card {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.location-card .address {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin: 16px auto 24px;
}
.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--cream);
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 24px;
}
.map-embed iframe { width: 100%; height: 100%; border: none; }

.faq-list { max-width: 740px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-btn {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color var(--transition);
}
.faq-btn:hover,
.faq-btn[aria-expanded="true"] { color: var(--primary); }
.faq-chevron {
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-style: normal;
  transition: transform var(--transition), background var(--transition), color var(--transition);
}
.faq-btn[aria-expanded="true"] .faq-chevron {
  transform: rotate(45deg);
  background: var(--primary);
  color: var(--white);
}
.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-answer.open { max-height: 400px; }
.faq-answer-inner {
  padding: 0 0 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}
.faq-note {
  max-width: 740px;
  margin: 36px auto 0;
  background: var(--cream);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-left: 3px solid var(--primary);
}

/* ══════════════════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════════════════ */
.contact-layout {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
}
.contact-info h3 { margin-bottom: 20px; }
.contact-detail {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.contact-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: rgba(221,136,81,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-top: 2px;
}
.contact-detail-text { font-size: 0.92rem; color: var(--text-muted); }
.contact-detail-text strong { display: block; color: var(--text); margin-bottom: 2px; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.04em; }

.bible-studies-box {
  margin-top: 32px;
  padding: 20px;
  background: var(--cream);
  border-radius: var(--radius);
  border-left: 3px solid var(--primary);
}
.bible-studies-box h4 { margin-bottom: 8px; font-size: 0.92rem; color: var(--primary); letter-spacing: 0.05em; text-transform: uppercase; }
.bible-studies-box p { font-size: 0.88rem; color: var(--text-muted); }

.contact-form .form-group { margin-bottom: 18px; }
.contact-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 7px;
  color: var(--text);
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(221,136,81,0.15);
}
.contact-form textarea { resize: vertical; min-height: 130px; }

@media (max-width: 700px) {
  .contact-layout { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════
   EVENTS
══════════════════════════════════════════════════════════════ */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.event-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.event-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.event-date-bar {
  background: var(--primary);
  color: var(--white);
  padding: 14px 22px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.event-day   { font-size: 2rem; font-weight: 700; line-height: 1; }
.event-month { font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.85; }
.event-body  { padding: 20px 22px; }
.event-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.event-time  { font-size: 0.82rem; color: var(--primary); font-weight: 600; margin-bottom: 8px; }
.event-desc  { font-size: 0.88rem; color: var(--text-muted); }
.events-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 24px;
  color: var(--text-muted);
}
.events-empty p { margin: 8px auto 0; }

/* ══════════════════════════════════════════════════════════════
   ADMIN
══════════════════════════════════════════════════════════════ */
.admin-page {
  background: var(--off-white);
  min-height: 100vh;
  padding-top: 0 !important;
}
.admin-topbar {
  background: var(--secondary);
  color: var(--white);
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.admin-topbar-title { font-size: 0.9rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.admin-topbar-sub   { font-size: 0.78rem; opacity: 0.65; }
.admin-logout-btn {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 7px 16px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.8rem;
  cursor: pointer;
  transition: background var(--transition);
}
.admin-logout-btn:hover { background: rgba(255,255,255,0.25); }

.admin-body { max-width: 880px; margin: 0 auto; padding: 36px 24px 60px; }

.admin-login-screen {
  max-width: 360px;
  margin: 60px auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.admin-login-logo { height: 56px; margin: 0 auto 20px; }
.admin-login-screen h2 { margin-bottom: 6px; }
.admin-login-screen p { color: var(--text-muted); font-size: 0.9rem; margin: 0 auto 28px; }
.admin-form-group { margin-bottom: 14px; text-align: left; }
.admin-form-group label { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 6px; }
.admin-form-group input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
}
.admin-form-group input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(221,136,81,0.15); }
.admin-error { color: #c0392b; font-size: 0.85rem; margin-bottom: 12px; display: none; }
.admin-error.show { display: block; }

.admin-panel { display: none; }
.admin-panel.visible { display: block; }

.admin-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 16px;
  flex-wrap: wrap;
}
.admin-section-head h2 { font-size: 1.2rem; }

.admin-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 28px;
}
.admin-card h3 {
  font-size: 1rem;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.04em;
}
.admin-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.admin-form-group.full { grid-column: 1 / -1; }

.admin-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.admin-table th {
  text-align: left;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 12px;
  border-bottom: 2px solid var(--border);
}
.admin-table td { padding: 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: var(--off-white); }
.btn-delete {
  background: none;
  border: 1px solid #e0a0a0;
  color: #c0392b;
  padding: 5px 12px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.78rem;
  cursor: pointer;
  font-weight: 600;
  transition: background var(--transition);
}
.btn-delete:hover { background: #fdf0f0; }
.no-events-msg { text-align: center; color: var(--text-muted); padding: 32px; font-size: 0.9rem; }

.admin-alert {
  padding: 13px 18px;
  border-radius: var(--radius);
  margin-bottom: 18px;
  font-size: 0.9rem;
  display: none;
}
.admin-alert.show { display: block; }
.admin-alert-success { background: #d1e7dd; color: #0a3622; }
.admin-alert-error   { background: #f8d7da; color: #58151c; }

.admin-info-box {
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 0.85rem;
  color: #856404;
  margin-bottom: 24px;
  line-height: 1.6;
}

@media (max-width: 560px) {
  .admin-form-row { grid-template-columns: 1fr; }
  .admin-card { padding: 20px; }
}
