/* ============================================================
   Hero — full-viewport carousel (homepage)
   ============================================================ */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: var(--color-navy);
}

.hero__slides {
  position: absolute;
  inset: 0;
}

/* ---- Individual slide ---- */
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 700ms ease-in-out;
  pointer-events: none;
}

.hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
}

.hero__content {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
}

.hero__title {
  max-width: 1100px;
  margin: 0;
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  text-transform: uppercase;
  color: var(--color-white);
  line-height: 1.15;
  font-size: clamp(32px, 4.4vw, 60px);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero__cta {
  display: inline-block;
  margin-top: 32px;
  padding: 18px 24px;
  background-color: var(--color-pink);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 5px;
  transition: opacity var(--transition-fast);
}

.hero__cta:hover {
  opacity: 0.9;
}

/* ---- Navigation arrows ---- */
.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.3);
  color: var(--color-white);
  font-size: 28px;
  line-height: 1;
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-fast);
  padding: 0;
}

.hero__arrow:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

.hero__arrow--prev {
  left: 30px;
}

.hero__arrow--next {
  right: 30px;
}

/* ---- Responsive — keep arrows inside on small screens ---- */
@media (max-width: 640px) {
  .hero__arrow--prev {
    left: 12px;
  }
  .hero__arrow--next {
    right: 12px;
  }
}
