@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Lora:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Marcellus&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ==========================================================================
   CSS VARIABLES & DESIGN SYSTEM
   St. John the Baptist’s Church Theme Palette (Church Seal Colors):
   - Background: Warm cream / parchment #FAF6EE
   - Primary Accent: Antique gold #C9A96E
   - Dark Base: Deep ink brown #1C1612
   - Highlight Text: Soft gold #E8D5A8
   - Call to Action: Deep burgundy #6B2737
   - Body Text: Warm dark brown #3D3228
   ========================================================================== */

:root {
  --bg-parchment: #FAF6EE;
  --bg-card: #FFFFFF;
  --bg-dark: #1C1612;
  --bg-dark-surface: #261F1A;
  --bg-dark-card: #2F2620;
  --bg-dark-hover: #382F28;
  
  --primary-gold: #C9A96E;
  --gold-hover: #DBB87D;
  --highlight-gold: #E8D5A8;
  --gold-border: rgba(201, 169, 110, 0.35);
  --gold-glow: rgba(201, 169, 110, 0.2);
  
  --cta-burgundy: #6B2737;
  --cta-burgundy-hover: #863245;
  --cta-burgundy-active: #531D2A;
  
  --text-dark: #3D3228;
  --text-muted: #6B5E52;
  --text-light: #FAF6EE;
  --text-gold: #E8D5A8;
  --text-white: #FFFFFF;
  
  --font-heading: 'Marcellus', 'EB Garamond', serif;
  --font-subheading: 'Lora', serif;
  --font-serif: 'EB Garamond', serif;
  --font-sans: 'Outfit', system-ui, -apple-system, sans-serif;
  
  --shadow-sm: 0 2px 8px rgba(28, 22, 18, 0.08);
  --shadow-md: 0 8px 24px rgba(28, 22, 18, 0.12);
  --shadow-lg: 0 16px 40px rgba(28, 22, 18, 0.22);
  --shadow-gold: 0 8px 25px rgba(201, 169, 110, 0.25);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-parchment);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography Utility Classes */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
}

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

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

.text-burgundy {
  color: var(--cta-burgundy) !important;
}

.subheading {
  font-family: var(--font-subheading);
  font-style: italic;
  color: var(--primary-gold);
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary-gold);
  margin: 0.75rem auto 0 auto;
  border-radius: var(--radius-full);
}

.section-title-left::after {
  margin: 0.75rem 0 0 0;
}

.section-intro {
  max-width: 720px;
  margin: 0 auto 3rem auto;
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Decorative Orthodox Cross SVG Line */
.orthodox-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.5rem 0;
}

.orthodox-divider::before,
.orthodox-divider::after {
  content: '';
  height: 1px;
  width: 80px;
  background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

.orthodox-divider svg {
  width: 24px;
  height: 24px;
  fill: var(--primary-gold);
}

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

/* ==========================================================================
   TOP ANNOUNCEMENT & CONTACT BAR
   ========================================================================== */
.top-bar {
  background-color: #14100D;
  color: var(--text-gold);
  font-size: 0.85rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--gold-border);
}

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

.top-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-info-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--highlight-gold);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.top-info-item:hover {
  color: var(--primary-gold);
}

.top-info-item svg {
  width: 14px;
  height: 14px;
  fill: var(--primary-gold);
}

.top-badge {
  background: rgba(107, 39, 55, 0.4);
  border: 1px solid var(--primary-gold);
  color: var(--highlight-gold);
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #4EBE6A;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(78, 190, 106, 0.7);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(78, 190, 106, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(78, 190, 106, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(78, 190, 106, 0);
  }
}

