﻿:root {
    /* Nueva paleta para Comunicación */
    --neon-primary: #8A2BE2; /* Violeta eléctrico */
    --neon-secondary: #FF44CC; /* Rosa neón */
    --dark-bg: #0A0E17;
    --text-white: #FFFFFF;
    --content-width: 55%;
}

/* Estructura base (igual al original) */
.comunicacion-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;
}

/* Estilo ESPECÍFICO para imagen */
.hero-img-bg {
    background-image: url('/img/tecnicaturas/comunicacion_001.png');
    background-size: cover;
    background-position: center;
}

/* Fallback para video 
*/ .hero-img-fallback {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url('/img/tecnicaturas/comunicacion_001.png');
    background-size: cover;
}

/* Overlay IDÉNTICO al original */
.hero-gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(10, 14, 23, 0.9) 20%, rgba(10, 14, 23, 0.6) 30%, transparent 60%);
    z-index: 2;
}

/* Contenido (copiado directamente de tu ejemplo) */
.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 y efectos (iguales) */
.title-wrapper {
    margin-bottom: 1.5rem;
}

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

.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(138, 43, 226, 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);
}

/* Botón con nuevos colores pero mismo estilo */
/* Botón estilo comunicación moderna */
.media-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #0066cc 0%, #004080 100%);
    color: white;
    padding: 14px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
    z-index: 1;
}

.button-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.button-text {
    position: relative;
    z-index: 2;
}

/* Efecto de ondas de comunicación */
.button-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0) 70%);
    opacity: 0;
    border-radius: 50px;
    transform: scale(0);
    transition: all 0.5s ease;
    z-index: -1;
}

/* Efectos hover */
.media-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
    background: linear-gradient(135deg, #0077e6 0%, #0052a3 100%);
}

    .media-button:hover .button-icon {
        transform: rotate(15deg);
    }

    .media-button:hover .button-wave {
        opacity: 1;
        transform: scale(1.5);
    }

/* Efecto de pulsación */
@keyframes wave-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

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

    .media-button:active .button-wave {
        animation: wave-pulse 0.5s ease-out;
    }

/* Efecto de señal de comunicación */
@keyframes signal {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}

.media-button .button-icon {
    animation: signal 2s infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .media-button {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .button-icon {
        font-size: 1rem;
    }
}
/* Animación de parpadeo (debe incluirse) */
@keyframes text-flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        text-shadow: 0 0 15px var(--neon-primary), 0 0 30px rgba(0, 240, 255, 0.5);
    }

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

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

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

    .hero-content {
        padding: 1.5rem;
    }

    .pixel-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;
    }
}
