/* Carousel Styles */
.carousel-container {
  position: relative;
  overflow: hidden;
}

.carousel-item {
  display: none;
  width: 100%;
}

.carousel-item.active {
  display: block;
}

.carousel-item img,
.carousel-item video {
  width: 100%;
  height: auto;
  display: block;
}

/* Navigation Buttons */
.carousel-prev,
.carousel-next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s ease;
  z-index: 10;
}

.carousel-prev:hover,
.carousel-next:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.carousel-prev:focus,
.carousel-next:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}

/* Hide navigation when only one item */
.carousel-container[data-count="1"] .carousel-prev,
.carousel-container[data-count="1"] .carousel-next,
.carousel-container[data-count="1"] .carousel-indicators {
  display: none;
}

/* Indicators */
.carousel-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.carousel-indicator:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

.carousel-indicator.active {
  background-color: white;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .carousel-prev,
  .carousel-next {
    width: 28px;
    height: 28px;
  }

  .carousel-indicator {
    width: 6px;
    height: 6px;
  }
}