/* ==========================================================================
   NAVIGATION HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg-dark);
  border-bottom: 2px solid var(--primary-gold);
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

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

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

.brand-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--primary-gold);
  object-fit: cover;
  box-shadow: var(--shadow-gold);
  background-color: #FFF;
  transition: var(--transition-smooth);
}

.brand-link:hover .brand-logo {
  transform: scale(1.05) rotate(3deg);
}

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

.brand-title {
  font-family: var(--font-heading);
  color: var(--highlight-gold);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
}

.brand-subtitle {
  font-family: var(--font-sans);
  color: var(--primary-gold);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-sans);
  color: var(--text-light);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.4rem 0.2rem;
  position: relative;
  transition: var(--transition-smooth);
}

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

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

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

/* Burgundy Button */
.btn-burgundy {
  background-color: var(--cta-burgundy);
  color: var(--text-white);
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-family: var(--font-sans);
  letter-spacing: 0.02em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(232, 213, 168, 0.3);
  box-shadow: 0 4px 12px rgba(107, 39, 55, 0.35);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-burgundy:hover {
  background-color: var(--cta-burgundy-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(107, 39, 55, 0.55);
  color: #FFF;
}

.header-donate-btn {
  display: none;
}

@media (min-width: 900px) {
  .header-donate-btn {
    display: inline-flex;
  }
}

.btn-gold-outline {
  background: transparent;
  color: var(--primary-gold);
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-family: var(--font-sans);
  letter-spacing: 0.02em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--primary-gold);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-gold-outline:hover {
  background-color: var(--primary-gold);
  color: var(--bg-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--primary-gold);
  color: var(--primary-gold);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.mobile-nav-toggle svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* ==========================================================================
   MOBILE DRAWER NAVIGATION
   ========================================================================== */
.mobile-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

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

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  height: 100vh;
  background-color: var(--bg-dark);
  border-left: 2px solid var(--primary-gold);
  z-index: 2001;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right 0.35s ease-in-out;
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
}

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

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

.drawer-close-btn {
  background: transparent;
  border: none;
  color: var(--primary-gold);
  font-size: 1.8rem;
  cursor: pointer;
}

.drawer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.drawer-menu a {
  color: var(--text-light);
  font-family: var(--font-heading);
  text-decoration: none;
  font-size: 1.1rem;
  display: block;
  transition: var(--transition-smooth);
}

.drawer-menu a:hover {
  color: var(--primary-gold);
  padding-left: 0.5rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background-color: var(--bg-dark);
  color: var(--text-light);
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 3px solid var(--primary-gold);
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: contrast(1.1) brightness(0.85);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(28, 22, 18, 0.4) 0%, rgba(28, 22, 18, 0.95) 100%),
              linear-gradient(to bottom, rgba(28, 22, 18, 0.8) 0%, rgba(28, 22, 18, 0.95) 100%);
}

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

.hero-seal-wrap {
  margin: 0 auto 1.5rem auto;
  width: 120px;
  height: 120px;
  position: relative;
}

.hero-seal {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid var(--primary-gold);
  box-shadow: 0 0 35px var(--gold-glow);
  background-color: #FFF;
  object-fit: cover;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-holy-see {
  font-family: var(--font-subheading);
  color: var(--primary-gold);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--highlight-gold);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-light);
  max-width: 760px;
  margin: 0 auto 2.25rem auto;
  font-weight: 300;
  opacity: 0.95;
}

.hero-cta-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-schedule-bar {
  margin-top: 3rem;
  background: rgba(38, 31, 26, 0.85);
  border: 1px solid var(--gold-border);
  backdrop-filter: blur(10px);
  padding: 1rem 1.75rem;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: var(--shadow-lg);
  flex-wrap: wrap;
  justify-content: center;
}

.hero-schedule-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--highlight-gold);
}

.hero-schedule-item svg {
  width: 18px;
  height: 18px;
  fill: var(--primary-gold);
}

/* ==========================================================================
   PATRON SAINT & ABOUT SECTION
   ========================================================================== */
.about-section {
  padding: 5rem 0;
  background-color: var(--bg-parchment);
}

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

.patron-card {
  background-color: var(--bg-card);
  border: 2px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.patron-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--cta-burgundy), var(--primary-gold), var(--cta-burgundy));
}

.patron-img-wrap {
  width: 100%;
  max-height: 380px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--gold-border);
  margin-bottom: 1.25rem;
}

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

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

