/* ===== HERO SECTION ===== */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

/* Overlay oscuro para modo oscuro */
.hero-video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8));
    z-index: 1;
    transition: all 0.5s ease;
}

/* Overlay amarillo para modo claro */
body.modo-claro .hero-video-container::before {
    background: linear-gradient(rgba(255, 215, 0, 0.85), rgba(255, 215, 0, 0.9));
}

/* Efecto de partículas doradas (solo en modo oscuro) */
.hero-video-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 50%, rgba(255, 215, 0, 0.15) 0%, transparent 70%);
    z-index: 1;
    opacity: 0.5;
    transition: all 0.5s ease;
}

/* Ocultar efecto de partículas en modo claro */
body.modo-claro .hero-video-container::after {
    opacity: 0.1;
    background: radial-gradient(circle at 70% 50%, rgba(0, 0, 0, 0.1) 0%, transparent 70%);
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
    text-align: center;
    padding: 0 20px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Título principal - Modo oscuro */
.hero h1 {
    font-size: 4rem;
    margin-bottom: 25px;
    line-height: 1.1;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.7);
    background: linear-gradient(90deg, var(--dorado), var(--rojo-fuerza), var(--dorado));
    background-size: 300% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Título principal - Modo claro (fondo amarillo con letras oscuras) */
body.modo-claro .hero h1 {
    background: linear-gradient(90deg, var(--negro), var(--gris-oscuro), var(--negro));
    background-size: 300% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.2);
}

/* Párrafos - Modo oscuro */
.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: var(--gris-claro);
    animation: fadeInLeft 1.2s ease-out 0.5s both;
    font-weight: 500;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Párrafos - Modo claro */
body.modo-claro .hero p {
    color: var(--negro-profundo);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

/* Lead paragraph - Modo oscuro */
.hero .lead {
    font-size: 1.5rem;
    color: var(--dorado-calido);
    font-weight: 700;
    margin-bottom: 30px;
    animation: fadeInRight 1s ease-out 0.3s both;
}

/* Lead paragraph - Modo claro */
body.modo-claro .hero .lead {
    color: var(--negro);
    font-weight: 800;
}

/* Slogan - Modo oscuro */
.slogan {
    color: var(--dorado);
    font-weight: 900;
    font-size: 1.8rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: fadeInRight 1s ease-out, textGlow 4s ease-in-out infinite 1s;
    display: inline-block;
    position: relative;
    padding: 10px 0;
    font-family: 'Oswald', sans-serif;
}

/* Slogan - Modo claro */
body.modo-claro .slogan {
    color: var(--negro);
    text-shadow: 2px 2px 5px rgba(0,0,0,0.2);
    animation: fadeInRight 1s ease-out, pulseGold 2s ease-in-out infinite 1s;
}

.slogan:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--dorado), var(--rojo-fuerza));
    animation: widthGrow 1.5s ease-out 0.5s forwards;
    transition: all 0.5s ease;
}

body.modo-claro .slogan:after {
    background: linear-gradient(90deg, var(--negro), var(--gris-oscuro));
}

@keyframes widthGrow {
    to {
        width: 100%;
    }
}

/* Botón - Modo oscuro */
.hero .btn {
    animation: fadeInUp 1s ease-out 0.8s both, heartbeat 2s infinite 2s;
    transform-origin: center;
    padding: 20px 50px;
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: 2px;
    margin-top: 20px;
}

/* Botón - Modo claro (fondo negro con letras doradas) */
body.modo-claro .hero .btn {
    background: linear-gradient(135deg, var(--negro), var(--gris-oscuro));
    color: var(--dorado);
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    animation: fadeInUp 1s ease-out 0.8s both, heartbeat 2s infinite 2s;
}

body.modo-claro .hero .btn:hover {
    background: linear-gradient(135deg, var(--negro-profundo), var(--gris-oscuro));
    color: var(--dorado-calido);
    box-shadow: 0 12px 25px rgba(0,0,0,0.6);
}

/* Responsive para hero */
@media (max-width: 768px) {
    .hero {
        min-height: 600px;
        height: auto;
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }
    
    .hero .lead {
        font-size: 1.3rem;
    }
    
    .hero p {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .slogan {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    
    .hero .btn {
        padding: 18px 40px;
        font-size: 1.1rem;
    }
    
    /* En móvil, en modo claro ajustamos el overlay */
    body.modo-claro .hero-video-container::before {
        background: linear-gradient(rgba(255, 215, 0, 0.95), rgba(255, 215, 0, 0.98));
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero .lead {
        font-size: 1.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .slogan {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }
}