/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background-color: #2c6e49;
  color: white;
}

header nav a {
  margin-left: 20px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

header nav a:hover,
header nav a.active {
  color: #a8d5ba;
}

/* Hero Section */
.hero-products {
  text-align: center;
  padding: 100px 20px;
  background: url('../images/products-hero.jpg') no-repeat center center/cover;
  color: white;
}

.hero-products h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-products p {
  font-size: 1.2rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Filters */
.filters {
  text-align: center;
  padding: 30px 0;
}

.filter-btn {
  background-color: #a8d5ba;
  color: #2c6e49;
  border: none;
  padding: 10px 20px;
  margin: 5px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

.filter-btn:hover {
  background-color: #7abf95;
}

/* Plant Grid */
.plant-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 50px;
}

.plant-card {
  background-color: #f0f8f5;
  width: 220px;
  padding: 20px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0px 6px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.plant-card img {
  width: 100%;
  border-radius: 15px;
  margin-bottom: 15px;
}

.plant-card:hover {
  transform: translateY(-10px);
  box-shadow: 0px 10px 20px rgba(0,0,0,0.15);
}

.plant-card h3 {
  margin-bottom: 10px;
  color: #2c6e49;
}

.plant-card p {
  margin-bottom: 8px;
  color: #333;
}

/* Footer */
footer {
  display: flex;
  justify-content: space-around;
  padding: 40px;
  background-color: #2c6e49;
  color: white;
}

footer a {
  color: white;
  text-decoration: none;
  display: block;
  margin: 5px 0;
}

footer a:hover {
  color: #a8d5ba;
}

/* Responsive */
@media (max-width: 900px) {
  .plant-grid {
    flex-direction: column;
    align-items: center;
  }
}