.patron-name {
  font-size: 1.4rem;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.patron-title {
  color: var(--primary-gold);
  font-family: var(--font-subheading);
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.patron-quote {
  font-size: 0.92rem;
  color: var(--text-muted);
  font-style: italic;
  background: var(--bg-parchment);
  padding: 0.8rem 1rem;
  border-left: 3px solid var(--primary-gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  text-align: left;
}

.about-text-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about-lead {
  font-size: 1.15rem;
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.6;
}

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

.pillar-card {
  background-color: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-gold);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  background-color: rgba(201, 169, 110, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
}

.pillar-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--cta-burgundy);
}

.pillar-title {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.pillar-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Charity Registration Card */
.charity-badge-card {
  margin-top: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-left: 4px solid var(--cta-burgundy);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}

/* ==========================================================================
   PARISH DIVINE TIMELINE SECTION (2013 - 2026)
   ========================================================================== */
.timeline-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 5.5rem 0;
  border-top: 2px solid var(--primary-gold);
  border-bottom: 2px solid var(--primary-gold);
  position: relative;
  overflow: hidden;
}

.divine-timeline {
  position: relative;
  max-width: 1000px;
  margin: 3.5rem auto 0 auto;
  padding: 1rem 0;
}

/* Holy Spirit Divine Dove Animations */
.divine-dove-header {
  position: relative;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.divine-dove-svg {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 0 12px rgba(232, 213, 168, 0.8));
  animation: divineDoveFloat 4s ease-in-out infinite alternate;
}

.dove-aura-ring {
  transform-origin: center;
  animation: doveAuraRotate 14s linear infinite;
}

.dove-light-beam {
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 80px;
  background: radial-gradient(ellipse at top, rgba(232, 213, 168, 0.35) 0%, rgba(201, 169, 110, 0.08) 50%, transparent 80%);
  pointer-events: none;
  animation: doveBeamPulse 3s ease-in-out infinite alternate;
}

.spine-descending-dove {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  z-index: 12;
  pointer-events: none;
  animation: doveSpineGlide 12s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
}

.flight-dove-svg {
  width: 38px;
  height: 38px;
  filter: drop-shadow(0 0 10px rgba(232, 213, 168, 0.9));
}

@keyframes divineDoveFloat {
  0% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 0 10px rgba(232, 213, 168, 0.6));
  }
  50% {
    transform: translateY(-8px) scale(1.05);
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.9));
  }
  100% {
    transform: translateY(3px) scale(0.98);
    filter: drop-shadow(0 0 12px rgba(201, 169, 110, 0.7));
  }
}

@keyframes doveAuraRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes doveBeamPulse {
  0% { opacity: 0.3; transform: translateX(-50%) scaleX(0.8); }
  100% { opacity: 0.8; transform: translateX(-50%) scaleX(1.2); }
}

@keyframes doveSpineGlide {
  0% {
    top: -20px;
    opacity: 0;
    transform: translateX(-50%) scale(0.6) rotate(-5deg);
  }
  8% {
    opacity: 1;
    transform: translateX(-50%) scale(1) rotate(0deg);
  }
  90% {
    opacity: 1;
    transform: translateX(-50%) scale(1) rotate(0deg);
  }
  100% {
    top: 96%;
    opacity: 0;
    transform: translateX(-50%) scale(0.7) rotate(5deg);
  }
}

/* Radiant Heavenly Background Glow */
.timeline-rays-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(201, 169, 110, 0.12) 0%, rgba(107, 39, 55, 0.08) 50%, transparent 80%);
  pointer-events: none;
}

/* Spine Line */
.timeline-spine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, var(--primary-gold) 0%, var(--highlight-gold) 50%, var(--cta-burgundy) 100%);
  box-shadow: 0 0 15px rgba(201, 169, 110, 0.5);
  border-radius: var(--radius-full);
}

.timeline-spine-glow {
  position: absolute;
  top: 0;
  left: -2px;
  right: -2px;
  height: 100%;
  background: linear-gradient(180deg, rgba(232, 213, 168, 0.8), rgba(201, 169, 110, 0.3), rgba(107, 39, 55, 0.8));
  filter: blur(4px);
}

