/* ===================== */
/* SLIDESHOW 5 FOTO       */
/* ===================== */

.slideshow-section {
  position: absolute;
  left: 0;
  right: 0;
  top: 20vh;
  width: 100%;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
}

.slideshow-title {
  font-size: 1.8rem;
  margin: 0 0 16px;
  font-weight: 400;
}

.slideshow-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto;
  max-width: 560px;
}

.slideshow {
  position: relative;
  width: 420px;
  max-width: 80vw;
  height: 280px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  background: #f1f1f1;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-arrow {
  background: rgba(0, 0, 0, 0.55);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 1rem;
  height: 40px;
  width: 40px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.slide-arrow:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.08);
}

.slide-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.dot.active {
  background: rgb(21, 161, 237);
  transform: scale(1.2);
}

@media screen and (max-width: 500px) {
  .slideshow {
    width: 280px;
    height: 200px;
  }

  .slideshow-title {
    font-size: 1.4rem;
  }

  .slide-arrow {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }
}