/* ==========================================================================
   FAITH BAPTIST CHURCH - HIGH-CRAFT DESIGN SYSTEM & COMPONENTS
   Theme: Freedom Sanctuary & Living Gospel Herald (USA Patriotic Edition)
   ========================================================================== */

/* ==========================================================================
   1. TOP ANNOUNCEMENT & LIVE SERVICE STATUS BAR
   ========================================================================== */
.top-bar {
  background-color: var(--navy-deepest);
  color: var(--gray-300);
  font-size: 0.84rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 101;
}

.top-bar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red-primary) 0%, var(--red-primary) 35%, var(--white-pure) 35%, var(--white-pure) 65%, var(--blue-royal) 65%, var(--blue-royal) 100%);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--gray-300);
  transition: color var(--transition-fast);
}

.top-bar-item svg {
  color: var(--red-light);
  flex-shrink: 0;
}

.top-bar-item a {
  color: var(--gray-200);
  text-decoration: none;
}

.top-bar-item a:hover {
  color: var(--gold-light);
}

.top-bar-badge {
  background: rgba(220, 38, 38, 0.22);
  color: #fca5a5;
  border: 1px solid rgba(220, 38, 38, 0.45);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background-color: var(--red-vibrant);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7);
  animation: pulse-ring 1.8s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); }
  100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

/* ==========================================================================
   2. MAIN FLOATING / ARCHITECTURAL HEADER
   ========================================================================== */
.site-header {
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px -2px rgba(10, 25, 47, 0.08);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all var(--transition-normal);
}

.site-header.is-sticky {
  box-shadow: 0 8px 30px rgba(10, 25, 47, 0.12);
  background-color: rgba(255, 255, 255, 0.99);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  gap: 1.5rem;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--navy-primary);
  flex-shrink: 0;
}

.brand-logo-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 3px 6px rgba(10, 25, 47, 0.18));
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.06);
}

.footer-logo-img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  margin-bottom: 0.85rem;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

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

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.38rem;
  font-weight: 800;
  color: var(--navy-primary);
  letter-spacing: 0.03em;
  line-height: 1.15;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-title span {
  color: var(--red-primary);
}

.brand-tagline {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gray-500);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.2rem;
  white-space: nowrap;
}

/* Main Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin: 0;
  padding: 0;
}

.nav-menu-close {
  display: none;
}

.nav-item {
  position: relative;
  list-style: none;
}

.nav-link {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy-primary);
  padding: 0.5rem 0.15rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

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

.nav-link:hover,
.nav-link.active {
  color: var(--red-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-item.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -0.5rem;
  background: var(--white-pure);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(10, 25, 47, 0.15);
  border: 1px solid var(--border-subtle);
  min-width: 230px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition-normal);
  z-index: 110;
}

.dropdown-link {
  display: block;
  padding: 0.55rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-700);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.dropdown-link:hover {
  background-color: var(--blue-soft);
  color: var(--blue-royal);
  padding-left: 1.5rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--navy-primary);
  cursor: pointer;
}

/* ==========================================================================
   3. CINEMATIC SPLIT-SCREEN HERO SECTION
   ========================================================================== */
.hero-cinema {
  position: relative;
  background: linear-gradient(135deg, var(--navy-deepest) 0%, var(--navy-dark) 60%, #0d233e 100%);
  color: var(--white-pure);
  padding: 4.5rem 0 5.5rem 0;
  overflow: hidden;
  border-bottom: 3px solid var(--red-primary);
}

.hero-cinema::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% 20%, rgba(29, 78, 216, 0.15), transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(185, 28, 28, 0.12), transparent 50%);
  pointer-events: none;
}

.hero-split-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
}

.hero-main-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--white-pure);
  margin-bottom: 1.25rem;
  letter-spacing: 0.01em;
}

.hero-main-title span.accent-gold {
  color: var(--gold-light);
  font-style: italic;
  font-family: var(--font-display);
}

.hero-main-title span.accent-red {
  color: var(--red-light);
}

.hero-lead-text {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--gray-200);
  margin-bottom: 2rem;
  max-width: 620px;
}

/* Hero Quick Compass Selector */
.hero-compass-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(8px);
}

.hero-compass-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-300);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-compass-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.hero-compass-item {
  background: rgba(10, 25, 47, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.6rem;
  text-align: center;
  transition: all var(--transition-fast);
}

.hero-compass-item:hover {
  background: rgba(185, 28, 28, 0.25);
  border-color: var(--red-primary);
  transform: translateY(-2px);
}

.hero-compass-time {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--white-pure);
  display: block;
}

.hero-compass-name {
  font-size: 0.72rem;
  color: var(--gray-300);
  display: block;
  margin-top: 0.2rem;
}

.hero-btn-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero Right: Visual Showcase Card */
.hero-visual-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: var(--navy-dark);
}

.hero-visual-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.hero-visual-card:hover .hero-visual-img {
  transform: scale(1.03);
}