.timeline-cross-crown {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 42px;
  background-color: var(--bg-dark);
  border: 2px solid var(--primary-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px var(--primary-gold);
  z-index: 10;
}

.timeline-cross-crown svg {
  width: 22px;
  height: 22px;
  fill: var(--highlight-gold);
}

.timeline-events {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  position: relative;
  z-index: 5;
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.timeline-item.timeline-left {
  justify-content: flex-start;
}

.timeline-item.timeline-right {
  justify-content: flex-end;
}

.timeline-content-box {
  width: 44%;
  background: var(--bg-dark-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  position: relative;
  transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-content-box {
  transform: translateY(-4px);
  border-color: var(--primary-gold);
  box-shadow: 0 12px 30px rgba(201, 169, 110, 0.2);
}

/* Timeline Central Dots */
.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  background-color: var(--bg-dark);
  border: 2px solid var(--primary-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
  box-shadow: 0 0 10px rgba(201, 169, 110, 0.4);
}

.dot-inner {
  width: 8px;
  height: 8px;
  background-color: var(--highlight-gold);
  border-radius: 50%;
}

/* Year Tags */
.timeline-year-tag {
  display: inline-block;
  background: rgba(201, 169, 110, 0.15);
  border: 1px solid var(--primary-gold);
  color: var(--highlight-gold);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.25rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.8rem;
}

.timeline-event-title {
  font-size: 1.25rem;
  color: var(--highlight-gold);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.timeline-event-desc {
  font-size: 0.92rem;
  color: var(--text-light);
  opacity: 0.85;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.timeline-heavenly-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: var(--primary-gold);
  background: rgba(28, 22, 18, 0.6);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(201, 169, 110, 0.25);
}

.timeline-heavenly-badge svg {
  width: 14px;
  height: 14px;
  fill: var(--primary-gold);
}

/* ==========================================================================
   SPECIAL HEAVENLY FEATURED ITEM (2026 DIVINE HIGHLIGHT)
   ========================================================================== */
.timeline-dot-divine {
  width: 44px;
  height: 44px;
  border-color: var(--highlight-gold);
  background: var(--cta-burgundy);
  box-shadow: 0 0 25px var(--highlight-gold), 0 0 40px rgba(107, 39, 55, 0.8);
  animation: pulse-divine 2.5s infinite ease-in-out;
}

@keyframes pulse-divine {
  0%, 100% { transform: translateX(-50%) scale(1); box-shadow: 0 0 20px var(--highlight-gold), 0 0 35px var(--cta-burgundy); }
  50% { transform: translateX(-50%) scale(1.1); box-shadow: 0 0 35px #FFF, 0 0 50px var(--primary-gold); }
}

.dot-radiance {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1.5px dashed var(--highlight-gold);
  animation: spin-radiance 12s linear infinite;
}

@keyframes spin-radiance {
  100% { transform: rotate(360deg); }
}

.dot-holy-cross {
  width: 22px;
  height: 22px;
  fill: var(--highlight-gold);
}

.divine-golden-card {
  background: linear-gradient(135deg, rgba(38, 31, 26, 0.95) 0%, rgba(107, 39, 55, 0.45) 50%, rgba(201, 169, 110, 0.25) 100%);
  border: 2px solid var(--highlight-gold) !important;
  box-shadow: 0 0 30px rgba(201, 169, 110, 0.35), 0 10px 40px rgba(0, 0, 0, 0.5) !important;
  padding: 2.25rem 1.85rem !important;
  position: relative;
  overflow: hidden;
}

.divine-card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at top right, rgba(232, 213, 168, 0.15), transparent 70%);
  pointer-events: none;
}

.divine-header-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(90deg, var(--cta-burgundy), var(--primary-gold), var(--cta-burgundy));
  color: #FFF;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.pulse-star {
  color: var(--highlight-gold);
  animation: pulse-green 1.5s infinite;
}

.featured-year {
  background: var(--cta-burgundy);
  color: #FFF;
  border-color: var(--highlight-gold);
  font-size: 1.25rem;
  padding: 0.35rem 1.25rem;
  box-shadow: 0 0 15px rgba(201, 169, 110, 0.4);
}

.divine-title {
  font-size: 1.45rem;
  color: #FFF;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.divine-desc {
  font-size: 0.98rem;
  color: var(--text-light);
  opacity: 0.95;
}

.divine-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.25rem;
}

.divine-pill {
  background: rgba(201, 169, 110, 0.2);
  border: 1px solid var(--primary-gold);
  color: var(--highlight-gold);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.divine-pill svg {
  width: 13px;
  height: 13px;
  fill: var(--primary-gold);
}

/* Timeline Responsive Rules */
@media (max-width: 840px) {
  .timeline-spine {
    left: 20px;
    transform: none;
  }

  .timeline-cross-crown {
    left: 20px;
    transform: translateX(-50%);
  }

  .timeline-dot {
    left: 20px;
    transform: translateX(-50%);
  }

  .timeline-dot-divine {
    left: 20px;
    transform: translateX(-50%);
  }

  @keyframes pulse-divine {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.1); }
  }

  .timeline-item.timeline-left,
  .timeline-item.timeline-right {
    justify-content: flex-end;
  }

  .timeline-content-box {
    width: calc(100% - 55px);
    margin-left: 55px;
  }
}

/* ==========================================================================
   SPIRITUAL HIERARCHY SECTION (DARK BASE)
   ========================================================================== */
.hierarchy-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 5rem 0;
  border-top: 1px solid var(--gold-border);
  border-bottom: 1px solid var(--gold-border);
  position: relative;
}

