/* ==========================================================================
   Seaside Baptist Church Nago (SSBC) - Modern Design System & Styles
   Okinawa, Japan • Bilingual Web Experience
   ========================================================================== */

:root {
  /* Color Palette - Ocean, Sky, Sunshine & Sand */
  --primary-950: #071727;
  --primary-900: #0a2540;
  --primary-800: #0f3d68;
  --primary-700: #0284c7;
  --primary-600: #0ea5e9;
  --primary-500: #38bdf8;
  --primary-100: #e0f2fe;
  --primary-50:  #f0f9ff;

  --accent-gold: #f59e0b;
  --accent-gold-hover: #d97706;
  --accent-coral: #f97316;
  --emerald-500: #10b981;
  
  /* Light Theme Variables (Default) */
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-subtle: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-header: rgba(255, 255, 255, 0.92);
  --border-color: rgba(226, 232, 240, 0.9);
  --border-focus: #0ea5e9;
  
  --text-main: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-light: #ffffff;
  
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 6px 18px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 36px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 25px rgba(14, 165, 233, 0.35);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  --font-body: 'Plus Jakarta Sans', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
}

[data-theme="dark"] {
  --bg-body: #09121d;
  --bg-card: #0f1f33;
  --bg-card-subtle: #142942;
  --bg-glass: rgba(15, 31, 51, 0.88);
  --bg-header: rgba(9, 18, 29, 0.92);
  --border-color: rgba(255, 255, 255, 0.1);
  --border-focus: #38bdf8;
  
  --text-main: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.6);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.7;
  letter-spacing: 0.015em;
  overflow-x: hidden;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-main);
}

.text-center { text-align: center; }
.mt-2 { margin-top: 0.5rem; }

/* Section Header */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-700);
  background: var(--primary-100);
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.8rem;
}

[data-theme="dark"] .section-tag {
  background: rgba(14, 165, 233, 0.2);
  color: var(--primary-400);
}

.section-tag.light-tag {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.section-title {
  font-size: 2.35rem;
  margin-bottom: 0.75rem;
}

.section-title-bar {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-600), var(--accent-gold));
  margin: 0.75rem auto 1.25rem;
  border-radius: var(--radius-full);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 3rem;
}

/* Buttons & Interactive Elements */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 600;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-700), var(--primary-600));
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-800), var(--primary-700));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
}

.btn-secondary {
  background: var(--accent-gold);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3);
}

.btn-secondary:hover {
  background: var(--accent-gold-hover);
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-color);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--primary-600);
  color: var(--primary-600);
  background: var(--primary-50);
}

[data-theme="dark"] .btn-outline:hover {
  background: rgba(14, 165, 233, 0.12);
}

.btn-outline-light {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #ffffff;
}

.btn-outline-light:hover {
  background: #ffffff;
  color: var(--primary-900);
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

.glass-panel {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

/* ==========================================================================
   Top Announcement Bar
   ========================================================================== */
.top-announcement-bar {
  background: var(--primary-950);
  color: #ffffff;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  position: relative;
  z-index: 60;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.banner-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.live-dot {
  width: 9px;
  height: 9px;
  background-color: #22c55e;
  border-radius: 50%;
  display: inline-block;
}

.pulse {
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.countdown-text {
  color: var(--accent-gold);
  font-family: var(--font-heading);
}

.badge-bilingual {
  background: rgba(255, 255, 255, 0.15);
  font-size: 0.72rem;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
}

.banner-link {
  color: #e0f2fe;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.banner-link:hover {
  color: var(--accent-gold);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  background: var(--bg-header);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  z-index: 50;
  transition: all var(--transition-fast);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.75rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
  border: 2px solid rgba(14, 165, 233, 0.35);
  background: #ffffff;
  flex-shrink: 0;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.05) rotate(2deg);
  box-shadow: 0 6px 16px rgba(14, 165, 233, 0.4);
}

.drawer-brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon-wrap {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary-700), var(--primary-500));
  color: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  position: relative;
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.wave-accent {
  position: absolute;
  bottom: 3px;
  width: 22px;
  height: 3px;
  background: var(--accent-gold);
  border-radius: 2px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  color: var(--text-main);
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary-600);
}

.desktop-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-item {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.5rem 0.2rem;
  position: relative;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary-600);
  transition: width var(--transition-fast);
}

.nav-item:hover {
  color: var(--primary-600);
}

.nav-item:hover::after {
  width: 100%;
}

