/* Styles partagés - Bijouterie Imen */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Montserrat', sans-serif; background: #0A0908; color: #F5F5F4; overflow-x: hidden; }
html { scroll-behavior: smooth; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #1C1917; }
::-webkit-scrollbar-thumb { background: #CA8A04; border-radius: 3px; }

.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

@keyframes shimmer { 0% { background-position: -200% center; } 100% { background-position: 200% center; } }
.gold-shimmer {
  background: linear-gradient(90deg, #CA8A04, #FFD700, #CA8A04, #FFD700, #CA8A04);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}

@keyframes float { 0%,100% { transform: translateY(0) rotate(0deg); opacity:0.3; } 50% { transform: translateY(-20px) rotate(180deg); opacity:0.8; } }
.particle { position: absolute; width: 4px; height: 4px; background: #CA8A04; border-radius: 50%; animation: float 3s ease-in-out infinite; }

.card-3d { transition: transform 0.4s ease; transform-style: preserve-3d; perspective: 1000px; }
.card-3d:hover { transform: rotateY(5deg) rotateX(3deg) scale(1.02); }

.glow-gold { box-shadow: 0 0 30px rgba(202, 138, 4, 0.15), 0 0 60px rgba(202, 138, 4, 0.05); }
.glow-gold-hover:hover { box-shadow: 0 0 40px rgba(202, 138, 4, 0.3), 0 0 80px rgba(202, 138, 4, 0.1); }

.slide-up { opacity: 0; transform: translateY(40px); transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.slide-up.visible { opacity: 1; transform: translateY(0); }
.slide-left { opacity: 0; transform: translateX(-40px); transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1); }
.slide-left.visible { opacity: 1; transform: translateX(0); }

.product-img { transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.product-img:hover { transform: scale(1.08); }

.glass { background: rgba(28, 25, 23, 0.7); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(202, 138, 4, 0.15); }

.hero-bg { position: relative; overflow: hidden; }
.hero-bg::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(202,138,4,0.08) 0%, transparent 70%); z-index: 1; }

.nav-scrolled { background: rgba(10, 9, 8, 0.95) !important; backdrop-filter: blur(20px); border-bottom: 1px solid rgba(202, 138, 4, 0.2); }

.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.85); backdrop-filter: blur(10px); z-index: 100; display: none; align-items: center; justify-content: center; }
.modal-overlay.active { display: flex; }

@media (max-width: 768px) { .mobile-bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; } }

@keyframes pulse-gold { 0%, 100% { box-shadow: 0 0 0 0 rgba(202, 138, 4, 0.4); } 50% { box-shadow: 0 0 0 10px rgba(202, 138, 4, 0); } }
.pulse-gold { animation: pulse-gold 2s infinite; }

.form-input { background: rgba(28, 25, 23, 0.8); border: 1px solid rgba(202, 138, 4, 0.2); color: #F5F5F4; transition: border-color 0.3s, box-shadow 0.3s; }
.form-input:focus { outline: none; border-color: #CA8A04; box-shadow: 0 0 0 3px rgba(202, 138, 4, 0.1); }
.form-input option { background: #1C1917; color: #F5F5F4; }

.whatsapp-float { position: fixed; bottom: 90px; right: 20px; z-index: 80; width: 56px; height: 56px; border-radius: 50%; background: #25D366; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); transition: transform 0.3s; }
.whatsapp-float:hover { transform: scale(1.1); }
@media (max-width: 768px) { .whatsapp-float { bottom: 80px; right: 16px; } }

.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.95); z-index: 110; display: none; align-items: center; justify-content: center; }
.lightbox.active { display: flex; }

@keyframes rotate3d { 0% { transform: perspective(1000px) rotateY(0deg); } 100% { transform: perspective(1000px) rotateY(360deg); } }
.rotate-3d { animation: rotate3d 20s linear infinite; }

@keyframes scrollX { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.animate-scroll { animation: scrollX 20s linear infinite; display: flex; width: max-content; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
