/* Custom Swiper Styles extracted from index.html */
.swiper {
  width: 100%;
  height: 100%;
  position: relative;
}

/* Navigation buttons */
.swiper-button-prev,
.swiper-button-next {
  color: white;
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  transition: all 0.3s ease;
  /* Visible by default (touch devices). We'll limit to hover-only on hover-capable devices below */
  opacity: 1;
  z-index: 20; /* above overlays */
}

/* On hover-capable devices, hide until hover for a cleaner UI */
@media (hover: hover) and (pointer: fine) {
  .swiper-button-prev,
  .swiper-button-next {
    opacity: 0;
  }

  .swiper:hover .swiper-button-prev,
  .swiper:hover .swiper-button-next {
    opacity: 1;
  }
}

.swiper-button-prev:after,
.swiper-button-next:after {
  font-size: 20px;
  font-weight: bold;
}

/* Pagination */
.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #C97A4A;
}

/* Gradient overlay */
.swiper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}
.swiper-slide {
  text-align: center;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}
.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.swiper-button-next,
.swiper-button-prev {
  color: white;
  background: rgba(0, 0, 0, 0.3);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20; /* ensure above gradient and images */
}
.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 20px;
}
.swiper-pagination-bullet {
  background: white;
  opacity: 0.5;
}
.swiper-pagination-bullet-active {
  background: #C97A4A;
  opacity: 1;
}

/* Ensure pagination sits above gradient overlay */
.swiper .swiper-pagination {
  z-index: 10;
}