.highlight-link {
  color: var(--accent-gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Language Switcher */
.lang-switch-container {
  display: flex;
  align-items: center;
  background: var(--bg-card-subtle);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
}

.lang-btn {
  background: transparent;
  border: none;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.lang-btn.active {
  background: var(--primary-600);
  color: #ffffff;
}

.lang-divider {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0 0.1rem;
}

/* Theme Switcher */
.theme-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-card-subtle);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  background: var(--primary-100);
  color: var(--primary-600);
}

[data-theme="light"] .dark-icon { display: none; }
[data-theme="dark"] .light-icon { display: none; }

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.mobile-menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
  z-index: 100;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  transition: right var(--transition-smooth);
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-color);
}

.drawer-close {
  background: transparent;
  border: none;
  font-size: 1.4rem;
  color: var(--text-main);
  cursor: pointer;
}

.drawer-lang-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin: 1.25rem 0;
}

.drawer-lang-btn {
  padding: 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-card-subtle);
  color: var(--text-main);
  cursor: pointer;
}

.drawer-lang-btn.active {
  background: var(--primary-600);
  color: #ffffff;
  border-color: var(--primary-600);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.mobile-nav-link {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
}

.drawer-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.drawer-socials {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  font-size: 1.4rem;
  color: var(--primary-600);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  padding: 6rem 0 7rem;
  overflow: hidden;
}

.hero-bg-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
  transition: transform 10s ease;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(10, 37, 64, 0.72) 0%,
    rgba(10, 37, 64, 0.85) 60%,
    rgba(7, 23, 39, 0.95) 100%
  );
}

