*{
margin:0;
padding:0;
box-sizing:border-box;
scroll-behavior:smooth;
font-family:Arial,sans-serif;
}

body{
background:#f5f5f5;
color:#222;
transition:0.4s;
}

.dark-mode{
background:#111;
color:#fff;
}

.navbar{
position:sticky;
top:0;
z-index:1000;
display:flex;
justify-content:space-between;
align-items:center;
padding:15px 5%;
background:rgba(255,255,255,0.9);
backdrop-filter:blur(10px);
box-shadow:0 5px 20px rgba(0,0,0,0.1);
}

.logo{
font-size:28px;
font-weight:bold;
color:#0a7cff;
}

nav a{
margin:0 10px;
text-decoration:none;
color:#333;
font-weight:600;
position:relative;
}

nav a::after{
content:'';
position:absolute;
width:0;
height:2px;
background:#0a7cff;
left:0;
bottom:-5px;
transition:0.4s;
}

nav a:hover::after{
width:100%;
}

.nav-icons{
display:flex;
align-items:center;
gap:15px;
}

#search{
padding:10px;
border:none;
border-radius:30px;
}

.hero{
height:90vh;
background:url('https://images.unsplash.com/photo-1555529669-e69e7aa0ba9a?q=80&w=1600') center/cover;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
position:relative;
}

.overlay{
background:rgba(0,0,0,0.6);
padding:50px;
border-radius:20px;
color:white;
animation:fadeIn 2s ease;
}

.overlay h1{
font-size:60px;
margin-bottom:20px;
}

.hero-buttons button{
padding:15px 30px;
margin:10px;
border:none;
border-radius:40px;
background:#0a7cff;
color:white;
font-size:18px;
cursor:pointer;
transition:0.4s;
}

.hero-buttons button:hover{
transform:translateY(-5px);
box-shadow:0 10px 20px rgba(0,0,0,0.2);
}

.secondary{
background:white;
color:#111;
}

.categories,
.products,
.testimonials,
.newsletter{
padding:80px 5%;
text-align:center;
}

.category-grid,
.product-grid,
.testimonial-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
margin-top:40px;
}

.category-card,
.product-card,
.testimonial-card{
background:white;
padding:20px;
border-radius:20px;
box-shadow:0 10px 25px rgba(0,0,0,0.08);
transition:0.4s;
}

.category-card:hover,
.product-card:hover,
.testimonial-card:hover{
transform:translateY(-10px);
}

.product-card{
position:relative;
overflow:hidden;
}

.product-card img{
width:100%;
height:250px;
object-fit:cover;
border-radius:15px;
transition:0.5s;
}

.product-card:hover img{
transform:scale(1.08);
}

.badge{
position:absolute;
top:15px;
left:15px;
background:red;
color:white;
padding:5px 10px;
border-radius:20px;
font-size:14px;
}

.product-card button{
margin-top:15px;
padding:12px 20px;
border:none;
border-radius:30px;
background:#0a7cff;
color:white;
cursor:pointer;
transition:0.4s;
}

.product-card button:hover{
background:#004bb5;
}

.newsletter input{
padding:15px;
width:300px;
border-radius:30px;
border:none;
margin-top:20px;
}

.newsletter button{
padding:15px 25px;
border:none;
border-radius:30px;
background:#0a7cff;
color:white;
margin-left:10px;
}

footer{
background:#111;
color:white;
padding:50px 5%;
}

.footer-content{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:20px;
}

footer a{
display:block;
margin-top:10px;
text-decoration:none;
color:#ccc;
}

.socials i{
font-size:25px;
margin-right:15px;
margin-top:10px;
cursor:pointer;
}

.whatsapp{
position:fixed;
bottom:20px;
right:20px;
background:#25D366;
width:60px;
height:60px;
display:flex;
align-items:center;
justify-content:center;
border-radius:50%;
color:white;
font-size:30px;
text-decoration:none;
box-shadow:0 5px 20px rgba(0,0,0,0.2);
}

@keyframes fadeIn{
from{
opacity:0;
transform:translateY(30px);
}

to{
opacity:1;
transform:translateY(0);
}
}

@media(max-width:768px){

.navbar{
flex-direction:column;
gap:15px;
}

.overlay h1{
font-size:36px;
}

.hero{
height:70vh;
}

}