/* ==========================================================================
   कल्रा KRUTI by Vyara - LUXURY FASHION CAMPAIGN STYLESHEET
   Design Language: Indian Haute Couture x International Editorial Fashion
   Aesthetic: Deep Espresso, Warm Sandstone, Champagne Silk & Pure Antique Zari
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;600;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,600&family=Italiana&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Rozha+One&display=swap');

:root {
  /* Editorial Palette: Muted, Rich, Refined */
  --bg-primary: #F8F5EE;
  --bg-sand: #EFE8DA;
  --bg-cream: #FAF7F2;
  --bg-dark: #160D08;
  
  /* Deep Royal Espresso & Earthy Browns */
  --espresso-dark: #140B07;
  --espresso-base: #24150E;
  --espresso-soft: #382319;
  --mocha-tone: #503527;
  --mocha-muted: #826351;
  
  /* Luminous Antique Gold & Zari Accents */
  --gold-primary: #C59B51;
  --gold-light: #E4C58B;
  --gold-pale: #F3E5C8;
  --gold-dark: #8F6929;
  --gold-glow: rgba(197, 155, 81, 0.22);
  --gold-hairline: rgba(197, 155, 81, 0.28);
  
  /* Refined Architectural Curve Tokens (Sophisticated, Not Bubbly) */
  --radius-pill: 9999px;
  --radius-arch: 180px 180px 18px 18px;
  --radius-card: 20px;
  --radius-card-lg: 28px;
  --radius-modal: 28px;
  --radius-input: 10px;
}

/* Lenis Smooth Scroll Resets */
html.lenis {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}

