/* ===== JM LUX OUD - Premium Styles ===== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0B0B0B;
}
::-webkit-scrollbar-thumb {
  background: #D4AF37;
  border-radius: 4px;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #0B0B0B;
  color: #F8F3E8;
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
}

/* Splash Animation */
.splash-content {
  animation: fadeInUp 1.5s ease-out;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.splash-logo {
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 20px rgba(212,175,55,0.3); }
  50% { box-shadow: 0 0 40px rgba(212,175,55,0.6); }
}

/* Navbar */
#navbar.scrolled {
  background: rgba(11,11,11,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212,175,55,0.1);
}

/* Hero Banner */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.active {
  opacity: 1;
}

/* Product Card */
.product-card {
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(212,175,55,0.15);
}
.product-card:hover .product-img {
  transform: scale(1.05);
}
.product-img {
  transition: transform 0.6s ease;
}

/* Gold Gradient Text */
.gold-gradient {
  background: linear-gradient(135deg, #D4AF37, #F5E6A3, #D4AF37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Shimmer Effect */
.shimmer {
  position: relative;
  overflow: hidden;
}
.shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212,175,55,0.1), transparent);
  animation: shimmer 3s infinite;
}
@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Section Labels */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.section-label::before,
.section-label::after {
  content: '';
  width: 30px;
  height: 1px;
  background: #D4AF37;
}

/* Badge Styles */
.badge-bestseller { background: linear-gradient(135deg, #D4AF37, #B8860B); color: #0B0B0B; }
.badge-new { background: linear-gradient(135deg, #2563eb, #1d4ed8); color: white; }
.badge-offer { background: linear-gradient(135deg, #dc2626, #b91c1c); color: white; }
.badge-featured { background: linear-gradient(135deg, #7c3aed, #6d28d9); color: white; }
.badge-low-stock { background: linear-gradient(135deg, #f59e0b, #d97706); color: #0B0B0B; }

/* Olfactive Pyramid */
.pyramid-level {
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

/* Quiz */
.quiz-option {
  transition: all 0.3s ease;
  cursor: pointer;
}
.quiz-option:hover {
  border-color: #D4AF37;
  background: rgba(212,175,55,0.05);
}
.quiz-option.selected {
  border-color: #D4AF37;
  background: rgba(212,175,55,0.1);
}

/* Admin Panel */
.admin-sidebar-item {
  transition: all 0.2s ease;
}
.admin-sidebar-item:hover,
.admin-sidebar-item.active {
  background: rgba(212,175,55,0.1);
  border-right: 2px solid #D4AF37;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideIn {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}

.fade-in { animation: fadeIn 0.6s ease; }
.slide-up { animation: slideUp 0.6s ease; }
.slide-in { animation: slideIn 0.4s ease; }

.animate-bounce-slow {
  animation: bounce 3s infinite;
}

/* Share Buttons */
.share-btn {
  @apply flex items-center gap-3 w-full px-4 py-3 rounded-lg border border-gold/10 text-ivory/70 hover:text-gold hover:border-gold/30 transition-all;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .product-card:hover {
    transform: none;
  }
}

/* Gradient borders */
.gold-border-gradient {
  border-image: linear-gradient(135deg, #D4AF37, #B8860B) 1;
}

/* Loading spinner */
.spinner {
  border: 2px solid rgba(212,175,55,0.1);
  border-top: 2px solid #D4AF37;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Image gallery */
.gallery-thumb {
  opacity: 0.5;
  transition: all 0.3s ease;
  cursor: pointer;
}
.gallery-thumb:hover,
.gallery-thumb.active {
  opacity: 1;
  border-color: #D4AF37;
}

/* Stat Card */
.stat-card {
  background: linear-gradient(135deg, rgba(212,175,55,0.05), rgba(212,175,55,0.02));
  border: 1px solid rgba(212,175,55,0.1);
}

/* Image Upload Zone */
#pf-image-upload-zone {
  transition: all 0.3s ease;
}
#pf-image-upload-zone:hover {
  border-color: rgba(212,175,55,0.5);
  background: rgba(212,175,55,0.03);
}
#pf-image-upload-zone.dragover {
  border-color: #D4AF37;
  background: rgba(212,175,55,0.08);
}

/* Image Preview Grid */
#pf-image-previews > div:hover img {
  opacity: 0.8;
  transition: opacity 0.2s ease;
}
#pf-image-previews > div img {
  transition: opacity 0.2s ease;
}

/* Banner dots */
.banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(248,243,232,0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}
.banner-dot.active {
  background: #D4AF37;
  width: 24px;
  border-radius: 4px;
}