.navbar.scrolled .favicon {
  height: 42px;
}

.navbar.scrolled .navbar-title-img {
  height: 28px;
}

/* Desktop: Hide Mobile Menu Always */
.nav-menu {
  display: none;
}

/* Mobile Toggle Appearance */
.menu-toggle {
  display: none;
  position: absolute;
  right: var(--space-lg);
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  z-index: 1002;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: #d4a574;
  border-radius: 2px;
  transition: all var(--transition-base);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Menu Toggle Active State */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translate(-10px);
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* --- ULTIMATE NAVIGATION CORE --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: transparent;
  z-index: 1002;
  transition: background 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    backdrop-filter 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    border 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(0px);
  box-sizing: border-box;
  border: 1px solid transparent;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Subpages always have plain white navbar */
.navbar.navbar-subpage {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(25px) !important;
  -webkit-backdrop-filter: blur(25px) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}


@media (prefers-reduced-motion: reduce) {

  .navbar,
  .navbar * {
    transition: none !important;
  }
}

.navbar.scrolled {
  top: 12px;
  left: 12px;
  right: 12px;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.92) !important;
  backdrop-filter: blur(35px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(35px) saturate(180%) !important;
  border-radius: 16px;
  box-shadow:
    0 10px 40px rgba(26, 58, 82, 0.12),
    0 4px 12px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(212, 175, 120, 0.15);
  width: calc(100% - 24px);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  gap: 18px;
  position: relative;
  box-sizing: border-box;
}

/* Symmetrical Menus */
.nav-menu-left,
.nav-menu-right {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.nav-menu-left {
  justify-content: flex-end;
  padding-right: 40px;
}

.nav-menu-right {
  justify-content: flex-start;
  padding-left: 40px;
}

/* Desktop Right Menu specific centering fix */
.nav-menu-right .nav-item {
  display: flex;
  justify-content: center;
}

/* Link Colors Toggle */
.navbar .nav-link,
.navbar .navbar-logo {
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.8);
}

.navbar.navbar-transparent .nav-link {
  color: #ffffff !important;
}

.navbar.scrolled .nav-link,
.navbar.scrolled .navbar-logo,
.navbar.navbar-subpage .nav-link,
.navbar.navbar-subpage .navbar-logo {
  color: #1a3a52 !important;
  text-shadow: none;
}

.navbar.scrolled .navbar-logo,
.navbar.navbar-subpage .navbar-logo {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

/* Logo & Branding */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  z-index: 10;
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 12px;
  border: none;
  background: transparent;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.navbar-logo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 175, 120, 0.12) 0%, rgba(212, 175, 120, 0.04) 100%);
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.navbar-logo:hover {
  transform: translateY(-2px);
}

.navbar-logo:hover::before {
  opacity: 1;
}

.favicon {
  height: 40px;
  width: auto;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
  position: relative;
  z-index: 1;
}

.navbar-logo:hover .favicon {
  transform: scale(1.05) rotate(-2deg);
  filter: drop-shadow(0 2px 5px rgba(212, 175, 120, 0.15)) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.12));
}

.navbar-title-img {
  height: 26px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  transition: all 0.5s ease;
  display: block;
}

.navbar.scrolled .navbar-title-img {
  filter: none;
}

.navbar.scrolled .favicon {
  height: 40px;
}

.navbar.scrolled .navbar-title-img {
  height: 28px;
  filter: none;
}

/* --- Unified Navigation Components --- */
.nav-item {
  position: relative;
  margin: 0;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  color: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
}

/* nav-link hover background */
.nav-link:hover,
.nav-link:focus {
  background: rgba(212, 165, 116, 0.12);
  outline: none;
  position: relative;
  transform: translateY(-1px);
}

/* Ripple effect on nav links */
/* Ripple removed for a cleaner nav */

