/* css/styles.css */
:root {
    --color-primario: #1b003c;
    --color-secundario: #d2006e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    padding-top: 80px;
    font-family: 'Roboto', sans-serif;
    background-color: var(--color-primario);
    color: #ffffff;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

.header-principal {
    background-color: var(--color-primario);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navegacion {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
}

.menu {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 60px;
}

.menu li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.menu li a:hover {
    color: var(--color-secundario);
}

.menu li a.btn-comprar {
    background-color: #ffffff;
    color: var(--color-primario);
    padding: 10px 20px;
    border-radius: 5px;
}

.menu li a.btn-comprar:hover {
    background-color: var(--color-secundario);
    color: #ffffff;
}

.hero {
    background-color: var(--color-primario);
    padding: 60px 20px;
    display: flex;
    justify-content: center;
}

.hero-contenedor {
    display: flex;
    width: 100%;
    max-width: 1200px;
    align-items: center;
    gap: 40px;
}

.hero-col-izq {
    width: 35%;
    display: flex;
    justify-content: center;
}

.hero-col-der {
    width: 65%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.hero-col-izq img,
.hero-col-der img {
    max-width: 100%;
    height: auto;
}

.hero-col-der .img-produce {
    max-width: 200px;
    align-self: flex-end;
    margin-top: -15px;
}

.contador {
    width: 100%;
    background-color: #ffffff;
    color: var(--color-primario);
    text-transform: uppercase;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    padding: 12px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
}

.contador .texto-faltan {
    color: var(--color-secundario);
    font-size: 1.6rem;
    font-weight: 900;
    margin-right: 15px;
}

.contador span:not(.texto-faltan) {
    font-size: 1.8rem;
    font-weight: 900;
    margin: 0 5px;
}

.parallax-summit {
    background-image: url('../img/hero/sports_summit.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    width: 100%;
}

.speakers-section {
    background-color: var(--color-primario);
    padding: 80px 20px;
    text-align: center;
}

/* Estilos unificados para títulos de sección */
.titulo-seccion {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 60px;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 20px;
    display: inline-block;
}

.titulo-seccion::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background-color: var(--color-secundario);
    border-radius: 10px;
}

.speakers-section .titulo-seccion,
.marcas-section .titulo-seccion {
    color: #ffffff;
}

.temas-section .titulo-seccion {
    color: var(--color-primario);
}

.speakers-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.speaker-card {
    width: calc(25% - 30px);
    min-width: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px 20px;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.speaker-card:hover {
    transform: translateY(-10px);
}

.speaker-card img {
    width: 214px;
    height: 214px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.speaker-card h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 25px;
}

.speaker-card hr {
    width: 60px;
    height: 3px;
    background-color: var(--color-secundario);
    border: none;
    margin: 15px 0;
}

.speaker-card p {
    color: #e0e0e0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.temas-section {
    background-color: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

.temas-section h2 {
    /* Los estilos base vienen de .titulo-seccion */
}

.temas-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.tema-item {
    width: calc(33.333% - 40px);
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
}

.tema-item img {
    width: 130px;
    height: 130px;
    object-fit: contain;
    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tema-item:hover img {
    transform: scale(1.15) translateY(-10px);
}

.tema-item p {
    color: var(--color-primario);
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.tema-item:hover p {
    color: var(--color-secundario);
}

.parallax-agenda {
    background-image: url('../img/agenda.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    width: 100%;
}

/* SECCIÓN TICKETS */
.tickets-section {
    background-color: #ffffff;
    padding: 80px 20px;
    text-align: center;
}

.tickets-contenedor {
    max-width: 1000px;
    margin: 0 auto;
}

.tickets-titulo {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--color-primario);
    margin-bottom: 20px;
    line-height: 1.4;
    letter-spacing: 2px;
}

.tickets-fecha {
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-primario);
    margin: 20px 0 40px;
    position: relative;
    padding-top: 20px;
    letter-spacing: 1px;
}

.tickets-fecha::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background-color: var(--color-primario);
}

@media (min-width: 993px) {
    .tickets-titulo {
        font-size: 2.5rem;
    }
    .tickets-fecha {
        font-size: 4rem;
    }
}

.tickets-box {
    border: 1px solid var(--color-primario);
    border-radius: 8px;
    padding: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.ticket-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--color-primario);
    transition: transform 0.3s ease;
    background-color: #ffffff;
}

.ticket-card:hover {
    transform: translateY(-5px);
}

.ticket-header {
    padding: 10px;
    text-align: center;
    color: #ffffff;
}

.ticket-general .ticket-header {
    background: linear-gradient(to right, #0b0235, #222a9f);
}

.ticket-vip .ticket-header {
    background: linear-gradient(to right, #1d0131, #b50060);
}

.ticket-header h4 {
    font-size: 1.8rem;
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
}

.ticket-body {
    display: flex;
    justify-content: space-around;
    padding: 20px 10px;
}

.ticket-precio {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--color-primario);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.ticket-precio:hover {
    transform: scale(1.05);
    opacity: 0.8;
}

.ticket-precio .precio {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
}

.ticket-precio .detalle {
    font-size: 0.9rem;
    font-weight: 900;
    margin-top: 5px;
    text-transform: uppercase;
}

.btn-comprar-mini {
    background-color: var(--color-secundario);
    color: #ffffff;
    padding: 6px 15px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 10px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.ticket-precio:hover .btn-comprar-mini {
    background-color: var(--color-primario);
}

.ticket-linea {
    height: 3px;
    background-color: var(--color-primario);
    margin: 0 10px 10px 10px;
}

.marcas-section {
    background-color: var(--color-primario);
    padding: 80px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.marcas-contenedor {
    width: 100%;
    max-width: 1506px;
    display: flex;
    justify-content: center;
}

.img-marcas {
    max-width: 80%;
    height: auto;
}

.menu-toggle {
    display: none;
    color: #ffffff;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

@media (max-width: 992px) {
    .speaker-card {
        width: calc(50% - 30px);
    }

    .tema-item {
        width: calc(50% - 40px);
    }
}

@media (max-width: 768px) {

    .menu-toggle {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--color-primario);
        position: absolute;
        top: 100%;
        left: 0;
        padding: 20px 0;
        gap: 25px;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
        z-index: 999;
    }

    .menu.activo {
        display: flex;
    }

    .hero-contenedor {
        flex-direction: column;
    }

    .hero-col-izq,
    .hero-col-der {
        width: 100%;
    }

    .hero-col-der .img-produce {
        align-self: center;
        margin-top: 10px;
    }

    .contador {
        font-size: 0.8rem;
        padding: 10px 5px;
        white-space: normal;
        line-height: 2;
    }

    .contador .texto-faltan {
        font-size: 1rem;
        margin-right: 5px;
        display: block;
    }

    .contador span:not(.texto-faltan) {
        font-size: 1.1rem;
    }

    .parallax-summit,
    .parallax-agenda {
        background-attachment: scroll;
        height: 50vh;
    }

    .parallax-agenda {
        background-position: left center;
    }

    .titulo-seccion {
        font-size: 1.5rem;
        margin-bottom: 30px;
        padding-bottom: 12px;
    }

    .titulo-seccion::after {
        width: 60px;
        height: 4px;
    }

    .speaker-card {
        width: 100%;
    }

    .tema-item {
        width: 100%;
    }

    .tickets-box {
        flex-direction: column;
    }
    
    .tickets-titulo {
        font-size: 1.3rem;
    }

    .tickets-fecha {
        font-size: 2rem;
    }

    .ticket-precio .precio {
        font-size: 2.8rem;
    }

    .marcas-section {
        padding: 50px 20px;
    }

    .img-marcas {
        max-width: 100%;
    }

    .media-partners-contenedor {
        justify-content: center;
    }

    .media-partners-track {
        animation: none;
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .hide-desktop {
        display: none;
    }

    .img-media-partners {
        width: 100%;
        max-width: 100%;
        flex-shrink: 1;
    }
}

/* MEDIA PARTNERS STYLES */
.mt-50 {
    margin-top: 50px;
}

.media-partners-contenedor {
    width: 100%;
    max-width: 1653px;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
}

.media-partners-track {
    display: flex;
    justify-content: center;
    width: 100%;
}

.img-media-partners {
    max-width: 80%;
    height: auto;
}

.hide-desktop {
    display: none;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* FOOTER STYLES */
.footer-principal {
    background-color: var(--color-primario);
    padding: 40px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-contenedor {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-izq {
    display: flex;
    flex: 1;
    justify-content: flex-start;
}

.footer-izq img {
    max-width: 100%;
    width: 140px;
    height: auto;
}

.social-icon {
    color: #ffffff;
    transition: color 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon:hover {
    color: var(--color-secundario);
    transform: scale(1.1);
}

.footer-centro {
    flex: 1;
    text-align: center;
}

.footer-centro p {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 1px;
}

.footer-der {
    flex: 1;
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

@media (max-width: 768px) {
    .footer-contenedor {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .footer-izq {
        order: 1;
        justify-content: center;
    }

    .footer-centro {
        order: 2;
    }

    .footer-der {
        order: 3;
        justify-content: center;
    }
}