/* Swiper Banner CSS - Matching Original Design */

/* Banner Hero Section */
.banner-hero {
  position: relative;
  width: 100%;
}

/* Swiper Container */
.swiper-banner-hero {
  position: relative;
  width: 100%;
  /* max-width: 1920px; */
  height: 718px;
  margin: 0;
  overflow: hidden;
}

.swiper-banner-hero .swiper-wrapper {
  height: 100%;
}

.swiper-banner-hero .swiper-slide {
  position: relative;
  width: 100%;
  height: 100%;
}

.swiper-banner-hero .swiper-slide img {
  position: absolute;
  top: 0.08%;
  left: 0;
  width: 100%;
  height: 109.34%;
  max-width: none;
  object-fit: cover;
}

/* Banner Overlay */
.swiper-banner-hero .swiper-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(243, 243, 243, 0) 76.22%, #F3F3F3 100%);
  pointer-events: none;
  z-index: 2;
}

/* Navigation Arrows */
.swiper-banner-hero .swiper-button-prev:after,
.swiper-banner-hero .swiper-button-next:after {
  display: none;
}

.swiper-banner-hero .swiper-button-next,
.swiper-banner-hero .swiper-button-prev {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  border: none;
  transition: all 0.3s ease;
  z-index: 10;
}

.swiper-banner-hero .swiper-button-next:hover,
.swiper-banner-hero .swiper-button-prev:hover {
  background: rgba(0, 0, 0, 0.5);
}

.swiper-banner-hero .swiper-button-prev {
  left: 40px;
}

.swiper-banner-hero .swiper-button-next {
  right: 40px;
}

/* Pagination Bullets Container */
.swiper-banner-hero .swiper-pagination {
  bottom: 24px;
  z-index: 10;
}

.swiper-banner-hero .swiper-pagination-bullets.swiper-pagination-horizontal {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 999px;
  height: 20px;
  padding-left: 8px;
  padding-right: 8px;
  width: auto;
  left: 50%;
  transform: translateX(-50%);
}

.swiper-banner-hero .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.5);
  width: 8px;
  height: 8px;
  opacity: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0 !important;
}

.swiper-banner-hero .swiper-pagination-bullet:hover {
  background: rgba(255, 255, 255, 0.8);
}

.swiper-banner-hero .swiper-pagination-bullet-active {
  width: 40px;
  background: rgba(255, 255, 255, 1);
  border-radius: 4px;
  opacity: 1;
}

/* Lazy Loading */
.swiper-banner-hero .swiper-lazy-preloader {
  width: 40px;
  height: 40px;
  border-width: 2px;
  opacity: 0.8;
}

/* Responsive Design */

@media (max-width: 1440px) {
  .swiper-banner-hero {
    height: 600px;
  }
}

@media (max-width: 1200px) {
  .swiper-banner-hero {
    height: 500px;
  }
}

@media (max-width: 991px) {
  .banner-hero {
    padding-bottom: 32px;
  }

  .swiper-banner-hero {
    height: 400px;
    margin-bottom: -32px;
  }

  .swiper-banner-hero .swiper-pagination {
    bottom: 16px;
  }
}

@media (max-width: 768px) {
  .banner-hero {
    padding-bottom: 24px;
  }

  .swiper-banner-hero {
    height: 300px;
    margin-bottom: -24px;
  }

  .swiper-banner-hero .swiper-pagination {
    bottom: 12px;
  }

  .swiper-banner-hero .swiper-pagination-bullets.swiper-pagination-horizontal {
    height: 14px;
    padding-left: 6px;
    padding-right: 6px;
    gap: 4px;
  }

  .swiper-banner-hero .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
  }

  .swiper-banner-hero .swiper-pagination-bullet-active {
    width: 28px;
    height: 8px;
    border-radius: 4px;
  }

  .swiper-banner-hero .swiper-button-prev,
  .swiper-banner-hero .swiper-button-next {
    width: 40px;
    height: 40px;
  }

  .swiper-banner-hero .swiper-button-prev {
    left: 20px;
  }

  .swiper-banner-hero .swiper-button-next {
    right: 20px;
  }
}

@media (max-width: 480px) {
  .swiper-banner-hero {
    height: 250px;
  }

  .swiper-banner-hero .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
  }

  .swiper-banner-hero .swiper-pagination-bullet-active {
    width: 24px;
    height: 8px;
    border-radius: 4px;
  }

  .swiper-banner-hero .swiper-button-prev,
  .swiper-banner-hero .swiper-button-next {
    width: 36px;
    height: 36px;
  }

  .swiper-banner-hero .swiper-button-prev {
    left: 10px;
  }

  .swiper-banner-hero .swiper-button-next {
    right: 10px;
  }
}

/* Hide arrows if only 1 slide */
.swiper-banner-hero .swiper-button-next.display_none,
.swiper-banner-hero .swiper-button-prev.display_none {
  display: none;
}