.nav-link:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Animated Hover Indicator (Main Nav) */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link:focus::after,
.nav-link.active::after {
  width: 34px;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.active {
  color: #d4a574 !important;
}

/* Chevron Styling */
.nav-link svg {
  width: 10px;
  height: 10px;
  margin-left: 6px;
  /* Optimized gap */
  opacity: 0.8;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-item:hover .nav-link svg {
  transform: rotate(180deg);
  opacity: 1;
}

/* Precision Dropdown UI */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px) scale(0.98);
  min-width: 200px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08), 0 8px 16px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-top: 2px solid var(--color-accent);
  padding: 10px 6px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
  list-style: none;
  margin: 0;
  z-index: 1000;
  pointer-events: none;
}

/* Hover Bridge: Invisible pseudo-element to bridge the gap */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -20px;
  /* Spans the visual gap */
  left: 0;
  right: 0;
  height: 25px;
  background: transparent;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(6px) scale(1);
  pointer-events: all;
}

.dropdown-link {
  display: block;
  padding: 11px 16px;
  color: #1a3a52;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
}

.dropdown-link:hover {
  background: #faf8f5;
  color: #d4a574;
  padding-left: 20px;
}

/* Hide dropdown accordion icon on desktop */
.dropdown-icon {
  display: none;
}

/* Matching UI Indicator for Dropdown links */
.dropdown-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 12px;
  background: var(--color-accent);
  transition: all 0.3s ease;
  border-radius: 0 2px 2px 0;
}

.dropdown-link:hover::before {
  width: 3px;
}

/* --- Mobile Navigation Logic (Single Source of Truth) --- */
@media (max-width: 1024px) {

  .nav-menu-left,
  .nav-menu-right {
    display: none !important;
  }

  .menu-toggle {
    display: flex;
    z-index: 1006;
    top: 50%;
    transform: translateY(-50%);
  }

  .menu-toggle span {
    background: #d4a574;
    filter: none;
    height: 3px;
    width: 28px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  }

  .navbar-inner {
    justify-content: center;
    padding: 0 var(--space-md);
  }

  .nav-menu {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    z-index: 1005;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s ease;
    padding: 80px 0 20px 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    height: 100vh;
    height: 100dvh;
    box-sizing: border-box;
    line-height: 1.5;
  }

  .nav-menu.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: all !important;
  }

  .nav-menu .nav-item {
    display: block !important;
    width: 100% !important;
  }

  .nav-menu .nav-link {
    color: var(--color-primary) !important;
    opacity: 1 !important;
    text-decoration: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .nav-menu .dropdown-link {
    color: var(--color-primary) !important;
  }

  .nav-menu.active .nav-link {
    opacity: 1 !important;
  }

  .navbar.navbar-subpage .nav-menu {
    background: #ffffff !important;
  }

  /* Mobile Dropdown adjustment */
  .nav-menu .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: var(--bg-cream);
    max-height: 0;
    overflow: hidden;
    padding: 0;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.35s ease;
    min-width: 100%;
    margin-top: 0;
    border: none;
  }

  .nav-item.dropdown-open .dropdown-menu {
    max-height: 500px;
    padding: 12px 8px;
  }

  /* Touch target fix: ensure 44px minimum */
  .dropdown-link {
    padding: 14px 16px 14px 32px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

/* --- Breadcrumbs with Sticky Behavior --- */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  position: sticky;
  top: 80px;
  /* Clears the scrolled navbar (12px top + 64px height + gap) */
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 251, 252, 0.97) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 50;
  border-bottom: 1px solid rgba(212, 175, 120, 0.12);
  padding: var(--space-md) var(--space-lg);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.breadcrumbs:hover {
  box-shadow: 0 4px 16px rgba(26, 58, 82, 0.06);
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.breadcrumb-item a {
  color: var(--text-secondary);
  transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
  color: #c99a60;
}

.breadcrumb-separator {
  color: rgba(212, 175, 120, 0.5);
}

.breadcrumb-current {
  color: #1a3a52;
  font-weight: 600;
}

/* --- Hero Banner --- */
.hero {
  position: relative;
  height: clamp(250px, 50vh, 420px);
  overflow: hidden;
  margin-top: var(--nav-height);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg,
      rgba(10, 16, 24, 0.65) 0%,
      rgba(21, 37, 53, 0.55) 40%,
      rgba(26, 58, 82, 0.5) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl);
}

