/* ==========================================================================
   BETHEL INDEPENDENT CHURCH - AGENCY DESIGN SYSTEM
   Bespoke 6-Figure Agency Web Framework
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* --- Design Tokens & CSS Variables --- */
:root {
  /* Brand Palette */
  --primary-navy: #0B132B;
  --primary-dark: #070D1E;
  --navy-surface: #131E3D;
  --navy-light: #1C2A4F;
  --accent-gold: #D4AF37;
  --accent-gold-hover: #C29B27;
  --accent-gold-light: #F4E7B8;
  --accent-gold-glow: rgba(212, 175, 55, 0.25);
  
  --warm-amber: #D97706;
  --warm-amber-glow: rgba(217, 119, 6, 0.15);
  
  /* Neutrals */
  --bg-body: #FAFAF9;
  --bg-card: #FFFFFF;
  --bg-alt: #F3F4F6;
  --bg-subtle: #F8FAFC;
  
  --text-dark: #0F172A;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --text-white: #FFFFFF;
  
  --border-subtle: #E2E8F0;
  --border-light: rgba(255, 255, 255, 0.12);
  --border-gold: rgba(212, 175, 55, 0.35);

  /* Status */
  --success: #10B981;
  --info: #0284C7;
  
  /* Typography */
  --font-heading: 'Cinzel', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  
  /* Shadows & Elevation */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 18px rgba(11, 19, 43, 0.08);
  --shadow-lg: 0 16px 36px rgba(11, 19, 43, 0.12);
  --shadow-gold: 0 10px 28px rgba(212, 175, 55, 0.22);
  --shadow-dark: 0 20px 45px rgba(7, 13, 30, 0.35);
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- 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);
  color: var(--text-dark);
  background-color: var(--bg-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* --- Typography Utilities --- */
h1, h2, h3, h4, .font-serif {
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
  color: var(--primary-navy);
  line-height: 1.25;
}

.text-gold {
  color: var(--accent-gold) !important;
}

.text-navy {
  color: var(--primary-navy) !important;
}

.text-white {
  color: #FFFFFF !important;
}

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

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(212, 175, 55, 0.12);
  color: var(--accent-gold);
  border: 1px solid var(--border-gold);
}

.badge-tag.badge-navy {
  background: rgba(11, 19, 43, 0.06);
  color: var(--primary-navy);
  border-color: rgba(11, 19, 43, 0.12);
}

/* --- Layout Containers --- */
.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

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

.container-narrow {
  max-width: 960px;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-sm {
  padding: 3.5rem 0;
}

.section-dark {
  background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary-navy) 100%);
  color: #FFFFFF;
}

.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
  color: #FFFFFF;
}

.section-alt {
  background-color: var(--bg-alt);
}

/* --- Top Announcement / Info Bar --- */
.top-notice-bar {
  background: #070D1E;
  color: #E2E8F0;
  font-size: 0.85rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-notice-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.top-notice-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-notice-item i {
  color: var(--accent-gold);
}

.top-notice-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* --- Header & Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 19, 43, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  transition: all var(--transition-fast);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

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

.brand-logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold), #B48811);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-navy);
  font-size: 1.25rem;
  box-shadow: 0 4px 12px var(--accent-gold-glow);
  flex-shrink: 0;
}

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

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.03em;
  line-height: 1.15;
}

.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: #E2E8F0;
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-gold);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-gold);
  border-radius: var(--radius-full);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #FFFFFF;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

/* --- Mobile Drawer Navigation --- */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 380px;
  height: 100vh;
  background: var(--primary-navy);
  z-index: 2000;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
  overflow-y: auto;
}

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

.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.drawer-close {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #FFFFFF;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
}

.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.drawer-link {
  font-size: 1.2rem;
  font-weight: 600;
  color: #FFFFFF;
  display: block;
  padding: 0.5rem 0;
}

.drawer-link.active, .drawer-link:hover {
  color: var(--accent-gold);
}

.drawer-footer {
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold), #B88B14);
  color: var(--primary-navy);
  box-shadow: 0 4px 16px var(--accent-gold-glow);
  font-weight: 700;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #E5C158, var(--accent-gold));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35);
  color: var(--primary-navy);
}

.btn-navy {
  background: var(--primary-navy);
  color: #FFFFFF;
}

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

