/* ==============================
   CSS Variables & Design Tokens
   ============================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Colors */
  --clr-primary: #1a1a4e;
  --clr-primary-light: #2a2a6e;
  --clr-primary-dark: #0e0e30;
  --clr-accent: #c8952e;
  --clr-accent-light: #e6b84d;
  --clr-accent-dark: #a07524;
  --clr-white: #ffffff;
  --clr-off-white: #f8f6f2;
  --clr-gray-100: #f3f4f6;
  --clr-gray-200: #e5e7eb;
  --clr-gray-300: #d1d5db;
  --clr-gray-600: #4b5563;
  --clr-gray-700: #374151;
  --clr-gray-800: #1f2937;
  --clr-text: #2d2d2d;
  --clr-text-light: #6b7280;
  --clr-overlay: rgba(10, 10, 40, 0.65);

  /* Typography */
  --ff-heading: 'Playfair Display', Georgia, serif;
  --ff-body: 'Inter', -apple-system, sans-serif;
  --fs-hero: clamp(2.2rem, 5vw, 3.8rem);
  --fs-h1: clamp(1.8rem, 3.5vw, 2.8rem);
  --fs-h2: clamp(1.5rem, 3vw, 2.2rem);
  --fs-h3: clamp(1.1rem, 2vw, 1.4rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-nav: 0.85rem;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  /* Layout */
  --max-width: 1200px;
  --header-height: 75px;
  --border-radius: 12px;
  --border-radius-sm: 8px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --shadow-card: 0 2px 12px rgba(0,0,0,0.06);

  /* Transitions */
  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }

body {
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  color: var(--clr-text);
  line-height: 1.7;
  background: var(--clr-white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--clr-accent-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--clr-accent); }
ul { list-style: none; }

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ==============================
   Header & Navigation
   ============================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--clr-primary);
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
  height: var(--header-height);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  max-width: var(--max-width);
  width: 90%;
  margin: 0 auto;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex-shrink: 0;
}

.header-brand img {
  height: 45px;
  width: 45px;
  object-fit: contain;
  border-radius: 50%;
}

.header-brand span {
  font-family: var(--ff-heading);
  font-size: clamp(0.85rem, 1.5vw, 1.15rem);
  font-weight: 700;
  color: var(--clr-accent-light);
  white-space: nowrap;
  letter-spacing: 0.3px;
}

/* Navigation */
.main-nav { display: flex; align-items: center; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
}

.nav-list a {
  display: block;
  padding: 0.5rem 0.7rem;
  font-size: var(--fs-nav);
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: all var(--transition);
  position: relative;
  letter-spacing: 0.2px;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--clr-accent);
  transition: width var(--transition);
  border-radius: 2px;
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--clr-accent-light);
}

.nav-list a:hover::after,
.nav-list a.active::after {
  width: 60%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--clr-accent-light);
  border-radius: 3px;
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ==============================
   Hero Section
   ============================== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--clr-primary-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.5);
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  0% { transform: scale(1.05); }
  100% { transform: scale(1.15); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 50, 0.5) 0%,
    rgba(10, 10, 50, 0.7) 60%,
    rgba(10, 10, 50, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-lg);
  max-width: 800px;
}

.hero-content h1 {
  font-family: var(--ff-heading);
  font-size: var(--fs-hero);
  font-weight: 800;
  color: var(--clr-white);
  line-height: 1.2;
  margin-bottom: var(--space-sm);
  text-shadow: 0 2px 30px rgba(0,0,0,0.3);
}

.hero-content h1 .accent {
  color: var(--clr-accent-light);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-lg);
  font-weight: 300;
  letter-spacing: 0.5px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  background: var(--clr-accent);
  color: var(--clr-white);
  font-family: var(--ff-body);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(200, 149, 46, 0.3);
}

