/* =========================
RESET
========================= */

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

body{
background:#f5f6f8;
color:#111;
}


/* =========================
HERO
========================= */

.hero{
height:100vh;
background-image:url('img/eventos-hero.jpg');
background-size:cover;
background-position:center;

position:relative;
display:flex;
align-items:center;

color:white;
}

.overlay{
position:absolute;
width:100%;
height:100%;

background:linear-gradient(
90deg,
rgba(0,0,0,.7),
rgba(0,0,0,.2)
);
}

.hero-content{
position:relative;
z-index:2;
}

.subtitle{
font-size:13px;
letter-spacing:2px;
margin-bottom:20px;
opacity:.8;
}

.hero h1{
font-size:70px;
font-weight:800;
line-height:75px;
margin-bottom:30px;
}

.scroll{
font-size:14px;
opacity:.8;
cursor:pointer;
}


/* EVENTS SECTION */

.events-section{
padding:120px 20px;
background:#f4f7fb;
}

.events-header{
text-align:center;
max-width:700px;
margin:auto;
margin-bottom:70px;
}

.events-header span{
font-size:12px;
letter-spacing:2px;
color:#1b67d3;
font-weight:600;
}

.events-header h2{
font-size:38px;
margin:10px 0;
color:#1b2a41;
}

.events-header p{
color:#6c7a89;
}


/* GRID */

.events-grid{
max-width:1200px;
margin:auto;
display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;
}


/* CARD */

.event-card{
background:white;
border-radius:18px;
overflow:hidden;
box-shadow:0 15px 40px rgba(0,0,0,0.08);
transition:.35s;
}

.event-card img{
width:100%;
height:210px;
object-fit:cover;
}

.event-card:hover{
transform:translateY(-8px);
box-shadow:0 25px 50px rgba(0,0,0,0.12);
}


/* CONTENT */

.event-content{
padding:25px;
}

.event-tag{
display:inline-block;
background:#1b67d3;
color:white;
font-size:11px;
padding:4px 10px;
border-radius:20px;
margin-bottom:10px;
}

.event-card h3{
font-size:18px;
margin-bottom:15px;
color:#1b2a41;
}

.event-meta{
font-size:13px;
color:#7a869a;
}

.event-meta p{
margin-bottom:5px;
}


/* HOVER COLOR */

.event-card:hover .event-tag{
background:#ff7a00;
}


/* RESPONSIVE */

@media(max-width:900px){

.events-grid{
grid-template-columns:1fr 1fr;
}

}

@media(max-width:600px){

.events-grid{
grid-template-columns:1fr;
}

.events-header h2{
font-size:30px;
}

}