/* ========================================
   IMAGE CAROUSEL — Hero Background
   ======================================== */
.carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease;
  will-change: opacity;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Dark overlay on top of images */
.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(27, 42, 68, 0.82) 0%,
    rgba(92, 14, 31, 0.72) 50%,
    rgba(27, 42, 68, 0.80) 100%
  );
  z-index: 1;
}

/* Dot navigation */
.carousel-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 4;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.carousel-dot:hover {
  border-color: rgba(255, 255, 255, 0.8);
}

.carousel-dot.active {
  background: var(--color-reserve-white);
  border-color: var(--color-reserve-white);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .carousel-slide {
    transition: none;
  }
}
