/* 🌿 Base Styles */
body {
  font-family: 'Georgia', serif;
  background-color: #0b2e1f;
  color: #f5f5dc;
  margin: 0;
  padding: 0;
  background-image: url('leafs.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 800px;
  background-attachment: fixed;
}

/* 🌿 Top Navigation */
.top-nav {
  background-color: #143b27;
  padding: 1em;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  border-bottom: 2px solid #0f2c1b;
}

.top-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 2em;
  flex-wrap: wrap;
}

.top-nav li {
  margin: 0;
}

.top-nav a {
  text-decoration: none;
  color: #f5f5dc;
  font-weight: bold;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

.top-nav a:hover {
  color: #a5ffcb;
}

/* 🌿 Page Content */
main {
  text-align: center;
  padding: 3em 1em;
}

/* 🌿 Headings */
h1, h2 {
  margin-top: 1em;
  margin-bottom: 0.5em;
}

/* 🌿 Subscribe Form */
.subscribe-form {
  margin-top: 2em;
}

.subscribe-form input[type="email"] {
  padding: 0.5em;
  width: 250px;
  max-width: 80%;
  border: none;
  border-radius: 4px;
  margin-right: 0.5em;
}

.subscribe-form button {
  padding: 0.5em 1em;
  background-color: #f5f5dc;
  color: #0b2e1f;
  border: none;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
}

/* 🌿 General Form Styles */
form input, form select, form textarea {
  display: block;
  width: 80%;
  max-width: 500px;
  margin: 1em auto;
  padding: 0.75em;
  border-radius: 6px;
  border: none;
  font-size: 1em;
}

textarea {
  resize: vertical;
}

/* 🌿 Product Checkbox Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, auto);
  column-gap: 20px;
  row-gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}

.product-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}

/* 🌿 Submit Button */
.submit-btn {
  background-color: #f5f5dc;
  color: #0b2e1f;
  padding: 0.75em 2em;
  border: none;
  font-weight: bold;
  font-size: 1em;
  border-radius: 8px;
  cursor: pointer;
  display: block;
  margin: 2em auto 0;
}

/* 🌿 Responsive Tweak */
@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: 1fr;
    justify-items: start;
    padding-left: 1em;
  }

  .subscribe-form input[type="email"] {
    margin-bottom: 1em;
    margin-right: 0;
  }

  .subscribe-form {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
/* ✅ Remove bullet points and style links properly */
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul li {
  display: inline;
  margin: 0 1em;
}

a {
  color: #f5f5dc;
  text-decoration: none;
  font-weight: bold;
}

a:hover {
  color: #a5ffcb;
  text-decoration: underline;
}
