/* General Reset */
body, h1, h2, p, button,h3 {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
  }
  
  body {
    background-color: #f9f9f9;
    color: #333;
    /* padding: 20px; */
  }
  /* --------------------section-2--------------------------------------------------------------------------- */
  .categories {
    margin-top: 30px;
    padding: 0 50px;
    margin-bottom: 30px;
  }
  
  .categories h2 {
    font-size: 2.4rem;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
  }
  
  .product-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
  }
  
  .product-card {
    background-color: #fff;
    width: 200px;
    margin: 10px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
  }
  
  .product-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
  }

  .product-card h3 {
    font-size: 20px;
    /* margin: 15px 0; */
  }
  
  .product-card .rating {
    font-size: 14px;
    color: gold;
  }
  
  .product-card .price {
    font-size: 18px;
    /* margin: 15px 0; */
  }
  
  .product-card .add-to-cart {
    padding: 8px 20px;
    background-color: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .product-card .add-to-cart:hover {
    background-color: #e67e22;
  }
  
  /* Cart Page */
  .cart-page {
    margin: 30px;
    padding: 0 50px;
  }
  
  .cart-page table {
    width: 100%;
    border-collapse: collapse;
  }
  
  .cart-page th, .cart-page td {
    padding: 12px;
    text-align: center;
  }
  
  .cart-page th {
    background-color: #333;
    color: #fff;
  }
  
  .cart-page td img {
    width: 100px;
  }
  
  .cart-page .delete-btn {
    background-color: red;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
  }
  
  .cart-page .delete-btn:hover {
    background-color: darkred;
  }
  
  .cart-page .quantity input {
    width: 40px;
    padding: 5px;
    text-align: center;
    border-radius: 5px;
  }
  
  /* Checkout Page */
  .checkout-page {
    margin: 30px;
    padding: 0 50px;
  }
  
  .checkout-page h2 {
    font-size: 28px;
  }
  
  .checkout-page .total {
    font-size: 22px;
    margin-top: 20px;
    text-align: right;
  }
  
  .checkout-page button {
    padding: 10px 20px;
    background-color: #27ae60;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .checkout-page button:hover {
    background-color: #2ecc71;
  }
  

  /* ------------------------------------------------------------------------------ */

  a {
    text-decoration: none;
  }
  /* Top Navbar */
  .top-navbar {
    display: flex;
    justify-content: space-between;
    background-color: rgb(67 0 86);
    /* background-color: #333; */
    color: white;
    padding: 10px 20px;
  }
  
  .top-navbar a {
    color: white;
    margin-left: 10px;
    text-decoration: none;
  }
  .contact-info{
   margin-left: 10px; 
   padding-top: 2px;
  }
  .contact-info span {
    margin-right: 10px;
  }
  .social-icons{
    margin-right: 40px;
    font-size: 20px;
  }
  
  @media (max-width: 768px) {
    .contact-info{
      margin-left:10px; 
      display: inline-flex;
      flex-direction: column;
      font-size: 1rem;
      color: white;
    }
    .social-icons{
      /* margin-top: 100px; */
      margin-right:50px;
      font-size: 25px;
    }
  }
  

header {
    background-color:#f4f3ee;
    color: black;
    padding:10px;
  }
  
  .navbar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: relative;
  }
  
  .navbar .logo a {
    color: black;
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
  }
  
  .nav-links {
    display: flex;
    list-style-type: none;
    font-size: 1.2rem;
    /* margin-top: 1rem; */
  }
  
  .nav-links li {
    margin: 0 20px;
    position: relative; /* Needed for the dropdown */
  }
  
  .nav-links a {
    font-size: 1.3rem;
    color: black;
    text-decoration: none;
    padding: 10px;
  }
  
  .nav-links a:hover {
    background-color: #f39c12;
    border-radius: 5px;
  }
  
  /* Dropdown Menu */
  .dropdown {
    position: relative;
  }
  
  .dropdown-menu {
    display: none;
    position: absolute;
    background-color: #333;
    list-style-type: none;
    padding: 10px 0;
    top: 100%;
    left: 0;
    width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
  }
  
  .dropdown-menu li {
    padding: 10px;
    text-align: left;
  }
  
  .dropdown-menu li a {
    color: #fff;
    padding: 10px 20px;
    display: block;
    text-decoration: none;
  }
  
  .dropdown-menu li a:hover {
    background-color: #f39c12;
    border-radius: 5px;
  }
  
  /* Show the dropdown when hovering */
  .dropdown:hover .dropdown-menu {
    display: block;
  }
  
  .cart {
    position: relative;
  }
  
  .cart-icon {
    color: #333;
    font-size: 30px;
    text-decoration: none;
  }
  
  .cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: red;
    color: #fff;
    border-radius: 50%;
    padding: 4px 10px;
    font-size: 12px;
  }
  
  .cart:hover {
    background-color: #f39c12;
    border-radius: 5px;
    cursor: pointer;
  }

  @media (max-width: 768px) {
    .menu-toggle {
      display: block;
      font-size: 35px;
    }
  
    .nav-links {
      display: none;
      flex-direction: column;
      background-color: #333;
      position: absolute;
      top: 60px;
      left: 0;
      right: 0;
      width: 100%;
      z-index: 1000;
    }
    .nav-links a {
      font-size: 1.2rem;
      color:white;
      text-decoration: none;
      padding: 10px;
      font-weight: 400;
      /* padding-top: 15px; */
      /* padding-left: 1%; */
    }
    
    .nav-links li {
      width: 100%;
    }
  
    .nav-links.show {
      display: flex;
    }
  
    .dropdown-menu {
      position: relative;
      background-color: #333;
    }
  
    
    .dropdown:hover .dropdown-menu {
      display: none;
    }
  
    .dropdown.open > .dropdown-menu {
      display: flex;
      flex-direction: column;
    }
  
    .cart {
      position: absolute;
      top: 15px;
      right: 80px;
    }
  }
   