.hero-title {
  color: #ffffff;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  margin-bottom: 20px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35), 0 8px 32px rgba(0, 0, 0, 0.45);
  letter-spacing: -0.02em;
  font-weight: 700;
  position: relative;
  line-height: 1.2;
}

.hero-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #d4a574 30%, #c99a60 50%, #d4a574 70%, transparent 100%);
  margin: 18px auto 0;
  border-radius: 2px;
  box-shadow: 0 0 15px rgba(212, 175, 120, 0.4);
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  max-width: 680px;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

/* --- Sidebar Components --- */
.sidebar-section {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: var(--space-lg);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.sidebar-title {
  font-size: 1.1rem;
  color: #1a3a52;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 2px solid #d4a574;
}

/* Address Block */
.address-block {
  font-size: 0.95rem;
  line-height: 1.8;
}

.address-block p {
  margin-bottom: var(--space-sm);
}

.address-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.address-link:hover {
  color: #d4a574;
}

.address-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #d4a574;
}

/* Service Times */
.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--border-light);
  margin: 0;
}

.service-item:last-child {
  border-bottom: none;
}

.service-day {
  font-weight: 600;
  color: #1a3a52;
}

.service-time {
  color: var(--text-secondary);
  text-align: right;
}

.service-type {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Scripture Box */
.scripture-box {
  background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-white) 100%);
  border-left: 4px solid #d4a574;
}

.scripture-box .scripture {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}

/* Map Container */
.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: var(--space-md);
}

.map-container iframe {
  width: 100%;
  height: 200px;
  border: none;
}

/* --- Cards --- */
.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: visible;
  /* Changed to visible for hover bridge */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
}

/* Card Hover Bridge */
.card::before {
  content: '';
  position: absolute;
  inset: -10px;
  background: transparent;
  z-index: -1;
  pointer-events: none;
}

.card:hover::before {
  pointer-events: auto;
}

.card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
  border-color: rgba(196, 154, 108, 0.2);
}

.card-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover .card-image img {
  transform: scale(1.08);
}

.card-body {
  padding: 24px 20px;
}

.card-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.card-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: var(--space-md);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 13px 32px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  line-height: 1.2;
}

.btn-primary {
  background: #d4a574;
  color: var(--text-light);
  box-shadow: 0 2px 8px rgba(212, 165, 116, 0.30);
}

.btn-primary:hover {
  background: #b88d5f;
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 165, 116, 0.40);
}

.btn-secondary {
  background: transparent;
  color: #d4a574;
  border-color: #d4a574;
}

.btn-secondary:hover {
  background: #d4a574;
  color: var(--text-light);
}

.btn-white {
  background: var(--bg-white);
  color: var(--color-primary);
}

.btn-white:hover {
  background: var(--bg-cream);
  color: var(--color-primary);
}

.btn-lg {
  padding: var(--space-md) var(--space-2xl);
  font-size: 1.1rem;
}

/* Enhanced Button Styles */
.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: left 0.4s ease;
  z-index: -1;
}

.btn:hover::before {
  left: 100%;
}

/* Button Hover Bridge */
.btn::after {
  content: '';
  position: absolute;
  inset: -5px;
  background: transparent;
  z-index: -1;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 165, 116, 0.3) !important;
}

.btn:active {
  transform: translateY(0px);
}

@media (prefers-reduced-motion: reduce) {

  .btn,
  .btn::before {
    transition: none !important;
  }

  .btn:hover {
    transform: none;
  }
}

/* --- Footer --- */
.footer {
  position: relative;
  background-color: #0d2133;
  color: var(--text-light);
  padding: 45px 0 32px;
  overflow: hidden;
}

/* Global footer top divider removed */

/* Global footer dividers removed per user request for cleaner look */

/* Global footer divider removed */

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 32px;
  position: relative;
}

