/**
 * Estilos para el Hero Slider
 */


/* Importar Swiper CSS */
@import url('https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css');

/* Contenedor principal del slider */
.hero-slider-wrapper {
    position: relative;
    overflow: hidden;
}

.hero-slider {
    width: 100%;
    height: 100%;
}

/* Slides individuales */
.hero-slide {
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

/* Alturas de los slides */
.hero-height-small.hero-slide {
    min-height: 300px;
}

.hero-height-medium.hero-slide {
    min-height: 450px;
}

.hero-height-large.hero-slide {
    min-height: 600px;
}

.hero-height-full.hero-slide {
    min-height: 100vh;
}

/* Fondo del slide */
.hero-slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-background-placeholder {
    width: 100%;
    height: 100%;
}

/* Overlay */
.hero-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* Contenido del slide */
.hero-slide-content {
    position: relative;
    z-index: 3;
    
}

.hero-content-inner {
    max-width: 600px;
}

/* Títulos */
.hero-slide-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-slide-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Botones */
.hero-slide-buttons {
    gap: 1rem;
}

.hero-btn-primary,
.hero-btn-secondary {
    padding: 0.75rem 2rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.hero-btn-primary {
    background-color: #FFCC00;
    color: black;
    border: 2px solid #FFCC00;
}

.hero-btn-primary:hover {
    background-color: #FFCC00;
    border-color: #FFCC00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 204, 0, 0.3);
}

.hero-btn-secondary {
    background-color: transparent;
    color: black;
    border: 2px solid rgba(#FFCC00, 0.8);
}

.hero-btn-secondary:hover {
    background-color: rgba(#FFCC00, 0.1);
    border-color:#FFCC00;
    color: black;
    transform: translateY(-2px);
}

/* Esquemas de color */
.bg-light .hero-slide-title,
.bg-light .hero-slide-subtitle {
    color: white;
}

.bg-dark .hero-slide-title,
.bg-dark .hero-slide-subtitle {
    color: #333;
}

.bg-dark .hero-btn-secondary {
    color: #333;
    border-color: rgba(#FFCC00, 0.8);
}

.bg-dark .hero-btn-secondary:hover {
    background-color: rgba(#FFCC00, 0.1);
    border-color: #333;
    color: #333;
}

/* Alineación de texto */
.text-left .hero-content-inner {
    text-align: left;
}

.text-center .hero-content-inner {
    text-align: center;
    margin: 0 auto;
}

.text-right .hero-content-inner {
    text-align: right;
    margin-left: auto;
}

/* Navegación del slider */
.swiper-button-next,
.swiper-button-prev {
    color: white;
    background-color: #ffcc001f;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
    
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: rgba(#FFCC00, 0.6);
    transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}

/* Paginación */
.swiper-pagination {
    bottom: 20px;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: rgba(#FFCC00, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background-color: white;
    transform: scale(1.2);
}

/* Responsive */
@media (max-width: 768px) {

    .hero-height-large.hero-slide {
    min-height: 400px;
}

    .hero-slide-title {
        font-size: 2rem;
    }
    
    .hero-slide-subtitle {
        font-size: 1rem;
    }
    
    .hero-slide-content {
        
    }
    
    .hero-content-inner {
        max-width: 100%;
    }
    
    .hero-btn-primary,
    .hero-btn-secondary {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero-slide-title {
        font-size: 1.5rem;
    }
    
    
   
}

/* Efectos de transición personalizados */
.swiper-slide {
    transition: transform 0.3s ease;
}

.swiper-slide-active .hero-content-inner {
    animation: slideInUp 0.8s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Vista previa en el editor */
.is-preview .hero-slider {
    pointer-events: none;
}

.is-preview .swiper-button-next,
.is-preview .swiper-button-prev,
.is-preview .swiper-pagination {
    opacity: 0.7;
}

/* Mejoras de accesibilidad */




/* Soporte para modo oscuro */
@media (prefers-color-scheme: dark) {
    .hero-slider-wrapper {
        background-color: #1a1a1a;
    }
}
