/* Products Section */
.products-section {
  width: 100%;
  background-color: #F5EBD9;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.products-container {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 300px;
  position: relative;
}

.products-title {
  font-size: 3rem;
  font-weight: 900;
  color: #000;
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-bottom: 50px;
  text-align: left;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
  position: relative;
  z-index: 10;
}

.product-item {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1.5;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gradient overlays - top and bottom vignette */
.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, transparent 20%),
    linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 30%, transparent 60%);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.product-name {
  font-size: 2.5rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1.5px #fff;
  text-stroke: 1.5px #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  top: 120px;
  position: relative;
  z-index: 2;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Palete Images - Animated */
.products-palete-left,
.products-palete-right {
  position: absolute;
  bottom: -50px;
  width: 200px;
  height: 200px;
  z-index: 5;
  pointer-events: none;
}

.products-palete-left {
  left: 50px;
}

.products-palete-right {
  right: 50px;
}

.palete-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Responsive Styles */
@media (max-width: 1920px) {
  .products-container {
    padding: 0 250px;
  }
}

@media (max-width: 1440px) {
  .products-container {
    padding: 0 200px;
  }

  .products-title {
    font-size: 2.5rem;
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .products-section {
    padding: 60px 0;
  }

  .products-container {
    padding: 0 60px;
  }

  .products-title {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 40px;
  }

  .product-name {
    font-size: 1.5rem;
    -webkit-text-stroke: 1px #fff;
    text-stroke: 1px #fff;
  }

  .products-palete-left,
  .products-palete-right {
    width: 150px;
    height: 150px;
    bottom: -30px;
  }

  .products-palete-left {
    left: 20px;
  }

  .products-palete-right {
    right: 20px;
  }
}

@media (max-width: 768px) {
  .products-section {
    padding: 40px 0;
  }

  .products-container {
    padding: 0 20px;
  }

  .products-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .product-name {
    font-size: 1.2rem;
    -webkit-text-stroke: 1px #fff;
    text-stroke: 1px #fff;
    top: 70px;
    letter-spacing: 1px;
  }

  .products-palete-left,
  .products-palete-right {
    width: 120px;
    height: 120px;
    bottom: -20px;
  }
}

