/* ================================================================
   LOUVRE FURNISHING — Global Stylesheet
   ================================================================ */

/* ----------------------------------------------------------------
   1. BASE / RESET
---------------------------------------------------------------- */
body {
  background-color: #faf7f2;
  color: #1a1816;
  font-family: "Plus Jakarta Sans", sans-serif;
  overflow-x: hidden;
}

.font-serif {
  font-family: "Cormorant Garamond", Georgia, serif;
}

/* ----------------------------------------------------------------
   2. GLASS / SURFACES
---------------------------------------------------------------- */
.glass-header {
  background: rgba(250, 247, 242, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.glass-card {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(197, 155, 39, 0.15);
}

/* ----------------------------------------------------------------
   3. GOLD GRADIENTS
---------------------------------------------------------------- */
.gold-gradient-text {
  background: linear-gradient(135deg, #d4af37 0%, #c59b27 50%, #8c6a13 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gold-gradient-bg {
  background: linear-gradient(135deg, #d4af37 0%, #c59b27 100%);
}

.gold-gradient-bg-hover:hover {
  background: linear-gradient(135deg, #c59b27 0%, #a37c1c 100%);
}

.gold-border-glow {
  box-shadow: 0 0 25px rgba(197, 155, 39, 0.18);
}

/* ----------------------------------------------------------------
   4. SCROLL REVEAL ANIMATIONS
---------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition:
    opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition:
    opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition:
    opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays */
.delay-50  { transition-delay: 50ms; }
.delay-100 { transition-delay: 100ms; }
.delay-150 { transition-delay: 150ms; }
.delay-200 { transition-delay: 200ms; }
.delay-250 { transition-delay: 250ms; }
.delay-300 { transition-delay: 300ms; }
.delay-350 { transition-delay: 350ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* ----------------------------------------------------------------
   5. FADE-UP (legacy — kept for compatibility)
---------------------------------------------------------------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ----------------------------------------------------------------
   6. FLOAT ANIMATIONS
---------------------------------------------------------------- */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%      { transform: translateY(-12px); }
}
.float-anim {
  animation: float 6s ease-in-out infinite;
}

@keyframes float-delayed {
  0%, 100% { transform: translateY(0px); }
  50%      { transform: translateY(-8px); }
}
.float-anim-delayed {
  animation: float-delayed 7s ease-in-out infinite 1s;
}

@keyframes float-slow {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50%      { transform: translate(20px, -20px) rotate(5deg); }
}
.float-slow {
  animation: float-slow 12s ease-in-out infinite;
}

/* ----------------------------------------------------------------
   7. SHIMMER TEXT
---------------------------------------------------------------- */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.shimmer-text {
  background: linear-gradient(
    90deg,
    #c59b27 0%,
    #d4af37 25%,
    #f5e6a3 50%,
    #d4af37 75%,
    #c59b27 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
}

/* ----------------------------------------------------------------
   8. PULSE RING
---------------------------------------------------------------- */
@keyframes pulse-ring {
  0%   { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}
.pulse-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #c59b27;
  animation: pulse-ring 2.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

/* ----------------------------------------------------------------
   9. HOVER LIFT
---------------------------------------------------------------- */
.hover-lift {
  transition:
    transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.45s ease;
}
.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -15px rgba(197, 155, 39, 0.3);
}

/* ----------------------------------------------------------------
   10. CARD SHINE
---------------------------------------------------------------- */
.card-shine {
  position: relative;
  overflow: hidden;
}
.card-shine::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.7s ease;
  z-index: 5;
  pointer-events: none;
}
.card-shine:hover::before {
  left: 100%;
}

/* ----------------------------------------------------------------
   11. IMAGE ZOOM
---------------------------------------------------------------- */
.img-zoom {
  transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.group:hover .img-zoom {
  transform: scale(1.1);
}

/* ----------------------------------------------------------------
   12. TAB UNDERLINE
---------------------------------------------------------------- */
.tab-btn {
  position: relative;
  transition: color 0.3s ease;
}
.tab-btn::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #d4af37, #c59b27);
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.tab-btn.active::after { width: 100%; }
.tab-btn.active        { color: #c59b27; }

/* ----------------------------------------------------------------
   13. SUBCATEGORY PILL
---------------------------------------------------------------- */
.subcat-pill {
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}
.subcat-pill::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #d4af37, #c59b27);
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: -1;
}
.subcat-pill:hover {
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
}
.subcat-pill:hover::before { opacity: 1; }
.subcat-pill.active {
  background: linear-gradient(135deg, #d4af37, #c59b27);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 25px -8px rgba(197, 155, 39, 0.6);
}

/* ----------------------------------------------------------------
   14. PRODUCT CARD FADE-IN
---------------------------------------------------------------- */
@keyframes cardFadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.card-animate {
  animation: cardFadeIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* ----------------------------------------------------------------
   15. TAG BADGE
---------------------------------------------------------------- */
.tag-badge {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* ----------------------------------------------------------------
   16. HERO SLIDER
---------------------------------------------------------------- */
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 800ms ease-in-out,
    visibility 800ms ease-in-out;
  pointer-events: none;
  z-index: 1;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 10;
}

/* ----------------------------------------------------------------
   17. MAP OVERLAY & SHADOW
---------------------------------------------------------------- */
.map-overlay {
  background: linear-gradient(
    to bottom,
    rgba(15, 14, 13, 0.35) 0%,
    transparent 25%,
    transparent 75%,
    rgba(15, 14, 13, 0.25) 100%
  );
  pointer-events: none;
}
.map-shadow {
  box-shadow: 0 30px 70px -20px rgba(15, 14, 13, 0.35);
}

/* ----------------------------------------------------------------
   18. INFO ROW (Contact / Showroom)
---------------------------------------------------------------- */
.info-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(197, 155, 39, 0.1);
  transition: all 0.3s ease;
}
.info-row:last-child {
  border-bottom: none;
}
.info-row:hover {
  padding-left: 6px;
}
.info-row:hover .info-icon {
  background: #c59b27;
  color: #fff;
  transform: scale(1.1);
}
.info-icon {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ----------------------------------------------------------------
   19. DECORATIVE
---------------------------------------------------------------- */
.grid-bg {
  background-image:
    linear-gradient(rgba(197, 155, 39, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197, 155, 39, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
}

.gold-underline {
  position: relative;
  display: inline-block;
}
.gold-underline::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, #d4af37, #c59b27);
  animation: border-draw 1.2s ease-out forwards;
}
@keyframes border-draw {
  0%   { width: 0; }
  100% { width: 100%; }
}

/* ----------------------------------------------------------------
   20. SCROLL INDICATOR
---------------------------------------------------------------- */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: #c59b27;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
}
.scroll-indicator .line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, #c59b27, transparent);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0%, 100% { transform: scaleY(0.4); opacity: 0.3; }
  50%      { transform: scaleY(1);   opacity: 1; }
}

/* ----------------------------------------------------------------
   21. CUSTOM SCROLLBAR
---------------------------------------------------------------- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #faf7f2;
}
::-webkit-scrollbar-thumb {
  background: #c59b27;
  border-radius: 4px;
}