/* =========================
   CORRALON ONLINE
   STYLE.CSS
========================= */

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

html{
scroll-behavior:smooth;
}

body{
font-family:Arial, Helvetica, sans-serif;
background:#f5f5f5;
color:#222;
line-height:1.6;
}

/* =========================
   CONTAINER
========================= */

.container{
width:90%;
max-width:1200px;
margin:auto;
}

/* =========================
   HEADER
========================= */

header{
background:#111;
padding:20px 0;
position:sticky;
top:0;
z-index:1000;
box-shadow:0 2px 10px rgba(0,0,0,.2);
}

header .container{
display:flex;
justify-content:space-between;
align-items:center;
}

.logo img{
height:60px;
}

nav ul{
display:flex;
gap:25px;
list-style:none;
}

nav a{
text-decoration:none;
color:#fff;
font-weight:bold;
transition:.3s;
}

nav a:hover{
color:#0099ff;
}

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

.hero{
position:relative;
height:90vh;

background:url("img/hero-corralon.jpg");

background-size:cover;
background-position:center;
background-repeat:no-repeat;

display:flex;
justify-content:center;
align-items:center;
text-align:center;
}

.overlay{
position:absolute;
width:100%;
height:100%;
background:rgba(0,0,0,.65);
}

.hero-content{
position:relative;
z-index:2;
color:white;
max-width:800px;
padding:20px;
}

.hero h1{

margin-bottom:20px;
}

.hero p{
font-size:1.3rem;
margin-bottom:30px;
}

/* =========================
   BOTONES
========================= */

.btn,
.btn-whatsapp{

display:inline-block;

padding:15px 30px;

border-radius:8px;

font-weight:bold;

text-decoration:none;

margin:10px;

transition:.3s;

}

.btn{
background:#008cff;
color:white;
}

.btn:hover{
background:#006ad1;
}

.btn-whatsapp{
background:#25D366;
color:white;
}

.btn-whatsapp:hover{
background:#1ea952;
}

/* =========================
   BENEFICIOS
========================= */

.beneficios{
padding:80px 0;
background:white;
}

.beneficios h2{
text-align:center;
font-size:2.2rem;
margin-bottom:50px;
}

.cards{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:25px;
}

.card{
background:white;
padding:30px;
border-radius:12px;
box-shadow:0 4px 15px rgba(0,0,0,.1);
transition:.3s;
}

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

.card h3{
margin-bottom:15px;
color:#008cff;
}

/* =========================
   COMBOS
========================= */

.combos{
padding:80px 0;
background:#111;
color:white;
}

.combos h2{
text-align:center;
font-size:2.3rem;
margin-bottom:50px;
}

.combo-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
gap:30px;
}

.combo-card{
background:#1b1b1b;
border-radius:15px;
overflow:hidden;
box-shadow:0 5px 20px rgba(0,0,0,.3);
}

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

.combo-card h3{
padding:20px 20px 10px;
color:#00a2ff;
}

.combo-card h4{
padding:0 20px;
font-size:2rem;
color:#25D366;
}

.combo-card ul{
padding:20px 40px;
}

.combo-card p{
padding:0 20px 25px;
}

/* =========================
   GALERIA
========================= */

#galeria{
padding:80px 0;
background:#f7f7f7;
}

#galeria h2{
text-align:center;
margin-bottom:40px;
font-size:2.2rem;
}

.galeria-grid{
width:90%;
max-width:1200px;
margin:auto;

display:grid;

grid-template-columns:
repeat(auto-fit,minmax(280px,1fr));

gap:20px;
}

.galeria-grid img{
width:100%;
height:260px;
object-fit:cover;
border-radius:12px;
transition:.3s;
}

.galeria-grid img:hover{
transform:scale(1.03);
}

/* =========================
   CTA FINAL
========================= */

.cta{
padding:90px 20px;
text-align:center;
background:#008cff;
color:white;
}

.cta h2{
font-size:3rem;
margin-bottom:20px;
}

.cta p{
max-width:800px;
margin:auto;
margin-bottom:30px;
}

/* =========================
   FOOTER
========================= */

footer{
background:#111;
color:white;
text-align:center;
padding:50px 20px;
}

footer h3{
margin-bottom:15px;
color:#0099ff;
}

footer p{
margin-bottom:10px;
}

/* =========================
   WHATSAPP FLOTANTE
========================= */

.whatsapp-float{

position:fixed;

bottom:25px;

right:25px;

background:#25D366;

color:white;

padding:15px 20px;

border-radius:50px;

text-decoration:none;

font-weight:bold;

box-shadow:0 5px 15px rgba(0,0,0,.3);

z-index:9999;

}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:768px){

header .container{
flex-direction:column;
gap:20px;
}

nav ul{
flex-wrap:wrap;
justify-content:center;
}

.hero h1{
font-size:2.4rem;
}

.hero p{
font-size:1rem;
}

.cta h2{
font-size:2rem;
}

}
/* =========================
   HERO RESPONSIVE
========================= */

.hero{
    position:relative;
    height:75vh;
    background:url("img/hero-corralon.jpg");
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.overlay{
    position:absolute;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.65);
}

.hero-content{
    position:relative;
    z-index:2;
    color:white;
    max-width:800px;
    padding:20px;
}

.hero h1{
    font-size:2.8rem;
    line-height:1.2;
    margin-bottom:20px;
    font-weight:700;
}

.hero p{
    font-size:1.2rem;
    margin-bottom:30px;
}

@media(max-width:768px){

    .hero{
        height:75vh;
    }

    .hero h1{
        font-size:2.4rem;
        line-height:1.2;
    }

    .hero p{
        font-size:1rem;
    }

}

@media(max-width:480px){

    .hero h1{
        font-size:2rem;
    }

    .hero p{
        font-size:.95rem;
    }

}