/* Carousel Styles */
.carousel-container {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: rgba(31, 41, 55, 0.5);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  margin-bottom: 2rem;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.carousel-slide img {
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
  max-height: 500px;
  object-fit: contain;
  width: auto;
  max-width: 100%;
}

.carousel-caption {
  margin-top: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #38bdf8;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(17, 24, 39, 0.6);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  z-index: 10;
}

.carousel-btn:hover {
  background: rgba(14, 165, 233, 0.9);
  border-color: #0ea5e9;
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
  left: 1.5rem;
}

.carousel-btn-next {
  right: 1.5rem;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel-dot:hover {
  background: rgba(255, 255, 255, 0.4);
}

.carousel-dot.active {
  background: #0ea5e9;
  transform: scale(1.25);
  box-shadow: 0 0 10px rgba(14, 165, 233, 0.5);
}

@media (max-width: 768px) {
  .carousel-slide img {
    max-height: 300px;
  }
  
  .carousel-btn {
    width: 36px;
    height: 36px;
  }
  
  .carousel-btn-prev {
    left: 0.5rem;
  }
  
  .carousel-btn-next {
    right: 0.5rem;
  }
}
