.slideshow {
  position: relative;
  width: 100%;
  height: 100vh;
  background: black;
  overflow: hidden;
  z-index: 4;
}

.media-item {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.media-item.active {
  opacity: 1;
  z-index: 1;
}

.media-item video,
.media-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.media-item img {
  animation: kenburns 12s ease-in-out forwards;
}

.caption {
  position: absolute;
  bottom: 40px;
  left: 40px;
  font-size: 1.5rem;
  color: white;
  background: rgba(0, 0, 0, 0.4);
  padding: 10px 20px;
  border-radius: 5px;
  font-family: sans-serif;
}

@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}

/* Arrows */
.controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: none;
}

.controls button {
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 2.5rem;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  pointer-events: all;
  transition: background 0.3s;
}

.controls button:hover {
  background: rgba(0,0,0,0.8);
}

/* Dots */
.dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.3s;
}

.dots button.active {
  background: white;
}
