/* General Styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}

/* Header Styles */
header {
    background-color: #333;
    padding: 10px 20px;
    position: relative;
  }
  
  header nav ul {
    list-style: none;
    text-align: left;
    display: flex;
    align-items: center; /* Vertically center the items */
  }
  
  header nav ul li {
    display: inline;
    margin: 0 20px;
  }
  
  header nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
  }
  
  /* Style the icon in the navigation bar */
  .nav-icon {
    width: 30px; /* Set the size of the icon */
    height: auto;
    margin-right: 15px; /* Add space between the icon and text */
  }
  
  
  /* Cart Section Styling */
.cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    max-width: 1000px;
    margin: 0 auto;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
  }
  
  .cart h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }
  
  /* Cart Items Container */
  #cart-items {
    width: 100%;
    max-width: 900px;
    margin-bottom: 20px;
  }
  
  /* Cart Item Styling */
  .cart-item {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
    background-color: #f9f9f9;
    border-radius: 8px;
  }
  
  .cart-item img {
    width: 50px;
    height: auto;
  }
  
  .item-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 70%;
  }
  
  .quantity {
    margin-right: 20px;
    font-size: 1rem;
  }
  
  .remove-btn {
    background-color: #cc0000;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px;
  }
  
  .remove-btn:hover {
    background-color: #990000;
  }
  
  /* Cart Summary Box */
  .cart-summary {
    width: 100%;
    max-width: 900px;
    background-color: #f9f9f9;
    padding: 20px;
    margin-top: 20px;
    border-radius: 8px;
    border: 1px solid #ddd;
    text-align: center;
  }
  
  #checkout-button, #keep-shopping-button {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    width: 100%;
    margin-top: 10px;
  }
  
  #checkout-button:hover, #keep-shopping-button:hover {
    background-color: #555;
  }
  
  /* Cart Item Count Styles */
  .cart-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .cart-icon i {
    font-size: 30px;
    color: white;
  }
  
  .cart-icon span {
    background-color: red;
    color: white;
    padding: 5px;
    border-radius: 50%;
    font-size: 12px;
    margin-left: 5px;
  }

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #2b3e50, #4e5d6a);  /* Dark blue gradient for a cool feel */
    color: white;  /* White text for high contrast */
    padding: 65px 0;
    text-align: center;
    font-family: 'Poppins', sans-serif;  /* Modern sans-serif font */
    animation: fadeIn 1.5s ease-in-out;  /* Subtle fade-in effect */
  }
  
  .hero h1 {
    font-size: 4rem;  /* Large and bold title */
    margin-bottom: 10PX;
  }
  
  .hero p {
    font-size: 1.5rem;
    font-weight: 300;  /* Light and modern weight */
    max-width: 600px;
    margin: 0 auto;
  }
  
  
/* About Us Section */
.about {
  background: url('hero-image.jpg') no-repeat center center/cover;
  padding: 60px 0;
  text-align: center;
  color: white;
}

.about-box {
  background-color: #ffffff;
  padding: 60px;
  border-radius: 12px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #333;
}

.about p {
  font-size: 1.2rem;
  max-width: 750px;
  margin: 0 auto;
  color: #666;
}

/* Shop Section */
.shop {
  padding: 60px 0;
  text-align: center;
}

.product-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.product {
  background-color: #fff;
  padding: 20px;
  border: 1px solid #ddd;
  width: 200px;
  text-align: center;
}

.product img {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
}

.product button {
  background-color: #333;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
}

/* Shopping Cart Section */
.cart {
    padding: 30px 20px;
    text-align: center;
  }
  
  .cart h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
  }
  
  #cart-items {
    margin-bottom: 30px;
  }
  
  .cart-item {
    display: flex;
    justify-content: space-between;
    margin: 15px 0;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
  }
  
  .cart-item img {
    width: 50px;
    height: auto;
  }
  
  .cart-summary {
    font-size: 1.5rem;
  }
  
  .cart-summary h3 {
    margin-bottom: 20px;
  }
  
  #checkout-button {
    padding: 10px 20px;
    background-color: #333;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1rem;
  }
  
  #checkout-button:hover {
    background-color: #555;
  }

/* Cart Icon Styles for Image */
.cart-icon {
    position: absolute;
    right: 20px; /* Position on the right side */
    top: 50%;
    transform: translateY(-50%); /* Vertically center the icon */
    display: flex;
    align-items: center;
  }
  
  .cart-icon img {
    width: 30px; /* Adjust the size of the cart image */
    height: auto;
  }
  
  .cart-icon span {
    background-color: red; /* Cart item count background */
    color: white;
    padding: 5px;
    border-radius: 50%;
    font-size: 12px;
    margin-left: 5px;
  }
  
  

  /* Keep Shopping Button Styles */
#keep-shopping-button {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 20px;
    width: 100%;
    border: none;
    border-radius: 5px;
  }
  
  #keep-shopping-button:hover {
    background-color: #555;
  }  

  /* Style for the Remove button */
.cart-item {
    display: flex;
    justify-content: space-between;
    margin: 15px 0;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
  }
  
  .cart-item img {
    width: 50px;
    height: auto;
  }
  
  .remove-btn {
    background-color: red;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px;
  }
  
  .remove-btn:hover {
    background-color: #cc0000;
  }



  /* Cart Item Styles */
.cart-item {
    display: flex;
    justify-content: space-between;
    margin: 15px 0;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
  }
  
  .cart-item img {
    width: 50px;
    height: auto;
  }
  
  .item-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 50%;  /* Adjust width of item details */
  }
  
  .item-details span {
    margin-right: 10px;
  }
  
  /* Quantity styling */
  .quantity {
    margin-right: 20px;
    font-size: 1rem;
  }
  
  /* Remove Button Styles */
  .remove-btn {
    background-color: #cc0000; /* Darker red color */
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px;
  }
  
  .remove-btn:hover {
    background-color: #990000; /* Darker red when hovered */
  }
  
  /* Cart Summary and Checkout */
  .cart-summary {
    margin-top: 20px;
    font-size: 1.5rem;
  }
  
  #checkout-button {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 20px;
    width: 100%;
    border: none;
    border-radius: 5px;
  }
  
  #checkout-button:hover {
    background-color: #555;
  }
  
  #keep-shopping-button {
    background-color: #333;
    color: white;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 20px;
    width: 100%;
    border: none;
    border-radius: 5px;
  }
  
  #keep-shopping-button:hover {
    background-color: #555;
  }
  

  /* Footer */
footer {
    background-color: #333;
    color: white;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Keeps the Contact Us aligned to the left */
  }
  
  footer p {
    margin: 0;
  }
  
  footer .copyright {
    align-self: flex-end; /* This moves the copyright text to the right */
    padding-right: 20px; /* Add some space from the right edge */
  }
  
  