.hero-cta:hover {
  background: var(--clr-accent-light);
  color: var(--clr-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(200, 149, 46, 0.4);
}

/* ==============================
   Section Styles
   ============================== */
.section {
  padding: var(--space-2xl) 0;
}

.section--gray { background: var(--clr-gray-100); }
.section--dark {
  background: var(--clr-primary);
  color: var(--clr-white);
}
.section--accent {
  background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-primary-light) 100%);
  color: var(--clr-white);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section-header h2 {
  font-family: var(--ff-heading);
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--clr-primary);
  margin-bottom: var(--space-xs);
}

.section--dark .section-header h2,
.section--accent .section-header h2 {
  color: var(--clr-accent-light);
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--clr-accent);
  margin: var(--space-sm) auto;
  border-radius: 3px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--clr-text-light);
  max-width: 650px;
  margin: 0 auto;
}

.section--dark .section-header p,
.section--accent .section-header p {
  color: rgba(255,255,255,0.75);
}

/* ==============================
   Mission & Vision Block
   ============================== */
.mission-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.mission-card {
  padding: var(--space-lg);
  border-radius: var(--border-radius);
  text-align: center;
}

.mission-card.mission {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(200,149,46,0.2);
}

.mission-card.vision {
  background: rgba(200,149,46,0.1);
  border: 1px solid rgba(200,149,46,0.25);
}

.mission-card .icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
}

.mission-card h3 {
  font-family: var(--ff-heading);
  font-size: var(--fs-h3);
  color: var(--clr-accent-light);
  margin-bottom: var(--space-sm);
}

.mission-card p {
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* ==============================
   Welcome Section
   ============================== */
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.welcome-text h2 {
  font-family: var(--ff-heading);
  font-size: var(--fs-h2);
  color: var(--clr-primary);
  margin-bottom: var(--space-sm);
}

.welcome-text .divider {
  width: 60px;
  height: 3px;
  background: var(--clr-accent);
  margin-bottom: var(--space-md);
  border-radius: 3px;
}

.welcome-text p {
  color: var(--clr-gray-600);
  margin-bottom: var(--space-sm);
  line-height: 1.8;
}

.welcome-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.welcome-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.welcome-image:hover img { transform: scale(1.03); }

/* ==============================
   Cards
   ============================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.card {
  background: var(--clr-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition);
  border: 1px solid var(--clr-gray-200);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

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

.card-body {
  padding: var(--space-md);
}

.card-body h3 {
  font-family: var(--ff-heading);
  font-size: var(--fs-h3);
  color: var(--clr-primary);
  margin-bottom: var(--space-xs);
}

.card-body p {
  color: var(--clr-gray-600);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

.card-meta {
  font-size: var(--fs-small);
  color: var(--clr-accent-dark);
  font-weight: 600;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--clr-accent-dark);
  transition: gap var(--transition), color var(--transition);
}

.card-link:hover { gap: 0.6rem; color: var(--clr-accent); }

/* Ministry Cards */
.ministry-card {
  background: var(--clr-white);
  border-radius: var(--border-radius);
  padding: var(--space-lg);
  text-align: center;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--clr-gray-200);
  transition: all var(--transition);
}

.ministry-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--clr-accent);
}

.ministry-icon {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
  font-size: 1.6rem;
  color: var(--clr-accent-light);
}

.ministry-card h3 {
  font-family: var(--ff-heading);
  font-size: var(--fs-h3);
  color: var(--clr-primary);
  margin-bottom: var(--space-xs);
}

.ministry-card p {
  color: var(--clr-gray-600);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ==============================
   Service Times Box
   ============================== */
.service-times-box {
  background: linear-gradient(135deg, var(--clr-accent-dark), var(--clr-accent));
  border-radius: var(--border-radius);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  color: var(--clr-white);
  box-shadow: var(--shadow-lg);
  max-width: 700px;
  margin: 0 auto;
}

.service-times-box h2 {
  font-family: var(--ff-heading);
  font-size: var(--fs-h2);
  margin-bottom: var(--space-md);
}

.service-item {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.service-item:last-child { border-bottom: none; }

.service-item .day {
  font-weight: 700;
  font-size: 1.05rem;
  display: block;
}

.service-item .time {
  font-weight: 300;
  font-size: 0.95rem;
  opacity: 0.9;
}

/* ==============================
   Photo Gallery Strip
   ============================== */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xs);
}