.footer-block {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 20px;
  backdrop-filter: blur(8px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

/* Footer Block Hover Bridge */
.footer-block::before {
  content: '';
  position: absolute;
  inset: -10px;
  background: transparent;
  z-index: -1;
}

.footer-block:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(212, 165, 116, 0.4);
  transform: translateY(-3px);
}

/* F-05: Disable footer hover transform on touch devices */
@media (hover: none) {
  .footer-block:hover {
    transform: none;
  }
}

/* duplicate footer-block:hover removed — already defined above */

.footer-block-title {
  display: block;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  position: relative;
  text-align: center;
}

/* block title segment lines removed for absolute minimal look */

/* Block title dividers removed */

/* duplicate segment removed */

.footer-block address {
  font-family: var(--font-body);
  font-style: normal;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.footer-phones {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-phone {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  color: #d4a574;
  font-family: var(--font-body);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(212, 165, 116, 0.25);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer-phone:hover {
  background: rgba(212, 165, 116, 0.1);
  border-color: #d4a574;
  color: #fff;
  transform: translateY(-2px);
}

.footer-phone svg {
  width: 14px;
  height: 14px;
  stroke: #d4a574;
  fill: none;
}

.footer-phone:hover svg {
  stroke: #fff;
}

.footer-times {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-time-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px 0;
}

.footer-time-item:first-child {
  border-top: none;
  padding-top: 0;
}

.footer-time-item:last-child {
  padding-bottom: 0;
}

.footer-day {
  color: #d4a574;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
}

.footer-hours {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.8rem;
  line-height: 1.5;
  font-style: italic;
  opacity: 0.9;
}

.footer-quote {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}

.footer-verse {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  line-height: 1.65;
  font-family: var(--font-scripture);
  margin-bottom: 8px;
  font-style: italic;
}

.footer-reference {
  color: #d4a574;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
}

.footer-logo {
  height: 44px;
  width: 44px;
  object-fit: contain;
}

.footer-branding {
  text-align: center;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.footer-bottom {
  width: 100%;
  padding-top: 32px;
  padding-left: 0;
  padding-right: 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  justify-content: center;
}

.footer-blessing-minimal {
  margin-bottom: 20px;
  padding: 20px 0;
}

.blessing-quote {
  font-family: 'EB Garamond', serif;
  font-size: 1rem;
  font-style: italic;
  color: rgba(255, 248, 230, 0.85);
  margin: 0;
  line-height: 1.6;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.footer-copyright {
  margin: 0;
  text-align: center;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  color: var(--text-light);
  transition: all var(--transition-base);
}

.social-link:hover {
  background: #d4a574;
  color: var(--text-light);
  transform: translateY(-2px);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 576px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-block {
    padding: 18px;
  }

  .hero {
    height: 300px;
  }
}

/* --- Forms --- */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-primary);
  background: var(--bg-white);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #d4a574;
  box-shadow: 0 0 0 4px rgba(212, 165, 116, 0.15);
  background: var(--bg-white);
}

.form-textarea {
  min-height: 160px;
  resize: vertical;
  line-height: 1.6;
}

.form-error {
  color: #dc2626;
  font-size: 0.85rem;
  margin-top: var(--space-xs);
}

/* --- Pagination --- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-2xl);
}

.page-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--space-sm);
  color: var(--text-primary);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-weight: 500;
  transition: all var(--transition-fast);
}

.page-link:hover {
  color: #d4a574;
  border-color: #d4a574;
}

.page-link.active {
  background: #d4a574;
  border-color: #d4a574;
  color: var(--text-light);
}

.page-link.disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* --- Audio Player --- */
.audio-player {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--bg-cream);
  border-radius: var(--radius-md);
}

.audio-play-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #d4a574;
  color: var(--text-light);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
}

.audio-play-btn:hover {
  background: #b88d5f;
  transform: scale(1.05);
}

.audio-progress {
  flex: 1;
  height: 6px;
  background: var(--border-light);
  border-radius: var(--radius-full);
  cursor: pointer;
  overflow: hidden;
}

.audio-progress-bar {
  height: 100%;
  background: #d4a574;
  border-radius: var(--radius-full);
  width: 0%;
  transition: width 100ms linear;
}

.audio-time {
  font-size: 0.85rem;
  color: var(--text-muted);
  min-width: 80px;
  text-align: right;
}

/* --- Gallery Grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
}

.gallery-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex;
  align-items: flex-end;
  padding: var(--space-md);
}

/* F-04: focus-within alternative for touch/keyboard gallery access */
.gallery-item:hover .gallery-overlay,
.gallery-item:focus-within .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: var(--radius-full);
  color: var(--text-light);
  cursor: pointer;
  font-size: 1.5rem;
  transition: all var(--transition-fast);
}

.lightbox-close:hover {
  background: var(--color-accent);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: var(--radius-full);
  color: var(--text-light);
  cursor: pointer;
  font-size: 1.5rem;
  transition: all var(--transition-fast);
}

.lightbox-nav:hover {
  background: var(--color-accent);
}

.lightbox-prev {
  left: var(--space-lg);
}

.lightbox-next {
  right: var(--space-lg);
}

/* --- Sermon Card --- */
.sermon-card {
  display: flex;
  gap: var(--space-lg);
  padding: var(--space-lg);
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-lg);
  transition: all var(--transition-base);
}

