/* Hero Section Styles */
.hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
  background: linear-gradient(rgba(0, 100, 0, 0.2), rgba(0, 100, 0, 0.2)), url('https://images.pexels.com/photos/3762455/pexels-photo-3762455.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(27, 138, 61, 0.7), rgba(27, 138, 61, 0.2));
}

.hero-slider {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.slide.current {
  opacity: 1;
}

.product-showcase {
  position: relative;
  display: flex;
  justify-content: center;
  gap: var(--spacing-lg);
  padding: var(--spacing-xl) var(--spacing-md);
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 1;
}

.product {
  flex: 1;
  min-width: 180px;
  max-width: 250px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  animation: slideUp 0.8s forwards;
  opacity: 0;
}

.product:nth-child(1) {
  animation-delay: 0.1s;
}

.product:nth-child(2) {
  animation-delay: 0.3s;
}

.product:nth-child(3) {
  animation-delay: 0.5s;
}

.product:nth-child(4) {
  animation-delay: 0.7s;
}

.product:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.product img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-bottom: 3px solid var(--primary-color);
}

.product-info {
  padding: var(--spacing-md);
  text-align: center;
}

.product-info h3 {
  font-size: var(--font-size-lg);
  color: var(--primary-color);
  margin-bottom: var(--spacing-xs);
}

.product-info p {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}

/* Hero Controls */
.hero-controls {
  position: absolute;
  bottom: var(--spacing-md);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: var(--spacing-md);
  z-index: 2;
}

.hero-controls button {
  width: 12px;
  height: 12px;
  border-radius: var(--border-radius-circle);
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.hero-controls button.active,
.hero-controls button:hover {
  background-color: var(--text-light);
  transform: scale(1.2);
}

/* Responsive styles */
@media (max-width: 768px) {
  .hero {
    height: auto;
  }
  
  .product-showcase {
    flex-direction: column;
    align-items: center;
  }
  
  .product {
    width: 80%;
    max-width: 300px;
    margin-bottom: var(--spacing-md);
  }
}

@media (max-width: 576px) {
  .product {
    width: 90%;
  }
}