/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
}

html{
scroll-behavior:smooth;
}

body{
background:#f5f7fa;
color:#222;
}

/* =========================
   BARRA DE NAVEGACIÓN
========================= */

.navbar{
position:fixed;
top:0;
left:0;
width:100%;
height:70px;
background: #ffffff;
display:flex;
align-items:center;
justify-content:space-between;
padding:0 7%;
z-index:1000;
box-shadow:0 3px 15px rgba(0,0,0,.2);
}

.logo{
color: #000000;
font-size:30px;
font-weight:600;
text-decoration:none;
}

.nav-links{
display:flex;
align-items:center;
gap:35px;
list-style:none;
}

.nav-links a{
color: #000000;
text-decoration:none;
font-size:16px;
font-weight:600;
transition:.3s;
}

.nav-links a:hover{
color:#ffc107;
}

/* Botón de menú móvil */

.menu-btn{
display:none;
background:none;
border:none;
color: #000000;
font-size:32px;
cursor:pointer;
}

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

header{
height:95vh;
background:
linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.55)),
url("bg1.jpg");
background-size:cover;
background-position:center;
display:flex;
justify-content:center;
align-items:center;
text-align:center;
color:white;
padding:20px;
padding-top:70px;
}

.hero h1{
font-size:60px;
font-weight:700;
margin-bottom:15px;
}

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

.btn{
display:inline-block;
padding:15px 35px;
background:#ffc107;
color:#222;
text-decoration:none;
border-radius:40px;
font-weight:600;
transition:.3s;
}

.btn:hover{
background:#ffda57;
transform:translateY(-2px);
}

section{
padding:80px 10%;
}

h2{
text-align:center;
margin-bottom:50px;
font-size:38px;
}

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

.card{
background:white;
padding:30px;
border-radius:18px;
box-shadow:0 10px 25px rgba(0,0,0,.08);
transition:.3s;
}

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

.card h3{
margin-bottom:15px;
color:#0099cc;
}

footer{
background:#0d1b2a;
color:white;
text-align:center;
padding:30px;
}

.call{
display:inline-block;
margin-top:25px;
font-size:22px;
font-weight:bold;
color:white;
text-decoration:none;
}

.whatsapp{
position:fixed;
right:25px;
bottom:25px;
width:65px;
height:65px;
background:#25D366;
border-radius:50%;
display:flex;
justify-content:center;
align-items:center;
box-shadow:0 8px 20px rgba(0,0,0,.25);
text-decoration:none;
font-size:34px;
z-index:999;
transition:.3s;
}

.whatsapp:hover{
transform:scale(1.1);
}

/* =========================
   MENÚ PARA CELULAR
========================= */

@media(max-width:768px){

.navbar{
height:65px;
padding:0 5%;
}

.logo{
font-size:21px;
}

.menu-btn{
display:block;
}

.nav-links{
position:absolute;
top:65px;
left:0;
width:100%;
background:#ffffff;
display:none;
flex-direction:column;
gap:0;
padding:10px 0;
box-shadow:0 5px 15px rgba(0,0,0,.2);
}

.nav-links.active{
display:flex;
}

.nav-links li{
width:100%;
text-align:center;
}

.nav-links a{
display:block;
width:100%;
padding:15px;
}

.nav-links a:hover{
background:rgba(255,255,255,.08);
}

.hero h1{
font-size:42px;
}

.hero p{
font-size:18px;
}

section{
padding:60px 6%;
}

h2{
font-size:30px;
margin-bottom:35px;
}

}

/* =========================
   MENÚ PARA ESCRITORIO
========================= */

@media(min-width:769px){

#inicio,
#contacto,
#tienda{
scroll-margin-top:80px;
}

}