.hero { margin-top: 20px; }

.carousel-container {
  position: relative;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 15px;
  height: 450px;
}

.carousel-track {
  display: flex;
  transition: transform 0.7s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  overflow: hidden;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.carousel-slide:hover img { transform: scale(1.05); }

.prev {
  left: 15px; /* distancia desde el borde izquierdo */
}

.next {
  right: 15px; /* distancia desde el borde derecho */
}

/* Botones */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,215,0,0.8);
  color: #111;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.prev:hover, .next:hover { 
  background: rgba(255,215,0,1); 
  transform: scale(1.1);
}

/* Dots */
.dots-container {
  text-align: center;
  margin-top: 15px;
}

.dot {
  display: inline-block;
  height: 15px;
  width: 15px;
  margin: 0 5px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active, .dot:hover { 
  background-color: #FFD700; 
  transform: scale(1.3); 
}
