
.main-slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.swiper-container {
  width: 100%;
  height: auto;
}

.swiper-slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1600 / 380;
  width: 100%;
}

.slide-bg-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: 1;
}

.container-slide {
  position: relative;
  max-width: 1140px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  z-index: 2;
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 0%;
  transform: translateY(-50%) !important;
  color: white;
  max-width: 50%;
  z-index: 3;
  opacity: 0;
  animation: slideFadeIn 0.7s ease-out forwards;
  animation-delay: 0.2s;
}

/* Animación del bloque completo */
@keyframes slideFadeIn {
  from {
    opacity: 0;
    transform: translateY(60px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animación del logo desde arriba */
@keyframes logoSlideDown {
  0% {
    transform: translateY(-50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.floating-logo {
  position: relative;
  height: auto;
  margin-bottom: 15px;
  z-index: 4;
  animation: logoSlideDown 1s ease-out forwards;
  opacity: 0;
  animation-delay: 0.2s;
}

/* Animación texto desde abajo */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-content h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  opacity: 0;
  animation: fadeUp 1s ease-out forwards;
  animation-delay: 0.5s;
}

.slide-content p {
  font-size: 1.2rem;
  opacity: 0;
  animation: fadeUp 1s ease-out forwards;
  animation-delay: 0.5s;
}

/* Botones personalizados */
.swiper-button-next,
.swiper-button-prev {
  color: white;
  background-color: rgba(0, 0, 0, 0.6);
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 4px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 16px !important;
}

/* Paginación */
.swiper-pagination-bullet {
  background: white;
  opacity: 0.7;
}

.swiper-pagination-bullet-active {
  background: #fff;
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .swiper-slide {
    aspect-ratio: 16 / 9;
  }

  .slide-content h2 {
    font-size: 1.2rem;
  }

  .slide-content p {
    font-size: 0.7rem;
  }

  .floating-logo {
    width: 100px;
    top: 8%;
    right: 5%;
  }

  .slide-content {
padding-left:60px;
  max-width: 67%;
}

}
