﻿:root {
    /* Paleta cinematográfica */
    --neon-primary: #FF2D2D; /* Rojo cinematográfico */
    --neon-secondary: #FFD700; /* Dorado */
    --dark-bg: #0A0E17;
    --text-white: #FFFFFF;
    --content-width: 55%;
}

/* Estructura base */
.audiovisual-hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    color: var(--text-white);
}

.hero-bg-media-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-bg-media,
.hero-img-bg {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    background-size: cover;
    background-position: center;
}



/* Overlay con tono rojizo */
.hero-gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 14, 23, 0.9) 0%, rgba(139, 0, 0, 0.3) 10%, transparent 90%);
    z-index: 2;
}

/* Contenido */
.hero-content.left-bottom {
    position: absolute;
    left: 5%;
    bottom: 8%;
    width: var(--content-width);
    max-width: 650px;
    z-index: 3;
    text-align: left;
    padding-right: 2rem;
}

/* Tipografía */
.title-wrapper {
    margin-bottom: 1.5rem;
}

.hero-title {
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.title-line {
    display: block;
    font-size: clamp(2.2rem, 3.4vw, 3.8rem);
    margin: 0.2rem 0;
    position: relative;
}

    .title-line.highlight {
        color: transparent;
        -webkit-text-stroke: 2px var(--neon-primary);
        text-shadow: 0 0 15px rgba(255, 45, 45, 0.7);
        animation: text-flicker 3s infinite alternate;
    }

.hero-description {
    font-size: clamp(1rem, 2vw, 1.3rem);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    max-width: 90%;
}

/* Botón estilo "claqueta" */
/* Contenedor del botón */
.info-button-container {
    margin-top: 1rem;
    position: relative;
    display: inline-block;
}

/* Estilo base del botón */
.cinematic-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(145deg, #e50914, #b81d24);
    color: white;
    padding: 14px 28px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4), 0 1px 3px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

    /* Efectos hover */
    .cinematic-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(229, 9, 20, 0.6), 0 2px 5px rgba(0, 0, 0, 0.2);
        background: linear-gradient(145deg, #f40612, #d10a15);
    }

    .cinematic-button:active {
        transform: translateY(1px);
    }

    /* Efecto de brillo rojo */
    .cinematic-button::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient( to bottom right, rgba(255, 255, 255, 0) 45%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 55% );
        transform: rotate(30deg);
        opacity: 0;
        transition: all 0.5s ease;
    }

    .cinematic-button:hover::after {
        opacity: 1;
        top: -30%;
        left: -30%;
    }

/* Elementos del botón */
.button-icon-wrapper {
    background: rgba(0, 0, 0, 0.15);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.cinematic-button:hover .button-icon-wrapper {
    transform: rotate(15deg);
    background: rgba(0, 0, 0, 0.25);
}

.button-text {
    position: relative;
    z-index: 2;
    letter-spacing: 0.5px;
}

.button-arrow {
    transition: all 0.3s ease;
    opacity: 0.8;
}

.cinematic-button:hover .button-arrow {
    transform: translateX(5px);
    opacity: 1;
}

/* Borde sutil */
.cinematic-button::before {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    pointer-events: none;
}

/* Animación de parpadeo cinematográfico */
@keyframes text-flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        text-shadow: 0 0 15px var(--neon-primary), 0 0 30px rgba(255, 45, 45, 0.7), 0 0 10px rgba(255, 215, 0, 0.3);
    }

    20%, 24%, 55% {
        text-shadow: none;
    }
}

/* Responsive */
@media (max-width: 992px) {
    :root {
        --content-width: 65%;
    }

    .hero-description {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    :root {
        --content-width: 85%;
    }

    .hero-content {
        padding: 1.5rem;
    }

    .cta-button {
        padding: 0.9rem 1.8rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-content {
        width: 90%;
        padding: 1rem;
    }

    .title-line {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}
