/* General */

body{
font-family:Arial, sans-serif;
margin:0;
background:#f5f5f5;
}


/* Navbar */

.navbar{
display:flex;
justify-content:space-between;
align-items:center;
padding:15px 40px;
background:#111;
color:white;
position:sticky;
top:0;
z-index:1000;
}

.nav-links a{
color:white;
margin-left:20px;
text-decoration:none;
font-weight:500;
}

.logo{
font-size:24px;
font-weight:bold;
}


/* Menu */

.menu{
display:flex;
gap:30px;
}

.menu a{
color:white;
text-decoration:none;
font-size:18px;
}

.menu a:hover{
color:#ff6b6b;
}


/* Right Section */

.right{
display:flex;
align-items:center;
gap:20px;
}

#searchInput{
padding:8px 12px;
border-radius:5px;
border:none;
outline:none;
}


/* Cart */

.cart{
color:white;
text-decoration:none;
font-size:18px;
}

#cartCount{
background:red;
padding:3px 8px;
border-radius:50%;
font-size:14px;
margin-left:5px;
}

.cart-container{
width:500px;
margin:auto;
text-align:center;
background:white;
padding:30px;
border-radius:10px;
box-shadow:0 5px 15px rgba(0,0,0,0.1);
margin-top:50px;
}

.cart-buttons{
display:flex;
gap:15px;
justify-content:center;
margin:10px 0;
}

.cart-buttons button{
padding:6px 12px;
}
/* Title */

.title{
text-align:center;
margin-top:30px;
}


/* Product Grid */

.products{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:25px;
padding:30px;
}


/* Product Card */

.product{
background:white;
padding:15px;
border-radius:10px;
text-align:center;
box-shadow:0 3px 10px rgba(0,0,0,0.1);
transition:0.3s;
cursor:pointer;
}


/* Hover Animation */

.product:hover{
transform:translateY(-8px);
box-shadow:0 10px 20px rgba(0,0,0,0.2);
}


/* Product Images */

.product img{
width:100%;
height:220px;
object-fit:cover;
border-radius:8px;
transition:0.3s;
}


/* Image Zoom */

.product:hover img{
transform:scale(1.05);
transition: 0.3s;
}


/* Product Text */

.product h3{
margin:10px 0;
}

.product p{
font-size:18px;
font-weight:bold;
}


/* Buttons */

button{
padding:10px 15px;
background:#ff6b6b;
border:none;
color:white;
border-radius:5px;
cursor:pointer;
font-size:14px;
}

button:hover{
background:#e63946;
}

/* Hero Banner */

.hero{
background:#ff6b6b;
color:white;
text-align:center;
padding:80px 20px;
}

.hero h1{
font-size:40px;
margin-bottom:10px;
}

.hero button{
padding:12px 20px;
font-size:16px;
background:white;
color:black;
border:none;
border-radius:5px;
cursor:pointer;
}


/* Categories */

.categories{
display:flex;
justify-content:center;
gap:40px;
padding:40px;
}

.category{
background:white;
padding:30px 50px;
border-radius:10px;
box-shadow:0 3px 10px rgba(0,0,0,0.1);
cursor:pointer;
transition:0.3s;
}

.category:hover{
transform:scale(1.05);
}