.sermon-card:hover {
  box-shadow: var(--shadow-md);
}

.sermon-thumbnail {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
}

.sermon-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sermon-info {
  flex: 1;
  min-width: 0;
}

.sermon-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
}

.sermon-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
}

@media (max-width: 576px) {
  .sermon-card {
    flex-direction: column;
  }

  .sermon-thumbnail {
    width: 100%;
    height: 180px;
  }
}

/* --- Testimony Card --- */
.testimony-card {
  padding: var(--space-xl);
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimony-card::before {
  content: '"';
  position: absolute;
  top: var(--space-md);
  left: var(--space-lg);
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 1.2;
  color: var(--color-accent);
  opacity: 0.2;
}

.testimony-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  position: relative;
  z-index: 1;
}

.testimony-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimony-avatar {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.testimony-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimony-name {
  font-weight: 600;
  color: var(--color-primary);
}

.testimony-role {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-header h2 {
  margin-bottom: var(--space-sm);
}

.section-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* --- Content Sections --- */
.content-section {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-xl);
}

.content-section h2 {
  margin-bottom: var(--space-lg);
}

/* --- Visual Enhancements --- */

/* Logo Glow handled in Core */

/* Logo Glow Effect */
.navbar-logo:hover img {
  filter: drop-shadow(0 0 8px rgba(196, 154, 108, 0.6));
  transform: scale(1.05);
  transition: all 0.3s ease;
}

/* Active Page Indicator */
/* Dropdown logic moved to Core */

/* Page Transitions */
.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, rgba(212, 165, 116, 0.15) 50%, rgba(255, 255, 255, 0) 100%);
  backdrop-filter: blur(0px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
  will-change: opacity;
}

.page-transition.active {
  opacity: 1;
  visibility: visible;
  backdrop-filter: blur(2px);
  pointer-events: all;
}

/* Gallery Photo Reveal Fix */
.album-photo img {
  opacity: 0;
  transition: opacity 0.8s ease-out, transform 0.5s ease;
}

.album-photo img.loaded {
  opacity: 1;
}

/* Loading Animation */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-white);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

.page-loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(196, 154, 108, 0.2);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 900;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-accent);
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
}

/* Footer Enhancements */
.footer-logo {
  height: 50px;
  width: auto;
  margin-bottom: 15px;
}

.footer-branding {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-church-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: white;
  margin-bottom: 5px;
  letter-spacing: 1px;
}

.footer-tagline {
  color: var(--color-accent);
  font-family: 'EB Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
}

/* --- Entrance & Scroll Animations --- */

/* Base transition for animated elements */
[data-animate] {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
  will-change: transform, opacity;
}

/* Fade Up Animation */
[data-animate="fade-up"] {
  transform: translateY(40px);
}

/* Fade In Animation */
[data-animate="fade-in"] {
  transform: scale(0.95);
}

/* Zoom In Animation */
[data-animate="zoom-in"] {
  transform: scale(1.1);
}

