﻿:root {
    /* Nueva paleta azul/verde neón */
    --neon-primary: #00F0FF; /* Azul eléctrico */
    --neon-secondary: #00FF9D; /* Verde neón */
    --dark-bg: #0A0E17;
    --text-white: #FFFFFF;
    --content-width: 55%;
}

/* Estructura base */
.publicidad-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;
}

/* Imagen de fondo específica */
.hero-img-bg {
    background-image: url('/img/tecnicaturas/publicidad_001.png');
}

/* Overlay de gradiente */
.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 */
.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 */
.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(0, 240, 255, 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 */
/* Botón estilo publicidad creativa */
.ad-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #ff3366 0%, #ff8c42 100%);
    color: white;
    padding: 14px 32px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 51, 102, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 1;
}

.button-icon {
    font-size: 1.3rem;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

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

/* Efecto de destello publicitario */
.button-sparkle {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    filter: blur(5px);
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.6s ease;
    z-index: -1;
}

/* Efectos hover */
.ad-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 51, 102, 0.6);
    background: linear-gradient(135deg, #ff1a53 0%, #ff7b35 100%);
}

    .ad-button:hover .button-icon {
        transform: rotate(-15deg) scale(1.1);
        color: #fff200;
    }

    .ad-button:hover .button-sparkle {
        opacity: 1;
        transform: scale(1.5) translate(30px, 30px);
    }

/* Efecto de click publicitario */
.ad-button:active {
    transform: translateY(1px);
}

/* Animación de brillo */
@keyframes ad-shine {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.ad-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient( 90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100% );
    background-size: 200% 200%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ad-button:hover::before {
    opacity: 1;
    animation: ad-shine 1.5s infinite;
}

/* Efecto de texto llamativo */
.ad-button .button-text {
    position: relative;
    display: inline-block;
}

    .ad-button .button-text::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 0;
        width: 0;
        height: 2px;
        background: #fff200;
        transition: width 0.3s ease;
    }

.ad-button:hover .button-text::after {
    width: 100%;
}

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

    .button-icon {
        font-size: 1.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;
    }

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