/* ===== HERO — Photo Slideshow ===== */
.hero-slideshow {
  position: relative;
  height: 560px;
  overflow: hidden;
}

.hs-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: hsFade 24s infinite;
}

.hs-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: hsZoom 24s infinite;
}

.hs-slide:nth-child(1) {
  animation-delay: 0s;
}
.hs-slide:nth-child(2) {
  animation-delay: 4.8s;
}
.hs-slide:nth-child(3) {
  animation-delay: 9.6s;
}
.hs-slide:nth-child(4) {
  animation-delay: 14.4s;
}
.hs-slide:nth-child(5) {
  animation-delay: 19.2s;
}
.hs-slide:nth-child(1) img {
  animation-delay: 0s;
}
.hs-slide:nth-child(2) img {
  animation-delay: 4.8s;
}
.hs-slide:nth-child(3) img {
  animation-delay: 9.6s;
}
.hs-slide:nth-child(4) img {
  animation-delay: 14.4s;
}
.hs-slide:nth-child(5) img {
  animation-delay: 19.2s;
}

@keyframes hsFade {
  0% {
    opacity: 0;
  }
  4% {
    opacity: 1;
  }
  20% {
    opacity: 1;
  }
  24% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

@keyframes hsZoom {
  0% {
    transform: scale(1);
  }
  20% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1.08);
  }
}

.hs-gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(13, 21, 38, 0.55) 0%,
    rgba(13, 21, 38, 0.15) 30%,
    rgba(13, 21, 38, 0.25) 65%,
    rgba(13, 21, 38, 0.92) 100%
  );
}

.hs-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 0 32px 34px;
  text-align: center;
}

.hs-eyebrow {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 17px;
  color: var(--brand-accent-light);
  margin-bottom: 12px;
  letter-spacing: 0.3px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hs-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 16px;
}

.hs-dots span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.hs-dots span.on {
  background: var(--brand-accent-light);
  width: 16px;
  border-radius: 3px;
}

.hs-scroll {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 3;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(224, 184, 118, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-accent-light);
  font-size: 14px;
}

/* Homepage-specific structural variations */
.section-flat-top {
  padding-top: 0;
}

.welcome-section {
  padding: 50px 0 20px 0;
}

/* Program Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.prog-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 26px 24px;
}

.prog-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  color: var(--brand-primary);
  margin-bottom: 14px;
}

.prog-card h3 {
  font-family: "Fraunces", serif;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.prog-card p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
  min-height: 78px;
}

.prog-meta {
  border-top: 1px dashed var(--border-color);
  padding-top: 12px;
  font-size: 11.5px;
  color: var(--brand-primary);
  font-weight: 600;
}

.prog-meta .time {
  color: var(--brand-accent);
  font-weight: 700;
}

/* Featured Event Band */
.event-band {
  background: linear-gradient(
    160deg,
    var(--brand-primary),
    var(--brand-primary-light)
  );
  color: #fff;
  border-radius: 24px;
  padding: 44px 46px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.event-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 90% 10%,
    rgba(184, 134, 63, 0.2),
    transparent 55%
  );
}

.event-info {
  position: relative;
  z-index: 1;
  max-width: 440px;
}

.event-info .eyebrow {
  color: var(--brand-accent-light);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
}

.event-info h2 {
  font-family: "Fraunces", serif;
  font-size: 26px;
  font-weight: 600;
  margin: 10px 0 8px;
}

.event-info p {
  font-size: 13px;
  color: #b9c4d6;
  line-height: 1.6;
}
.event-info .ongoing {
  font-size: 16px;
  color: var(--brand-accent);
  font-family: "Fraunces", serif;
  line-height: 1.6;
  font-weight: 600;
  margin-top: 4px;
}

.countdown {
  display: flex;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.cd-cell {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(224, 184, 118, 0.3);
  border-radius: 14px;
  width: 68px;
  padding: 14px 0;
  text-align: center;
}

.cd-cell .num {
  font-family: "Fraunces", serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--brand-accent-light);
}

.cd-cell .lbl {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #8fa0bc;
  margin-top: 4px;
}

/* Statistics Grid */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.stat {
  text-align: center;
  padding: 24px 10px;
  border-right: 1px solid var(--border-color);
}

.stat:last-child {
  border-right: none;
}

.stat .num {
  font-family: "Fraunces", serif;
  font-size: 38px;
  font-weight: 600;
  color: var(--brand-accent);
}

.stat .lbl {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 600;
}

