/* Premium Products Showcase Styles */
.premium-products-showcase {
  padding: 80px 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 50%, #1a1a1a 100%);
  position: relative;
  overflow: hidden;
}

/* Premium Gold Background Pattern */
.premium-products-showcase::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 40% 60%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
    linear-gradient(45deg, transparent 40%, rgba(212, 175, 55, 0.02) 50%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

/* Animated Gold Particles */
.premium-products-showcase::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(2px 2px at 20px 30px, rgba(212, 175, 55, 0.3), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(255, 215, 0, 0.2), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(212, 175, 55, 0.4), transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(255, 215, 0, 0.3), transparent),
    radial-gradient(2px 2px at 160px 30px, rgba(212, 175, 55, 0.2), transparent);
  background-repeat: repeat;
  background-size: 200px 100px;
  animation: goldParticles 20s linear infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes goldParticles {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-200px);
  }
}

.premium-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.premium-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

/* Premium Header with Gold Accents */
.premium-header::before {
  content: "";
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #d4af37, #ffd700, #d4af37, transparent);
  border-radius: 2px;
}

.premium-title {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #d4af37 0%, #ffd700 25%, #ffed4e 50%, #ffd700 75%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
  animation: goldShimmer 3s ease-in-out infinite alternate;
}

@keyframes goldShimmer {
  0% {
    filter: brightness(1) saturate(1);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
  }
  100% {
    filter: brightness(1.2) saturate(1.3);
    text-shadow: 0 0 40px rgba(212, 175, 55, 0.6), 0 0 60px rgba(255, 215, 0, 0.4);
  }
}

.premium-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, #d4af37, #ffd700, #d4af37);
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4), 0 0 20px rgba(212, 175, 55, 0.3);
  animation: goldGlow 2s ease-in-out infinite alternate;
}

@keyframes goldGlow {
  0% {
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.4), 0 0 20px rgba(212, 175, 55, 0.3);
  }
  100% {
    box-shadow: 0 2px 12px rgba(212, 175, 55, 0.6), 0 0 30px rgba(212, 175, 55, 0.5);
  }
}

.premium-subtitle {
  font-size: 1.2rem;
  color: #e0e0e0;
  font-weight: 300;
  letter-spacing: 0.5px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.premium-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.premium-product-card {
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(212, 175, 55, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.premium-product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(145deg, #d4af37, #ffd700, #d4af37);
  border-radius: 20px;
  padding: 2px;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.premium-product-card:hover::before {
  opacity: 1;
}

.premium-product-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(212, 175, 55, 0.3), 0 0 30px rgba(212, 175, 55, 0.2);
}

.product-image-container {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.premium-product-card:hover .product-image {
  transform: scale(1.08);
}

.product-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  font-size: 1.1rem;
  font-weight: 500;
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(255, 215, 0, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.premium-product-card:hover .product-overlay {
  opacity: 1;
}

.premium-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #d4af37, #ffd700);
  color: #2c3e50;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.product-content {
  padding: 30px;
  background: linear-gradient(180deg, #ffffff, #fafafa);
}

.product-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 12px;
  line-height: 1.3;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.product-description {
  color: #5a6c7d;
  line-height: 1.6;
  margin-bottom: 24px;
  font-size: 1rem;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  gap: 16px;
}

/* Updated Pricing Styles - Exactly like the image */
.product-pricing {
  display: flex;
  align-items: center;
  gap: 0;
}

.price-display {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.original-price-crossed {
  font-size: 1.4rem;
  font-weight: 600;
  color: #7f8c8d;
  text-decoration: line-through;
  text-decoration-color: #e74c3c;
  text-decoration-thickness: 2px;
  position: relative;
}

.original-price-crossed::before {
  content: "₹";
  position: absolute;
  left: -12px;
  top: 0;
  font-size: 1.4rem;
  color: #7f8c8d;
  text-decoration: line-through;
  text-decoration-color: #e74c3c;
  text-decoration-thickness: 2px;
}

.discounted-price {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, #d4af37, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-left: 4px;
}

.single-price-display {
  font-size: 1.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, #d4af37, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.discount-badge-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: white;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.premium-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #2c3e50, #34495e);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(44, 62, 80, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.2);
  white-space: nowrap;
}

.premium-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
  transition: left 0.5s ease;
}

.premium-btn:hover::before {
  left: 100%;
}

.premium-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(44, 62, 80, 0.4), 0 0 20px rgba(212, 175, 55, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  color: #ffffff;
  text-decoration: none;
  border-color: rgba(212, 175, 55, 0.4);
}

.btn-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.premium-btn:hover .btn-icon {
  transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .premium-products-showcase {
    padding: 60px 0;
  }

  .premium-title {
    font-size: 2.2rem;
  }

  .premium-products-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .product-content {
    padding: 24px;
  }

  .product-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .premium-btn {
    justify-content: center;
  }

  .price-display {
    justify-content: center;
  }

  .original-price-crossed {
    font-size: 1.2rem;
  }

  .discounted-price {
    font-size: 1.6rem;
  }

  .single-price-display {
    font-size: 1.6rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .premium-container {
    padding: 0 16px;
  }

  .premium-title {
    font-size: 1.8rem;
  }

  .premium-subtitle {
    font-size: 1rem;
  }

  .product-image-container {
    height: 250px;
  }

  .product-content {
    padding: 20px;
  }

  /* Reduce animation intensity on mobile */
  .premium-products-showcase::after {
    animation-duration: 30s;
    opacity: 0.5;
  }

  .premium-title {
    animation: none; /* Disable shimmer on mobile for performance */
  }
}

/* Animation for AOS */
[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

/* Loading animation for images */
.product-image {
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.product-image.loaded {
  opacity: 1;
  transform: scale(1);
}

/* Premium decorative elements */
.premium-header::after {
  content: "✦";
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  color: #d4af37;
  font-size: 1.5rem;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
  animation: starTwinkle 2s ease-in-out infinite alternate;
}

@keyframes starTwinkle {
  0% {
    opacity: 0.7;
    transform: translateX(-50%) scale(1);
  }
  100% {
    opacity: 1;
    transform: translateX(-50%) scale(1.2);
  }
}