/* -------------------------------------------------------------------------------------------------------- */
footer {
  background-color:rgb(67 0 86);
  color: #fff;
  padding: 20px 20px;
  font-family: 'Arial', sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  padding: 10px;
}

.footer-section h3 {
  /* color: #ffc800;
  font-size: 18px;
  margin-bottom: 20px; */

 color: #ffc800;
  font-size: 18px;
    font-weight: bold;
    position: relative;
    padding-bottom: 12px;
}


.footer-section p,
.footer-section ul {
  font-size: 15px;
  line-height: 1.9;
  font-weight: bold;
  color: white;
  list-style: none;
}

.footer-section a {
  /* color: #fff;
  text-decoration: none; */
font-size: 15px;
  text-decoration: none;
  color: white;
  display: inline-block;
  line-height: 1;
  font-weight: bold;
  transition: 0.5s ease;
}


.footer-section a:hover {
  text-decoration: underline;
}

.footer-section .social-icons1 a {
  /* margin: 0 10px;
  font-size: 20px;
  color: #fff;
  transition: color 0.3s; */

  font-size: 20px;
  display: inline-block;
  text-decoration: none;
  background-color: #373737;
  color: white;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  transition: 0.5s ease;
}

.footer-section .social-icons1 a:hover {
  color: #3498db;
}
hr{
  margin-top: 4%;
}
.footer-bottom {
 /* margin-top: 4%; */
  text-align: center;
  padding: 20px 0;
  background-color: rgb(67 0 86);
}

.footer-bottom p {
  font-size: 15px;
  color: white;
}

#footer .credits{
  float: left;
  text-align: center;
  font-size: 13px;
}
#footer .credits a{
  color: #ffc800;
}
/* Responsive Design */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .footer-section h3 {
    font-size: 16px;
  }

  .footer-section p, .footer-section ul {
    font-size: 13px;
  }

  .footer-bottom p {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .footer-section h3 {
    font-size: 14px;
  }

  .footer-section p, .footer-section ul {
    font-size: 12px;
  }
}