.gallery-strip img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition);
  cursor: pointer;
}

.gallery-strip img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}

/* ================================================
   FOOTER
   ================================================ */

/* ---- Scripture Strip ---- */
.footer-scripture-strip {
  background: linear-gradient(135deg, #12104a 0%, #1e1508 50%, #12104a 100%);
  border-top: 1px solid rgba(200,149,46,0.25);
  border-bottom: 1px solid rgba(200,149,46,0.12);
  padding: 1.8rem 0;
}

.fss-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
}

.fss-cross {
  color: var(--clr-accent);
  font-size: 1.1rem;
  opacity: 0.7;
  flex-shrink: 0;
}

.fss-quote {
  text-align: center;
}

.fss-quote p {
  font-family: var(--ff-heading);
  font-style: italic;
  font-size: clamp(0.88rem, 1.6vw, 1.05rem);
  color: rgba(255,255,255,0.88);
  margin: 0 0 0.3rem;
  letter-spacing: 0.2px;
}

.fss-quote cite {
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 700;
  color: var(--clr-accent);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ---- Footer Main ---- */
.footer-main {
  background: #09091a;
  background-image:
    radial-gradient(ellipse 70% 60% at 0% 110%, rgba(200,149,46,0.06) 0%, transparent 55%),
    radial-gradient(ellipse 50% 70% at 100% -10%, rgba(26,16,96,0.5) 0%, transparent 50%);
  padding: 5rem 0 4rem;
}

/* ---- Layout: brand left + cols right ---- */
.footer-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0 4rem;
  align-items: start;
}

/* ---- Brand Panel ---- */
.footer-brand {
  padding-right: 2rem;
  border-right: 1px solid rgba(255,255,255,0.07);
}

.footer-brand-logo-link {
  display: inline-block;
  margin-bottom: 1.2rem;
}

.footer-brand-logo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: contain;
  border: 2px solid rgba(200,149,46,0.4);
  padding: 5px;
  background: rgba(255,255,255,0.04);
  box-shadow: 0 0 0 6px rgba(200,149,46,0.06), 0 10px 30px rgba(0,0,0,0.35);
  transition: box-shadow var(--transition), transform var(--transition);
}

.footer-brand-logo:hover {
  transform: scale(1.04);
  box-shadow: 0 0 0 9px rgba(200,149,46,0.12), 0 10px 30px rgba(0,0,0,0.35);
}

.footer-brand-name {
  font-family: var(--ff-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.footer-brand-tagline {
  font-size: 0.83rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.42);
  margin-bottom: 1.6rem;
}

/* Social icons */
.footer-brand-socials {
  display: flex;
  gap: 0.45rem;
  margin-bottom: 1.8rem;
}

.fbsoc {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
}

.fbsoc:hover {
  background: rgba(200,149,46,0.14);
  border-color: rgba(200,149,46,0.35);
  color: var(--clr-accent);
  transform: translateY(-3px);
}

/* CTA buttons */
.footer-brand-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.fba-btn {
  display: block;
  text-align: center;
  padding: 0.62rem 1rem;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.2px;
  transition: all var(--transition);
}

.fba-btn--primary {
  background: linear-gradient(135deg, var(--clr-accent-dark), var(--clr-accent));
  color: #fff;
  box-shadow: 0 4px 16px rgba(200,149,46,0.25);
}

.fba-btn--primary:hover {
  box-shadow: 0 6px 22px rgba(200,149,46,0.4);
  transform: translateY(-2px);
  color: #fff;
}

.fba-btn--ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.6);
}

.fba-btn--ghost:hover {
  border-color: rgba(200,149,46,0.35);
  color: var(--clr-accent-light);
  background: rgba(200,149,46,0.06);
}

/* ---- Info Columns ---- */
.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0 2.5rem;
}

.footer-col + .footer-col {
  border-left: 1px solid rgba(255,255,255,0.06);
  padding-left: 2.5rem;
}