/* Activated State */
[data-animate].animated {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Staggered delays for children if needed */
.stagger-items>*:nth-child(1) {
  transition-delay: 0.1s;
}

.stagger-items>*:nth-child(2) {
  transition-delay: 0.2s;
}

.stagger-items>*:nth-child(3) {
  transition-delay: 0.3s;
}

.stagger-items>*:nth-child(4) {
  transition-delay: 0.4s;
}

/* Hero Parallax Effect */
.hero-parallax {
  position: relative;
  overflow: hidden;
}

.hero-parallax .hero-home-bg {
  transform: scale(1.1);
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Custom Scrollbar - Premium styling */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: linear-gradient(180deg, #f5f6f8 0%, #ebedf0 100%);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #d4a574 0%, #c99a60 100%);
  border-radius: 5px;
  box-shadow: inset 0 0 4px rgba(255, 255, 255, 0.3);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #c99a60 0%, #b8895a 100%);
}

/* --- World-Class Design Refinements --- */

section {
  padding: var(--space-4xl) 0;
}

.quick-links {
  background: radial-gradient(circle at center, #ffffff 0%, #fafafa 100%);
}

.quick-links {
  background: radial-gradient(circle at center, #ffffff 0%, #fafafa 100%);
}

/* Enhanced Typography */
h1,
h2,
h3 {
  letter-spacing: -0.02em;
}

.hero-home-subtitle,
.section-subtitle {
  letter-spacing: 12px;
  /* Cinematic editorial expansion */
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0.85;
}

/* Atmospheric Scripture Breathing */
.scripture-banner blockquote {
  animation: breathe 25s ease-in-out infinite;
  transform-origin: center;
}

@keyframes breathe {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.95;
  }

  50% {
    transform: scale(1.02);
    opacity: 1;
  }
}

/* Timeline Progress Line (About Page) */
.journey-timeline {
  position: relative;
}

.timeline-progress-line {
  position: absolute;
  left: 50%;
  top: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(to bottom, #d4a574, #e6b887);
  transform: translateX(-50%);
  z-index: 1;
  /* Lower than journey-item */
  box-shadow: 0 0 15px rgba(212, 165, 116, 0.4);
  transition: height 0.1s linear;
}

.journey-item {
  position: relative;
  z-index: 10;
  /* Above the progress line */
}

/* Timeline Point Activation */
.journey-item.active .journey-number {
  background: var(--color-accent);
  transform: translateX(-50%) scale(1.1);
  box-shadow: 0 0 25px rgba(196, 154, 108, 0.6);
  border-color: #ffffff;
}

.journey-item.active .journey-content {
  border-color: var(--color-accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Shimmer Effect for Main CTA */
/* Gold Foil Button & Card Interaction (Phase 3) */
.btn-shimmer,
.link-card {
  position: relative;
  overflow: hidden;
  --mouse-x: 50%;
  --mouse-y: 50%;
}

.btn-shimmer::before,
.link-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle 150px at var(--mouse-x) var(--mouse-y),
      rgba(255, 255, 255, 0.25),
      transparent 80%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 10;
}

.btn-shimmer:hover::before,
.link-card:hover::before {
  opacity: 1;
}

.btn-shimmer::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(to bottom right,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.1) 40%,
      rgba(255, 255, 255, 0.4) 50%,
      rgba(255, 255, 255, 0.1) 60%,
      rgba(255, 255, 255, 0) 100%);
  transform: rotate(45deg);
  transition: all 0.6s ease;
  pointer-events: none;
  opacity: 0;
}

.btn-shimmer:hover::after {
  animation: shimmer 1.2s infinite;
  opacity: 1;
}

@keyframes shimmer {
  0% {
    transform: translate(-100%, -100%) rotate(45deg);
  }

  100% {
    transform: translate(100%, 100%) rotate(45deg);
  }
}

/* Premium Card Polish */
.card-glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Multi-layered Soft Shadows */
.card-glass {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.02),
    0 30px 60px rgba(0, 0, 0, 0.05),
    0 1px 2px rgba(255, 255, 255, 1) inset;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.04),
    0 50px 100px rgba(0, 0, 0, 0.08);
}

/* Refined Welcome Section */
.welcome-grid {
  display: flex;
  align-items: center;
  gap: 60px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(15px);
  border-radius: 40px;
  padding: 60px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.05);
}

