/* ==========================================================================
   Lighthouse Mennonite Church - Premium Design System
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variables - Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Burgundy Color Palette */
  --burgundy-900: #2D1215;
  --burgundy-800: #4A1C22;
  --burgundy-700: #5C232A;
  --burgundy-600: #722F37;
  --burgundy-500: #8B3A44;
  --burgundy-400: #A84D58;
  --burgundy-300: #C77580;
  --burgundy-200: #E0A8AE;
  --burgundy-100: #F5E1E3;
  --burgundy-50: #FDF5F6;

  /* Accent Colors */
  --gold: #D4AF37;
  --gold-light: #E8D48B;
  --cream: #FFF8F0;
  --white: #FFFFFF;

  /* Neutral Colors */
  --gray-900: #1A1A1A;
  --gray-800: #2D2D2D;
  --gray-700: #404040;
  --gray-600: #525252;
  --gray-500: #737373;
  --gray-400: #A3A3A3;
  --gray-300: #D4D4D4;
  --gray-200: #E5E5E5;
  --gray-100: #F5F5F5;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  --spacing-4xl: 6rem;

  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(45, 18, 21, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(45, 18, 21, 0.1), 0 2px 4px -1px rgba(45, 18, 21, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(45, 18, 21, 0.1), 0 4px 6px -2px rgba(45, 18, 21, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(45, 18, 21, 0.1), 0 10px 10px -5px rgba(45, 18, 21, 0.04);
  --shadow-glow: 0 0 40px rgba(114, 47, 55, 0.3);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Layout */
  --max-width: 1200px;
  --header-height: 80px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-800);
  background-color: var(--cream);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--burgundy-800);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  margin-bottom: var(--spacing-md);
}

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

a:hover {
  color: var(--burgundy-400);
}

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

/* --------------------------------------------------------------------------
   Utility Classes
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.section {
  padding: var(--spacing-4xl) 0;
}

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

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

.text-burgundy {
  color: var(--burgundy-600);
}

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(114, 47, 55, 0.1);
  z-index: 1000;
  transition: all var(--transition-base);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.logo img {
  height: 50px;
  width: auto;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--burgundy-800);
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--gray-500);
  font-family: var(--font-body);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
}

.nav-links a {
  font-weight: 500;
  color: var(--gray-700);
  padding: var(--spacing-sm) 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--burgundy-600);
  transition: width var(--transition-base);
}

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

.nav-links a:hover {
  color: var(--burgundy-600);
}

/* Mobile Header Actions */
.mobile-header-actions {
  display: none;
  align-items: center;
  gap: var(--spacing-sm);
}

.mobile-donate-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--burgundy-900) !important;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  font-family: var(--font-body);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
  transition: all var(--transition-base);
  white-space: nowrap;
}

.mobile-donate-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.45);
  color: var(--burgundy-900) !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-sm);
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--burgundy-600);
  transition: all var(--transition-fast);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(45, 18, 21, 0.85) 0%,
      rgba(114, 47, 55, 0.75) 50%,
      rgba(45, 18, 21, 0.85) 100%);
}

.hero-content {
  position: relative;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  padding: var(--spacing-xl);
  animation: fadeInUp 1s ease-out;
}

.hero-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto var(--spacing-xl);
  animation: float 6s ease-in-out infinite;
}

.hero h1 {
  color: var(--white);
  margin-bottom: var(--spacing-md);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--burgundy-100);
  margin-bottom: var(--spacing-2xl);
  font-style: italic;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

.hero-buttons .hero-donate-mobile {
  display: none;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-xl);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--burgundy-900);
  border: 2px solid var(--gold);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
  color: var(--burgundy-900);
}

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

.btn-outline:hover {
  background: var(--white);
  color: var(--burgundy-600);
  transform: translateY(-2px);
}

.btn-burgundy {
  background: var(--burgundy-600);
  color: var(--white);
  border-color: var(--burgundy-600);
}

.btn-burgundy:hover {
  background: var(--burgundy-500);
  border-color: var(--burgundy-500);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.btn-donate {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--burgundy-900);
  border-color: var(--gold);
  font-weight: 700;
}

.btn-donate:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
  color: var(--burgundy-900);
}

/* Nav Donate Button */
.nav-donate-btn {
  background: linear-gradient(135deg, var(--gold), var(--gold-light)) !important;
  color: var(--burgundy-900) !important;
  padding: var(--spacing-sm) var(--spacing-lg) !important;
  border-radius: var(--radius-full) !important;
  font-weight: 700 !important;
  font-size: 0.9rem;
  transition: all var(--transition-base) !important;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.nav-donate-btn::after {
  display: none !important;
}

.nav-donate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45) !important;
  color: var(--burgundy-900) !important;
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

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