/* Column title */
.footer-col-title {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin: 0 0 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(200,149,46,0.18);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-col-title::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 12px;
  background: var(--clr-accent);
  border-radius: 2px;
  flex-shrink: 0;
}

/* ---- Contact list ---- */
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.fcl-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.fcl-item:last-child { border-bottom: none; }

.fcl-icon {
  flex-shrink: 0;
  margin-top: 2px;
  width: 28px;
  height: 28px;
  background: rgba(200,149,46,0.1);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-accent);
}

.fcl-body {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.fcl-label {
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.3);
}

.fcl-value {
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.6);
}

.fcl-link {
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color var(--transition);
}

.fcl-link:hover { color: var(--clr-accent-light); }

/* ---- Navigate list ---- */
.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.footer-nav-list li a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  transition: color var(--transition), gap var(--transition);
}

.footer-nav-list li:last-child a { border-bottom: none; }

.footer-nav-list li a::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--clr-accent);
  flex-shrink: 0;
  opacity: 0.35;
  transition: opacity var(--transition), transform var(--transition);
}

.footer-nav-list li a:hover {
  color: rgba(255,255,255,0.88);
  gap: 0.85rem;
}

.footer-nav-list li a:hover::before {
  opacity: 1;
  transform: scale(1.6);
}

/* ---- Worship Times ---- */
.footer-times {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 1.4rem;
}

.ft-row {
  display: flex;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.ft-row:last-child { border-bottom: none; }

.ft-day {
  flex-shrink: 0;
  width: 90px;
  padding: 0.8rem 0.9rem;
  background: rgba(200,149,46,0.07);
  border-right: 1px solid rgba(255,255,255,0.06);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--clr-accent);
  display: flex;
  align-items: center;
}

.ft-detail {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.1rem;
  padding: 0.8rem 0.9rem;
}

.ft-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
}

.ft-time {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.38);
}

/* Charity badge */
.footer-charity {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.9rem;
  background: rgba(200,149,46,0.05);
  border: 1px solid rgba(200,149,46,0.15);
  border-radius: 8px;
  color: rgba(200,149,46,0.65);
}

.footer-charity > div {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.fc-label {
  font-size: 0.63rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--clr-accent);
  font-weight: 700;
}

.fc-number {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.4);
}

/* ---- Bottom Bar ---- */
.footer-bar {
  background: rgba(0,0,0,0.5);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 1.15rem 0;
}

.footer-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.fbar-copy {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.25);
  margin: 0;
}

.fbar-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.fbar-nav a {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.32);
  text-decoration: none;
  transition: color var(--transition);
}

.fbar-nav a:hover { color: var(--clr-accent-light); }

.fbar-nav span {
  color: rgba(255,255,255,0.15);
  font-size: 0.6rem;
}

.fbar-faith {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.2);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.fbar-cross {
  color: var(--clr-accent);
  opacity: 0.55;
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .footer-layout {
    grid-template-columns: 1fr;
    gap: 3rem 0;
  }
  .footer-brand {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding-right: 0;
    padding-bottom: 2.5rem;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto auto;
    column-gap: 2rem;
    align-items: start;
  }
  .footer-brand-logo-link { grid-row: 1 / 3; grid-column: 1; }
  .footer-brand-name { grid-row: 1; grid-column: 2; margin-bottom: 0.4rem; }
  .footer-brand-tagline { grid-row: 2; grid-column: 2; margin-bottom: 0; }
  .footer-brand-socials { grid-row: 3; grid-column: 1 / -1; }
  .footer-brand-actions { grid-row: 4; grid-column: 1 / -1; flex-direction: row; }
  .fba-btn { flex: 1; }
}

@media (max-width: 780px) {
  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-col + .footer-col { border-left: none; padding-left: 0; }
  .footer-col { border-bottom: 1px solid rgba(255,255,255,0.06); padding-bottom: 1.8rem; }
  .footer-col:nth-child(2), .footer-col:nth-child(3) { border-bottom: none; }
  .footer-brand { display: flex; flex-direction: column; }
  .footer-brand-actions { flex-direction: column; }
  .fba-btn { flex: unset; }
}