.hierarchy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.hierarchy-card {
  background-color: var(--bg-dark-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.hierarchy-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-gold);
  box-shadow: var(--shadow-gold);
  background-color: var(--bg-dark-hover);
}

.hierarchy-avatar {
  width: 105px;
  height: 105px;
  border-radius: 50%;
  border: 2px solid var(--primary-gold);
  margin: 0 auto 1.25rem auto;
  background-color: #14100D;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-gold);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  flex-shrink: 0;
}

.hierarchy-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hierarchy-avatar svg {
  width: 48px;
  height: 48px;
  fill: var(--primary-gold);
}

.hierarchy-role {
  display: block;
  width: 100%;
  font-family: var(--font-subheading);
  color: var(--primary-gold);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
}

.hierarchy-name {
  display: block;
  width: 100%;
  font-size: 1.3rem;
  color: var(--highlight-gold);
  margin-bottom: 0.4rem;
}

.hierarchy-title {
  display: block;
  width: 100%;
  font-size: 0.88rem;
  color: var(--text-light);
  opacity: 0.85;
  line-height: 1.45;
}

/* ==========================================================================
   CLERGY & PARISH LEADERSHIP
   ========================================================================== */
.clergy-section {
  padding: 5rem 0;
  background-color: var(--bg-parchment);
}

.vicar-card {
  background-color: var(--bg-card);
  border: 2px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: center;
}

.vicar-img-box {
  text-align: center;
}

.vicar-img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 3px solid var(--primary-gold);
  object-fit: cover;
  box-shadow: var(--shadow-md);
  margin: 0 auto;
}

.vicar-img-placeholder {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 3px solid var(--primary-gold);
  margin: 0 auto 1rem auto;
  background-color: #FAF6EE;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cta-burgundy);
  box-shadow: var(--shadow-md);
}

.vicar-img-placeholder svg {
  width: 100px;
  height: 100px;
  fill: var(--cta-burgundy);
}

.vicar-details h3 {
  font-size: 1.8rem;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.vicar-role-tag {
  display: inline-block;
  background-color: rgba(107, 39, 55, 0.1);
  color: var(--cta-burgundy);
  border: 1px solid rgba(107, 39, 55, 0.3);
  padding: 0.25rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.vicar-bio {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.vicar-contact-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.vicar-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: var(--text-dark);
  font-weight: 500;
}

.vicar-contact-item svg {
  width: 18px;
  height: 18px;
  fill: var(--cta-burgundy);
}

/* Managing Committee List */
.committee-box {
  margin-top: 3rem;
  background-color: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
}

.committee-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem;
  margin-top: 1.5rem;
}

.committee-card {
  padding: 1.75rem 1.25rem;
  background: var(--bg-parchment);
  border-radius: var(--radius-md);
  border: 1px solid var(--gold-border);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.committee-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-gold);
  box-shadow: var(--shadow-md);
}

.committee-avatar-img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid var(--primary-gold);
  object-fit: cover;
  margin: 0 auto 0.85rem auto;
  box-shadow: var(--shadow-sm);
  display: block;
}

.committee-role {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--primary-gold);
  font-weight: 700;
  letter-spacing: 0.05em;
  display: block;
  width: 100%;
  margin-bottom: 0.3rem;
}

.committee-name {
  font-size: 1.1rem;
  color: var(--text-dark);
  font-weight: 700;
  display: block;
  width: 100%;
  margin-bottom: 0.2rem;
}

.committee-title {
  display: block;
  width: 100%;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SERVICES & SCHEDULE SECTION
   ========================================================================== */
.services-section {
  padding: 5rem 0;
  background-color: #F4EDE0;
  border-top: 1px solid var(--gold-border);
}

.services-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.tab-btn {
  background-color: var(--bg-card);
  color: var(--text-dark);
  border: 1px solid var(--gold-border);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.tab-btn:hover,
.tab-btn.active {
  background-color: var(--cta-burgundy);
  color: var(--text-white);
  border-color: var(--cta-burgundy);
  box-shadow: 0 4px 14px rgba(107, 39, 55, 0.35);
}

.tab-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-content.active {
  display: block;
}

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

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

.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-gold);
}