.hero-content-wrapper {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.45rem 1.2rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #e0f2fe;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero-title-sub {
  display: block;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--accent-gold);
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.hero-title-main {
  display: block;
  background: linear-gradient(135deg, #ffffff 40%, #e0f2fe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #e2e8f0;
  max-width: 760px;
  margin: 0 auto 2rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Service Pill inside Hero */
.hero-service-pill {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  background: rgba(15, 31, 51, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 2.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.service-pill-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
}

.service-pill-item i {
  font-size: 1.35rem;
  color: var(--accent-gold);
}

.pill-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 700;
}

.pill-value {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.service-pill-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.scroll-down-hint {
  position: absolute;
  bottom: 4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.bounce {
  animation: bounce-anim 2s infinite;
}

@keyframes bounce-anim {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

.hero-wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 2;
  line-height: 0;
}

.hero-wave-divider svg {
  display: block;
  width: 100%;
  height: 50px;
}

/* Animations */
.animate-fade-in {
  animation: fadeIn 0.8s ease forwards;
}

.animate-slide-up {
  opacity: 0;
  transform: translateY(24px);
  animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Welcome Highlights Bar
   ========================================================================== */
.welcome-highlights {
  margin-top: -2.5rem;
  position: relative;
  z-index: 10;
  padding-bottom: 2rem;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.highlight-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

.highlight-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-100);
  color: var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

[data-theme="dark"] .highlight-icon {
  background: rgba(14, 165, 233, 0.2);
  color: var(--primary-400);
}

.highlight-info h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.highlight-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
  background: var(--bg-body);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-image-stack {
  position: relative;
}

.image-wrapper.main-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.image-wrapper.main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

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

.about-stats-card {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  padding: 1.5rem;
  max-width: 240px;
  box-shadow: var(--shadow-lg);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-600);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.about-heading {
  font-size: 1.45rem;
  color: var(--primary-700);
  margin-bottom: 1.25rem;
  line-height: 1.5;
  font-style: italic;
}

[data-theme="dark"] .about-heading {
  color: var(--primary-400);
}

.about-p {
  font-size: 1.02rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.pillars-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.75rem 0 2rem;
}

.pillar-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.pillar-bullet {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-100);
  color: var(--primary-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  margin-top: 0.15rem;
}

[data-theme="dark"] .pillar-bullet {
  background: rgba(14, 165, 233, 0.2);
  color: var(--primary-400);
}

.pillar-item h4 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.pillar-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.about-cta-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.text-link {
  font-weight: 600;
  color: var(--primary-600);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.text-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Schedule Section
   ========================================================================== */
.schedule-section {
  background: var(--bg-card-subtle);
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.schedule-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 2.25rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

.schedule-card.featured {
  border: 2px solid var(--primary-600);
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.15);
}

.schedule-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-coral));
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.4);
}

.schedule-icon-header {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--primary-100);
  color: var(--primary-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

[data-theme="dark"] .schedule-icon-header {
  background: rgba(14, 165, 233, 0.2);
  color: var(--primary-400);
}

.schedule-name {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.schedule-time {
  font-size: 1.05rem;
  color: var(--primary-600);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.schedule-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.schedule-features {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
  margin-top: auto;
}

.schedule-features li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.schedule-features li i {
  color: var(--emerald-500);
  font-size: 0.85rem;
}

/* ==========================================================================
   Plan Your Visit Section & FAQ
   ========================================================================== */
.visit-section {
  background: var(--bg-body);
}

.visit-banner-card {
  background: linear-gradient(135deg, var(--primary-900), var(--primary-950));
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.visit-title {
  font-size: 2.2rem;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.visit-subtitle {
  font-size: 1.05rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* Accordion */
.faq-accordion-container {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.accordion-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: background var(--transition-fast);
}

.accordion-item.active {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
}

.accordion-header {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: #ffffff;
  padding: 1.1rem 1.25rem;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.acc-q-mark {
  background: var(--accent-gold);
  color: var(--primary-950);
  font-weight: 800;
  font-size: 0.8rem;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.acc-title {
  flex: 1;
}

.acc-icon {
  font-size: 0.85rem;
  transition: transform var(--transition-fast);
}

.accordion-item.active .acc-icon {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.25rem;
}

.accordion-item.active .accordion-body {
  max-height: 300px;
  padding: 0 1.25rem 1.25rem;
}

.accordion-body p {
  font-size: 0.92rem;
  color: #e2e8f0;
  line-height: 1.7;
}

/* Visit Form Box */
.visit-form-box {
  background: #ffffff;
  color: var(--text-main);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .visit-form-box {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.form-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.form-header i {
  font-size: 2rem;
  color: var(--primary-600);
  margin-bottom: 0.5rem;
}

.form-header h3 {
  font-size: 1.25rem;
  margin-bottom: 0.3rem;
}

.form-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Forms */
.form-group {
  margin-bottom: 1.1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text-secondary);
}

.req {
  color: #ef4444;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-body);
  color: var(--text-main);
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

/* ==========================================================================
   Sermons & Media Archive
   ========================================================================== */
.sermons-section {
  background: var(--bg-card-subtle);
}

.featured-sermon-player {
  padding: 2rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.player-media-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.video-placeholder {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 9;
}

.player-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-overlay-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, var(--accent-gold), var(--accent-coral));
  color: #ffffff;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.5);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.play-overlay-btn:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.7);
}

.live-badge-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  color: var(--accent-gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
}

/* Audio Player Bar */
.audio-control-bar {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.audio-track-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
}

.track-speaker {
  color: var(--text-muted);
}

.audio-progress-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-heading);
}

.audio-slider {
  flex: 1;
  accent-color: var(--primary-600);
  cursor: pointer;
}

.audio-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
}

.audio-btn {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.audio-btn:hover {
  background: var(--primary-100);
  color: var(--primary-700);
}

/* Player Info Side */
.sermon-meta-tags {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.meta-tag {
  font-size: 0.8rem;
  color: var(--primary-700);
  background: var(--primary-100);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-weight: 600;
}

[data-theme="dark"] .meta-tag {
  background: rgba(14, 165, 233, 0.2);
  color: var(--primary-400);
}

.player-sermon-title {
  font-size: 1.75rem;
  margin-bottom: 0.85rem;
}

.player-sermon-summary {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.sermon-key-points {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 1.1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.sermon-key-points h4 {
  font-size: 0.92rem;
  margin-bottom: 0.6rem;
  color: var(--text-main);
}

.sermon-key-points ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.sermon-key-points li {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.sermon-download-row {
  display: flex;
  gap: 0.85rem;
}

/* Filter Tabs */
.sermon-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.25rem;
  flex-wrap: wrap;
}

.filter-tab {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-tab.active, .filter-tab:hover {
  background: var(--primary-600);
  color: #ffffff;
  border-color: var(--primary-600);
}

.sermons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}

.sermon-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.sermon-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.sermon-card-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
}

.sermon-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.duration-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.75);
  color: #ffffff;
  font-size: 0.75rem;
  font-family: var(--font-heading);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.sermon-card-body {
  padding: 1.25rem;
}

.card-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.card-title {
  font-size: 1.15rem;
  margin: 0.3rem 0 0.5rem;
}

.card-scripture {
  font-size: 0.85rem;
  color: var(--primary-600);
  margin-bottom: 1rem;
}

.card-listen-btn {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  color: var(--primary-700);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}

.card-listen-btn:hover {
  background: var(--primary-600);
  color: #ffffff;
  border-color: var(--primary-600);
}

/* ==========================================================================
   Ministries & Community
   ========================================================================== */
.ministries-section {
  background: var(--bg-body);
}

.ministries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.75rem;
}

.ministry-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

.ministry-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.ministry-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.ministry-card:hover .ministry-img-wrap img {
  transform: scale(1.06);
}

.ministry-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(10, 37, 64, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-full);
}

.ministry-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ministry-card-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.ministry-card-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.ministry-schedule {
  margin-top: auto;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary-600);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ==========================================================================
   Events Section
   ========================================================================== */
.events-section {
  background: var(--bg-card-subtle);
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 960px;
  margin: 0 auto;
}

.event-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.event-item:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
}

.event-date-badge {
  background: linear-gradient(135deg, var(--primary-800), var(--primary-900));
  color: #ffffff;
  width: 78px;
  padding: 0.8rem 0.4rem;
  border-radius: var(--radius-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(10, 37, 64, 0.3);
}

.event-date-badge .month {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-gold);
  letter-spacing: 0.05em;
}

.event-date-badge .day {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin: 0.1rem 0;
}

.event-date-badge .weekday {
  font-size: 0.7rem;
  color: #cbd5e1;
}

.event-details {
  flex: 1;
}

.event-category-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-700);
  background: var(--primary-100);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.4rem;
}

[data-theme="dark"] .event-category-pill {
  background: rgba(14, 165, 233, 0.2);
  color: var(--primary-400);
}

.event-title {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}

.event-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.6rem;
}

.event-meta-info {
  display: flex;
  gap: 1.25rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

.event-meta-info span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* ==========================================================================
   Prayer Request Section
   ========================================================================== */
.prayer-section {
  background: var(--bg-body);
}

.prayer-card {
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  box-shadow: var(--shadow-lg);
}

.prayer-heading {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.prayer-desc {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--primary-700);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

[data-theme="dark"] .prayer-desc {
  color: var(--primary-400);
}

.prayer-sub {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.prayer-privacy-notice {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--bg-card-subtle);
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.prayer-privacy-notice i {
  color: var(--emerald-500);
  font-size: 1.1rem;
}

.prayer-form-side {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}

.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  user-select: none;
}

.custom-checkbox input {
  accent-color: var(--primary-600);
  width: 17px;
  height: 17px;
}

/* ==========================================================================
   Online Giving & Stewardship
   ========================================================================== */
.giving-section {
  background: var(--bg-card-subtle);
}

.giving-container {
  max-width: 1040px;
  margin: 0 auto;
}

.giving-theology-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.quote-icon {
  font-size: 2.5rem;
  color: var(--accent-gold);
  opacity: 0.6;
  margin-bottom: 0.85rem;
}

.giving-theology-card blockquote {
  font-size: 1.25rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.giving-theology-card cite {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-600);
  display: block;
  margin-bottom: 1.25rem;
}

.giving-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

.giving-methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
}

.giving-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.g-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-100);
  color: var(--primary-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

[data-theme="dark"] .g-icon {
  background: rgba(14, 165, 233, 0.2);
  color: var(--primary-400);
}

.giving-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.giving-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.bank-account-box {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  padding: 1rem;
  border-radius: var(--radius-sm);
  margin-top: auto;
}

.bank-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
}

.b-label {
  color: var(--text-muted);
  font-weight: 600;
}

.b-val {
  font-weight: 700;
}

.copy-bank-btn {
  margin-top: 0.75rem;
  width: 100%;
}

/* ==========================================================================
   Access & Location Section
   ========================================================================== */
.access-section {
  background: var(--bg-body);
}

.access-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.access-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-100);
  color: var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

[data-theme="dark"] .info-icon {
  background: rgba(14, 165, 233, 0.2);
  color: var(--primary-400);
}

.info-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.info-card p, .address-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.access-map-panel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  min-height: 420px;
}

.map-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}

.map-action-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 5;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
  background: var(--bg-card-subtle);
}

