/* ==========================================================================
   T DÉCOR — EVENT DESIGN & DÉCOR | LUXURY RED WINE, 24K GOLD & SILVER THEME
   ========================================================================== */

:root {
  --wine-950: #160207;
  --wine-900: #24040d;
  --wine-850: #330714;
  --wine-800: #470a1c;
  --wine-700: #681029;
  --wine-600: #8a1638;
  --silver-100: #ffffff;
  --silver-200: #f0f5f9;
  --silver-300: #d8e2ec;
  --silver-400: #b0c0cf;
  --gold-100: #fff9e6;
  --gold-200: #fce8a6;
  --gold-300: #e5c158;
  --gold-400: #c89d28;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background-color: var(--wine-950);
  color: #fffdf9;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 12% 10%, rgba(158, 22, 60, 0.48) 0%, transparent 45%),
    radial-gradient(circle at 88% 15%, rgba(212, 175, 55, 0.22) 0%, transparent 42%),
    radial-gradient(circle at 50% 50%, rgba(122, 16, 46, 0.35) 0%, transparent 60%),
    radial-gradient(circle at 82% 85%, rgba(216, 226, 236, 0.16) 0%, transparent 45%),
    linear-gradient(180deg, #180208 0%, #2a0510 38%, #1f040b 72%, #140206 100%);
  min-height: 100vh;
}

.font-serif-editorial { font-family: 'Cormorant Garamond', Georgia, serif; letter-spacing: 0.01em; }
.font-mono-code { font-family: 'JetBrains Mono', monospace; }

/* Luminous 24K Gold & Sterling Silver Text Gradients */
.text-gold-display {
  background: linear-gradient(135deg, #fff8db 0%, #f1cf65 28%, #ffffff 50%, #cfa128 74%, #fce8a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-silver-display {
  background: linear-gradient(135deg, #ffffff 0%, #d4e0ec 30%, #ffffff 52%, #9eb0c2 76%, #f2f7fb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Signature T Décor Header Banner */
.tdecor-top-banner {
  background: linear-gradient(90deg, #1b0309 0%, #3d0818 35%, #4e0b1f 50%, #3d0818 65%, #1b0309 100%);
  border-bottom: 1px solid rgba(229, 193, 88, 0.55);
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.65), inset 0 -1px 0 rgba(216, 226, 236, 0.3);
}

/* Dual Silver & Gold Hairline Divider */
.dual-metallic-border-b {
  border-bottom: 1px solid rgba(229, 193, 88, 0.45);
  box-shadow: 0 1px 0 0 rgba(216, 226, 236, 0.32);
}

.dual-metallic-border-t {
  border-top: 1px solid rgba(229, 193, 88, 0.48);
  box-shadow: 0 -1px 0 0 rgba(216, 226, 236, 0.32);
}

/* Rich Red Wine Cards with Glassmorphic Lustre */
.card-wine-velvet {
  background: linear-gradient(155deg, rgba(74, 11, 29, 0.86) 0%, rgba(36, 5, 14, 0.92) 55%, rgba(24, 3, 9, 0.96) 100%);
  backdrop-filter: blur(20px) saturate(170%);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  transition: transform 0.34s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.34s ease, box-shadow 0.34s ease;
}

.card-wine-velvet:hover {
  transform: translateY(-4px);
}

/* Polished Sterling Silver Outlier Card Frame */
.border-silver-luxe {
  border: 1px solid rgba(222, 232, 242, 0.72);
  box-shadow:
    0 16px 38px -10px rgba(0, 0, 0, 0.82),
    0 0 24px -5px rgba(216, 226, 236, 0.28),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.65),
    inset 0 0 0 1px rgba(229, 193, 88, 0.16);
}
.border-silver-luxe:hover {
  border-color: #ffffff;
  box-shadow:
    0 22px 46px -10px rgba(0, 0, 0, 0.88),
    0 0 32px -4px rgba(222, 232, 242, 0.45),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.85);
}

/* Brushed 24K Gold Outlier Card Frame */
.border-gold-luxe {
  border: 1px solid rgba(235, 198, 90, 0.75);
  box-shadow:
    0 16px 38px -10px rgba(0, 0, 0, 0.82),
    0 0 26px -5px rgba(212, 175, 55, 0.32),
    inset 0 1px 0 0 rgba(255, 243, 196, 0.6),
    inset 0 0 0 1px rgba(216, 226, 236, 0.16);
}
.border-gold-luxe:hover {
  border-color: #fce8a6;
  box-shadow:
    0 22px 46px -10px rgba(0, 0, 0, 0.88),
    0 0 34px -4px rgba(235, 198, 90, 0.5),
    inset 0 1px 0 0 rgba(255, 248, 215, 0.85);
}

/* Metallic Buttons: 24K Gold & Polished Sterling Silver */
.btn-gold-metallic {
  background: linear-gradient(135deg, #e5c358 0%, #fff4c8 48%, #c49622 100%);
  color: #180207;
  font-weight: 700;
  border: 1px solid rgba(255, 250, 224, 0.8);
  box-shadow: 0 6px 22px -4px rgba(212, 175, 55, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  transition: all 0.25s ease;
}
.btn-gold-metallic:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px -3px rgba(212, 175, 55, 0.8);
}

.btn-silver-metallic {
  background: linear-gradient(135deg, #d4e0ec 0%, #ffffff 48%, #9eb0c2 100%);
  color: #180207;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 22px -4px rgba(212, 224, 236, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: all 0.25s ease;
}
.btn-silver-metallic:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px -3px rgba(225, 235, 245, 0.75);
}

.btn-silver-outline {
  background: linear-gradient(145deg, rgba(216, 226, 236, 0.16) 0%, rgba(58, 9, 23, 0.82) 100%);
  border: 1px solid rgba(229, 193, 88, 0.65);
  color: #fffdf9;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.25s ease;
}
.btn-silver-outline:hover {
  border-color: #fce8a6;
  background: rgba(110, 18, 44, 0.65);
  color: #ffffff;
  box-shadow: 0 0 18px rgba(229, 193, 88, 0.4);
}

/* Silver & Gold Pill Badges */
.badge-silver-chrome {
  background: linear-gradient(135deg, rgba(226, 234, 242, 0.26) 0%, rgba(92, 14, 36, 0.65) 100%);
  border: 1px solid rgba(235, 242, 248, 0.8);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}
.badge-gold-foil {
  background: linear-gradient(135deg, rgba(229, 193, 88, 0.3) 0%, rgba(115, 18, 45, 0.72) 100%);
  border: 1px solid rgba(252, 232, 166, 0.82);
  color: #fce8a6;
  box-shadow: inset 0 1px 0 rgba(255, 245, 200, 0.45);
}

/* ==========================================================================
   CONTINUOUS AUTOMATIC HORIZONTAL SLIDER TRACK & PROGRESS BAR
   ========================================================================== */
.slider-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  background: #120206;
}

.slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.78s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.slider-card-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.slider-card-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 4.2s ease-out;
}

.slider-card-slide.is-current img {
  transform: scale(1.06);
}

/* Continuous Auto-Glide Filmstrip Ribbon below Hero */
@keyframes continuousRibbonGlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.auto-glide-ribbon {
  display: flex;
  width: max-content;
  animation: continuousRibbonGlide 34s linear infinite;
}
.auto-glide-ribbon:hover {
  animation-play-state: paused;
}

/* ==========================================================================
   INTERACTIVE IMAGE ZOOM STAGE IN LIGHTBOX
   ========================================================================== */
.lightbox-zoom-viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 66vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: radial-gradient(circle, rgba(62, 10, 24, 0.55) 0%, rgba(12, 2, 5, 0.92) 100%);
  border: 1px solid rgba(229, 193, 88, 0.55);
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8);
  user-select: none;
  touch-action: none;
}

