/* Estilos para el carrusel horizontal */
.carousel {
  position: relative;
  max-width: 900px;
  margin: 2rem auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
}

.slides {
  display: flex;
  transition: transform 0.5s;
  width: 100%;
  height: 450px;
}

.slide {
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  color: #fff;
}

.info {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px;
  width: 100%;
  border-radius: 0;
}

.info h3 {
  font-family: 'Burbank Big Condensed', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.info p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 0;
}

.nav-button {
  color: #fff;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.4);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  padding: 15px;
  font-size: 1.5rem;
  z-index: 10;
  transition: all 0.3s ease;
}

.nav-button:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

.prev {
  left: 10px;
}

.next {
  right: 10px;
}

@media (max-width: 768px) {
  .carousel {
    max-width: 100%;
    margin: 1rem auto;
  }
  
  .slide {
    height: 300px;
  }
  
  .info {
    padding: 15px;
  }
  
  .info h3 {
    font-size: 1.5rem;
  }
  
  .nav-button {
    padding: 10px;
    font-size: 1.2rem;
  }
}
