/* Carousel Styles */
.carousel-section {
  height: 100vh;
  position: relative;
  overflow: hidden;
  margin-top: 70px;
}

.carousel-container {
  height: 100%;
  position: relative;
}

.carousel {
  height: 100%;
  position: relative;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

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

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
  width: 80%;
  max-width: 800px;
  z-index: 1;
  padding: var(--spacing-md);
}

.carousel-caption h2 {
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease forwards;
}

.carousel-caption p {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-md);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s 0.3s ease forwards;
}

.carousel-controls {
  position: absolute;
  bottom: var(--spacing-md);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  z-index: 10;
}

.carousel-control {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.3);
  color: var(--white);
  border-radius: 50%;
  margin: 0 var(--spacing-xs);
  cursor: pointer;
  transition: var(--transition);
}

.carousel-control:hover {
  background-color: var(--primary-color);
}

.carousel-indicators {
  display: flex;
  margin: 0 var(--spacing-xs);
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-indicator.active {
  background-color: var(--white);
  transform: scale(1.2);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 992px) {
  .carousel-caption h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .carousel-caption h2 {
    font-size: 2rem;
  }
  
  .carousel-caption p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .carousel-section {
    height: 80vh;
  }
  
  .carousel-caption h2 {
    font-size: 1.5rem;
  }

  .carousel-control {
    width: 36px;
    height: 36px;
  }
}