/* ==============================
   Ashray Products Section
============================== */
.ashray-products {
  position: relative;
  padding: 4rem 1.5rem;
  background: var(--background-light, #f8f9fa);
  overflow: hidden;
  font-family: 'IBM Plex Sans', sans-serif;
}

/* ==============================
   Section Header
============================== */
.ashray-section-title {
  font-size: 2.3rem;
  text-align: center;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--primary-accent, #222);
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.8s ease;
  letter-spacing: 1.5px;
}

.ashray-section-desc {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3rem;
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(-15px);
  transition: all 0.8s ease;
}

/* Animate in */
.ashray-section-title.animate,
.ashray-section-desc.animate {
  opacity: 1;
  transform: translateY(0);
}

/* ==============================
   Products Grid
============================== */
.ashray-products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .ashray-products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

/* ==============================
   Product Card
============================== */
.ashray-product-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  cursor: pointer;
  transform: translateY(40px);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  background: var(--background-white, #fff);
}

.ashray-product-card.animate {
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.9s ease forwards;
}

/* Product Image */
.ashray-product-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.5s ease;
  display: block;
}

.ashray-product-card:hover img {
  transform: scale(1.1);
  filter: brightness(1.05);
}

/* Overlay */
.ashray-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s ease, opacity 0.4s ease;
}

.ashray-overlay h3 {
  color: #fff;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  z-index: 2;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Hover Effects */
.ashray-product-card:hover .ashray-overlay {
  background: rgba(0,0,0,0.55);
}

.ashray-product-card:hover .ashray-overlay h3 {
  opacity: 1;
  transform: translateY(0);
}

/* Ripple / Wave Effect */
.ashray-product-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  background: rgba(255,255,255,0.4);
  top: 50%;
  left: 50%;
  transform: scale(0) translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
}

.ashray-product-card:hover::after {
  animation: ripple 0.8s ease-out;
}

@keyframes ripple {
  0% {
    transform: scale(0) translate(-50%, -50%);
    opacity: 0.6;
  }
  100% {
    transform: scale(10) translate(-50%, -50%);
    opacity: 0;
  }
}

/* Watermark */
.ashray-watermark {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 6rem;
  font-weight: 900;
  color: rgba(44,44,44,0.03);
  pointer-events: none;
  user-select: none;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .ashray-watermark {
    font-size: 10rem;
  }
}

/* Extra Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