.btn-outline-white {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: #FFFFFF;
  color: var(--primary-navy);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-outline-gold {
  background: transparent;
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.btn-outline-gold:hover {
  background: var(--accent-gold);
  color: var(--primary-navy);
}

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

.btn-lg {
  font-size: 1.1rem;
  padding: 1.05rem 2.25rem;
}

/* --- Hero Section --- */
.hero-agency {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(7, 13, 30, 0.8) 0%, rgba(11, 19, 43, 0.92) 100%),
              url('../../images/Bethel%20Independent%20Church%20of%20PA.jpg') center/cover no-repeat;
  color: #FFFFFF;
  padding: 6rem 0 5rem;
  overflow: hidden;
}

.hero-agency::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to top, var(--bg-body), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.hero-pill {
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.35rem, 5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.12;
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}

.hero-title span {
  background: linear-gradient(135deg, #FFFFFF 40%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: #CBD5E1;
  font-weight: 400;
  margin-bottom: 2.25rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

/* Live Countdown Bar */
.countdown-bar {
  background: rgba(19, 30, 61, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.75rem;
  display: inline-flex;
  align-items: center;
  gap: 1.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  flex-wrap: wrap;
}

.countdown-label {
  display: flex;
  flex-direction: column;
}

.countdown-label-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-gold);
  letter-spacing: 0.1em;
}

.countdown-label-time {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
}

.countdown-units {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.countdown-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 48px;
}

.countdown-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
}

.countdown-sub {
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--text-light);
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.countdown-sep {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-top: -12px;
}

/* --- Quick Info / Feature Cards --- */
.quick-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: -4rem;
  position: relative;
  z-index: 10;
}

.quick-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.quick-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(11, 19, 43, 0.12);
  border-color: var(--accent-gold-light);
}

.quick-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.quick-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

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

.quick-card-link {
  margin-top: auto;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent-gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.quick-card-link:hover {
  color: var(--warm-amber);
  gap: 10px;
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

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

/* --- Two-Column Showcase Split --- */
.showcase-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

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

.showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.showcase-media:hover img {
  transform: scale(1.03);
}

.showcase-badge-float {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: rgba(11, 19, 43, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  color: #FFFFFF;
}

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

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.65rem 1.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  border-color: var(--accent-gold);
  color: var(--primary-navy);
}

.filter-btn.active {
  background: var(--primary-navy);
  color: var(--accent-gold);
  border-color: var(--primary-navy);
  box-shadow: var(--shadow-sm);
}

/* --- Interactive Ministry Cards --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.ministry-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

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

.ministry-card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.ministry-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.ministry-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.ministry-card-body h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.ministry-card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* --- Interactive Sermon / Audio Player --- */
.player-container {
  background: linear-gradient(135deg, var(--primary-dark), var(--navy-surface));
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: var(--shadow-dark);
  padding: 2.5rem;
  color: #FFFFFF;
}

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

.player-track-info h3 {
  color: #FFFFFF;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.player-track-info p {
  color: var(--accent-gold);
  font-size: 0.95rem;
  font-weight: 500;
}

.player-scrubber {
  margin-bottom: 1.5rem;
}

.player-progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.player-progress-fill {
  height: 100%;
  width: 32%;
  background: linear-gradient(90deg, var(--accent-gold), #F4E7B8);
  border-radius: var(--radius-full);
  transition: width 0.1s linear;
}

.player-time-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 6px;
}

.player-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.player-btn {
  background: none;
  border: none;
  color: #FFFFFF;
  cursor: pointer;
  font-size: 1.25rem;
  transition: color var(--transition-fast);
}

.player-btn:hover {
  color: var(--accent-gold);
}

.player-btn-play {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-gold), #B48811);
  color: var(--primary-navy);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px var(--accent-gold-glow);
  transition: all var(--transition-fast);
}

.player-btn-play:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.player-playlist {
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

.playlist-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.playlist-item:hover, .playlist-item.active {
  background: rgba(255, 255, 255, 0.08);
}

.playlist-item.active .playlist-title {
  color: var(--accent-gold);
  font-weight: 700;
}

/* --- Interactive Daily Verse Generator --- */
.verse-card {
  background: linear-gradient(135deg, #FFFFFF, #F8FAFC);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.verse-card::before {
  content: '“';
  position: absolute;
  top: -10px;
  left: 30px;
  font-family: var(--font-heading);
  font-size: 8rem;
  color: rgba(212, 175, 55, 0.12);
  line-height: 1;
  pointer-events: none;
}

.verse-text {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.5vw, 1.85rem);
  font-weight: 600;
  color: var(--primary-navy);
  line-height: 1.45;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.verse-ref {
  font-weight: 700;
  color: var(--accent-gold);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
}

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

/* --- Interactive Community Prayer Wall --- */
.prayer-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all var(--transition-smooth);
}

.prayer-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent-gold-light);
}

.prayer-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.prayer-content {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.6;
}

.prayer-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}

.pray-btn {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-gold);
  color: var(--warm-amber);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.pray-btn:hover {
  background: var(--accent-gold);
  color: var(--primary-navy);
}