.welcome-image img {
  border-radius: 25px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  filter: sepia(0.1) contrast(1.05);
  /* Unity Wash */
}

/* --- Section Reveal Animations --- */
[data-reveal] {
  opacity: 0;
  transition: all 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal="up"] {
  transform: translateY(60px);
}

[data-reveal="left"] {
  transform: translateX(-60px);
}

[data-reveal="right"] {
  transform: translateX(60px);
}

/* Cinematic Hero Entrance */
.hero-kinetic {
  animation: heroReveal 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroReveal {
  0% {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    letter-spacing: 0.1em;
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    letter-spacing: -0.01em;
  }
}

[data-reveal].active {
  opacity: 1;
  transform: translate(0, 0);
}

/* --- Premium Button Micro-interactions --- */
.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Button Shine Effect */
.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  transition: all 0.6s ease;
}

.btn:hover::after {
  left: 150%;
}

/* Live Service Badge (Hiding as requested) */
.live-badge,
.voices-of-faith,
.testimonial-preview {
  display: none !important;
}

/* Footer - Uses styles from main.css */

.footer-branding {
  text-align: center;
  margin-bottom: 10px !important;
  /* Minimal gap */
}

.footer-logo {
  height: 44px !important;
  width: auto;
  margin: 0 auto !important;
  display: block;
}

.footer-block-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 8px;
  /* Standardized to editorial style */
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  display: block;
  opacity: 0.85;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: currentColor;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.1);
    opacity: 1;
  }

  100% {
    transform: scale(0.95);
    opacity: 0.8;
  }
}

/* Testimonial Section Refinement */
.testimonial-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.testimonial-mini {
  background: white;
  padding: var(--space-lg);
  border-radius: 12px;
  border: 1px solid var(--color-border);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.testimonial-author {
  display: block;
  margin-top: var(--space-md);
  font-weight: 600;
  color: var(--color-primary);
  font-style: normal;
  font-size: 0.85rem;
}

.noise-overlay {
  position: absolute;
  inset: 0;
  background: url('https://grainy-gradients.vercel.app/noise.svg');
  opacity: 0.05;
  z-index: 1;
  pointer-events: none;
}

/* Scroll Progress Indicator */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #d4a574, #b88d5f, #d4a574);
  width: 0%;
  z-index: 1001;
  transition: width 0.1s ease;
  box-shadow: 0 0 10px rgba(212, 165, 116, 0.3);
}

/* Footer Link Animations */
.footer a {
  position: relative;
  transition: color 0.3s ease;
}

.footer a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #d4a574;
  transition: width 0.3s ease;
}

.footer a:hover::after {
  width: 100%;
}

.footer a:hover {
  color: #d4a574;
}

/* Footer Social Icons */
.footer .social-icon {
  transition: all 0.3s ease;
}

.footer .social-icon:hover {
  transform: translateY(-3px) scale(1.1);
  color: #d4a574;
}

/* --- WORLD-CLASS UPGRADES --- */

/* Premium Sermon Card */
.sermon-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 24px;
  border: 1px solid rgba(212, 175, 120, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.sermon-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 45px rgba(26, 58, 82, 0.12);
  border-color: rgba(212, 175, 120, 0.4);
}

.sermon-card-header h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 6px;
  line-height: 1.3;
}

.sermon-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.sermon-speaker {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sermon-speaker::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--color-accent);
}

/* Premium Album Card */
.album-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 1;
  background: #101929;
  cursor: pointer;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.album-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.album-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 25, 41, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  transition: all 0.5s ease;
}

.album-card:hover img {
  transform: scale(1.2);
}

.album-card:hover .album-card-overlay {
  background: linear-gradient(180deg, rgba(26, 58, 82, 0.2) 0%, rgba(10, 25, 41, 0.98) 100%);
  padding-bottom: 40px;
}

.album-title {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  font-family: var(--font-heading);
}

.album-count {
  color: #e6b887;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.album-count svg {
  width: 16px;
  height: 16px;
}