/* Featured Sermon Component */
.sermon-feature {
  display: flex;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
}

.sermon-thumb {
  flex: 0 0 42%;
  background: linear-gradient(
    135deg,
    var(--brand-primary-light),
    var(--brand-primary)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--brand-accent-light);
}

.sermon-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sermon-body .tag {
  font-size: 11px;
  color: var(--brand-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sermon-body h3 {
  font-family: "Fraunces", serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--brand-primary);
  margin: 8px 0 10px;
}

.sermon-body p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.sermon-body a {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand-accent);
}

/* Donations Section Grid */
.donate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.donate-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  overflow: hidden;
}

.donate-thumb {
  height: 110px;
  background: linear-gradient(
    135deg,
    var(--brand-accent),
    var(--brand-accent-light)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--brand-primary);
}

.donate-body {
  padding: 22px 24px;
}

.donate-body h3 {
  font-family: "Fraunces", serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: 8px;
}

.donate-body p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 18px;
}

/* Contact Block */
.contact-band {
  background: var(--bg-muted);
  border-radius: 24px;
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--brand-accent);
  flex-shrink: 0;
}

.contact-item .lbl {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-item .val {
  font-size: 13.5px;
  color: var(--brand-primary);
  font-weight: 600;
  margin-top: 2px;
}

.contact-right {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
}

.contact-right h3 {
  font-family: "Fraunces", serif;
  font-size: 22px;
  color: var(--brand-primary);
  margin-bottom: 10px;
}

.contact-right p {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 18px;
  max-width: 280px;
}

/* Responsive Homepage Alterations */
@media (max-width: 900px) {
  .cards-grid,
  .stats,
  .donate-grid,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }

  .event-band {
    flex-direction: column;
    gap: 26px;
    text-align: center;
  }

  .sermon-feature {
    flex-direction: column;
  }

  .sermon-thumb {
    height: 160px;
  }

  .hero-slideshow {
    height: 480px;
  }

  .hs-eyebrow {
    font-size: 15px;
  }
}

.welcome-band {
  background: linear-gradient(
    160deg,
    var(--brand-primary) 0%,
    var(--brand-primary-light) 100%
  );
  color: #fff;
  border-radius: 24px;
  padding: 50px 46px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.welcome-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 85% 5%,
    rgba(184, 134, 63, 0.22),
    transparent 55%
  );
}

.welcome-band .content {
  position: relative;
  z-index: 1;
}

.welcome-eyebrow {
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--brand-accent-light);
  font-weight: 700;
  margin-bottom: 14px;
}

.welcome-band h2 {
  font-family: "Fraunces", serif;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 4px;
}

.welcome-band h2 small {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: #b9c4d6;
  font-family: "Inter", sans-serif;
  margin-top: 8px;
  letter-spacing: 0.2px;
}

.welcome-band p {
  font-size: 14px;
  color: #b9c4d6;
  line-height: 1.7;
  max-width: 420px;
  margin: 18px auto 0;
}
/* for ornament!!!!!!!!!!!!!!!!!!!!1 */
/* =========================================
   ORNAMENT DIVIDER
   ========================================= */

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: 20px auto;
}

/* Horizontal lines */
.ornament-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--brand-accent));
}

.ornament-line.right {
  background: linear-gradient(to left, transparent, var(--brand-accent));
}

/* Small dots */
.ornament-dot {
  width: 5px;
  height: 5px;
  background: var(--brand-primary);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Center diamond */
.ornament-diamond {
  width: 9px;
  height: 9px;
  background: var(--brand-accent);
  transform: rotate(45deg);
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(184, 134, 63, 0.08);
}

/* =========================================
   FADE-UP ANIMATION
   ========================================= */

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: ornamentFadeUp 0.7s ease forwards;
}

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

/* =========================================
   ANIMATION DELAY
   ========================================= */

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.25s;
}

.delay-3 {
  animation-delay: 0.4s;
}

.delay-4 {
  animation-delay: 0.55s;
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 640px) {
  .ornament {
    gap: 7px;
    margin: 18px auto;
  }

  .ornament-line {
    width: 42px;
  }

  .ornament-dot {
    width: 4px;
    height: 4px;
  }

  .ornament-diamond {
    width: 7px;
    height: 7px;
  }
}

/* for ornament!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */
.section-programs {
  margin-top: 40px;
}
@media (max-width: 900px) {
  .welcome-band {
    padding: 38px 28px;
  }
  .welcome-band h2 {
    font-size: 28px;
  }
}
