/* style.css */

/* Reset & body */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

/* Header */
h1 {
    text-align: center;
    color: #333;
    margin-top: 20px;
}

/* Navbar */
nav {
    text-align: center;
    background-color: #333;
    padding: 10px 0;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
}

nav a:hover {
    color: #ff6347;
}

/* Banner */
.banner img {
    width: 80%;
    border-radius: 10px;
    display: block;
    margin: 20px auto;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 50px;
    background: #ffe6e6;
    border-radius: 10px;
    margin-bottom: 30px;
}

.hero button {
    padding: 10px 20px;
    background: black;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.hero button:hover {
    background: gray;
}

/* Products Section */
h2 {
    text-align: center;
    color: #333;
    margin-top: 40px;
}

.products {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 20px;
}

.product-card {
    background-color: white;
    border-radius: 10px;
    padding: 15px;
    width: 200px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.product-card:hover {
    transform: scale(1.05);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
}

.product-card h3 {
    margin: 10px 0 5px 0;
}

.product-card p {
    margin: 5px 0;
}

.product-card .price {
    color: red;
    font-weight: bold;
}

.product-card button {
    background: black;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.product-card button:hover {
    background: gray;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background: #333;
    color: white;
    margin-top: 40px;
}

/* Filter Dropdown */
#categoryFilter {
    padding: 5px 10px;
    font-size: 16px;
    margin-left: 10px;
}

.search-container {
    text-align: center;
    margin: 20px 0;
}

.search-container input {
    padding: 8px 12px;
    width: 250px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.search-container button {
    padding: 8px 12px;
    margin-left: 5px;
    border: none;
    border-radius: 5px;
    background: black;
    color: white;
    cursor: pointer;
}

.search-container button:hover {
    background: gray;
}

#home {
    font-family: 'Lucida Sans', 'Lucida Grande', 'Lucida Console', sans-serif;
}

.profile-container{
width:350px;
margin:40px auto;
background:white;
padding:25px;
border-radius:10px;
box-shadow:0 4px 8px rgba(0,0,0,0.1);
text-align:center;
}

.profile-container input{
width:50%;
padding:10px;
border:1px solid #ccc;
border-radius:5px;
}

.profile-container button{
background:black;
color:white;
padding:10px 20px;
border:none;
border-radius:5px;
cursor:pointer;
}

.profile-container button:hover{
background:gray;
}

.doughnut-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.doughnut-menu button {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: none;
  background: #333;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s;
}

.doughnut-menu button:hover {
  transform: scale(1.1);
  background: gray;
}

/* Responsive */
@media(max-width: 768px) {
    .products {
        flex-direction: column;
        align-items: center;
    }

    .banner img {
        width: 95%;
    }
}