/* ==========================================================================
   FAITH BAPTIST CHURCH - COMPONENTS STYLESHEET
   Grace Church Theme Architecture • Patriotic Red, White, and Blue Brand
   ========================================================================== */

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

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

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

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

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

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

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

.top-bar-item a:hover {
  color: var(--white-pure);
}

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

/* ==========================================================================
   2. MAIN HEADER & STICKY NAVIGATION
   ========================================================================== */
.site-header {
  background-color: var(--white-pure);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all var(--transition-normal);
}

.site-header.is-sticky {
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
}

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

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

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

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

.footer-logo-img {
  width: 65px;
  height: 65px;
  object-fit: contain;
  margin-bottom: 0.75rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.35));
}

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

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

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

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

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

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

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

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

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

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

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

/* Submenu Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -1rem;
  background: var(--white-pure);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-subtle);
  min-width: 230px;
  padding: 0.6rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition-normal);
  z-index: 110;
}

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

.dropdown-link {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: all var(--transition-fast);
}

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

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--navy-primary);
  cursor: pointer;
  padding: 0.5rem;
}

/* ==========================================================================
   3. HERO SECTION & DYNAMIC SLIDER (GRACE THEME REPLICATION)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  background-color: var(--navy-deepest);
  color: var(--white-pure);
  overflow: hidden;
}

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

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  transition: transform 10s ease;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 17, 32, 0.92) 0%, rgba(15, 39, 68, 0.85) 50%, rgba(185, 28, 28, 0.4) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(6rem, 10vw, 9rem);
  max-width: 850px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white-pure);
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-badge .flag-icon {
  color: var(--red-light);
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.5rem;
  color: var(--white-pure);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-title .text-gold {
  color: var(--gold-light);
  font-style: italic;
}

.hero-description {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--gray-200);
  line-height: 1.6;
  margin-bottom: 2.25rem;
  max-width: 720px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   4. TRIPLE FEATURE CARDS (GRACE THEME SIGNATURE OVERLAP)
   ========================================================================== */
.feature-cards-overlap {
  position: relative;
  z-index: 10;
  margin-top: -4.5rem;
  margin-bottom: 3.5rem;
}

.feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--white-pure);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-xl);
  border-top: 5px solid var(--navy-primary);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-normal);
  position: relative;
}

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

.feature-card.card-featured {
  border-top-color: var(--red-primary);
  background: linear-gradient(180deg, #ffffff 0%, #fff8f8 100%);
}

.feature-card.card-blue {
  border-top-color: var(--blue-royal);
}

.feature-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--blue-soft);
  color: var(--navy-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all var(--transition-fast);
}

.card-featured .feature-icon-box {
  background: var(--red-soft);
  color: var(--red-primary);
}

.feature-card:hover .feature-icon-box {
  transform: scale(1.1) rotate(4deg);
}

.feature-card-title {
  font-size: 1.35rem;
  font-family: var(--font-serif);
  margin-bottom: 0.75rem;
  color: var(--navy-primary);
}

.feature-card-text {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.55;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.feature-schedule-list {
  background: var(--white-smoke);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.88rem;
}

.feature-schedule-row {
  display: flex;
  justify-content: space-between;
  padding: 0.3rem 0;
  border-bottom: 1px dashed var(--gray-300);
}

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

.feature-schedule-label {
  font-weight: 600;
  color: var(--navy-primary);
}

.feature-schedule-time {
  color: var(--red-primary);
  font-weight: 700;
}

.feature-card-link {
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--navy-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.card-featured .feature-card-link {
  color: var(--red-primary);
}

.feature-card-link:hover {
  gap: 0.75rem;
}

/* ==========================================================================
   5. WELCOME & ABOUT SECTION
   ========================================================================== */
.welcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.welcome-media-stack {
  position: relative;
}

.welcome-main-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--white-pure);
}

.welcome-floating-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--navy-primary);
  color: var(--white-pure);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 3px solid var(--red-primary);
  max-width: 240px;
  text-align: center;
}

.welcome-floating-badge .badge-stat {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold-light);
  display: block;
  line-height: 1;
}

.welcome-floating-badge .badge-label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.35rem;
}

.pillar-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 2rem 0;
}

.pillar-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.pillar-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--red-soft);
  color: var(--red-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-item h4 {
  font-size: 1rem;
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--navy-primary);
  margin-bottom: 0.2rem;
}

.pillar-item p {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.4;
}