/* Universal Typography & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

html {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-primary);
  color: var(--espresso-dark);
}

body {
  overflow-x: hidden;
  position: relative;
  background-color: var(--bg-primary);
  color: var(--espresso-base);
}

/* Custom Minimalist Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-sand);
}
::-webkit-scrollbar-thumb {
  background: var(--gold-primary);
  border-radius: var(--radius-pill);
}

/* Typography Utility Classes */
.font-rozha {
  font-family: 'Rozha One', 'Noto Serif Devanagari', 'Cinzel Decorative', serif;
}
.font-cinzel {
  font-family: 'Cinzel Decorative', serif;
}
.font-cormorant {
  font-family: 'Cormorant Garamond', serif;
}
.font-serif {
  font-family: 'Playfair Display', serif;
}
.font-italiana {
  font-family: 'Italiana', serif;
}
.font-sans {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Gold Text Gradient */
.text-gold-gradient {
  background: linear-gradient(135deg, #ECCF96 0%, #C59B51 50%, #9F7635 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Subtle Hairline Borders */
.border-hairline {
  border: 1px solid var(--gold-hairline);
}
.border-hairline-b {
  border-bottom: 1px solid var(--gold-hairline);
}
.border-hairline-t {
  border-top: 1px solid var(--gold-hairline);
}

/* Luxury Editorial Glassmorphism */
.glass-nav {
  background: rgba(248, 245, 238, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(197, 155, 81, 0.25);
  box-shadow: 0 14px 34px -10px rgba(20, 11, 7, 0.08);
}

.glass-card {
  background: rgba(250, 247, 242, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(197, 155, 81, 0.22);
}

.glass-dark {
  background: rgba(20, 11, 7, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(197, 155, 81, 0.3);
}

/* Refined Pill Buttons */
.btn-luxury-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 2.2rem;
  background: var(--espresso-dark);
  color: #F8F5EE;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(197, 155, 81, 0.35);
  box-shadow: 0 8px 24px -6px rgba(20, 11, 7, 0.25);
  cursor: pointer;
  text-decoration: none;
}
.btn-luxury-primary:hover {
  background: var(--espresso-soft);
  color: #FFFDF9;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -6px rgba(20, 11, 7, 0.35), 0 0 20px var(--gold-glow);
  border-color: var(--gold-light);
}

.btn-luxury-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 2.2rem;
  background: linear-gradient(135deg, #E4C58B 0%, #C59B51 50%, #9F7635 100%);
  color: var(--espresso-dark);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 25px -4px rgba(197, 155, 81, 0.35);
  cursor: pointer;
  text-decoration: none;
}
.btn-luxury-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -4px rgba(197, 155, 81, 0.55);
}

.btn-luxury-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 2.2rem;
  background: transparent;
  color: var(--espresso-base);
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.35s ease;
  border: 1px solid rgba(80, 53, 39, 0.3);
  cursor: pointer;
  text-decoration: none;
}
.btn-luxury-outline:hover {
  border-color: var(--gold-primary);
  color: var(--espresso-dark);
  background: rgba(250, 247, 242, 0.8);
  transform: translateY(-2px);
}

/* 3D WebGL Canvas Layer */
#silk-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  z-index: 1;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  pointer-events: none;
}
.hero-content * {
  pointer-events: auto;
}

/* Image Reveal Curtain Animation */
.img-curtain-wrap {
  position: relative;
  overflow: hidden;
  clip-path: inset(0 0 0 0);
  transition: clip-path 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.img-curtain-wrap img {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.img-curtain-wrap:hover img {
  transform: scale(1.04);
}

/* Refined Arch Cards */
.editorial-arch {
  border-radius: var(--radius-arch);
  overflow: hidden;
  border: 1px solid rgba(197, 155, 81, 0.25);
  background: var(--bg-cream);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.editorial-arch:hover {
  transform: translateY(-6px);
  border-color: var(--gold-primary);
  box-shadow: 0 20px 40px -10px rgba(20, 11, 7, 0.12), 0 0 25px var(--gold-glow);
}

/* Horizontal Collection Runway (Pinned Vertical-to-Horizontal Motion) */
.runway-track {
  display: flex;
  flex-direction: row;
  will-change: transform;
}

.runway-panel {
  width: 82vw;
  max-width: 840px;
  flex-shrink: 0;
  border-radius: 28px;
  background: var(--bg-cream);
  border: 1px solid rgba(197, 155, 81, 0.32);
  box-shadow: 0 20px 48px -12px rgba(20, 11, 7, 0.12);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.runway-panel:hover {
  border-color: var(--gold-primary);
  box-shadow: 0 25px 60px -15px rgba(20, 11, 7, 0.18), 0 0 25px rgba(197, 155, 81, 0.15);
}

@media (max-width: 767px) {
  .runway-track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
  }
  .runway-panel {
    width: 90vw;
    scroll-snap-align: center;
  }
}

/* Product Card - Clean Editorial Aesthetic with 3D Spatial Perspective */
.product-card {
  border-radius: var(--radius-card);
  background: var(--bg-cream);
  border: 1px solid rgba(197, 155, 81, 0.2);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
}
.product-card:hover {
  border-color: var(--gold-primary);
  box-shadow: 0 20px 45px -10px rgba(20, 11, 7, 0.14), 0 0 20px rgba(197, 155, 81, 0.12);
}

/* Slide Drawers */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 11, 7, 0.65);
  backdrop-filter: blur(8px);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.slide-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100%;
  max-width: 480px;
  background: var(--bg-primary);
  border-radius: 28px 0 0 28px;
  border-left: 1px solid var(--gold-hairline);
  box-shadow: -16px 0 48px rgba(20, 11, 7, 0.25);
  z-index: 101;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.slide-drawer.active {
  transform: translateX(0);
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 11, 7, 0.72);
  backdrop-filter: blur(12px);
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: var(--bg-primary);
  border-radius: var(--radius-modal);
  border: 1px solid rgba(197, 155, 81, 0.35);
  box-shadow: 0 25px 60px -15px rgba(20, 11, 7, 0.4);
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.96) translateY(12px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.active .modal-box {
  transform: scale(1) translateY(0);
}

/* Inquiry Centerpiece Card */
.inquiry-editorial-card {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(145deg, #180D08 0%, #2A170F 55%, #120905 100%);
  border: 1px solid rgba(197, 155, 81, 0.38);
  box-shadow: 0 30px 70px -15px rgba(18, 9, 5, 0.5), 0 0 30px rgba(197, 155, 81, 0.12);
}

.inquiry-editorial-card::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -60%;
  width: 220%;
  height: 220%;
  background: radial-gradient(circle, rgba(197, 155, 81, 0.15) 0%, transparent 60%);
  animation: rotateAura 24s linear infinite;
  pointer-events: none;
}

@keyframes rotateAura {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Badge Pills */
.badge-luxury {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.badge-gold {
  background: rgba(197, 155, 81, 0.15);
  color: #9E7428;
  border: 1px solid rgba(197, 155, 81, 0.35);
}
.badge-espresso {
  background: rgba(20, 11, 7, 0.08);
  color: var(--espresso-dark);
  border: 1px solid rgba(80, 53, 39, 0.2);
}

/* Stepper Circle */
.stepper-circle {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}
.stepper-circle.completed {
  background: var(--gold-primary);
  color: var(--espresso-dark);
  box-shadow: 0 0 12px var(--gold-glow);
}
.stepper-circle.active {
  background: var(--espresso-dark);
  color: #F8F5EE;
  border: 2px solid var(--gold-primary);
}
.stepper-circle.pending {
  background: var(--bg-sand);
  color: var(--mocha-muted);
}

/* Inputs & Haute-Couture Form Elements */
input:not([type="radio"]):not([type="checkbox"]), select, textarea, .luxury-input {
  display: block;
  width: 100%;
  border-radius: var(--radius-input);
  background: #FFFFFF;
  border: 1.5px solid rgba(197, 155, 81, 0.38);
  color: var(--espresso-dark);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
  padding: 0.92rem 1.25rem;
  outline: none;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px -2px rgba(20, 11, 7, 0.04), inset 0 1px 2px rgba(255, 255, 255, 0.9);
  -webkit-appearance: none;
  appearance: none;
}

/* Luxury Input Field with Icon Accent */
.luxury-input-wrap {
  position: relative;
  width: 100%;
}
.luxury-input-wrap .luxury-input {
  padding-left: 2.75rem !important;
}
.luxury-input-wrap .input-icon {
  position: absolute;
  left: 0.95rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.05rem;
  height: 1.05rem;
  color: rgba(197, 155, 81, 0.7);
  pointer-events: none;
  transition: color 0.25s ease, transform 0.25s ease;
}
.luxury-input-wrap:focus-within .input-icon {
  color: var(--gold-primary);
  transform: translateY(-50%) scale(1.1);
}

input::placeholder, textarea::placeholder {
  color: rgba(120, 95, 78, 0.52);
  font-weight: 400;
  letter-spacing: 0.01em;
}

input:not([type="radio"]):not([type="checkbox"]):hover, select:hover, textarea:hover, .luxury-input:hover {
  border-color: rgba(197, 155, 81, 0.75);
  background: #FFFFFF;
  box-shadow: 0 4px 14px -2px rgba(197, 155, 81, 0.15);
}

input:not([type="radio"]):not([type="checkbox"]):focus, select:focus, textarea:focus, .luxury-input:focus {
  border-color: #C59B51;
  background: #FFFFFF;
  box-shadow: 0 0 0 3.5px rgba(197, 155, 81, 0.22), 0 8px 24px -4px rgba(197, 155, 81, 0.16);
  outline: none;
  transform: translateY(-1px);
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23C59B51' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  background-size: 1rem;
  padding-right: 2.8rem;
  cursor: pointer;
}

textarea {
  border-radius: 12px;
  resize: vertical;
  min-height: 105px;
}

/* Haute-Couture Search & Tracking Bars */
.luxury-search-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.55rem 0.45rem 1.25rem;
  background: #FFFFFF;
  border-radius: 14px;
  border: 1.5px solid rgba(197, 155, 81, 0.4);
  box-shadow: 0 4px 18px -4px rgba(20, 11, 7, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.luxury-search-bar:hover {
  border-color: rgba(197, 155, 81, 0.7);
  box-shadow: 0 6px 20px -4px rgba(197, 155, 81, 0.14);
}
.luxury-search-bar:focus-within {
  border-color: #C59B51;
  box-shadow: 0 0 0 3.5px rgba(197, 155, 81, 0.22), 0 8px 26px -4px rgba(197, 155, 81, 0.2);
  transform: translateY(-1px);
}
.luxury-search-bar input {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0.55rem 0.5rem !important;
  border-radius: 0 !important;
  font-size: 0.9rem;
  color: var(--espresso-dark);
}
.luxury-search-bar input:focus {
  transform: none !important;
  box-shadow: none !important;
}

/* Reset for inline pill search bars (Track order, Catalog search, Newsletter) */
#track-order-input,
#newsletter-email {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0.5rem 1rem !important;
  border-radius: 0 !important;
}
#catalog-search-input {
  border-radius: 12px;
  padding-left: 2.75rem;
  background: #FFFFFF;
}

/* Persistent Ambient Lighting Layer (Natural Scroll Transitions, Zero CPU Lag) */
.ambient-bg-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(85px);
  opacity: 0.25;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  pointer-events: none;
}
.ambient-orb-gold {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, #ECCF96 0%, rgba(197, 155, 81, 0.4) 50%, transparent 75%);
  top: 8%;
  right: -120px;
}
.ambient-orb-mocha {
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(138, 110, 89, 0.35) 0%, rgba(80, 53, 39, 0.2) 60%, transparent 75%);
  top: 48%;
  left: -180px;
}
.ambient-orb-warm {
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, #F3E5C8 0%, rgba(228, 197, 139, 0.3) 55%, transparent 75%);
  bottom: 8%;
  right: 2%;
}

/* Floating WhatsApp Action */
.whatsapp-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px -4px rgba(37, 211, 102, 0.45);
  z-index: 90;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}
.whatsapp-float-btn:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 16px 32px -4px rgba(37, 211, 102, 0.65);
}

/* Mobile Sticky Bar */
.mobile-bottom-nav {
  position: fixed;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(20, 11, 7, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  z-index: 85;
  border: 1px solid rgba(197, 155, 81, 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
