/*========================================
            RESET
========================================*/

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

    font-family:Arial, Helvetica, sans-serif;

}

html{

    scroll-behavior:smooth;

}

body{

    background:#050505;

    color:#fff;

    overflow-x:hidden;

}


/*========================================
            VARIABLES
========================================*/

:root{

    --amarillo:#f9fd04;

    --negro:#050505;

    --gris:#151515;

    --gris2:#222222;

    --blanco:#ffffff;

}


/*========================================
            HEADER
========================================*/

header{

    position:fixed;

    top:18px;

    left:50%;

    transform:translateX(-50%);

    width:92%;

    max-width:1400px;

    height:75px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:0 35px;

    background:rgba(15,15,15,.65);

    backdrop-filter:blur(20px);

    -webkit-backdrop-filter:blur(20px);

    border:1px solid rgba(255,255,255,.08);

    border-radius:22px;

    z-index:9999;

    transition:.35s;
}

header:hover{

    border-color:rgba(249,253,4,.25);

    box-shadow:0 0 30px rgba(249,253,4,.12);

}

.logo{

    display:flex;

    align-items:center;

    gap:14px;

    color:white;

    font-size:1.7rem;

    font-weight:bold;

}

.logo-img{

    width:48px;

    height:48px;

    border-radius:50%;

}

.yellow{

    color:rgb(249,253,4);

}

.white{

    color:white;

}

nav ul{

    display:flex;

    gap:40px;

    list-style:none;

}

nav a{

    color:white;

    text-decoration:none;

    font-size:1rem;

    font-weight:600;

    transition:.3s;

    position:relative;

}

nav a:hover{

    color:rgb(249,253,4);

}

nav a::after{

    content:"";

    position:absolute;

    left:50%;

    bottom:-8px;

    width:0;

    height:2px;

    background:rgb(249,253,4);

    transition:.35s;

    transform:translateX(-50%);

}

nav a:hover::after{

    width:100%;

}

.menu-toggle{

    display:none;

    color:rgb(249,253,4);

    font-size:2rem;

    cursor:pointer;

}

@media (max-width:768px){

    header{
        position:fixed;
        top:10px;
        left:50%;
        transform:translateX(-50%);
        width:95%;
        height:70px;
        display:flex;
        justify-content:space-between;
        align-items:center;
        padding:0 18px;
        background:rgba(15,15,15,.92);
        backdrop-filter:blur(15px);
        -webkit-backdrop-filter:blur(15px);
        border-radius:18px;
        z-index:9999;
    }

    .logo{
        display:flex;
        align-items:center;
        gap:10px;
        font-size:1.2rem;
    }

    .logo-img{
        width:42px;
        height:42px;
    }

    .menu-toggle{
        display:block !important;
        font-size:2rem;
        color:#f9fd04;
        cursor:pointer;
    }

    nav{
        display:none;
        position:absolute;
        top:80px;
        left:0;
        width:100%;
        background:rgba(15,15,15,.97);
        border-radius:18px;
        overflow:hidden;
    }

    nav.active{
        display:block;
    }

    nav ul{
        flex-direction:column;
        gap:0;
    }

    nav li{
        width:100%;
    }

    nav a{
        display:block;
        padding:18px;
        text-align:center;
    }

    nav a::after{
        display:none;
    }

}

/*========================================
            HERO
========================================*/

.hero-eventos{

    position:relative;

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    overflow:hidden;

    padding:160px 10% 80px;

    background:

    linear-gradient(rgba(0,0,0,.78),rgba(0,0,0,.82)),

    url("imagenes/evento_fondo.jpg");

    background-size:cover;

    background-position:center;

}

.hero-overlay{

    position:absolute;

    inset:0;

    background:radial-gradient(circle,
    rgba(249,253,4,.10),
    transparent 70%);

}

.hero-content{

    position:relative;

    z-index:5;

    max-width:900px;

}

.mini-title{

    color:var(--amarillo);

    letter-spacing:6px;

    font-size:.9rem;

    margin-bottom:20px;

}

.hero-content h1{

    font-size:5rem;

    font-weight:900;

    line-height:1.05;

    margin-bottom:30px;

}

