/* ==========================================================================
   SHN Ceylon — Hero Section
   ========================================================================== */

.shn-hero {
  position: relative;
  margin-top: var(--nav-height); /* offset fixed header */
  width: 100%;
  height: clamp(420px, 56vw, 712px);
  overflow: hidden;
}

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

.shn-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  filter: blur(18px);
  transition: opacity 1.1s ease, filter 1.1s ease;
  z-index: 0;
}

.shn-hero__slide.is-active {
  opacity: 1;
  filter: blur(0);
  z-index: 1;
}

.shn-hero__img,
.shn-hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

/* Gradient scrim so headline stays legible over the photo */
.shn-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 45%,
    rgba(7, 20, 12, 0.55) 78%,
    rgba(6, 17, 11, 0.72) 100%
  );
}

.shn-hero__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(28px, 4.5vw, 56px);
  padding-inline: var(--container-pad);
  z-index: 3;
}

.shn-hero__content-inner {
  max-width: var(--container-max);
  margin-inline: auto;
}

.shn-hero__title {
  position: relative;
  display: block;
  color: var(--shn-white);
  font-size: var(--fs-hero);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: clamp(16px, 2.2vw, 28px);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.18);
}

.shn-hero__title-text {
  display: none;
}

.shn-hero__title-text.is-active {
  display: block;
}

/* ---- Prev / Next controls ---- */
.shn-hero__controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.shn-hero__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.04);
  color: var(--shn-white);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.shn-hero__arrow:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--shn-white);
}

.shn-hero__arrow svg {
  width: 18px;
  height: 18px;
}

.shn-hero__arrow--next {
  border-color: var(--shn-green-accent);
}

.shn-hero__arrow--next svg {
  color: var(--shn-green-accent);
}

/* ==========================================================================
   Breakpoints
   ========================================================================== */

@media (max-width: 991.98px) {
  .shn-hero {
    height: clamp(380px, 70vw, 560px);
  }
}

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

  .shn-hero__arrow {
    width: 40px;
    height: 40px;
  }
}