.card-glass {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--burgundy-600), var(--burgundy-400));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-md);
  color: var(--white);
  font-size: 1.5rem;
}

.card h3 {
  margin-bottom: var(--spacing-sm);
}

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

/* --------------------------------------------------------------------------
   About Section
   -------------------------------------------------------------------------- */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

.about-content h2 {
  margin-bottom: var(--spacing-lg);
}

.about-content p {
  color: var(--gray-600);
  font-size: 1.1rem;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--burgundy-600);
  color: var(--white);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-lg);
  font-family: var(--font-display);
  font-size: 1.25rem;
  box-shadow: var(--shadow-lg);
}

.affiliation-link-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-xl);
  padding: var(--spacing-md) var(--spacing-xl);
  background: linear-gradient(135deg, var(--burgundy-600), var(--burgundy-500));
  border-radius: var(--radius-full);
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition-base);
  box-shadow: 0 4px 15px rgba(114, 47, 55, 0.3);
  text-decoration: none;
  border: 2px solid var(--burgundy-500);
}

.affiliation-link-btn:hover {
  background: linear-gradient(135deg, var(--burgundy-500), var(--burgundy-400));
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(114, 47, 55, 0.4);
}

.affiliation-link-btn svg:first-child {
  flex-shrink: 0;
}

.affiliation-link-btn svg:last-child {
  flex-shrink: 0;
  opacity: 0.7;
}

/* --------------------------------------------------------------------------
   Beliefs Section
   -------------------------------------------------------------------------- */
.beliefs {
  background: linear-gradient(135deg, var(--burgundy-800) 0%, var(--burgundy-600) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.beliefs::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.beliefs h2 {
  color: var(--white);
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.beliefs-subtitle {
  text-align: center;
  color: var(--burgundy-200);
  max-width: 600px;
  margin: 0 auto var(--spacing-3xl);
  font-size: 1.1rem;
}

.beliefs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
}

.belief-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition-base);
}

.belief-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.belief-icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
}

.belief-card h4 {
  color: var(--gold);
  margin-bottom: var(--spacing-sm);
}

.belief-card p {
  color: var(--burgundy-100);
  font-size: 0.95rem;
}

a.belief-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.belief-card:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.btn-beliefs-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--burgundy-900);
  border: 2px solid var(--gold);
  font-weight: 700;
  font-size: 1.05rem;
  padding: var(--spacing-md) var(--spacing-2xl);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-beliefs-cta:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
  color: var(--burgundy-900);
}

.btn-beliefs-cta svg:last-child {
  opacity: 0.7;
}

/* --------------------------------------------------------------------------
   Services Section
   -------------------------------------------------------------------------- */
.services {
  background: var(--cream);
}

.services-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
}

.services-info h2 {
  margin-bottom: var(--spacing-lg);
}

.service-times {
  list-style: none;
  margin: var(--spacing-xl) 0;
}

.service-times li {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md) 0;
  border-bottom: 1px solid var(--gray-200);
}

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

.service-time {
  min-width: 100px;
  font-weight: 700;
  color: var(--burgundy-600);
  font-size: 1.1rem;
}

.service-name {
  color: var(--gray-700);
}

.service-note {
  color: var(--burgundy-600);
  font-size: 0.9rem;
  font-style: italic;
  margin-top: var(--spacing-sm);
  opacity: 0.85;
}

.listen-section {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--spacing-2xl);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.listen-section h3 {
  margin-bottom: var(--spacing-md);
}

.listen-section p {
  color: var(--gray-600);
  margin-bottom: var(--spacing-lg);
}

.listen-player {
  background: var(--burgundy-50);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.listen-player iframe {
  width: 100%;
  height: 200px;
  border: none;
  border-radius: var(--radius-md);
}

.phone-access {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  color: var(--gray-600);
  font-size: 0.95rem;
}

.phone-access a {
  font-weight: 600;
  color: var(--burgundy-600);
}

/* --------------------------------------------------------------------------
   Leadership (Footer Collapsible)
   -------------------------------------------------------------------------- */
.footer-leadership {
  margin-top: var(--spacing-lg);
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.leadership-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: 10px 18px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.05));
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: var(--radius-lg);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition-base);
}

.leadership-toggle:hover {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(212, 175, 55, 0.1));
  border-color: rgba(212, 175, 55, 0.5);
  color: var(--gold-light);
}