@media (max-width: 520px) {
  .footer-cols { grid-template-columns: 1fr; }
  .footer-col { border-bottom: 1px solid rgba(255,255,255,0.05) !important; padding-bottom: 1.6rem; }
  .footer-col:last-child { border-bottom: none !important; }
  .footer-bar-inner { flex-direction: column; text-align: center; gap: 0.6rem; }
  .fbar-nav { justify-content: center; }
  .fss-cross { display: none; }
}

/* ==============================
   Animations
   ============================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ==============================
   Responsive — Tablet
   ============================== */
@media (max-width: 992px) {
  .nav-list a { padding: 0.5rem 0.5rem; font-size: 0.78rem; }
  .header-brand span { font-size: 0.8rem; }
  .welcome-grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .mission-block { grid-template-columns: 1fr; }
}

/* ==============================
   Responsive — Mobile
   ============================== */
@media (max-width: 768px) {
  :root { --header-height: 65px; }

  .hamburger { display: flex; }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--clr-primary-dark);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: calc(var(--header-height) + 2rem);
    transition: right var(--transition);
    box-shadow: -5px 0 30px rgba(0,0,0,0.3);
  }

  .main-nav.open { right: 0; }

  .nav-list {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .nav-list a {
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    width: 100%;
  }

  .nav-list a::after { display: none; }

  .hero { min-height: 70vh; }
  .hero-content { padding: var(--space-md); }

  .card-grid { grid-template-columns: 1fr; }
  .gallery-strip { grid-template-columns: 1fr 1fr; }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
  }
  .nav-overlay.active { display: block; }
}

@media (max-width: 480px) {
  .gallery-strip { grid-template-columns: 1fr; }
  .header-brand span { display: none; }
}

/* ==============================
   Inner Page Hero
   ============================== */
.page-hero {
  position: relative;
  min-height: 48vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--clr-primary-dark);
}

.page-hero .hero-bg {
  animation: none;
  transform: scale(1.02);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-lg);
  max-width: 820px;
}

.page-hero-content h1 {
  font-family: var(--ff-heading);
  font-size: var(--fs-h1);
  color: var(--clr-white);
  margin-bottom: var(--space-sm);
}

.page-hero-content p {
  color: rgba(255,255,255,0.84);
  font-size: 1.05rem;
}

/* ==============================
   Generic Layout Blocks
   ============================== */
.split-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-xl);
  align-items: start;
}

.content-stack {
  display: grid;
  gap: var(--space-md);
}

.content-panel {
  background: var(--clr-white);
  border: 1px solid var(--clr-gray-200);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: var(--space-lg);
}

.content-panel h2,
.content-panel h3 {
  font-family: var(--ff-heading);
  color: var(--clr-primary);
  margin-bottom: var(--space-sm);
}

.content-panel p + p {
  margin-top: 0.9rem;
}

.content-panel ul {
  list-style: disc;
  padding-left: 1.2rem;
  color: var(--clr-gray-600);
}

.content-panel li + li {
  margin-top: 0.55rem;
}

.eyebrow {
  display: inline-block;
  font-size: var(--fs-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--clr-accent-dark);
  margin-bottom: var(--space-xs);
}

.image-stack {
  display: grid;
  gap: var(--space-md);
}

.image-stack img,
.feature-image {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
}

.image-stack img {
  min-height: 250px;
}

.stat-grid,
.value-grid,
.leadership-grid,
.archive-list,
.quote-strip,
.info-grid {
  display: grid;
  gap: var(--space-md);
}

