/* CSS - Overlay sudah dihapus */
.villa-layanan-swiper,
.villa-layanan-swiper-one,
.villa-layanan-swiper-two,
.villa-layanan-swiper-three {
  margin: 0 auto;
  height: 30rem;
  position: relative;
  overflow: visible;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .villa-layanan-swiper,
  .villa-layanan-swiper-one,
  .villa-layanan-swiper-two,
  .villa-layanan-swiper-three {
    height: 14rem; /* Height untuk mobile */
  }
}

.villa-layanan-swiper .swiper-slide,
.villa-layanan-swiper-one .swiper-slide,
.villa-layanan-swiper-two .swiper-slide,
.villa-layanan-swiper-three .swiper-slide {
  height: 25rem; /* Default height untuk desktop */
  box-sizing: border-box;
  transition: transform 0.3s ease, opacity 0.3s ease;
  position: relative;
}

/* Media query untuk mobile devices */
@media (max-width: 768px) {
  .villa-layanan-swiper .swiper-slide,
  .villa-layanan-swiper-one .swiper-slide,
  .villa-layanan-swiper-two .swiper-slide,
  .villa-layanan-swiper-three .swiper-slide {
    height: 13rem; /* Height untuk mobile */
  }
}

.villa-layanan-swiper .swiper-slide-active,
.villa-layanan-swiper-one .swiper-slide-active,
.villa-layanan-swiper-two .swiper-slide-active,
.villa-layanan-swiper-three .swiper-slide-active {
  transform: scale(1.1) !important;
  z-index: 10;
}

.villa-layanan-swiper .swiper-button-prev-layanan,
.villa-layanan-swiper .swiper-button-next-layanan,
.villa-layanan-swiper-one .swiper-button-prev-layanan-one,
.villa-layanan-swiper-one .swiper-button-next-layanan-one,
.villa-layanan-swiper-two .swiper-button-prev-layanan-two,
.villa-layanan-swiper-two .swiper-button-next-layanan-two,
.villa-layanan-swiper-three .swiper-button-prev-layanan-three,
.villa-layanan-swiper-three .swiper-button-next-layanan-three {
  width: 80px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 25px; /* Membuat bentuk oval/pill */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  cursor: pointer;
  margin: 0 !important;
  backdrop-filter: blur(2px);
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

/* Hide navigation buttons on mobile */
@media (max-width: 768px) {
  .villa-layanan-swiper .swiper-button-prev-layanan,
  .villa-layanan-swiper .swiper-button-next-layanan,
  .villa-layanan-swiper-one .swiper-button-prev-layanan-one,
  .villa-layanan-swiper-one .swiper-button-next-layanan-one,
  .villa-layanan-swiper-two .swiper-button-prev-layanan-two,
  .villa-layanan-swiper-two .swiper-button-next-layanan-two,
  .villa-layanan-swiper-three .swiper-button-prev-layanan-three,
  .villa-layanan-swiper-three .swiper-button-next-layanan-three {
    display: none !important;
  }
}

.villa-layanan-swiper .swiper-button-prev-layanan i,
.villa-layanan-swiper .swiper-button-next-layanan i,
.villa-layanan-swiper-one .swiper-button-prev-layanan-one i,
.villa-layanan-swiper-one .swiper-button-next-layanan-one i,
.villa-layanan-swiper-two .swiper-button-prev-layanan-two i,
.villa-layanan-swiper-two .swiper-button-next-layanan-two i,
.villa-layanan-swiper-three .swiper-button-prev-layanan-three i,
.villa-layanan-swiper-three .swiper-button-next-layanan-three i {
  font-size: 20px;
  color: white;
}

.villa-layanan-swiper .swiper-button-prev-layanan,
.villa-layanan-swiper-one .swiper-button-prev-layanan-one,
.villa-layanan-swiper-two .swiper-button-prev-layanan-two,
.villa-layanan-swiper-three .swiper-button-prev-layanan-three {
  left: 26%;
}

.villa-layanan-swiper .swiper-button-next-layanan,
.villa-layanan-swiper-one .swiper-button-next-layanan-one,
.villa-layanan-swiper-two .swiper-button-next-layanan-two,
.villa-layanan-swiper-three .swiper-button-next-layanan-three {
  right: 26%;
}

.villa-layanan-swiper .swiper-button-prev-layanan::after,
.villa-layanan-swiper .swiper-button-next-layanan::after,
.villa-layanan-swiper-one .swiper-button-prev-layanan-one::after,
.villa-layanan-swiper-one .swiper-button-next-layanan-one::after,
.villa-layanan-swiper-two .swiper-button-prev-layanan-two::after,
.villa-layanan-swiper-two .swiper-button-next-layanan-two::after,
.villa-layanan-swiper-three .swiper-button-prev-layanan-three::after,
.villa-layanan-swiper-three .swiper-button-next-layanan-three::after {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
}

.villa-layanan-swiper .swiper-button-prev-layanan:hover,
.villa-layanan-swiper .swiper-button-next-layanan:hover,
.villa-layanan-swiper-one .swiper-button-prev-layanan-one:hover,
.villa-layanan-swiper-one .swiper-button-next-layanan-one:hover,
.villa-layanan-swiper-two .swiper-button-prev-layanan-two:hover,
.villa-layanan-swiper-two .swiper-button-next-layanan-two:hover,
.villa-layanan-swiper-three .swiper-button-prev-layanan-three:hover,
.villa-layanan-swiper-three .swiper-button-next-layanan-three:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.05);
}

@media (max-width: 768px) {
  /* Buttons are hidden on mobile, so no positioning needed */
  
  .villa-layanan-swiper .swiper-slide-active,
  .villa-layanan-swiper-one .swiper-slide-active,
  .villa-layanan-swiper-two .swiper-slide-active,
  .villa-layanan-swiper-three .swiper-slide-active {
    transform: scale(1.05) !important;
  }
}

/* Pagination styles */
.villa-layanan-swiper .swiper-pagination,
.villa-layanan-swiper-one .swiper-pagination,
.villa-layanan-swiper-two .swiper-pagination,
.villa-layanan-swiper-three .swiper-pagination {
  bottom: -40px;
}

.villa-layanan-swiper .swiper-pagination-bullet,
.villa-layanan-swiper-one .swiper-pagination-bullet,
.villa-layanan-swiper-two .swiper-pagination-bullet,
.villa-layanan-swiper-three .swiper-pagination-bullet {
  background-color: rgba(255, 255, 255, 0.7) !important;
  opacity: 0.7;
  width: 10px;
  height: 10px;
  transition: all 0.3s ease;
}

.villa-layanan-swiper .swiper-pagination-bullet-active,
.villa-layanan-swiper-one .swiper-pagination-bullet-active,
.villa-layanan-swiper-two .swiper-pagination-bullet-active,
.villa-layanan-swiper-three .swiper-pagination-bullet-active {
  background-color: #d6b24e !important;
  opacity: 1;
  transform: scale(1.2);
}
