/* Products Page Specific Styles */
.products-hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('bg.jpg') no-repeat center center/cover;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--white);
  position: relative;
}

.products-hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.products-hero p {
  font-size: 20px;
  margin-bottom: 30px;
}

/* Filter Options */
.products-filter {
  background-color: var(--white);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.filter-btn {
  padding: 10px 20px;
  background-color: var(--light-gray);
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s;
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--primary-green);
  color: var(--white);
}

/* Products Grid */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.product-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--primary-green);
  color: var(--white);
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}

.product-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-info h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--primary-green);
}

.product-description {
  font-size: 14px;
  color: var(--dark-gray);
  margin-bottom: 15px;
  flex: 1;
}

.product-meta {
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
}

.price {
  font-weight: 700;
  color: var(--primary-green);
  font-size: 18px;
}

/* Book Supply Button */
.book-supply {
  width: 100%;
  padding: 12px;
  background-color: var(--medium-green);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s;
  display: block;
}

.book-supply:hover {
  background-color: var(--primary-green);
  transform: translateY(-2px);
}

/* Product Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.feature-item {
  text-align: center;
  padding: 30px;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.feature-item:hover {
  transform: translateY(-10px);
}

.feature-icon {
  font-size: 48px;
  color: var(--primary-green);
  margin-bottom: 20px;
}

.feature-item h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--primary-green);
}

.feature-item p {
  font-size: 16px;
  color: var(--dark-gray);
}

/* Call to Action */
.cta {
  background-color: var(--primary-green);
  color: var(--white);
  padding: 80px 0;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.cta h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.cta p {
  font-size: 20px;
  margin-bottom: 30px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn-light {
  background-color: var(--white);
  color: var(--primary-green);
}

.btn-light:hover {
  background-color: var(--light-gray);
  color: var(--primary-green);
}

.btn-outline-light {
  background-color: transparent;
  border: 2px solid var(--white);
  color: var(--white);
}

.btn-outline-light:hover {
  background-color: var(--white);
  color: var(--primary-green);
}

/* Responsive Design */
@media (max-width: 768px) {
  .products-hero h1 {
    font-size: 36px;
  }
  
  .filter-options {
    flex-direction: column;
    align-items: stretch;
  }
  
  .filter-btn {
    width: 100%;
  }
  
  .grid-container {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .feature-item {
    padding: 20px;
  }
}
