/* ═══════════════════════════════════════
   Nueve.5 Hero Slider – Frontend Styles
   ═══════════════════════════════════════ */

.n5-hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 500px;
  max-height: 900px;
  overflow: hidden;
  background: #112530;
}

/* ── Track & Slides ── */
.n5-hero-slider__track {
  position: relative;
  width: 100%;
  height: 100%;
}

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

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

.n5-hero-slide__link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

/* ── Picture / Image ── */
.n5-hero-slide__picture {
  display: block;
  width: 100%;
  height: 100%;
}

.n5-hero-slide__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ── Overlay ── */
.n5-hero-slide__overlay {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(
    180deg,
    rgba(17, 37, 48, 0.15) 0%,
    rgba(17, 37, 48, 0.65) 100%
  ); */
  z-index: 3;
  pointer-events: none;
}

/* ── Content ── */
.n5-hero-slide__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 4;
  padding: 40px 24px 80px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  max-width: 1280px;
  margin: 0 auto;
}

.n5-hero-slide__tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.n5-hero-slide__title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(32px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0;
}

.n5-hero-slide__subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 480px;
}

.n5-hero-slide__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 24px;
  margin-top: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #ffffff;
  background: #191D1E;
  border: none;
  border-radius: 1000px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
  position: relative;
  z-index: 5;
}

.n5-hero-slide__cta:hover {
  background: #2a3032;
  transform: translateY(-1px);
}

/* ── Navigation Arrows ── */
.n5-hero-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.25s ease;
  padding: 0;
}

.n5-hero-slider__arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}

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

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

/* ── Dots ── */
.n5-hero-slider__dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 10px;
  align-items: center;
}

.n5-hero-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.n5-hero-slider__dot--active,
.n5-hero-slider__dot:hover {
  background: #ffffff;
  border-color: #ffffff;
  transform: scale(1.2);
}

/* ── Responsive ── */
@media (min-width: 768px) {
  .n5-hero-slide__content {
    padding: 60px 60px 100px;
    gap: 16px;
  }

  .n5-hero-slide__tag {
    font-size: 15px;
  }

  .n5-hero-slider__arrow {
    width: 52px;
    height: 52px;
  }

  .n5-hero-slider__arrow--prev {
    left: 32px;
  }

  .n5-hero-slider__arrow--next {
    right: 32px;
  }
}

@media (min-width: 1200px) {
  .n5-hero-slide__content {
    padding: 80px 16px 120px;
  }
}

/* ── Mobile: smaller arrows, bigger dots ── */
@media (max-width: 767px) {
  .n5-hero-slider {
    max-height: 700px;
  }

  .n5-hero-slider__arrow {
    width: 36px;
    height: 36px;
  }

  .n5-hero-slider__arrow--prev {
    left: 12px;
  }

  .n5-hero-slider__arrow--next {
    right: 12px;
  }

  .n5-hero-slider__dots {
    bottom: 16px;
  }

  .n5-hero-slide__content {
    padding: 24px 20px 60px;
  }
}

/* ── Pause on hover ── */
.n5-hero-slider:hover .n5-hero-slide--active {
  /* Autoplay pauses via JS on hover */
}
