/* Header Section */
.header {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 15px 30px;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-family: 'Poppins', sans-serif;
  position: relative;
}

/* Make sure logo doesn't stretch */
.logo img {
  width: 220px;
  height: auto;
}

/* Navigation links */
.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  transition: all 0.3s ease;
}

.nav-links a {
  text-decoration: none;
  color: black;
  font-weight: 600;
  margin: 0 20px;
  font-size: 18px;
  transition: color 0.3s ease;
}

.nav-links {
  transition: all 0.3s ease;
  overflow: hidden;
}

.nav-links a:hover {
  color: #1B5E20;
}

/* Icons section */
.icons {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: center;
}

/* Cart and login styles */
#cart-icon {
  text-decoration: none;
  color: #2E7D32;
  font-weight: bold;
  font-size: 18px;
}


/* Menu Toggle for Mobile */
.menu-toggle {
  display: none;
  font-size: 20px;
  cursor: pointer;
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
      display: none;
      flex-direction: column;
      position: absolute;
      top: 60px;
      right: 10px;
      background: rgba(0, 0, 0, 0.7);
      box-shadow: none;
      width: 220px;
      text-align: center;
      border-radius: 5px;
  }

  .nav-links.active {
      display: flex;
  }

  .nav-links a {
      margin: 10px 0;
  }

  .menu-toggle {
      display: block;
  }
}

.products-section {
  padding: 50px 10%;
  background: #f9f9f9;
  text-align: center;
}

.section-title {
  font-size: 32px;
  color: #2E8B57;
  margin-bottom: 10px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.product {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: 0.3s ease;
}

.product:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.product img {
  width: 100%;
  max-width: 200px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.price {
  font-size: 18px;
  color: #2E8B57;
  font-weight: bold;
  margin: 10px 0;
}

.btn {
  padding: 10px 20px;
  background-color: #2E8B57;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.btn:hover {
  background-color: #1B5E20;
}

/* Cart Sidebar */
#cart-sidebar {
  position: fixed;
  top: 0;
  right: -350px;
  width: 300px;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
  transition: right 0.4s ease-in-out;
  display: flex;
  flex-direction: column;
  padding: 15px;
  z-index: 999;
}

/* Show Cart */
#cart-sidebar.active {
  right: 0;
}

/* Cart Header */
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

/* Cart Items */
#cart-items {
  flex: 1;
  overflow-y: auto;
  margin-bottom: 10px;
}

/* Cart Footer */
.cart-footer {
  position: sticky;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.95);
  padding: 10px 0;
  text-align: center;
}

/* Checkout Button */
#checkout {
  background-color: #ff5722;
  color: white;
  padding: 10px 20px;
  border: none;
  width: 100%;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}

#checkout:hover {
  background-color: #e64a19;
}
/* Quantity Controls */
.quantity-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.quantity-controls button {
  background-color: #2E8B57; /* Green */
  color: white;
  border: none;
  padding: 6px 12px;
  font-size: 16px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.quantity-controls button:hover {
  background-color: #1B5E20; /* Darker Green */
}

/* Quantity number */
.quantity-controls span {
  font-size: 16px;
  color: white;
}

/* Remove Button */
.remove-btn {
  background-color: white;
  color: #d32f2f; /* Red tone */
  border: 1px solid #d32f2f;
  padding: 6px 12px;
  font-size: 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.remove-btn:hover {
  background-color: #d32f2f;
  color: white;
}

/* General Styles */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  color:  black;
  background-color: #ffffff; /* White Theme */
}
/* Footer */
/* General Styles */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  color:  black;
  background-color: darkgray; /* White Theme */
}

/* Footer Section */
.footer {
  background: darkgray;
  padding: 50px 10%;
  text-align: center;
}

.container {
  max-width: 1200px;
  margin: auto;
}

/* Footer Content Layout */
.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  text-align: left;
}

/* Footer Logo & About */
.footer-about {
  max-width: 300px;
}

.footer-logo {
  width: 120px;
  margin-bottom: 10px;
}

.footer-about p {
  font-size: 14px;
  color:  black;
}

/* Footer Links */
.footer-links, .footer-contact, .footer-social {
  flex: 1;
  min-width: 200px;
}

.footer-links h3,
.footer-contact h3,
.footer-social h3 {
  font-size: 18px;
  color: #2E8B57;
  margin-bottom: 15px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin: 8px 0;
}

.footer-links ul li a {
  text-decoration: none;
  color:black;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: #2E8B57;
}

/* Contact Info */
.footer-contact p {
  font-size: 14px;
  color: black;
  margin: 5px 0;
}

.footer-contact a {
  text-decoration: none;
  color:  black;
  transition: color 0.3s;
}

.footer-contact a:hover {
  color: #2E8B57;
}

/* Social Media */
.social-icons {
  display: flex;
  justify-content: left;
  gap: 15px;
}

.social-icons a {
  text-decoration: none;
  color: #2E8B57;
  font-size: 20px;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #1C6B43;
}

.footer-bottom {
  text-align: center;
  padding: 5px;
  background-color: darkgray; /* Adjust color as needed */
  color: black;
  position: relative;
  bottom: 10;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  border-top: 2px solid black; /* Adds a line above the footer */
}


/* Responsive */
@media (max-width: 750px) {
  .footer-content {
      flex-direction: column;
      text-align: center;
  }

  .footer-bottom {
      flex-direction: column;
      gap: 5px;
  }

  .social-icons {
      justify-content: center;
  }
}