/* Overlay Popup */
#slideshowPopup {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Saat popup muncul */
#slideshowPopup.show {
  opacity: 1;
}

/* Container popup */
.popup-container {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  max-width: 800px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transform: scale(0.95);
  transition: transform 0.3s ease;
  position: relative;
}

/* Zoom saat muncul */
#slideshowPopup.show .popup-container {
  transform: scale(1);
}

/* Slide wrapper */
.slides-wrapper {
  display: flex;
  transition: transform 0.5s ease;
}

/* Setiap slide */
.slide {
  min-width: 100%;
  box-sizing: border-box;
}

/* Gambar */
.slides-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* Caption */
.caption {
  text-align: center;
  font-size: 14px;
  padding: 8px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
}

/* Tombol navigasi */
.prev,
.next {
  position: absolute;
  top: 50%;
  font-size: 24px;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  padding: 8px 12px;
  border-radius: 50%;
  cursor: pointer;
  transform: translateY(-50%);
  user-select: none;
  transition: background 0.3s ease;
}

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

.prev {
  left: 15px;
}
.next {
  right: 15px;
}

/* Dots indikator */
.dots {
  text-align: center;
  padding: 10px;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 5px;
  background: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.dot.active {
  background: #fff;
}
