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

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

.villa-layanan-swiper .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 {
    height: 13rem; /* Height untuk mobile */
  }
}

.villa-layanan-swiper .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 {
  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;
}

/* Optional: Jika ingin tombol navigasi juga responsive */
@media (max-width: 768px) {
  .villa-layanan-swiper .swiper-button-prev-layanan,
  .villa-layanan-swiper .swiper-button-next-layanan {
    width: 60px;
    height: 40px;
  }
}

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

.villa-layanan-swiper .swiper-button-prev-layanan {
  left: 26%;
}

.villa-layanan-swiper .swiper-button-next-layanan {
  right: 26%;
}

.villa-layanan-swiper .swiper-button-prev-layanan::after,
.villa-layanan-swiper .swiper-button-next-layanan::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 {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.05);
}

@media (max-width: 768px) {
  .villa-layanan-swiper .swiper-button-prev-layanan {
    left: 1%;
  }

  .villa-layanan-swiper .swiper-button-next-layanan {
    right: 1%;
  }

  .villa-layanan-swiper .swiper-slide-active {
    transform: scale(1.05) !important;
  }
}

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

.villa-layanan-swiper .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 {
  background-color: #d6b24e !important;
  opacity: 1;
  transform: scale(1.2);
}