.leadership-toggle svg {
  transition: transform var(--transition-base);
  flex-shrink: 0;
  opacity: 0.7;
}

.leadership-toggle.open svg {
  transform: rotate(180deg);
}

.leadership-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.35s ease;
  opacity: 0;
}

.leadership-panel.open {
  max-height: 300px;
  padding: var(--spacing-md) 0 0;
  opacity: 1;
}

.leadership-panel-inner {
  display: flex;
  justify-content: center;
  gap: var(--spacing-xl);
}

.leadership-panel-inner>div {
  text-align: center;
}

.leadership-group-label {
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  display: inline-block;
}

.leadership-names {
  list-style: none;
  padding: 0;
  margin-bottom: var(--spacing-md);
  text-align: center;
}

.leadership-names li {
  padding: 3px 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  letter-spacing: 0.3px;
}

/* --------------------------------------------------------------------------
   Contact Section
   -------------------------------------------------------------------------- */
.contact {
  background: var(--burgundy-50);
}

.contact h2 {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xl);
}

.contact-item {
  display: flex;
  gap: var(--spacing-md);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--burgundy-600);
  color: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-details h4 {
  margin-bottom: var(--spacing-xs);
  font-size: 1rem;
}

.contact-details p {
  color: var(--gray-600);
  margin-bottom: 0;
}

.contact-details a {
  color: var(--burgundy-600);
  font-weight: 500;
}

.map-container {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 100%;
  min-height: 350px;
}

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

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--burgundy-900);
  color: var(--burgundy-200);
  padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--spacing-3xl);
  margin-bottom: var(--spacing-2xl);
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
}

.footer-brand img {
  width: 60px;
  height: auto;
}

.footer-brand-text h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: var(--spacing-sm);
}

.footer-brand-text p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: var(--spacing-md);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--spacing-sm);
}

.footer-links a {
  color: var(--burgundy-200);
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding-top: var(--spacing-xl);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.footer-bottom a {
  color: var(--gold);
}

.footer-bottom a:hover {
  color: var(--gold-light);
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

/* Scroll Reveal Animation Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Responsive Styles
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {

  .about-grid,
  .services-content,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
  }

  .about-image {
    order: -1;
  }

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

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: var(--spacing-xl);
    gap: var(--spacing-md);
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .mobile-header-actions {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .hero-content {
    padding: var(--spacing-lg);
  }

  .hero-logo {
    width: 80px;
    height: 80px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-donate-mobile {
    display: inline-flex !important;
    order: 3;
  }

  #heroListenBtn {
    order: 1;
  }

  .hero-buttons .btn-primary:not(.hero-donate-mobile) {
    order: 2;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

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


  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    flex-direction: column;
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--spacing-md);
    text-align: center;
  }
}

@media (max-width: 480px) {
  .section {
    padding: var(--spacing-2xl) 0;
  }
}

/* --------------------------------------------------------------------------
   Live Stream Badge
   -------------------------------------------------------------------------- */
.live-badge {
  display: none;
  background: #e53e3e;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-left: var(--spacing-sm);
  position: relative;
  animation: livePulse 2s ease-in-out infinite;
  vertical-align: middle;
}

.live-badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  margin-right: 4px;
  vertical-align: middle;
  animation: liveDot 1.5s ease-in-out infinite;
}

.live-badge.live-active {
  display: inline-flex;
  align-items: center;
}

@keyframes livePulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

@keyframes liveDot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}
/* --------------------------------------------------------------------------
   Service Countdown
   -------------------------------------------------------------------------- */
.service-countdown {
  margin-top: var(--spacing-xl);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--gray-200);
  text-align: center;
}

.countdown-label {
  font-size: 0.9rem;
  color: var(--burgundy-600);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--spacing-sm);
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--burgundy-800);
  line-height: 1;
  min-width: 40px;
}

.countdown-label-small {
  font-size: 0.75rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   Translation Notice
   -------------------------------------------------------------------------- */
.translation-notice {
  margin-top: var(--spacing-3xl);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--burgundy-500);
}

.translation-icon {
  width: 50px;
  height: 50px;
  background: var(--burgundy-50);
  color: var(--burgundy-600);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.translation-text h4 {
  margin-bottom: var(--spacing-xs);
  color: var(--burgundy-800);
  font-size: 1.1rem;
}

.translation-text p {
  margin-bottom: 0;
  color: var(--gray-600);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .translation-notice {
    flex-direction: column;
    text-align: center;
    padding: var(--spacing-lg);
  }
}