.hero-visual-hud {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(6, 17, 32, 0.95) 0%, rgba(6, 17, 32, 0.7) 70%, transparent 100%);
  backdrop-filter: blur(6px);
}

.hero-hud-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white-pure);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-hud-countdown {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--gold-light);
  font-weight: 700;
}

/* ==========================================================================
   4. THE "WORSHIP & LIFE RHYTHM" BENTO GRID
   ========================================================================== */
.bento-section {
  padding: 5rem 0;
  background-color: var(--white-smoke);
}

.bento-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.bento-card {
  background: var(--white-pure);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 10px 25px -5px rgba(10, 25, 47, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 35px -5px rgba(10, 25, 47, 0.1);
}

.bento-card-hero {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-left: 5px solid var(--navy-primary);
}

.bento-card-gold {
  background: linear-gradient(145deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fde68a;
  border-left: 5px solid var(--gold-primary);
}

.bento-card-crimson {
  background: linear-gradient(145deg, #ffffff 0%, #fef2f2 100%);
  border-left: 5px solid var(--red-primary);
}

.bento-card-navy {
  background: linear-gradient(145deg, var(--navy-primary) 0%, var(--navy-dark) 100%);
  color: var(--white-pure);
  border: none;
}

.bento-card-navy h3, .bento-card-navy h4, .bento-card-navy p {
  color: var(--white-pure);
}

.bento-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  width: fit-content;
}

.bento-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy-primary);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.bento-desc {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.bento-timeline {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 1.5rem 0;
  border-left: 2px dashed #cbd5e1;
  padding-left: 1.25rem;
}

.bento-timeline-step {
  position: relative;
}

.bento-timeline-step::before {
  content: '';
  position: absolute;
  left: -1.65rem;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red-primary);
  border: 2px solid var(--white-pure);
}

.bento-step-time {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--red-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bento-step-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-primary);
  display: block;
}

.bento-step-detail {
  font-size: 0.82rem;
  color: var(--gray-500);
}

/* ==========================================================================
   5. STUDIO AUDIO SERMON THEATER
   ========================================================================== */
.sermon-theater-section {
  background: linear-gradient(135deg, var(--navy-deepest) 0%, var(--navy-dark) 100%);
  color: var(--white-pure);
  padding: 5rem 0;
}

.sermon-theater-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 3rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.sermon-theater-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: center;
}

.sermon-theater-art {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: var(--shadow-xl);
}

.sermon-theater-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sermon-theater-title {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--white-pure);
  margin-bottom: 0.5rem;
}

.sermon-theater-meta {
  font-size: 0.9rem;
  color: var(--gold-light);
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Audio Scrubber & Controls */
.theater-audio-player {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.theater-main-controls {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.btn-theater-play {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--red-primary);
  color: var(--white-pure);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(185, 28, 28, 0.5);
  transition: transform var(--transition-fast), background-color var(--transition-fast);
  flex-shrink: 0;
}

.btn-theater-play:hover {
  transform: scale(1.08);
  background: var(--red-vibrant);
}

.theater-progress-wrap {
  flex-grow: 1;
}

.theater-time-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--gray-300);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

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

.theater-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--red-primary), var(--gold-light));
  border-radius: var(--radius-full);
  transition: width 0.1s linear;
}

.theater-speed-btn {
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white-pure);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theater-speed-btn:hover {
  background: var(--white-pure);
  color: var(--navy-primary);
}

/* ==========================================================================
   6. MINISTRIES & DISCOVERY HUB
   ========================================================================== */
.ministries-hub-section {
  padding: 5rem 0;
  background-color: var(--white-pure);
}

.ministries-hub-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

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

.ministry-hub-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: var(--navy-light);
}

.ministry-hub-img-wrap {
  height: 200px;
  overflow: hidden;
  position: relative;
}

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

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

.ministry-hub-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(4px);
  color: var(--white-pure);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ministry-hub-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.ministry-hub-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-primary);
  margin-bottom: 0.5rem;
}

.ministry-hub-desc {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   7. INTERACTIVE GIVING & PRAYER DESK
   ========================================================================== */
.giving-prayer-section {
  padding: 5rem 0;
  background-color: var(--white-smoke);
}

.giving-prayer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.portal-box {
  background: var(--white-pure);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
}

/* Buttons, Utility & Global Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  line-height: 1.2;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

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

.btn-red {
  background-color: var(--red-primary);
  color: var(--white-pure);
  box-shadow: 0 4px 12px rgba(185, 28, 28, 0.25);
}

.btn-red:hover {
  background-color: var(--red-vibrant);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(185, 28, 28, 0.35);
}

.btn-navy {
  background-color: var(--navy-primary);
  color: var(--white-pure);
  box-shadow: 0 4px 12px rgba(15, 39, 68, 0.25);
}

.btn-navy:hover {
  background-color: var(--navy-dark);
  transform: translateY(-1px);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white-pure);
  border-color: rgba(255, 255, 255, 0.4);
}

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

.btn-outline-navy {
  background-color: transparent;
  color: var(--navy-primary);
  border-color: var(--navy-primary);
}

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

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-kjv {
  background: var(--gold-soft);
  color: #92400e;
  border: 1px solid var(--gold-border);
}

.badge-navy {
  background: var(--blue-badge-bg);
  color: #1e3a8a;
  border: 1px solid #bfdbfe;
}

.badge-red {
  background: var(--red-badge-bg);
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* 4-Column Footer */
.site-footer {
  background-color: var(--navy-deepest);
  color: var(--gray-300);
  padding-top: 4.5rem;
  border-top: 3px solid var(--red-primary);
}

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

.footer-brand-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white-pure);
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}

