/* Estilos para la sección de productos */
#products {
  padding: 80px 0;
  background: #f7f9fc;
}

#products .section-header {
  text-align: center;
  margin-bottom: 50px;
}

#products .section-header h2 {
  font-size: 36px;
  color: #79b53b;
  margin-bottom: 20px;
  font-weight: 700;
  position: relative;
  padding-bottom: 20px;
  text-transform: uppercase;
}

#products .section-header h2::before {
  content: '';
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: #79b53b;
  bottom: 0;
  left: 0;
}

#products .section-header p {
  margin: 15px auto 0;
  padding: 0;
  font-size: 16px;
  color: #6c757d;
  max-width: 700px;
  text-align: center;
  line-height: 1.6;
}

.products-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  padding: 0 15px;
}

.product-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.product-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.product-content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #2c3e50;
}

.product-description {
  color: #6c757d;
  margin-bottom: 20px;
  flex-grow: 1;
}

.product-btn {
  display: inline-block;
  background: #50d8af;
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  text-align: center;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  align-self: flex-start;
}

.product-btn:hover {
  background: #3ecf9e;
  color: #fff;
  transform: translateY(-2px);
}

/* Estilos responsivos */
@media (max-width: 992px) {
  .products-container {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  #products {
    padding: 60px 0;
  }
  
  .products-container {
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
    max-width: 500px;
    margin: 0 auto;
  }
}
