/* Estilos específicos para el slider */
.custom-slider {
    position: relative;
    width: 100%;
    max-width: 1920px;
    margin: auto;
    overflow: hidden;
    aspect-ratio: 1920 / 789; /* Mantiene la proporción de las imágenes */
}

.custom-slider-slides {
    display: flex;
    transition: transform 0.5s ease-in-out; /* Transición para el desplazamiento horizontal */
}

.custom-slide {
    min-width: 100%;
}

.custom-slide img {
    width: 100%;
    height: auto;
    display: block;
}

/* Botones de navegación */
.custom-slider button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1;
    font-size: 18px;
}

.custom-prev {
    left: 10px;
}

.custom-next {
    right: 10px;
}
/* 🔹 Botones de navegación */
.swiper-button-prev,
.swiper-button-next {
    background-color: transparent !important;
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
}

/* Íconos de los botones */
.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 20px;
    font-weight: bold;
}

/* 🔹 Paginación */
.swiper-pagination {
    position: absolute;
    bottom: -20px;
    color: #fff;
}

.swiper-pagination-bullet {
    background-color: #ccc;
    width: 10px;
    height: 10px;
    margin: 5px;
    border-radius: 50%;
    transition: 0.3s;
}

.swiper-pagination-bullet-active { 
    transform: scale(1.2);
    color: #fff;
}
/* Contenedor principal del slider */
.SldGallery-container {
    position: relative;
    padding: 40px 0;
    background: #111; /* Fondo oscuro */
    color: white;
}

/* Fondo semi-transparente */
.SldGallery-overlay {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
}

/* Tamaño y espacio entre slides */
.SldGallery-slider {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 20px 0;
}

.SldGallery-slider .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;height: auto;
}

/* Estilos de los botones de navegación */
.SldGallery-next,
.SldGallery-prev {
    color: white !important;
    transition: 0.3s;
}

.SldGallery-next:hover,
.SldGallery-prev:hover {
    transform: scale(1.2);
    color: #ffcc00 !important;
}

/* Paginación */
.SldGallery-pagination {
    bottom: 10px !important;
}

.SldGallery-pagination .swiper-pagination-bullet {
    background: white;
    opacity: 0.6;
}

.SldGallery-pagination .swiper-pagination-bullet-active {
    background: #ffcc00;
    opacity: 1;
}

/* Contenedor principal del slider */
.SldGallery-container {
    position: relative;
    padding: 40px 0;
    background: #111; /* Fondo oscuro */
    color: white;
}

/* Fondo semi-transparente */
.SldGallery-overlay {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
}

/* Tamaño y espacio entre slides */
.SldGallery-slider {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 20px 0;
}

.SldGallery-slider .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 270px; 
}

/* Estilos de los botones de navegación */
.SldGallery-next,
.SldGallery-prev {
    color: white !important;
    transition: 0.3s;
}

.SldGallery-next:hover,
.SldGallery-prev:hover {
    transform: scale(1.2);
    color: #ffcc00 !important;
}

/* Paginación */
.SldGallery-pagination {
    bottom: 10px !important;
}

.SldGallery-pagination .swiper-pagination-bullet {
    background: white;
    opacity: 0.6;
}

.SldGallery-pagination .swiper-pagination-bullet-active {
    background: #ffcc00;
    opacity: 1;
}

/* Responsive - Móviles */
@media (max-width: 520px) {
    .custom-slider {
        height: 320px; 
    }

    .custom-slide {
        min-width: 100%;
        height: 320px;
    }

    .custom-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        background-position: center center;
    } 
    .swiper-button-prev,
    .swiper-button-next {
        width: 35px;
        height: 35px;
    }

    .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
    }
}