.hero-content h1 span{

    color:var(--amarillo);

}

.hero-content p{

    color:#d7d7d7;

    font-size:1.2rem;

    line-height:1.8;

    max-width:700px;

    margin:auto auto 45px;

}


/*========================================
            BOTONES HERO
========================================*/

.hero-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

.btn-primary{

    display:inline-block;

    padding:18px 45px;

    background:var(--amarillo);

    color:black;

    border-radius:50px;

    text-decoration:none;

    font-weight:bold;

    transition:.35s;

}

.btn-primary:hover{

    transform:translateY(-6px);

    box-shadow:0 0 25px rgba(249,253,4,.35);

}

.btn-secondary:hover{

    background:var(--amarillo);

    color:black;

}

.frase-divider{
    background:#000000;
    padding:20px;
    text-align:center;

    border-top:2px solid rgb(249,253,4);
    border-bottom:2px solid rgb(249,253,4);
}

.frase-divider span{
    color:rgb(255, 255, 255);
    font-weight:bold;
    letter-spacing:3px;
}



/*========================================
        TITULOS GENERALES
========================================*/

.section-header{

    text-align:center;

    max-width:900px;

    margin:0 auto 70px;

}

.section-subtitle{

    color:var(--amarillo);

    letter-spacing:5px;

    font-size:.9rem;

}

.section-header h2{

    margin:18px 0;

    font-size:3.8rem;

}

.section-header h2 span{

    color:var(--amarillo);

}

.section-header p{

    color:#cfcfcf;

    line-height:1.8;

    font-size:1.1rem;

}

/*========================================
        SECCIÓN EVENTOS
========================================*/

.eventos{

    padding:120px 8%;

    background:#080808;

}


/*========================================
            GRID
========================================*/

.eventos-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(350px,1fr));

    gap:35px;

}


/*========================================
        TARJETAS
========================================*/

