/* Slideshow Styles */

.slideshow-section {
  background-color: #000;
  padding: 0;
  position: relative;
}

.slideshow-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  height: 480px;
  overflow: hidden;
}

.slide {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  animation: fadeIn 1s ease-in-out;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #000;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Navigation Arrows */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 24px;
  transition: 0.3s ease;
  border-radius: 0 4px 4px 0;
  user-select: none;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.next {
  right: 0;
  border-radius: 4px 0 0 4px;
}

.prev:hover, .next:hover {
  background-color: rgba(243, 156, 18, 0.8);
}

/* Slide Counter */
.slide-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  z-index: 10;
}

/* Dots/Indicators */
.dots-container {
  text-align: center;
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.dot.active, .dot:hover {
  background-color: #f39c12;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .slideshow-container {
    height: 400px;
  }

  .prev, .next {
    padding: 12px;
    font-size: 18px;
  }

  .slide-counter {
    font-size: 12px;
    padding: 6px 12px;
  }

  .dot {
    height: 10px;
    width: 10px;
    margin: 0 3px;
  }
}

@media (max-width: 480px) {
  .slideshow-container {
    height: 300px;
  }
}
