/* ═══════════════════════════════════════════════════════════
   HORIZONTAL SCROLL HERO - Sin padding, scrollbar visible
   ═══════════════════════════════════════════════════════════ */

/* RESET COMPLETO - Quitar todos los márgenes y paddings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Contenedor principal del hero */
.horizontal-scroll-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    margin: 0 !important;
    padding: 0 !important;
    -webkit-overflow-scrolling: touch;
}

/* SCROLLBAR MUY VISIBLE */
.horizontal-scroll-wrapper::-webkit-scrollbar {
    height: 16px;  /* Más gruesa */
    background: rgba(0, 0, 0, 0.8);  /* Fondo oscuro */
}

.horizontal-scroll-wrapper::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.9);
    border-top: 2px solid #00ff41;
}

.horizontal-scroll-wrapper::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #00ff41, #00d4ff, #ff00ff);
    border-radius: 8px;
    border: 2px solid rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 10px rgba(0, 255, 65, 0.8);
}

.horizontal-scroll-wrapper::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, #ff00ff, #00d4ff, #00ff41);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.8);
}

/* Firefox scrollbar */
.horizontal-scroll-wrapper {
    scrollbar-width: auto;  /* Tamaño normal (visible) */
    scrollbar-color: #FF0066 rgba(0, 0, 0, 0.8);
}

/* Container de slides - SIN padding ni margin */
.slides-container {
    display: flex;
    height: 100vh;
    width: max-content;
    margin: 0 !important;
    padding: 0 !important;
}

/* Cada slide - EXACTAMENTE viewport, SIN padding */
.slide-panel {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-width: 100vw;
    max-width: 100vw;
    flex-shrink: 0;
    margin: 0 !important;
    padding: 0 !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Overlay sobre la imagen - DESACTIVADO para imágenes puras */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;  /* Sin overlay */
    z-index: 1;
}

/* Contenido del slide - Con sombra para legibilidad sin overlay */
.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 800px;
}

.slide-title {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    text-shadow: 
        0 0 20px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(0, 0, 0, 0.6),
        2px 2px 4px rgba(0, 0, 0, 1);
}

.slide-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
    color: #fff;
    text-shadow: 
        0 0 10px rgba(0, 0, 0, 0.8),
        1px 1px 3px rgba(0, 0, 0, 1);
}

.slide-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #fff;
    background: rgba(0, 255, 65, 0.2);
    border: 2px solid #00ff41;
}

.slide-btn:hover {
    transform: translateY(-3px);
    background: rgba(0, 255, 65, 0.4);
    box-shadow: 0 5px 20px rgba(0, 255, 65, 0.4);
}

/* Número de slide */
.slide-number {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 3;
    font-size: 1.2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Courier New', monospace;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 65, 0.3);
}

/* Indicador de scroll */
.scroll-indicator {
    position: fixed;
    bottom: 4rem;  /* Más arriba para no chocar con scrollbar */
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 1;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.scroll-indicator span {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    animation: bounceHorizontal 2s ease-in-out infinite;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.horizontal-scroll-wrapper.scrolled ~ .scroll-indicator {
    opacity: 0;
}

/* Barra de progreso superior */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 5px;
    width: 0%;
    background: linear-gradient(90deg, #00ff41, #00d4ff, #ff00ff);
    z-index: 1000;
    transition: width 0.05s ease;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.8);
}

/* Puntos de navegación */
.scroll-dots {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.scroll-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.scroll-dot:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.3);
    border-color: #00ff41;
}

.scroll-dot.active {
    background: #00ff41;
    border-color: #00ff41;
    box-shadow: 0 0 15px rgba(0, 255, 65, 0.8);
    transform: scale(1.2);
}

/* Animaciones */
@keyframes bounceHorizontal {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(15px); }
}

/* Slides sin imagen - Gradientes bonitos */
.slide-panel:not([style*="background-image"]) {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

/* Overlays de colores DESACTIVADOS - Imágenes puras */
/*
.slide-panel:nth-child(1) .slide-overlay {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.4), rgba(0, 255, 65, 0.4));
}

.slide-panel:nth-child(2) .slide-overlay {
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.4), rgba(0, 212, 255, 0.4));
}

.slide-panel:nth-child(3) .slide-overlay {
    background: linear-gradient(135deg, rgba(255, 65, 0, 0.4), rgba(255, 0, 255, 0.4));
}

.slide-panel:nth-child(4) .slide-overlay {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.4), rgba(255, 65, 0, 0.4));
}
*/

/* Responsive */
@media (max-width: 768px) {
    .slide-content {
        padding: 1.5rem;
    }
    
    .slide-number {
        bottom: 1rem;
        right: 1rem;
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    .scroll-indicator {
        bottom: 3rem;
    }
    
    .scroll-dots {
        right: 1rem;
    }
    
    .scroll-dot {
        width: 12px;
        height: 12px;
        border-width: 2px;
    }
    
    .horizontal-scroll-wrapper::-webkit-scrollbar {
        height: 12px;
    }
}

/* IMPORTANTE: Forzar que no haya padding/margin en ningún contenedor padre */
.horizontal-scroll-wrapper * {
    box-sizing: border-box;
}

/* Si hay un contenedor padre con padding, anularlo */
body > * {
    padding: 0 !important;
}

main, section, article, div {
    padding: 0 !important;
    margin: 0 !important;
}

/* Asegurar que el hero sea lo primero y ocupe todo */
.horizontal-scroll-wrapper {
    z-index: 1;
}