/* Reset and base styles */
body {
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
  color: #004225;
  margin: 0;
  padding: 0;
}

/* Main container */
main {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* Navigation */
.nav-container {
  background-color: #0a7d24;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  position: relative;
}

/* Brand */
.nav-brand {
  font-size: 1.7rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0.5rem 1.2rem;
  background: white;
  color: #0a7d24;
  border-radius: 20px;
  transition: background 0.3s ease, color 0.3s ease;
  margin: 0;
  display: inline-block;
}

.nav-brand:hover {
  background: #e6f1e6;
  color: #074d16;
}

/* Hamburger menu */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
  margin-left: 1rem;
}

.hamburger div {
  background: white;
  height: 3px;
  border-radius: 2px;
}

/* Nav links */
.nav-right {
  display: flex;
  gap: 1rem;
}

.nav-right a {
  text-decoration: none;
  background: white;
  color: #0a7d24;
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease;
}

.nav-right a:hover {
  background: #e6f1e6;
  color: #074d16;
}

/* Headings */
h1, h2, h3 {
  color: #0a7d24;
}

h1 {
  margin-bottom: 1rem;
}

/* Search Form */
form {
  display: flex;
  max-width: 400px;
  margin-bottom: 2rem;
}

form input[type="text"] {
  flex: 1;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 5px 0 0 5px;
  font-size: 1rem;
  outline: none;
}

form button {
  padding: 0.5rem 1rem;
  background-color: #0a7d24;
  border: none;
  color: white;
  font-weight: 600;
  cursor: pointer;
  border-radius: 0 5px 5px 0;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #064a10;
}

/* Product Cards */
.product-card {
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 1rem;
  margin-bottom: 2rem;
  max-width: 400px;
}

.product-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.product-card h3 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.price {
  color: #0a7d24;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.product-card p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.3;
}

.product-card ul {
  list-style-type: disc;
  padding-left: 1.2rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #555;
}

.product-card a {
  display: inline-block;
  margin-top: 0.5rem;
  color: #0a7d24;
  font-weight: 600;
  text-decoration: none;
}

.product-card a:hover {
  text-decoration: underline;
}

/* Catalog grid */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

/* Footer */
footer {
  background-color: #222;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  margin-top: 4rem;
  font-size: 0.9rem;
}

footer a {
  color: #0a7d24;
  text-decoration: none;
  margin: 0 0.5rem;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
  .nav-container {
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
    padding: 0.75rem 1rem;
  }

  .nav-brand {
    font-size: 1.3rem;
    padding: 0.4rem 1rem;
    border-radius: 15px;
    flex-shrink: 1;
  }

  .hamburger {
    display: flex;
    margin-left: auto;
  }

  .nav-right {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #0a7d24;
    padding: 1rem;
    box-sizing: border-box;
    z-index: 1000;
  }

  .nav-right.show {
    display: flex;
  }

  .nav-right a {
    width: 100%;
    margin: 0.3rem 0;
    padding: 0.75rem 1rem;
    text-align: center;
    border-radius: 10px;
    box-sizing: border-box;
  }
}

/* Boost saturation for team images */
.team-member img {
  filter: saturate(1.5);
}
