/* ================================
   PRODUCTS PAGE - DARK LUXURY THEME
================================ */

.products-page {
  background: var(--dark-bg);
  min-height: 100vh;
  position: relative;
}

/* Animated Background */
.products-page::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 20% 30%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Hero Section */
.products-hero {
  padding: 12rem 0 6rem;
  text-align: center;
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, var(--dark-bg) 0%, transparent 100%);
}

/* Products Content */
.products-content {
  padding: 4rem 0 8rem;
  position: relative;
  z-index: 1;
}

.products-intro {
  text-align: center;
  margin-bottom: 5rem;
}

.products-intro h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--text-white);
  margin-bottom: 1rem;
}

.products-intro p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Categories Grid */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

/* Category Card */
.category-card {
  display: block;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
  transition: left 0.7s ease;
  z-index: 3;
}

.category-card:hover::before {
  left: 100%;
}

.category-card:hover {
  transform: translateY(-15px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4),
              0 0 40px rgba(212, 175, 55, 0.1);
}

.category-image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.category-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.category-card:hover .category-image {
  transform: scale(1.15);
}

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(10, 10, 10, 0.5) 60%,
    rgba(10, 10, 10, 0.9) 100%
  );
  transition: background 0.4s ease;
}

.category-card:hover .category-overlay {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(10, 10, 10, 0.4) 50%,
    rgba(10, 10, 10, 0.85) 100%
  );
}

.category-content {
  padding: 2rem;
  position: relative;
  z-index: 2;
}

.category-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--text-white);
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.category-card:hover .category-content h3 {
  color: var(--primary-gold);
}

.category-content p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.category-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary-gold);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.category-card:hover .category-link {
  transform: translateX(5px);
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 1024px) {
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .products-hero {
    padding: 10rem 0 4rem;
  }

  .categories-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .products-intro h2 {
    font-size: 2rem;
  }

  .category-content h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .products-hero {
    padding: 9rem 0 3.5rem;
  }

  .products-content {
    padding: 3rem 0 6rem;
  }

  .products-intro {
    margin-bottom: 3.5rem;
  }

  .products-intro p {
    font-size: 1.05rem;
  }

  .categories-grid {
    gap: 1.5rem;
  }

  .category-content {
    padding: 1.6rem;
  }

  .category-content p {
    font-size: 0.95rem;
  }

  .category-link {
    font-size: 0.9rem;
  }
}