.service-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.service-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background-color: rgba(107, 39, 55, 0.1);
  color: var(--cta-burgundy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.service-title {
  font-size: 1.3rem;
  color: var(--text-dark);
}

.service-time-badge {
  background: var(--bg-parchment);
  color: var(--cta-burgundy);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(107, 39, 55, 0.2);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.service-list li {
  font-size: 0.92rem;
  color: var(--text-muted);
  position: relative;
  padding-left: 1.4rem;
}

.service-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--primary-gold);
  font-size: 0.8rem;
}

/* ==========================================================================
   LITURGICAL BOOKS & AUDIO HYMNAL (DARK BASE)
   ========================================================================== */
.liturgy-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 5rem 0;
  border-top: 2px solid var(--primary-gold);
  border-bottom: 2px solid var(--primary-gold);
}

.liturgy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.book-card {
  background-color: var(--bg-dark-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
}

.book-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-gold);
  box-shadow: var(--shadow-gold);
  background-color: var(--bg-dark-hover);
}

.book-icon {
  width: 48px;
  height: 48px;
  color: var(--highlight-gold);
  margin-bottom: 1rem;
}

.book-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.book-title {
  font-size: 1.2rem;
  color: var(--highlight-gold);
  margin-bottom: 0.5rem;
}

.book-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  opacity: 0.8;
  margin-bottom: 1.5rem;
}

.book-btn-group {
  display: flex;
  gap: 0.75rem;
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

/* Embedded Audio Hymn Player */
.audio-hymnal-box {
  margin-top: 3.5rem;
  background-color: var(--bg-dark-surface);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

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

.hymn-track-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.hymn-track-item {
  background: var(--bg-dark-card);
  border: 1px solid rgba(201, 169, 110, 0.2);
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: var(--transition-smooth);
}

.hymn-track-item:hover {
  border-color: var(--primary-gold);
  background: var(--bg-dark-hover);
}

.hymn-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.play-hymn-btn {
  background: var(--cta-burgundy);
  color: #FFF;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.play-hymn-btn:hover {
  background: var(--primary-gold);
  color: var(--bg-dark);
}

.play-hymn-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  margin-left: 2px;
}

/* ==========================================================================
   ORGANIZATIONS / AUXILIARY BODIES
   ========================================================================== */
.organizations-section {
  padding: 5rem 0;
  background-color: var(--bg-parchment);
}

.orgs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.org-card {
  background-color: var(--bg-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.org-card::top {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-gold);
}

.org-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-gold);
}

.org-title {
  font-size: 1.25rem;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.org-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   MEMBERSHIP & DONATION SECTION
   ========================================================================== */
.membership-section {
  padding: 5rem 0;
  background-color: #F5EEE2;
  border-top: 1px solid var(--gold-border);
}

.membership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.membership-box, .donate-box {
  background-color: var(--bg-card);
  border: 2px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.25rem;
}

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

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  background-color: var(--bg-parchment);
  color: var(--text-dark);
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--cta-burgundy);
  background-color: #FFF;
  box-shadow: 0 0 0 3px rgba(107, 39, 55, 0.15);
}

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

/* Bank Account Detail Widget */
.bank-account-card {
  background: var(--bg-parchment);
  border: 1px dashed var(--primary-gold);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  margin: 1.5rem 0;
}

.bank-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0;
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(201, 169, 110, 0.2);
}

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

.copy-btn {
  background: rgba(201, 169, 110, 0.2);
  border: 1px solid var(--primary-gold);
  color: var(--text-dark);
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.copy-btn:hover {
  background: var(--primary-gold);
  color: #FFF;
}

/* ==========================================================================
   PHOTO GALLERY & LIGHTBOX
   ========================================================================== */
.gallery-section {
  padding: 5rem 0;
  background-color: var(--bg-parchment);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 240px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  border: 2px solid var(--gold-border);
}

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

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(28, 22, 18, 0.9), transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  color: var(--highlight-gold);
  font-family: var(--font-heading);
  font-size: 1rem;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.lightbox-modal.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  position: relative;
  text-align: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-sm);
  border: 2px solid var(--primary-gold);
  box-shadow: var(--shadow-lg);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: var(--primary-gold);
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition-smooth);
}