.evento-card{

    background:linear-gradient(180deg,#181818,#101010);

    border-radius:28px;

    overflow:hidden;

    border:1px solid rgba(255,255,255,.08);

    transition:.4s;

    display:flex;

    flex-direction:column;

}

.evento-card:hover{

    transform:translateY(-12px);

    border-color:var(--amarillo);

    box-shadow:0 20px 45px rgba(249,253,4,.18);

}


/*========================================
        IMAGEN
========================================*/

.evento-imagen{

    position:relative;

    height:270px;

    overflow:hidden;

}

.evento-imagen img{

    width:100%;

    height:100%;

    object-fit:cover;

    transition:.5s;

}

.evento-card:hover .evento-imagen img{

    transform:scale(1.1);

}


/*========================================
        FECHA
========================================*/

.evento-fecha{

    position:absolute;

    top:20px;

    left:20px;

    background:var(--amarillo);

    color:black;

    padding:12px 20px;

    border-radius:50px;

    font-size:.9rem;

    font-weight:bold;

    box-shadow:0 10px 20px rgba(0,0,0,.3);

}


/*========================================
        CONTENIDO
========================================*/

.evento-info{

    padding:30px;

    display:flex;

    flex-direction:column;

    flex:1;

}

.evento-categoria{

    display:inline-block;

    width:max-content;

    background:rgba(249,253,4,.12);

    color:var(--amarillo);

    padding:8px 16px;

    border-radius:50px;

    font-size:.8rem;

    font-weight:bold;

    margin-bottom:18px;

}

.evento-info h3{

    font-size:2rem;

    margin-bottom:18px;

}

.evento-info p{

    color:#d0d0d0;

    line-height:1.8;

    margin-bottom:25px;

}


/*========================================
        DETALLES
========================================*/

.evento-detalles{

    list-style:none;

    display:flex;

    flex-direction:column;

    gap:12px;

    margin-bottom:30px;

}

.evento-detalles li{

    color:#e0e0e0;

    font-size:.98rem;

}


/*========================================
        BOTÓN
========================================*/

.btn-evento{

    margin-top:auto;

    display:inline-block;

    text-align:center;

    padding:16px;

    border-radius:50px;

    border:2px solid var(--amarillo);

    color:var(--amarillo);

    text-decoration:none;

    font-weight:bold;

    transition:.35s;

}

.btn-evento:hover{

    background:var(--amarillo);

    color:black;

    box-shadow:0 0 30px rgba(249,253,4,.35);

}



/*========================================
        EFECTO BRILLO
========================================*/

.evento-card::before{

    content:"";

    position:absolute;

    inset:0;

    opacity:0;

    transition:.5s;

    background:linear-gradient(135deg,
    transparent,
    rgba(255,255,255,.06),
    transparent);

    pointer-events:none;

}

.evento-card{

    position:relative;

}

.evento-card:hover::before{

    opacity:1;

}


/*========================================
        RESPONSIVE
========================================*/

@media(max-width:768px){

    .eventos{

        padding:90px 20px;

    }

    .eventos-grid{

        grid-template-columns:1fr;

    }

    .evento-imagen{

        height:230px;

    }

    .evento-info{

        padding:25px;

    }

    .evento-info h3{

        font-size:1.6rem;

    }

    .btn-evento{

        width:100%;

    }

}

/*========================================
        EVENTO DESTACADO
========================================*/

.evento-destacado{

    padding:130px 8%;

    background:#050505;

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:70px;

    align-items:center;

}


/*========================================
        IMAGEN
========================================*/

.destacado-imagen{

    position:relative;

    overflow:hidden;

    border-radius:30px;

    border:1px solid rgba(255,255,255,.08);

}

.destacado-imagen img{

    width:100%;

    display:block;

    transition:.6s;

}

.destacado-imagen:hover img{

    transform:scale(1.08);

}

.destacado-imagen::after{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(to top,
    rgba(0,0,0,.55),
    transparent);

}


/*========================================
        INFORMACIÓN
========================================*/

.destacado-info{

    display:flex;

    flex-direction:column;

    justify-content:center;

}

.destacado-etiqueta{

    display:inline-block;

    width:max-content;

    padding:10px 22px;

    border-radius:50px;

    background:rgba(249,253,4,.12);

    color:var(--amarillo);

    font-weight:bold;

    letter-spacing:2px;

    margin-bottom:25px;

}

.destacado-info h2{

    font-size:4rem;

    line-height:1.1;

    margin-bottom:25px;

}

.destacado-info h2 span{

    color:var(--amarillo);

}

.destacado-info p{

    color:#d2d2d2;

    line-height:1.9;

    font-size:1.1rem;

    margin-bottom:40px;

}


/*========================================
        DETALLES
========================================*/

.destacado-detalles{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:22px;

    margin-bottom:45px;

}

.detalle{

    background:#111;

    border:1px solid rgba(255,255,255,.06);

    border-radius:18px;

    padding:22px;

    transition:.35s;

}

.detalle:hover{

    transform:translateY(-5px);

    border-color:var(--amarillo);

}

.detalle h3{

    color:var(--amarillo);

    font-size:1rem;

    margin-bottom:10px;

}

.detalle span{

    color:white;

    font-size:1rem;

}


/*========================================
        CONTADOR
========================================*/

.contador{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:18px;

    margin-bottom:45px;

}

.contador-box{

    background:linear-gradient(180deg,#1b1b1b,#101010);

    border-radius:20px;

    text-align:center;

    padding:22px 10px;

    border:1px solid rgba(255,255,255,.06);

    transition:.35s;

}

.contador-box:hover{

    transform:translateY(-8px);

    border-color:var(--amarillo);

    box-shadow:0 15px 30px rgba(249,253,4,.15);

}

.contador-box h3{

    font-size:2.4rem;

    color:var(--amarillo);

    margin-bottom:10px;

}

.contador-box span{

    color:#d8d8d8;

    font-size:.95rem;

}


/*========================================
        BOTONES
========================================*/

.destacado-botones{

    display:flex;

    gap:20px;

    flex-wrap:wrap;

}

.destacado-botones .btn-primary{

    min-width:220px;

    text-align:center;

}

.destacado-botones .btn-secondary{

    min-width:220px;

    text-align:center;

}

.btn-secondary{
    display:inline-block;
    padding:18px 45px;
    background:var(--amarillo);
    color:black;
    border-radius:50px;
    text-decoration:none;
    font-weight:bold;
    border:none;
    cursor:pointer;
    transition:.35s;
}

.btn-secondary:hover{
    transform:translateY(-6px);
    box-shadow:0 0 25px rgba(249,253,4,.35);
    background:var(--amarillo);
    color:black;
}

/*========================================
        RESPONSIVE
========================================*/

@media(max-width:992px){

    .evento-destacado{

        grid-template-columns:1fr;

        gap:50px;

    }

    .destacado-info{

        text-align:center;

    }

    .destacado-etiqueta{

        margin:auto auto 25px;

    }

    .destacado-info h2{

        font-size:3rem;

    }

}

@media(max-width:768px){

    .evento-destacado{

        padding:90px 20px;

    }

    .destacado-info h2{

        font-size:2.4rem;

    }

    .destacado-detalles{

        grid-template-columns:1fr;

    }

    .contador{

        grid-template-columns:repeat(2,1fr);

    }

    .destacado-botones{

        flex-direction:column;

    }

    .destacado-botones .btn-primary,

    .destacado-botones .btn-secondary{

        width:100%;

    }

}

/*========================================
            GALERÍA
========================================*/

.galeria-eventos{

    padding:120px 8%;

    background:#080808;

}

.galeria-grid{

    margin-top:70px;

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:25px;

}


/*========================================
        TARJETAS GALERÍA
========================================*/

.galeria-item{

    position:relative;

    overflow:hidden;

    border-radius:25px;

    border:1px solid rgba(255,255,255,.08);

    cursor:pointer;

    transition:.4s;

}

.galeria-item:hover{

    border-color:var(--amarillo);

    box-shadow:0 15px 35px rgba(249,253,4,.18);

}

.galeria-item img{

    width:100%;

    height:320px;

    object-fit:cover;

    display:block;

    transition:.6s;

}

.galeria-item:hover img{

    transform:scale(1.12);

}


/*========================================
        OVERLAY
========================================*/

.galeria-overlay{

    position:absolute;

    inset:0;

    display:flex;

    flex-direction:column;

    justify-content:flex-end;

    padding:30px;

    background:linear-gradient(
        transparent,
        rgba(0,0,0,.85)
    );

    opacity:0;

    transition:.4s;

}

.galeria-item:hover .galeria-overlay{

    opacity:1;

}

.galeria-overlay h3{

    color:white;

    font-size:1.8rem;

    margin-bottom:8px;

}

.galeria-overlay p{

    color:var(--amarillo);

    font-size:1rem;

}


/*========================================
        EFECTO BRILLO
========================================*/

.galeria-item::before{

    content:"";

    position:absolute;

    top:-120%;

    left:-40%;

    width:60%;

    height:220%;

    background:rgba(255,255,255,.18);

    transform:rotate(25deg);

    transition:.7s;

    z-index:2;

}

.galeria-item:hover::before{

    left:120%;

}


/*========================================
        RESPONSIVE TABLET
========================================*/

@media(max-width:992px){

    .galeria-grid{

        grid-template-columns:repeat(2,1fr);

    }

}


/*========================================
        RESPONSIVE CELULAR
========================================*/

@media(max-width:768px){

    .galeria-eventos{

        padding:90px 20px;

    }

    .galeria-grid{

        grid-template-columns:1fr;

        gap:20px;

    }

    .galeria-item img{

        height:260px;

    }

    .galeria-overlay{

        opacity:1;

        background:linear-gradient(
            transparent,
            rgba(0,0,0,.78)
        );

    }

    .galeria-overlay h3{

        font-size:1.4rem;

    }

}


/*========================================
        ANIMACIONES
========================================*/

@keyframes aparecer{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.hero-content{

    animation:aparecer 1s ease;

}

.evento-card{

    animation:aparecer .8s ease;

}

.destacado-info{

    animation:aparecer .9s ease;

}

.galeria-item{

    animation:aparecer .9s ease;

}


/*========================================
        SCROLLBAR
========================================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#0d0d0d;

}

::-webkit-scrollbar-thumb{

    background:var(--amarillo);

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:#fff000;

}


/*========================================
        SELECCIÓN DE TEXTO
========================================*/

::selection{

    background:var(--amarillo);

    color:black;

}


/*========================================
        IMÁGENES
========================================*/

img{

    max-width:100%;

    display:block;

}


/*========================================
        RESPONSIVE GENERAL
========================================*/

@media(max-width:1100px){

    .hero-content h1{

        font-size:4rem;

    }

    .section-header h2{

        font-size:3rem;

    }

}

@media(max-width:768px){

    header{

        width:95%;

        padding:15px 20px;

    }

    .logo{

        font-size:1.2rem;

    }

    .logo-img{

        width:45px;

        height:45px;

    }

    .hero-eventos{

        padding:130px 20px 80px;

    }

    .hero-content h1{

        font-size:2.7rem;

    }

    .hero-content p{

        font-size:1rem;

    }

    .hero-buttons{

        flex-direction:column;

        align-items:center;

    }

    .btn-primary,

    .btn-secondary{

        width:100%;

        max-width:320px;

        text-align:center;

    }

    .section-header h2{

        font-size:2.3rem;

    }

    .section-header p{

        font-size:1rem;

    }

    .footer-contenido{

        grid-template-columns:1fr;

        text-align:center;

    }

    .footer-logo{

        justify-content:center;

    }

    .footer-redes .social{

        justify-content:center;

    }

}

@media(max-width:480px){

    .hero-content h1{

        font-size:2.2rem;

    }

    .mini-title{

        letter-spacing:3px;

        font-size:.75rem;

    }

    .section-header h2{

        font-size:2rem;

    }

}




/* FOOTER */

.footer{

    background:#0d0d0d;

    border-top:2px solid #FFD400;

    padding:25px 20px;

    text-align:center;

}

.footer-content p{

    margin:6px 0;

    color:#bdbdbd;

    font-size:15px;

}

.footer-content strong{

    color:#FFD400;

}

.footer-content p:last-child{

    color:#777;

    font-size:14px;

}


/* =========================
   MODAL CARTA RESPONSIVA
========================= */

.modal-imagen {
    display: none !important;
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 99999 !important;

    background: rgba(0, 0, 0, 0.96) !important;

    align-items: center !important;
    justify-content: center !important;

    padding: 40px !important;
    box-sizing: border-box !important;
}

.modal-imagen.activo {
    display: flex !important;
}

.imagen-modal {
    display: block !important;

    max-width: 85% !important;
    max-height: 85vh !important;

    width: auto !important;
    height: auto !important;

    object-fit: contain !important;

    border-radius: 22px !important;
    border: 2px solid #f9fd04 !important;

    box-shadow: 0 0 35px rgba(249, 253, 4, 0.18) !important;

    animation: aparecerModal .35s ease;
}
.cerrar-modal{
    position:absolute;
    top:30px;
    right:40px;
    width:50px;
    height:50px;

    display:flex;
    align-items:center;
    justify-content:center;

    background:transparent;
    border:2px solid #f9fd04;
    border-radius:50%;

    color:#f9fd04;
    font-size:32px;
    font-weight:bold;
    line-height:1;

    cursor:pointer;
    transition:.35s;
    appearance:none;
    -webkit-appearance:none;
    outline:none;
}

.cerrar-modal:hover{
    background:#f9fd04;
    color:#000;
    transform:rotate(90deg);
}

@keyframes aparecerModal {
    from {
        opacity: 0;
        transform: scale(.92);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.evento-media{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.evento-miniaturas{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:12px;
    width:100%;
}

.evento-miniaturas img{
    width:100%;
    height:135px;
    object-fit:cover;
    border-radius:16px;
    border:2px solid rgba(255,255,255,.08);
    cursor:pointer;
    transition:.3s;
}

.evento-miniaturas img:hover{
    transform:translateY(-4px) scale(1.04);
    border-color:var(--amarillo);
    box-shadow:0 0 18px rgba(249,253,4,.3);
}

.evento-miniaturas img{
    cursor: zoom-in;
}

.destacado-imagen img{
    cursor: zoom-in;
}

@media(max-width:768px){

    .evento-miniaturas img{
        width:95px;
        height:115px;
    }

}