* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Dancing Script', cursive;

  }
  
  body {
    line-height: 1.6;
    color: #333;
  }
  
  .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* Navbar */
  .navbar {
    background: linear-gradient(90deg, #3a3d40, #606c88); 
    color: #fff;
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  .logo-part{
    display:flex;
  }
  h1{
    font-size:1.5rem;
    padding:0.5rem;
    color: #f8b6008e;
  }
  .navbar .logo {
    font-size: 1.5rem;
    font-weight: bold;
  }
  #logo-pic{
    width:4.5rem;
    height:4.5rem;
    padding:0.5rem;
    border-radius:50%;
  }
  .navbar nav ul {
    list-style: none;
    display: flex;
    gap: 6rem;
  }
  .navbar nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s;
  }
  .navbar nav ul li a:hover {
    color: #f8b400;
  }
  .menu-toggle {
    display: none;
    color: #fff;
    font-size: 1.5rem;
  }
  
  /* main Section */
  .main-sec {
    background: url('images/pexels-bemistermister-2442888.jpg') no-repeat center center/cover;
    height: 90vh;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .main-sec h2 {
    font-size: 4rem;
    margin-bottom: 1rem;
  }
  .main-sec p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
  }

  .add-to-cart, .cta-button {
    display: inline-block;
    background-color: #f8b400;
    color: #222;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
    border:none;
    cursor: pointer;
  }
  .add-to-cart:hover {
    background-color: #ffc533;
  }
  .cta-button:hover{
    background-color: #ffc533;
  }
  #cart-icon{
    color:white;
    background: #3a3d40;
    border:none;
    font-size:1.5rem;
    padding:0.5rem;
    margin:0.5rem;
  }
  #cart-count{
    color:green;
  }
  /* Shop Section */
  .shop {
    padding: 4rem 0;
    background-color: #f9f9f9;
  }
  .shop h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
  }
  .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
  }
  .product-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    text-align: center;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
  }
  .product-card:hover {
    transform: translateY(-10px);
  }
  .product-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 1rem;
  }
  .product-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }
  .product-card p {
    font-size: 1rem;
    color: #555;
  }
  
  /* About Section */
  .about {
    padding: 4rem 0;
  }
  .about h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
  }
  .about p {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.25rem;
    color: #666;
  }
  
  /* Contact Section */
  .contact {
    padding: 4rem 0;
    background-color: #f9f9f9;
  }
  .contact h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
  }
  .contact form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .contact form input,
  .contact form textarea {
    padding: 0.75rem;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
  }
  .contact form button {
    padding: 0.75rem;
    font-size: 1rem;
    background-color: #f8b400;
    color: #222;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  .contact form button:hover {
    background-color: #ffc533;
  }
  
  /* Footer */
  .footer {
    background-color: #222;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
  }
  
  .cart.hidden {
  display: none;
}

.cart {
  padding: 2rem 0;
  background-color: #f9f9f9e7;
}

.cart h2 {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

#cart-items {
  list-style: none;
  padding: 0;
}

#cart-items li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #ddd;
  font-size: 1.2rem;
}

#cart-total {
  text-align: center;
  margin-top: 1rem;
  font-size: 1.5rem;
  font-weight: bold;
}


/* responsive*/

@media (max-width: 768px) {
  .navbar nav ul {
    flex-direction: column;
    gap: 1rem;
    display: none; /* Hide menu at first */
  }
  .navbar nav ul.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr; 
  }
}

/* remove button*/

.remove{
  display: inline-block;
  background-color: #f8b400;
  color: #222;
  padding: 0.75rem 2rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
  border:none;
  cursor: pointer;
}

.remove:hover{
  background-color: #ffc533;
}