.footer-brand-title span {
  color: var(--red-light);
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--gray-400);
  margin-bottom: 1.25rem;
}

.footer-heading {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white-pure);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

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

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

.footer-links a {
  color: var(--gray-300);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 0.25rem;
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--gray-300);
  margin-bottom: 0.85rem;
}

.footer-contact-item svg {
  color: var(--red-light);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: var(--gray-400);
}

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

.usa-faith-stamp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-300);
  font-weight: 600;
  font-size: 0.85rem;
}

.usa-faith-stamp svg {
  color: var(--red-light);
}

/* Toast Notifications */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--navy-primary);
  color: var(--white-pure);
  border-left: 4px solid var(--red-primary);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-xl);
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-normal);
}

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

/* ==========================================================================
   8. FULL MONTH INTERACTIVE GRID CALENDAR COMPONENT
   ========================================================================== */
.monthly-calendar-container {
  background: var(--white-pure);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xl);
  padding: 2.5rem;
  margin-bottom: 3.5rem;
}

.calendar-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.calendar-month-title-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.calendar-month-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--navy-primary);
  margin: 0;
  min-width: 240px;
}

.calendar-nav-btn {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--white-smoke);
  border: 1px solid var(--border-subtle);
  color: var(--navy-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.calendar-nav-btn:hover {
  background: var(--navy-primary);
  color: var(--white-pure);
  border-color: var(--navy-primary);
}

.btn-calendar-today {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  background: var(--blue-soft);
  color: var(--blue-royal);
  border: 1px solid var(--blue-badge-bg);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-calendar-today:hover {
  background: var(--blue-royal);
  color: var(--white-pure);
}

.calendar-filter-bar {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.cal-filter-btn {
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--white-smoke);
  border: 1px solid var(--border-subtle);
  color: var(--gray-700);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cal-filter-btn:hover {
  background: var(--gray-200);
}

.cal-filter-btn.active {
  background: var(--navy-primary);
  color: var(--white-pure);
  border-color: var(--navy-primary);
}

.cal-head-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: var(--navy-primary);
  color: var(--white-pure);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  text-align: center;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cal-head-cell {
  padding: 0.85rem 0.5rem;
}

.cal-head-cell.sun { color: #fca5a5; }
.cal-head-cell.wed { color: var(--gold-light); }

.cal-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-left: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--white-pure);
}

.cal-day-box {
  min-height: 125px;
  border-right: 1px solid var(--border-subtle);
  border-top: 1px solid var(--border-subtle);
  padding: 0.6rem;
  display: flex;
  flex-direction: column;
  transition: background-color var(--transition-fast);
  position: relative;
  background: var(--white-pure);
}

.cal-day-box:hover { background-color: #f8fafc; }
.cal-day-box.is-other-month { background-color: #f8fafc; opacity: 0.45; }
.cal-day-box.is-today { background-color: #eff6ff; border: 2px solid var(--blue-royal); }

.cal-day-number {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--navy-primary);
  margin-bottom: 0.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
}

.is-today .cal-day-number {
  background: var(--blue-royal);
  color: var(--white-pure);
}

.cal-events-list {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex-grow: 1;
  overflow-y: auto;
}

.cal-chip {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.45rem;
  border-radius: 4px;
  line-height: 1.25;
  cursor: pointer;
  transition: transform var(--transition-fast);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.cal-chip:hover { transform: scale(1.03); }
.chip-service { background: #dbeafe; color: #1e3a8a; border-left: 3px solid #1d4ed8; }
.chip-prayer { background: #fef3c7; color: #92400e; border-left: 3px solid #d97706; }
.chip-fellowship { background: #fee2e2; color: #991b1b; border-left: 3px solid #dc2626; }
.chip-youth { background: #f3e8ff; color: #6b21a8; border-left: 3px solid #9333ea; }
.chip-special { background: linear-gradient(135deg, #0f2744, #1e3a5f); color: #fbbf24; border-left: 3px solid #fbbf24; }

/* Event Detail Modal */
.cal-modal {
  position: fixed;
  inset: 0;
  background: rgba(6, 17, 32, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.cal-modal.is-open { display: flex; }

.cal-modal-card {
  background: var(--white-pure);
  border-radius: var(--radius-lg);
  border-top: 6px solid var(--red-primary);
  max-width: 520px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-xl);
}

.cal-modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--gray-400);
  cursor: pointer;
  line-height: 1;
}

.cal-modal-close:hover { color: var(--navy-primary); }
