/* ============================================
   Hero Slider - Full-width, overlay, diamond nav
   Responsive + opacity/zoom animation
   ============================================ */

.hero-slider {
  margin-top: 0;
  position: relative;
  width: 100%;
  min-height: clamp(520px, 85vh, 720px);
  overflow: hidden;
}

.hero-slider__track {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
}

.hero-slider__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--section-padding-y) var(--section-padding-x);
  opacity: 0;
  visibility: hidden;
  transform: scale(1.05);
  transition: opacity 1.2s ease, transform 1.2s ease, visibility 0s linear 1.2s;
}

.hero-slider__slide--active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition: opacity 1.2s ease, transform 1.2s ease, visibility 0s 0s;
  z-index: 1;
}

.hero-slider__slide--out {
  opacity: 0;
  visibility: visible;
  transform: scale(1);
  transition: opacity 1.2s ease, transform 1.2s ease;
  pointer-events: none;
  z-index: 0;
}

.hero-slider__slide--in {
  opacity: 0;
  visibility: visible;
  transform: scale(1.08);
  transition: opacity 0s ease, transform 0s ease;
  pointer-events: none;
  z-index: 2;
}

.hero-slider__slide--in.hero-slider__slide--zooming {
  opacity: 1;
  transform: scale(1);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.hero-slider__overlay {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(135deg, rgba(11, 11, 11, 0.65) 0%, rgba(30, 30, 35, 0.55) 100%); */
  background: linear-gradient(135deg, rgb(11 11 11 / 40%) 0%, rgb(30 30 35 / 40%) 100%);
  pointer-events: none;
}

.hero-slider__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  text-align: center;
  color: #fff;
  transition: transform 1s ease, opacity 1s ease;
}

/* Content direction animation - out */
.hero-slider__content--out-left {
  transform: translateX(-80px);
  opacity: 0;
}

.hero-slider__content--out-right {
  transform: translateX(80px);
  opacity: 0;
}

/* Content direction animation - in (initial state) */
.hero-slider__content--in-right {
  transform: translateX(80px);
  opacity: 0;
}

.hero-slider__content--in-left {
  transform: translateX(-80px);
  opacity: 0;
}

.hero-slider__content--in-right.hero-slider__content--animating,
.hero-slider__content--in-left.hero-slider__content--animating {
  transform: translateX(0);
  opacity: 1;
}

.hero-slider__tagline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.95);
}

.hero-slider__tagline-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 28px;
  flex-shrink: 0;
}

.hero-slider__tagline-icon * {
  fill: #fff;
}

.hero-slider__tagline-icon .st0 {
  fill: transparent;
}

.hero-slider__tagline-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-slider__title {
  font-family: var(--wdtFontTypo_Alt);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: #fff;
}

.hero-slider__text {
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 1.75rem;
  text-align: center;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-slider__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  font-family: var(--wdtFontTypo_Base);
  font-size: clamp(0.875rem, 1vw, 1rem);
  font-weight: 600;
  border: none;
  border-radius: var(--radius-full);
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-hero:hover {
  transform: translateY(-2px);
  opacity: 0.95;
  color: #fff;
}

.btn-hero--whatsapp {
  background: #25d366;
  color: #fff;
}

.btn-hero--quote {
  background: #000;
  color: #fff;
}

/* Diamond-shaped nav buttons - SVG icon */
.hero-slider__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.95);
  transition: color 0.2s ease, transform 0.2s ease;
}

.hero-slider__nav:hover {
  color: #fff;
  transform: translateY(-50%) scale(1.08);
}

.hero-slider__nav--prev {
  left: clamp(1rem, 3vw, 2rem);
}

.hero-slider__nav--next {
  right: clamp(1rem, 3vw, 2rem);
}

.hero-slider__nav-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Pagination dots - visible only on mobile */
.hero-slider__pagination,
.swiper-pagination {
  display: flex;
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.hero-slider__dot,
.swiper-pagination-bullet{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.hero-slider__dot:hover,
.swiper-pagination-bullet:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.3);
}

.hero-slider__dot--active,
.swiper-pagination-bullet-active-main {
  background: #fff;
  border-color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-slider__nav {
    display: none;
  }

  .hero-slider__pagination {
    display: flex;
  }
}

@media (max-width: 640px) {
  .hero-slider {
    min-height: 480px;
  }

  .hero-slider__slide {
    padding: 2rem 1rem;
  }

  .hero-slider__title {
    font-size: 1.5rem;
  }

  .hero-slider__text {
    margin-bottom: 1.25rem;
  }

  .hero-slider__actions {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .btn-hero {
    width: 100%;
  }

  .hero-slider__nav {
    width: 44px;
    height: 44px;
  }
}