body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f0f7f2;
  color: #1c3a2e;
  margin: 0;
  padding: 0;
}

header {
  background: #2e7d32;
  color: #fff;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  margin: 0;
}

header select {
  padding: 5px 10px;
  font-size: 1rem;
  border-radius: 5px;
  border: none;
  cursor: pointer;
}

#project-description {
  padding: 20px;
  font-size: 1.2rem;
  text-align: center;
}

#products-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.product-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 15px;
  width: 22%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.2s;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.product-card h3 {
  color: #2e7d32;
  margin: 10px 0 5px 0;
}

.product-card p {
  margin: 5px 0;
}

.product-card .price {
  font-weight: bold;
  color: #bfa136;
}

.product-card .view-product {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 15px;
  background: #2e7d32;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.product-card .view-product:hover {
  background: #1b5e20;
}

/* Product detail page */
.product-detail {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px;
  gap: 30px;
}

.product-detail img {
  max-width: 400px;
  width: 100%;
  border-radius: 10px;
}

.product-info {
  max-width: 500px;
}

.product-info h2 {
  color: #2e7d32;
  margin-bottom: 10px;
}

.product-info p {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.back-button {
  display: inline-block;
  padding: 10px 20px;
  background: #2e7d32;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s;
}

.back-button:hover {
  background: #1b5e20;
}

footer {
  background: #2e7d32;
  color: white;
  padding: 15px;
  text-align: center;
}

/* Responsive */
@media screen and (max-width: 1200px) {
  .product-card {
    width: 45%;
  }
  .product-detail {
    flex-direction: column;
    align-items: center;
  }
}

@media screen and (max-width: 768px) {
  .product-card {
    width: 90%;
  }
}
