/* =========================
   Home Page: Hero
   ========================= */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  /* Adjust this per breakpoint to move the hero text block up/down. */
  --hero-content-offset: clamp(120px, 16vh, 220px);
  --hero-content-x: 0px;
  --hero-content-align: center;
  --hero-cta-align: center;
  --hero-bg-position: 50% 25%;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-color: #1b1b1b;
  overflow: hidden;
  display: block;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-bg-position);
  transform: scale(1);
  opacity: 0;
  animation: heroFadeIn 1.2s ease-out 0.15s forwards;
  will-change: opacity;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.35),
    rgba(0,0,0,0.45),
    rgba(0,0,0,0.65)
  );
}

@keyframes heroFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(90vw, 760px);
  padding: clamp(70px, 10vh, 96px) 20px 72px;
  text-align: var(--hero-content-align);
  transform: translate(var(--hero-content-x), var(--hero-content-offset));
}

.hero-title {
  margin: 0;
  font-size: clamp(2.4rem, 6.5vw, 4.2rem);
  line-height: 1.05;
  font-weight: 700;
  font-family: var(--font-serif);
  text-shadow: 0 10px 30px rgba(0,0,0,0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  background: rgba(18, 18, 18, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-verse {
  margin: 18px auto 0;
  max-width: 620px;
  font-style: italic;
  font-size: 1.05rem;
  opacity: 0.95;
  text-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

.verse-ref {
  display: block;
  margin-top: 6px;
  font-style: normal;
  opacity: 0.9;
}

.hero-cta {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  justify-content: var(--hero-cta-align);
  flex-wrap: wrap;
}

@media (min-width: 900px) {
  .hero {
    --hero-content-x: clamp(-480px, -20vw, -240px);
  }
}

/* Hero-specific button styling */
.hero .btn-outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
  background-color: rgba(255, 255, 255, 0.08);
}

.hero .btn-outline:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.9);
}

/* Countdown (top-right) */
.hero-top-right {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(18, 18, 18, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.countdown {
  font-weight: 700;
  letter-spacing: 0.03em;
  font-size: 0.95rem;
}

@media (max-width: 1200px) {
  .hero {
    --hero-content-offset: clamp(110px, 14vh, 200px);
    --hero-bg-position: 50% 22%;
  }
}

@media (max-width: 900px) {
  .hero {
    --hero-content-offset: clamp(150px, 20vh, 240px);
    --hero-bg-position: 65% 20%;
  }
}

@media (max-width: 768px) {
  .hero {
    --hero-content-offset: clamp(140px, 18vh, 210px);
    --hero-bg-position: 62% 18%;
  }

  .hero-content {
    padding: 72px 18px 60px;
  }

  .hero-top-right {
    top: 12px;
    right: 12px;
    padding: 8px 10px;
  }

  .countdown {
    font-size: 0.85rem;
  }

  .hero-title {
    font-size: clamp(2.2rem, 9vw, 3.2rem);
  }

  .scroll-cue {
    display: none;
  }
}

@media (max-width: 520px) {
  .hero {
    --hero-content-offset: clamp(130px, 16vh, 190px);
    --hero-bg-position: 64% 16%;
  }

  .hero-title {
    padding: 8px 18px;
  }

  .hero-verse {
    font-size: 0.98rem;
  }

  .hero-cta {
    margin-top: 16px;
    gap: 8px;
    flex-direction: column;
    align-items: center;
  }

  .hero .btn {
    padding: 8px 14px;
    font-size: 0.95rem;
  }
}

/* =========================
   Scroll Cue
   ========================= */

.scroll-cue {
  margin-top: 34px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  opacity: 0.9;
  user-select: none;
}

.scroll-text {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scroll-arrow {
  display: inline-block;
  font-size: 1.2rem;
  animation: scrollBounce 1.4s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.9; }
  50% { transform: translateY(8px); opacity: 1; }
}

/* =========================
   Home Page: Quick Details
   ========================= */

.quick-details {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 900px) {
  .quick-details {
    grid-template-columns: 1fr;
  }
}
