/* General Styles */
body {
  font-family: "Arial", sans-serif;
  margin: 0;
  padding: 0;
  background: #c5efc5;
  color: hsl(0, 8%, 95%);
}

header {
  background-color: #28a745;
  color: white;
  padding: 10px 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  height: 50px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #28a745;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 20px 20px;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 15px;
}

.nav-list li {
  margin: 0;
}

.nav-list li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
}

.menu-toggle {
  display: none;
}

.logo {
  border-radius: 50%;
  overflow: hidden;
  filter: brightness(1.3);
  box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.8);
}

.search-form {
  display: flex;
  gap: 5px;
  margin-right: 25px;
}

.search-form input {
  padding: 5px;
  border-radius: 4px;
  border: 1px solid #ccc;
}

.search-form button {
  padding: 5px 10px;
  background-color: white;
  color: #28a745;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

.search-form button:hover {
  background-color: #f0f0f0;
}

.product {
  text-align: center;
  margin-top: 40px;
  color: #2d6a4f;
}

.categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Center the content */
  gap: 20px;
  padding: 20px;
}

.category-item {
  flex: 0 1 45%; /* Set a fixed width of 45% for each item */
  display: flex;
  flex-direction: column;
  align-items: center; /* Center content inside each item */
  text-align: center; /* Center the text inside the item */
  box-sizing: border-box;
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.category-item img {
  width: 100%; /* Ensure the image takes full width */
  height: auto;
  border-radius: 8px;
  max-width: 350px; /* Restrict maximum width of the image */
}

.category-item h3 {
  color: #2d6a4f;
  font-size: 1.5em;
  margin: 15px 0;
}

.category-item p {
  font-size: 1.1em;
  color: #333;
  max-width: 350px; /* Set a maximum width to the text to match the image size */
  margin: 10px;
}

.order-link {
  text-decoration: none; /* Remove underline */
  color: inherit; /* Maintain original text color */
  display: block; /* Make the whole div clickable */
}

.order-link:hover {
  opacity: 0.9; /* Optional hover effect */
}

.promotions {
  text-align: center;
  margin-bottom: 50px;
}

.promotions h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #df1204;
}

.promo-item {
  display: inline-block;
  width: 50%;
  margin: 10px;
  background-color: rgb(2, 113, 78);
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.promotions a {
  text-decoration: none;
  color: white;
}

#hook {
  width: 100%;
  height: 250px;
  background-color: #28a745; /* Green theme to match cleaning products */
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  /* padding: 20px; */
  color: white;
}

.hook {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hook h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
  color: #ffffff;
  border-bottom: 2px solid #f8f9fa;
  padding-bottom: 5px;
}

.hook ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.hook ul li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #f8f9fa;
}

.hook ul li a {
  text-decoration: none;
  color: #f8f9fa;
}

.hook ul li a:hover {
  color: #c3e6cb;
  cursor: pointer;
}

.hook ul li i {
  color: rgb(238, 235, 235);
  margin-right: 10px;
  font-size: 18px;
}

footer {
  background-color: #28a745;
  color: white;
  text-align: center;
  padding: 20px 0;
  margin-top: 10px;
  font-family: Arial, sans-serif;
  position: relative;
}
footer p {
  margin: 0;
  font-size: 0.9em;
}
footer a {
  color: #d4f1f4;
  text-decoration: none;
}
footer a:hover {
  color: #f1faee;
}

.social-icons {
  margin-top: 10px;
}
.social-icons a {
  color: #d4f1f4;
  font-size: 1.1em;
  margin: 0 10px;
  transition: color 0.3s ease;
}
.social-icons a:hover {
  color: #f1faee;
}

@media screen and (max-width: 768px) {
  body {
    margin: 0px;
    padding: 0px;
  }
  .menu-toggle {
    display: block; /* Show burger menu */
    cursor: pointer;
    font-size: 1.5rem;
    color: white;
    padding-right: 50px;
  }
  .nav-list {
    display: none;
    flex-direction: column;
    background-color: #28a745;
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    padding: 20px;
    z-index: 999;
    transition: left 0.3s ease;
  }

  .nav-list.active {
    display: flex;
  }

  .nav-list li {
    text-align: center;
    padding: 15px 0;
  }

  .hook h3 {
    border: none;
    font-size: smaller;
  }
  .search-form {
    display: none;
  }

  .categories {
    width: 85%;
    height: auto;
    flex-direction: column;
  }
}