.lightbox-zoom-img {
  max-height: 62vh;
  max-width: 90%;
  object-fit: contain;
  border-radius: 0.75rem;
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: center center;
  will-change: transform;
  cursor: zoom-in;
}

.lightbox-zoom-img.is-zoomed {
  cursor: grab;
}
.lightbox-zoom-img.is-dragging {
  cursor: grabbing;
  transition: none;
}

/* ==========================================================================
   BESPOKE FROSTED GLASSMORPHISM PAGE TRANSITION PORTAL
   ========================================================================== */
.glass-transition-portal {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0;
  backdrop-filter: blur(0px) saturate(100%);
  -webkit-backdrop-filter: blur(0px) saturate(100%);
  background: linear-gradient(
    135deg,
    rgba(42, 6, 16, 0.6) 0%,
    rgba(229, 193, 88, 0.18) 48%,
    rgba(216, 226, 236, 0.18) 54%,
    rgba(22, 3, 8, 0.7) 100%
  );
  transition:
    opacity 0.36s cubic-bezier(0.22, 1, 0.36, 1),
    backdrop-filter 0.36s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.glass-transition-portal.is-active {
  opacity: 1;
  backdrop-filter: blur(26px) saturate(190%);
  -webkit-backdrop-filter: blur(26px) saturate(190%);
}

.glass-portal-crest {
  padding: 1rem 2rem;
  border-radius: 999px;
  background: rgba(32, 5, 13, 0.88);
  border: 1px solid rgba(229, 193, 88, 0.75);
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transform: scale(0.92);
  transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}
.glass-transition-portal.is-active .glass-portal-crest {
  transform: scale(1);
}

@keyframes glassPageMorphIn {
  0% {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(12px) scale(0.988);
  }
  100% {
    opacity: 1;
    filter: blur(0px);
    transform: translateY(0) scale(1);
  }
}

.page-view { display: none; }
.page-view.active {
  display: block;
  animation: glassPageMorphIn 0.48s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Range Slider with Silver & Gold Track */
input[type="range"].luxe-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, #7a1230 0%, #d4af37 52%, #e2ecf5 100%);
  border-radius: 999px;
  outline: none;
}
input[type="range"].luxe-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 20%, #fce8a6 60%, #d4af37 100%);
  border: 2px solid #ffffff;
  cursor: pointer;
  box-shadow: 0 0 14px rgba(252, 232, 166, 0.95);
}
