/* RESET */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#0b0b0b;
    color:white;
}

/* MENÚ */

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    padding:20px 60px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:rgba(0,0,0,.45);
    backdrop-filter:blur(10px);
    z-index:1000;
}

.logo{
    font-family:'Cinzel',serif;
    font-size:28px;
    color:#D4AF37;
    font-weight:bold;
}

nav a{
    color:white;
    text-decoration:none;
    margin-left:35px;
    transition:.3s;
    font-weight:500;
}

nav a:hover{
    color:#D4AF37;
}

/* PORTADA */

.hero{
    height:100vh;
    background-image: url("fondo.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display:flex;
    justify-content:center;
    align-items:center;
    position:relative;
}

.overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.45);
}

.contenido{
    position:relative;
    z-index:2;
}

.contenido h2{
    font-family:'Great Vibes',cursive;
    font-size:55px;
    color:#D4AF37;
}

.contenido h1{
    font-family:'Cinzel',serif;
    font-size:65px;
    margin-top:10px;
}

.contenido p{
    margin:25px 0;
    font-size:20px;
    letter-spacing:2px;
}

.boton{
    display:inline-block;
    padding:15px 35px;
    background:#D4AF37;
    color:black;
    text-decoration:none;
    border-radius:40px;
    font-weight:bold;
    transition:.3s;
}

.boton:hover{
    transform:scale(1.08);
}

/* SECCIONES */

section{
    padding:100px 10%;
}

section h2{
    text-align:center;
    font-size:40px;
    margin-bottom:50px;
    color:#D4AF37;
}

footer{
    background:#111;
    padding:30px;
    text-align:center;
    color:#aaa;
}
/* EVENTOS */

.eventos{
    background:#111;
}

.contenedor-eventos{
    display:flex;
    justify-content:center;
    gap:35px;
    flex-wrap:wrap;
}

.card{
    width:350px;
    background:#1b1b1b;
    border-radius:18px;
    overflow:hidden;
    transition:.4s;
    box-shadow:0 10px 25px rgba(0,0,0,.4);
}

.card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(212,175,55,.3);
}

.card img{
    width:100%;
    height:420px;
    object-fit:cover;
}

.info{
    padding:25px;
    text-align:center;
}

.info h3{
    color:#D4AF37;
    margin-bottom:15px;
    font-size:24px;
}

.info p{
    color:#ccc;
    margin-bottom:20px;
}

.info button{
    background:#D4AF37;
    color:#000;
    border:none;
    padding:12px 30px;
    border-radius:30px;
    font-weight:bold;
    cursor:pointer;
    transition:.3s;
}

.info button:hover{
    transform:scale(1.05);
}
/*==========================
 QUIÉNES SOMOS
===========================*/

.nosotros{

    background:#0d0d0d;
    padding:120px 15%;
    text-align:center;

}

.contenido-nosotros{

    max-width:900px;
    margin:auto;

}

.subtitulo{

    color:#D4AF37;
    letter-spacing:4px;
    font-size:15px;
    font-weight:600;

}

.contenido-nosotros h2{

    font-size:48px;
    margin-top:15px;
    margin-bottom:15px;
    font-family:'Cinzel', serif;

}

.linea{

    width:90px;
    height:4px;
    background:#D4AF37;
    margin:25px auto 40px;
    border-radius:10px;

}

.contenido-nosotros p{

    font-size:19px;
    line-height:2;
    color:#d7d7d7;

}
/*==========================
        CONTACTO
==========================*/

.contacto{

    background:#111;
    padding:120px 10%;

}

.titulo-contacto{

    text-align:center;
    margin-bottom:70px;

}

.titulo-contacto span{

    color:#D4AF37;
    letter-spacing:3px;
    font-size:14px;
    font-weight:600;

}

.titulo-contacto h2{

    font-family:'Cinzel', serif;
    font-size:45px;
    margin:15px 0;

}

.titulo-contacto p{

    color:#cfcfcf;
    max-width:700px;
    margin:auto;
    line-height:1.8;

}

.contacto-container{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;

}

.contacto-card{

    background:#1a1a1a;
    border:1px solid rgba(212,175,55,.2);
    border-radius:20px;
    padding:45px 30px;
    text-align:center;
    transition:.4s;

}

.contacto-card:hover{

    transform:translateY(-10px);
    border-color:#D4AF37;
    box-shadow:0 20px 40px rgba(212,175,55,.15);

}

.icono{

    font-size:45px;
    margin-bottom:20px;

}

.contacto-card h3{

    color:#D4AF37;
    margin-bottom:15px;

}

.contacto-card p{

    color:#ddd;

}

.redes-sociales{

    display:flex;
    flex-direction:column;
    gap:15px;
    margin-top:20px;

}

.redes-sociales a{

    color:white;
    text-decoration:none;
    transition:.3s;

}

.redes-sociales a:hover{

    color:#D4AF37;
}

/* ==========================
   RESPONSIVE DESIGN
========================== */

/* Tablets */
@media (max-width: 992px) {

    header{
        padding: 15px 30px;
    }

    .logo{
        font-size: 22px;
    }

    nav a{
        margin-left: 20px;
        font-size: 14px;
    }

    .contenido h1{
        font-size: 50px;
    }

    .contenido h2{
        font-size: 40px;
    }

    .contenedor-eventos{
        justify-content: center;
    }

    .card{
        width: 320px;
    }
}

/* Móviles */
@media (max-width: 768px) {

    header{
        flex-direction: column;
        padding: 15px;
    }

    nav{
        margin-top: 15px;
    }

    nav a{
        margin: 0 10px;
        font-size: 14px;
    }

    .logo{
        font-size: 20px;
        text-align: center;
    }

    .contenido h1{
        font-size: 35px;
    }

    .contenido h2{
        font-size: 30px;
    }

    .contenido p{
        font-size: 16px;
    }

    .boton{
        padding: 12px 25px;
    }

    section{
        padding: 70px 5%;
    }

    .card{
        width: 100%;
        max-width: 350px;
    }

    .contacto-container{
        grid-template-columns: 1fr;
    }

    .redes-sociales{
        gap: 15px;
    }
}

/* Móviles pequeños */
@media (max-width: 480px) {

    .contenido h1{
        font-size: 28px;
    }

    .contenido h2{
        font-size: 24px;
    }

    .logo{
        font-size: 18px;
    }

    nav a{
        display: block;
        margin: 8px 0;
    }

    .contacto-card{
        padding: 30px 20px;
    }
}
.menu-icon{
    font-size: 32px;
    color: #D4AF37;
    cursor: pointer;
}

nav{
    position: fixed;
    top: 0;
    right: -300px;
    width: 250px;
    height: 100vh;
    background: rgba(0,0,0,0.95);
    display: flex;
    flex-direction: column;
    padding-top: 100px;
    transition: 0.4s;
}

nav.active{
    right: 0;
}

nav a{
    color: white;
    text-decoration: none;
    padding: 20px 40px;
    font-size: 20px;
}

nav a:hover{
    color: #D4AF37;
}