/* ==========================================================================
   6. INTERACTIVE AUDIO SERMON PLAYER (GRACE SIGNATURE COMPONENT)
   ========================================================================== */
.sermon-player-box {
  background: linear-gradient(145deg, var(--navy-dark) 0%, var(--navy-primary) 100%);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-navy);
  padding: 2.5rem;
  color: var(--white-pure);
  box-shadow: var(--shadow-xl);
}

.sermon-player-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2.5rem;
  align-items: center;
}

.sermon-art-box {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}

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

.sermon-art-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 47, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sermon-details {
  display: flex;
  flex-direction: column;
}

.sermon-meta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.sermon-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  color: var(--white-pure);
  margin-bottom: 0.5rem;
}

.sermon-speaker {
  font-size: 0.95rem;
  color: var(--gray-300);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sermon-speaker span {
  color: var(--gold-light);
  font-weight: 600;
}

/* Audio Player Controls */
.audio-controls-wrap {
  background: rgba(6, 17, 32, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

.audio-main-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

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

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

.audio-progress-container {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.audio-timeline-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  position: relative;
  cursor: pointer;
}

.audio-timeline-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--red-primary), var(--gold-light));
  border-radius: var(--radius-full);
  position: relative;
}

.audio-time-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--gray-400);
}

.audio-extra-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-audio-action {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.8rem;
  font-size: 0.82rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all var(--transition-fast);
}

.btn-audio-action:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white-pure);
  border-color: var(--white-pure);
}

/* Sermon Archive Cards */
.sermon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

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

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

.sermon-card-media {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

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

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

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

.sermon-card-title {
  font-size: 1.15rem;
  font-family: var(--font-serif);
  margin-bottom: 0.5rem;
  color: var(--navy-primary);
}

.sermon-card-text {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* ==========================================================================
   7. COUNTDOWN TIMER & UPCOMING EVENTS
   ========================================================================== */
.countdown-banner {
  background: linear-gradient(135deg, var(--red-crimson) 0%, var(--navy-primary) 100%);
  border-radius: var(--radius-xl);
  padding: 3rem;
  color: var(--white-pure);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2.5rem;
  box-shadow: var(--shadow-red);
}

.countdown-content h3 {
  color: var(--white-pure);
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.countdown-content p {
  color: var(--gray-200);
  font-size: 1rem;
}

.countdown-timer-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.countdown-unit {
  background: rgba(6, 17, 32, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  text-align: center;
  min-width: 75px;
}

.countdown-digit {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white-pure);
  line-height: 1;
  display: block;
}

.countdown-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  margin-top: 0.35rem;
  display: block;
}

/* Event Cards */
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

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

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

.event-card-header {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.event-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-date-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--navy-primary);
  color: var(--white-pure);
  border: 2px solid var(--red-primary);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.event-date-day {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
  display: block;
}

.event-date-month {
  font-size: 0.7rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold-light);
}

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

.event-card-title {
  font-size: 1.2rem;
  font-family: var(--font-serif);
  color: var(--navy-primary);
  margin-bottom: 0.6rem;
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.event-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.event-meta-item svg {
  color: var(--red-primary);
  flex-shrink: 0;
}

/* ==========================================================================
   8. MINISTRIES CATALOG & TABBED CATEGORIES
   ========================================================================== */
.ministries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

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

.ministry-media {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}

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

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

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

.ministry-badge {
  align-self: flex-start;
  margin-bottom: 0.75rem;
}

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

.ministry-desc {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* ==========================================================================
   9. INTERACTIVE GIVING & TITHING PORTAL
   ========================================================================== */
.giving-portal-wrap {
  background: var(--white-pure);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-xl);
  padding: 3rem;
}

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

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

.btn-amount {
  background: var(--white-smoke);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.9rem 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-amount:hover {
  border-color: var(--blue-royal);
  color: var(--blue-royal);
}

.btn-amount.active {
  background: var(--navy-primary);
  border-color: var(--navy-primary);
  color: var(--white-pure);
  box-shadow: var(--shadow-md);
}

.custom-amount-wrap {
  position: relative;
  margin-bottom: 1.5rem;
}

.custom-currency-symbol {
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gray-500);
}

.input-custom-amount {
  width: 100%;
  padding: 0.9rem 1.25rem 0.9rem 2.5rem;
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy-primary);
  outline: none;
  transition: border-color var(--transition-fast);
}

.input-custom-amount:focus {
  border-color: var(--red-primary);
}

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

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

.form-select, .form-input, .form-textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--white-pure);
  color: var(--navy-primary);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-select:focus, .form-input:focus, .form-textarea:focus {
  border-color: var(--blue-royal);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

/* ==========================================================================
   10. KJV SCRIPTURE CALLOUT / VERSE OF THE DAY
   ========================================================================== */
.scripture-box {
  background: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-dark) 100%);
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-xl);
  padding: 3rem;
  color: var(--white-pure);
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-xl);
}