.stat-grid,
.value-grid,
.leadership-grid,
.quote-strip {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.stat-card,
.value-card,
.leadership-card,
.quote-card,
.contact-card,
.sermon-highlight,
.calendar-wrap {
  background: var(--clr-white);
  border: 1px solid var(--clr-gray-200);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
}

.stat-card,
.value-card,
.leadership-card,
.quote-card,
.contact-card {
  padding: var(--space-lg);
}

.stat-card h3,
.value-card h3,
.leadership-card h3,
.quote-card h3,
.contact-card h3,
.sermon-highlight h2,
.calendar-wrap h2,
.form-card h2,
.form-card h3 {
  font-family: var(--ff-heading);
  color: var(--clr-primary);
}

.muted {
  color: var(--clr-text-light);
}

.kicker {
  color: var(--clr-accent-dark);
  font-size: var(--fs-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.schedule-badge {
  display: inline-block;
  margin-top: var(--space-sm);
  padding: 0.45rem 0.8rem;
  background: var(--clr-gray-100);
  border-radius: 999px;
  color: var(--clr-primary);
  font-size: var(--fs-small);
  font-weight: 600;
}

/* ==============================
   Sermons / Archive
   ============================== */
.sermon-highlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}

.sermon-highlight img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.sermon-highlight-content {
  padding: var(--space-xl);
}

.archive-item {
  background: var(--clr-white);
  border: 1px solid var(--clr-gray-200);
  border-radius: var(--border-radius);
  padding: var(--space-lg);
  box-shadow: var(--shadow-card);
}

.archive-item h3 {
  font-family: var(--ff-heading);
  color: var(--clr-primary);
  margin-bottom: var(--space-xs);
}

.archive-meta {
  font-size: var(--fs-small);
  color: var(--clr-accent-dark);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

/* ==============================
   Calendar
   ============================== */
.calendar-wrap {
  padding: var(--space-lg);
}

.calendar-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-md);
}

.calendar-table th,
.calendar-table td {
  border: 1px solid var(--clr-gray-200);
  text-align: center;
  padding: 0.9rem 0.5rem;
}

.calendar-table th {
  background: var(--clr-primary);
  color: var(--clr-white);
  font-weight: 600;
}

.calendar-table td {
  color: var(--clr-gray-700);
  background: var(--clr-off-white);
  height: 64px;
  vertical-align: top;
}

.calendar-table td strong {
  display: inline-block;
  min-width: 26px;
}

.calendar-highlight {
  background: rgba(200, 149, 46, 0.14) !important;
}

/* ==============================
   Forms / Contact
   ============================== */
.form-layout,
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-lg);
}

.form-card {
  background: var(--clr-white);
  border: 1px solid var(--clr-gray-200);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
  padding: var(--space-xl);
}

.form-card p {
  color: var(--clr-gray-600);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--clr-primary);
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--clr-gray-300);
  border-radius: var(--border-radius-sm);
  padding: 0.9rem 1rem;
  font: inherit;
  color: var(--clr-text);
  background: var(--clr-white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px rgba(200, 149, 46, 0.14);
}

.form-group textarea {
  min-height: 170px;
  resize: vertical;
}

.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.6rem;
  border: none;
  border-radius: 999px;
  background: var(--clr-primary);
  color: var(--clr-white);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.button-primary:hover {
  background: var(--clr-primary-light);
  transform: translateY(-1px);
}

.form-status {
  margin-bottom: var(--space-md);
  padding: 0.9rem 1rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.95rem;
}

.form-status.success {
  background: #edf7ee;
  color: #1f6b33;
  border: 1px solid #b8dfbe;
}

.form-status.error {
  background: #fff1f1;
  color: #8b1e1e;
  border: 1px solid #efc0c0;
}

.map-embed {
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-card);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

.info-list {
  display: grid;
  gap: 0.9rem;
}

.info-list li {
  color: var(--clr-gray-700);
}

/* ==============================
   Responsive Additions
   ============================== */
@media (max-width: 992px) {
  .split-layout,
  .form-layout,
  .contact-grid,
  .sermon-highlight {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .page-hero {
    min-height: 40vh;
  }

  .sermon-highlight-content,
  .form-card {
    padding: var(--space-lg);
  }

  .calendar-table th,
  .calendar-table td {
    padding: 0.6rem 0.35rem;
    font-size: 0.82rem;
  }
}