.lightbox-close:hover {
  color: #FFF;
  transform: scale(1.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(28, 22, 18, 0.85);
  color: var(--primary-gold);
  border: 1px solid var(--primary-gold);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  user-select: none;
}

.lightbox-nav:hover {
  background: var(--primary-gold);
  color: var(--bg-dark);
  box-shadow: 0 6px 20px rgba(201, 169, 110, 0.5);
  transform: translateY(-50%) scale(1.08);
}

.lightbox-prev {
  left: -25px;
}

.lightbox-next {
  right: -25px;
}

@media (max-width: 768px) {
  .lightbox-prev {
    left: 10px;
  }
  .lightbox-next {
    right: 10px;
  }
}

/* ==========================================================================
   CONTACT, PRAYER REQUEST & MAP SECTION (DARK BASE)
   ========================================================================== */
.contact-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 5rem 0;
  border-top: 2px solid var(--primary-gold);
}

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

.contact-info-box {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.contact-detail-card {
  background-color: var(--bg-dark-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(201, 169, 110, 0.15);
  color: var(--primary-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.contact-text h4 {
  color: var(--highlight-gold);
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.contact-text p, .contact-text a {
  color: var(--text-light);
  opacity: 0.9;
  font-size: 0.95rem;
  text-decoration: none;
}

.contact-text a:hover {
  color: var(--primary-gold);
}

.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--gold-border);
  height: 280px;
  margin-top: 1rem;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Prayer Request Form on Dark Surface */
.form-dark {
  background-color: var(--bg-dark-card);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 2.25rem;
}

.form-dark .form-control {
  background-color: var(--bg-dark-surface);
  color: var(--text-light);
  border-color: rgba(201, 169, 110, 0.3);
}

.form-dark .form-control:focus {
  background-color: #1E1814;
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.2);
}

.form-dark label {
  color: var(--highlight-gold);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: #120E0B;
  color: var(--text-light);
  border-top: 3px solid var(--primary-gold);
  padding: 4rem 0 2rem 0;
  font-size: 0.9rem;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--primary-gold);
  background: #FFF;
}

.footer-brand-title {
  color: var(--highlight-gold);
  font-size: 1.1rem;
}

.footer-col-title {
  color: var(--primary-gold);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.footer-col-title::after {
  content: '';
  display: block;
  width: 35px;
  height: 2px;
  background: var(--primary-gold);
  margin-top: 0.4rem;
}

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

.footer-links a {
  color: var(--text-light);
  opacity: 0.8;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--primary-gold);
  opacity: 1;
  padding-left: 0.3rem;
}

.footer-bottom {
  border-top: 1px solid rgba(201, 169, 110, 0.2);
  padding-top: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background-color: var(--cta-burgundy);
  color: #FFF;
  border: 1px solid var(--primary-gold);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  z-index: 1000;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--cta-burgundy-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Notification Toast */
.toast-notification {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background-color: var(--bg-dark-card);
  color: var(--highlight-gold);
  border: 1px solid var(--primary-gold);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 4000;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .about-grid, .vicar-card, .membership-grid, .contact-grid {
    grid-template-columns: 1fr;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 840px) {
  .nav-menu, .top-info {
    display: none;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .hierarchy-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 2.1rem;
    line-height: 1.25;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    padding: 0 0.5rem;
  }

  .hero-features-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
  }

  .feature-item {
    justify-content: center;
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-buttons .btn-burgundy,
  .hero-buttons .btn-gold-outline {
    width: 100%;
    justify-content: center;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .brand-title {
    font-size: 0.98rem;
  }

  .brand-subtitle {
    font-size: 0.7rem;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .vicar-card {
    padding: 1.75rem 1.25rem;
  }

  .vicar-img {
    width: 160px;
    height: 160px;
  }

  .vicar-contact-row {
    flex-direction: column;
    gap: 0.75rem;
  }

  .membership-box, .donate-box, .form-dark {
    padding: 1.5rem 1.1rem;
  }

  .toast-notification {
    left: 15px;
    right: 15px;
    bottom: 20px;
    width: auto;
    font-size: 0.88rem;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }

  .hymn-track-item {
    flex-direction: column;
    align-items: flex-start;
  }
}
