/* ===== HERO SLIDER ===== */
.hero-slider {
  width: 100%;
  height: 90vh;
  min-height: 500px;
  position: relative;
}

.carousel {
  height: 100%;
}

.carousel-inner {
  height: 100%;
}

.carousel-item {
  height: 100%;
}

/* Hero Slide */
.hero-slide {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-size: cover;
  background-position: center;
}

/* Link como background responsivo */
.hero-slide a {
  width: 100%;
  height: 100%;
  display: block;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.3s ease;
}

/* Carousel Indicators */
.carousel-indicators {
  bottom: 2.5rem;
  z-index: 3;
  gap: 0.5rem;
}

.carousel-indicators [data-bs-target] {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid white;
  transition: all 0.3s;
  margin: 0;
}

.carousel-indicators .active {
  width: 50px;
  border-radius: 7px;
  background: white;
}

/* Carousel Controls - Mais distantes da borda */
.carousel-control-prev,
.carousel-control-next {
  width: auto;
  opacity: 1;
  z-index: 3;
}

.carousel-control-prev {
  left: 3rem;
}

.carousel-control-next {
  right: 3rem;
}

.carousel-control-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.carousel-control-icon i {
  font-size: 2.5rem;
  color: white;
}

.carousel-control-prev:hover .carousel-control-icon,
.carousel-control-next:hover .carousel-control-icon {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.1);
}

/* Animação suave no fade */
.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.carousel-fade .carousel-item.active {
  opacity: 1;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1024px) {
  .carousel-control-prev {
    left: 2rem;
  }

  .carousel-control-next {
    right: 2rem;
  }

  .carousel-control-icon {
    width: 50px;
    height: 50px;
  }

  .carousel-control-icon i {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-slider {
    height: 35vh;
  }

  .carousel-control-prev {
    left: 1rem;
  }

  .carousel-control-next {
    right: 1rem;
  }

  .carousel-control-icon {
    width: 45px;
    height: 45px;
  }

  .carousel-control-icon i {
    font-size: 1.75rem;
  }

  .carousel-indicators {
    bottom: 1.5rem;
  }

  .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
  }

  .carousel-indicators .active {
    width: 35px;
  }
}

@media (max-width: 576px) {
  .hero-slider {
    height: 30vh;
    min-height: 350px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    display: none;
  }

  .carousel-indicators {
    bottom: 1rem;
  }
}

@media (max-width: 500px) {
  .hero-slider {
    height: 250px !important;
    min-height: 250px !important;
  }
}