.pray-btn.prayed {
  background: var(--success);
  color: #FFFFFF;
  border-color: var(--success);
}

/* --- Interactive Tithe & Giving Calculator --- */
.giving-calc-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
  max-width: 650px;
  margin: 0 auto;
}

.amount-selector {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.amount-btn {
  padding: 1rem;
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-navy);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.amount-btn:hover {
  border-color: var(--accent-gold);
}

.amount-btn.active {
  border-color: var(--accent-gold);
  background: rgba(212, 175, 55, 0.08);
  color: var(--accent-gold);
}

/* --- Real-Time Facebook Hub & News Styles --- */
.news-layout {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 3rem;
  align-items: start;
}

.fb-feed-container {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
  position: sticky;
  top: 100px;
}

.fb-header-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.fb-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #1877F2;
  background: rgba(24, 119, 242, 0.08);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.fb-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #1877F2;
  animation: pulse-fb 2s infinite;
}

@keyframes pulse-fb {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.fb-iframe-wrapper {
  width: 100%;
  min-height: 700px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #F8FAFC;
  display: flex;
  justify-content: center;
}

.fb-iframe-wrapper iframe {
  width: 100%;
  max-width: 500px;
  height: 700px;
  border: none;
}

/* Announcement Cards */
.announcement-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  margin-bottom: 1.5rem;
  transition: all var(--transition-smooth);
}

.announcement-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-gold-light);
}

.announcement-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.announcement-card h3 {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.announcement-card p {
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

/* --- Pastoral Search Spotlight --- */
.pastor-spotlight-card {
  background: linear-gradient(135deg, var(--primary-navy), var(--navy-surface));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  color: #FFFFFF;
  box-shadow: var(--shadow-dark);
}

.pastor-spotlight-card h2, .pastor-spotlight-card h3 {
  color: #FFFFFF;
}

/* --- Forms & Controls --- */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-dark);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px var(--accent-gold-glow);
}

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

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

/* --- Interactive Modals --- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(7, 13, 30, 0.75);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-window {
  background: var(--bg-card);
  width: 100%;
  max-width: 640px;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.modal-backdrop.active .modal-window {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 1.75rem 2rem;
  background: var(--primary-navy);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  color: #FFFFFF;
  font-size: 1.4rem;
}

.modal-close {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #FFFFFF;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.modal-body {
  padding: 2rem;
  overflow-y: auto;
}

.modal-footer {
  padding: 1.25rem 2rem;
  background: var(--bg-alt);
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  border-top: 1px solid var(--border-subtle);
}

/* Step Progress Indicator */
.step-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  position: relative;
}

.step-indicator::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 10%;
  width: 80%;
  height: 2px;
  background: var(--border-subtle);
  z-index: 1;
  transform: translateY(-50%);
}

.step-bubble {
  position: relative;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--text-muted);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--border-subtle);
  font-size: 0.9rem;
}

.step-bubble.active {
  background: var(--primary-navy);
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}

.step-bubble.completed {
  background: var(--success);
  color: #FFFFFF;
  border-color: var(--success);
}

/* --- Toast Notifications --- */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: var(--primary-navy);
  color: #FFFFFF;
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--accent-gold);
  box-shadow: var(--shadow-lg);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* --- Accordions --- */
.accordion-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.accordion-item.active {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-sm);
}

.accordion-header {
  padding: 1.25rem 1.75rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.accordion-header h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin: 0;
}

.accordion-icon {
  font-size: 1.1rem;
  color: var(--accent-gold);
  transition: transform var(--transition-fast);
}

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

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.75rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.accordion-item.active .accordion-content {
  padding: 0 1.75rem 1.5rem;
  max-height: 500px;
}

/* --- Footer --- */
.site-footer {
  background: #070D1E;
  color: #94A3B8;
  padding-top: 5rem;
  border-top: 2px solid rgba(212, 175, 55, 0.2);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand h3 {
  color: #FFFFFF;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--accent-gold);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link:hover {
  color: var(--accent-gold);
  padding-left: 4px;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
}

.footer-contact-item i {
  color: var(--accent-gold);
  font-size: 1.1rem;
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
}

.footer-bottom a {
  color: var(--accent-gold);
  font-weight: 600;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .news-layout {
    grid-template-columns: 1fr;
  }
  .fb-feed-container {
    position: static;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .showcase-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn-primary {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .top-notice-content {
    justify-content: center;
    text-align: center;
  }
  .countdown-bar {
    width: 100%;
    justify-content: center;
    gap: 1rem;
  }
  .amount-selector {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .pastor-spotlight-card {
    padding: 2rem 1.5rem;
  }
  .verse-card {
    padding: 2rem 1.5rem;
  }
}
