/* ===================================
   Hero Slider Styles
   =================================== */

/* Slider Container - Se agrega al hero existente */
.hero__slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Ajustar overlay para ocultar texto de fondo */
.hero__overlay {
    background: linear-gradient(135deg, rgba(167, 3, 54, 0.92) 0%, rgba(39, 51, 118, 0.52) 100%) !important;
}

/* Centrar verticalmente el contenido */
.hero {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    z-index: 1;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.hero .container {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    width: 100%;
}

.hero__content {
    width: 100%;
    text-align: left;
    padding: 0;
}

.hero__slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Los estilos del hero original se heredan automáticamente */

/* Navigation Arrows */
.hero__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--text-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__nav:hover {
    background: rgba(167, 3, 54, 0.9);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

.hero__nav:active {
    transform: translateY(-50%) scale(0.95);
}

.hero__nav--prev {
    left: 20px;
}

.hero__nav--next {
    right: 20px;
}

.hero__nav svg {
    width: 24px;
    height: 24px;
}

/* Indicators/Dots */
.hero__indicators {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
    padding: 12px 20px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 30px;
}

.hero__indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.hero__indicator:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.hero__indicator.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    width: 32px;
    border-radius: 10px;
}

/* Animaciones de entrada para el contenido */
.hero__slide.active .hero__title {
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.hero__slide.active .hero__subtitle {
    animation: slideInUp 0.8s ease-out 0.4s both;
}

.hero__slide.active .hero__actions {
    animation: slideInUp 0.8s ease-out 0.6s both;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero__nav {
        width: 40px;
        height: 40px;
    }

    .hero__nav--prev {
        left: 10px;
    }

    .hero__nav--next {
        right: 10px;
    }

    .hero__nav svg {
        width: 20px;
        height: 20px;
    }

    .hero__indicators {
        bottom: 60px;
        gap: 8px;
        padding: 8px 16px;
    }

    .hero__indicator {
        width: 10px;
        height: 10px;
    }

    .hero__indicator.active {
        width: 24px;
    }
}

@media (max-width: 480px) {
    .hero__nav {
        width: 36px;
        height: 36px;
    }

    .hero__indicators {
        bottom: 50px;
    }
}

/* Pause on Hover */
.hero:hover .hero__slide {
    animation-play-state: paused;
}

/* Loading State */
.hero__slider-container.loading .hero__slide {
    opacity: 0;
}

.hero__slider-container.loading .hero__slide:first-child {
    opacity: 1;
}

/* Accessibility */
.hero__nav:focus,
.hero__indicator:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
}

/* Touch Swipe Indicator */
.hero__slider-container.swiping {
    cursor: grabbing;
}

/* Preload Images */
.hero__slide .hero__background img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
