/* Component: hero-slider */

.hero-slider {
  --hero-px: clamp(20px, 4.17vw, 60px);
  position: relative;
  height: 630px;
  overflow: hidden;
  background: #1c1510;
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

/* Background photo: 740px tall, blurred, clipped by the 630px slide (as in Figma) */
.hero-slide__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 740px;
  filter: blur(2px);
}

.hero-slide__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Banner 3 is a zoomed crop of a 4096×2731 photo */
.hero-slide__img--crop {
  inset: auto;
  top: -61.87%;
  left: -23.76%;
  width: 147.5%;
  height: auto;
  max-width: none;
}

.hero-slide__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 630px;
}

.hero-slide__content {
  position: absolute;
  top: 163px;
  left: var(--hero-px);
  right: var(--hero-px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
}

.hero-slide__title {
  margin-bottom: -15px; /* 15px gap between title and text in Figma */
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 56px;
  line-height: 1.6;
  letter-spacing: 1.5px;
  color: #fff;
}

.hero-slide__text {
  font-weight: 400;
  font-size: 20px;
  line-height: 1.6;
  letter-spacing: 1.5px;
  color: #fff;
}

.btn--hero {
  min-width: 289px;
  padding: 12px 35px;
}

/* Controls */
.hero-slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  transform: translateY(-50%);
  transition: background 0.2s ease;
}

.hero-slider__arrow:hover {
  background: rgba(0, 0, 0, 0.6);
}

.hero-slider__arrow--prev { left: 16px; }
.hero-slider__arrow--next { right: 16px; }

.hero-slider__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.hero-slider__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-slider__dot.is-active {
  background: var(--color-gold);
  transform: scale(1.3);
}

/* Tablet */
@media (max-width: 1024px) {
  .hero-slider {
    height: 560px;
  }

  .hero-slide__bg {
    height: 100%;
  }

  .hero-slide__img--crop {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 58%;
  }

  .hero-slide__overlay {
    height: 100%;
  }

  .hero-slide__content {
    top: 50%;
    transform: translateY(-50%);
    gap: 26px;
  }

  .hero-slide__title {
    font-size: clamp(34px, 6vw, 48px);
  }

  .hero-slide__text {
    font-size: clamp(16px, 2.4vw, 18px);
    letter-spacing: 1px;
  }

  .hero-slide__text br {
    display: none;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hero-slider {
    height: 520px;
  }

  .hero-slider__arrow {
    display: none;
  }

  .hero-slider__dots {
    bottom: 18px;
  }
}

@media (max-width: 480px) {
  .hero-slider {
    height: 500px;
  }

  .hero-slide__content {
    gap: 22px;
  }

  .hero-slide__title {
    margin-bottom: -10px;
    font-size: 32px;
    letter-spacing: 1px;
  }

  .hero-slide__text {
    font-size: 15px;
    letter-spacing: 0.6px;
  }

  .btn--hero {
    min-width: 0;
    padding: 12px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
  }
}
