/* custom-slider-app.css */

/* --------------------
   Swiper Container
-------------------- */
.swiper {
  width: 100%;
  max-width: 1200px; /* ✅ full width on desktop */
  margin: 0 auto;
  overflow: hidden;
  padding: 20px 0;
  position: relative;
}

/* --------------------
   Slides
-------------------- */
.swiper-slide {
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.swiper-slide:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}



/* --------------------
   Navigation Arrows
-------------------- */
.swiper-button-next,
.swiper-button-prev {
  color: #000;
  width: 35px;
  height: 35px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  transition: background 0.3s ease;
}

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

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 18px;
}

/* --------------------
   Responsive
-------------------- */
@media (max-width: 767px) {
  .swiper-slide {
    aspect-ratio: auto;
    height: 200px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 28px;
    height: 28px;
  }
}

/* --------------------
   Center Pagination Dots (Fixed)
-------------------- */
.swiper-pagination {
  width: 100%;
  display: flex !important;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 5px;
  left: 0;
  right: 0;
  margin: 0 auto;
  text-align: center;
  transform: none !important;
} 

/* --------------------
   Pagination Dots Style
-------------------- */

/* Default (inactive) dots */
.swiper-pagination-bullet {
  background-color: rgba(0, 0, 0, 0.4);  /* semi-transparent black */
  opacity: 1;                            /* make sure they’re visible */
  transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Active (current) dot */
.swiper-pagination-bullet-active {
  background-color: #000;                /* solid black */
  transform: scale(1.2);                 /* slightly larger active dot */
}