.scripture-quote-icon {
  width: 50px;
  height: 50px;
  background: var(--gold-primary);
  color: var(--white-pure);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.scripture-verse-text {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--white-pure);
  margin-bottom: 1.25rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.scripture-reference {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   11. PLAN A VISIT INTERACTIVE ASSISTANT & PRAYER DESK
   ========================================================================== */
.visit-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.visit-step-card {
  background: var(--white-pure);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.visit-step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--red-primary);
}

.visit-step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy-primary);
  color: var(--white-pure);
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  border: 2px solid var(--red-primary);
}

.visit-step-title {
  font-size: 1.15rem;
  font-family: var(--font-serif);
  color: var(--navy-primary);
  margin-bottom: 0.5rem;
}

.visit-step-text {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.5;
}

/* ==========================================================================
   12. PHOTO GALLERY WITH LIGHTBOX
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 25, 47, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

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

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

.gallery-title {
  color: var(--white-pure);
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(6, 17, 32, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

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

.lightbox-content {
  max-width: 900px;
  max-height: 85vh;
  position: relative;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-md);
  border: 3px solid var(--white-pure);
  box-shadow: var(--shadow-xl);
}

.lightbox-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: none;
  border: none;
  color: var(--white-pure);
  font-size: 2rem;
  cursor: pointer;
}

/* ==========================================================================
   13. 4-COLUMN RICH FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--navy-deepest);
  color: var(--gray-300);
  padding-top: 5rem;
  position: relative;
  border-top: 5px solid var(--red-primary);
}

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

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

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

.footer-text {
  font-size: 0.92rem;
  color: var(--gray-400);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-social-links {
  display: flex;
  gap: 0.75rem;
}

.social-icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white-pure);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.social-icon-btn:hover {
  background: var(--red-primary);
  border-color: var(--red-primary);
  transform: translateY(-3px);
}

.footer-col-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white-pure);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

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

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

.footer-link {
  font-size: 0.9rem;
  color: var(--gray-400);
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-link:hover {
  color: var(--white-pure);
  padding-left: 0.4rem;
}

.footer-schedule-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-schedule-day {
  color: var(--gray-300);
  font-weight: 600;
}

.footer-schedule-time {
  color: var(--gold-light);
  font-weight: 700;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* 7-Column Grid */
.calendar-grid-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

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

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

.cal-head-cell.sun {
  color: #fca5a5;
}

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

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

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

.cal-day-box:hover {
  background-color: #f8fafc;
}

.cal-day-box.is-other-month {
  background-color: #f8fafc;
  opacity: 0.45;
}

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

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

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

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

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

.cal-chip:hover {
  transform: scale(1.03);
}

.chip-service {
  background: #dbeafe;
  color: #1e3a8a;
  border-left: 3px solid #1d4ed8;
}

.chip-prayer {
  background: #fef3c7;
  color: #92400e;
  border-left: 3px solid #d97706;
}

.chip-fellowship {
  background: #fee2e2;
  color: #991b1b;
  border-left: 3px solid #dc2626;
}

.chip-youth {
  background: #f3e8ff;
  color: #6b21a8;
  border-left: 3px solid #9333ea;
}

.chip-special {
  background: linear-gradient(135deg, #0f2744, #1e3a5f);
  color: #fbbf24;
  border-left: 3px solid #fbbf24;
}

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

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

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

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

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

/* Responsive adjustment for small screens */
@media (max-width: 768px) {
  .cal-head-row {
    font-size: 0.72rem;
  }
  .cal-head-cell {
    padding: 0.5rem 0.2rem;
  }
  .cal-day-box {
    min-height: 85px;
    padding: 0.35rem 0.2rem;
  }
  .cal-chip {
    font-size: 0.65rem;
    padding: 0.15rem 0.25rem;
  }
  .calendar-toolbar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .calendar-month-title-wrap {
    justify-content: center;
  }
  .calendar-filter-bar {
    justify-content: center;
  }
}