.contact-box {
  padding: 3.5rem;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
}

.contact-title {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.contact-text-col p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.c-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.c-item i {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--primary-100);
  color: var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

[data-theme="dark"] .c-item i {
  background: rgba(14, 165, 233, 0.2);
  color: var(--primary-400);
}

.c-item strong {
  display: block;
  font-size: 0.95rem;
}

.c-item span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-form-col {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Site Footer
   ========================================================================== */
.site-footer {
  background: var(--primary-950);
  color: #ffffff;
  padding: 4.5rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-brand-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.footer-brand-sub {
  font-size: 0.8rem;
  color: var(--accent-gold);
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.footer-desc {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-social-links {
  display: flex;
  gap: 0.85rem;
}

.footer-social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.footer-social-links a:hover {
  background: var(--primary-600);
  transform: translateY(-2px);
}

.footer-heading {
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary-500);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: #94a3b8;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-service-times {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.85rem;
}

.footer-service-times li {
  display: flex;
  flex-direction: column;
  color: #94a3b8;
}

.day-name {
  color: var(--accent-gold);
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.footer-contact-item {
  font-size: 0.88rem;
  color: #94a3b8;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact-item a {
  color: var(--primary-400);
}

.footer-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  color: #e0f2fe;
  margin-top: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  font-size: 0.8rem;
  color: #64748b;
}

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

.bottom-links {
  display: flex;
  gap: 1.25rem;
}

.bottom-links a {
  color: #94a3b8;
}

.bottom-links a:hover {
  color: #ffffff;
}

/* ==========================================================================
   Modals
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 25, 47, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  padding: 2.25rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform var(--transition-smooth);
}

.modal-card.modal-large {
  max-width: 720px;
}

.modal-overlay.active .modal-card {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--bg-card-subtle);
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.modal-close-btn:hover {
  background: #ef4444;
  color: #ffffff;
}

.modal-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.modal-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--primary-100);
  color: var(--primary-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 0.85rem;
}

[data-theme="dark"] .modal-icon {
  background: rgba(14, 165, 233, 0.2);
  color: var(--primary-400);
}

.modal-header h3 {
  font-size: 1.45rem;
  margin-bottom: 0.4rem;
}

.modal-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.modal-body-scroll {
  max-height: 55vh;
  overflow-y: auto;
  padding-right: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.doctrine-block {
  background: var(--bg-card-subtle);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.doctrine-block h4 {
  font-size: 1.05rem;
  color: var(--primary-700);
  margin-bottom: 0.4rem;
}

[data-theme="dark"] .doctrine-block h4 {
  color: var(--primary-400);
}

.doctrine-block p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.modal-footer {
  margin-top: 1.5rem;
}

/* ==========================================================================
   Toast Notification System
   ========================================================================== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  padding: 1rem 1.4rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 280px;
  max-width: 420px;
  animation: toastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.toast.success .toast-icon { color: var(--emerald-500); }
.toast.info .toast-icon { color: var(--primary-600); }
.toast.warning .toast-icon { color: var(--accent-gold); }

.toast-msg {
  font-size: 0.88rem;
  font-weight: 500;
}

@keyframes toastSlideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   Floating Quick Help
   ========================================================================== */
.floating-quick-widget {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 90;
}

.floating-btn {
  background: linear-gradient(135deg, var(--primary-800), var(--primary-600));
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.4);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.floating-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 30px rgba(2, 132, 199, 0.6);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .desktop-nav { display: none; }
  .mobile-menu-toggle { display: flex; }
  .visit-banner-card,
  .about-grid,
  .featured-sermon-player,
  .prayer-card,
  .contact-box,
  .access-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem; }
  .hero-title-sub { font-size: 1.1rem; }
  .hero-lead { font-size: 1rem; }
  .hero-service-pill {
    flex-direction: column;
    gap: 0.75rem;
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
  }
  .service-pill-divider {
    display: none;
  }
  .section { padding: 4rem 0; }
  .visit-banner-card { padding: 2rem 1.5rem; }
  .about-stats-card {
    position: static;
    margin-top: 1rem;
    max-width: 100%;
  }
  .event-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
  }
  .event-date-badge {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
  }
  .event-date-badge .day { font-size: 1.3rem; }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
  .gallery-item.item-large {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* ==========================================================================
   Footer Logo & Facebook Photo Gallery Styles
   ========================================================================== */
.footer-logo-wrap {
  margin-bottom: 1.25rem;
}

.footer-logo-img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.gallery-section {
  background: var(--bg-card-subtle);
  position: relative;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
  background: var(--bg-card);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.gallery-item.item-large {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(7, 23, 39, 0.88) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0.95;
  transition: opacity var(--transition-fast);
}

.gallery-caption h4 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.gallery-caption p {
  color: #cbd5e1;
  font-size: 0.82rem;
  line-height: 1.3;
}

.gallery-footer-cta {
  margin-top: 3rem;
}

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

