/* 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;
}

/* main styling */
main {
  flex: 1;
  padding-top: 70px;
  background: radial-gradient(
      circle,
      rgba(169, 223, 191, 0.5) 10%,
      transparent 10%
    ),
    #e8f5e9;
  background-size: 10px 10px;
}

.container {
  max-width: 700px;
  margin: auto;
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
  text-align: center;
  color: #2e7d32;
  margin-bottom: 20px;
}
.container {
  margin-bottom: 70px;
}

/* Styles for orderForm elements */
#orderForm label {
  display: block;
  margin: 10px 0 5px;
  font-weight: bold;
  color: #2e7d32;
}

#orderForm input,
#orderForm textarea,
#orderForm select {
  width: 97%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#orderForm textarea {
  resize: none;
}

#orderForm button {
  background-color: #4caf50;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  font-size: 16px;
}

#orderForm button:hover {
  background-color: #388e3c;
}

#orderForm #message {
  margin-top: 20px;
  text-align: center;
  color: #2e7d32;
  font-weight: bold;
}

.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;
}

#feedback {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: whitesmoke;
  border-radius: 7px;
  color: green;
  padding: 15px;
  font-size: 16px;
  text-align: center;
  width: fit-content;
  z-index: 1000;
  display: none; /* Initially hidden */
}

#feedback.error {
  background-color: whitesmoke; /* Error color */
  color: red;
}

@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;
  }
}
