/* ==========================================================================
   NICE LAMPS — LUXURY DESIGN SYSTEM & STYLESHEET
   Est. 1987 · Delhi, India
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-warm: #F7F3EC;
  --bg-warm-secondary: #EFEBE4;
  --bg-card: #FFFFFF;
  --dark-primary: #171717;
  --dark-secondary: #2A2723;
  --dark-surface: #1E1C19;
  
  --gold-primary: #B9975B;
  --gold-light: #D4AF37;
  --gold-accent: #C5A059;
  --champagne: #E8D8B5;
  --champagne-light: #F4EEDD;
  
  --text-dark: #171717;
  --text-muted: #666056;
  --text-light: #F7F3EC;
  --text-light-muted: #A8A297;
  
  --border-light: rgba(185, 151, 91, 0.18);
  --border-dark: rgba(255, 255, 255, 0.1);
  --border-solid: #E2DACD;
  
  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout & Spacing */
  --container-max: 1440px;
  --header-height: 90px;
  --header-height-scrolled: 74px;
  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Transition Timing */
  --transition-fast: 0.25s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-luxurious: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Global Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: auto !important; /* Managed by Lenis */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-warm);
  color: var(--text-dark);
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--bg-warm);
  color: var(--text-dark);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--dark-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--gold-primary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-light);
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6, .font-display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.text-gold {
  color: var(--gold-primary) !important;
}

.text-champagne {
  color: var(--champagne) !important;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 1.25rem;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 1px;
  background-color: var(--gold-primary);
}

.section-title-xl {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 400;
  color: var(--dark-primary);
  line-height: 1.08;
  margin-bottom: 1.5rem;
}

.section-title-lg {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
  line-height: 1.12;
  margin-bottom: 1.25rem;
}

.section-desc {
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  color: var(--text-muted);
  font-weight: 400;
  max-width: 600px;
  line-height: 1.7;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1.25rem, 4vw, 4rem);
  padding-right: clamp(1.25rem, 4vw, 4rem);
}

.container-fluid {
  width: 100%;
  padding-left: clamp(1.25rem, 4vw, 4rem);
  padding-right: clamp(1.25rem, 4vw, 4rem);
}

/* Section Spacing */
.section-padding {
  padding-top: clamp(4.5rem, 8vw, 8.5rem);
  padding-bottom: clamp(4.5rem, 8vw, 8.5rem);
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 36px;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-full);
  transition: var(--transition-smooth);
  cursor: pointer;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background-color: var(--dark-primary);
  color: var(--bg-warm);
  border-color: var(--dark-primary);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold-primary);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
  color: #FFFFFF;
  border-color: var(--gold-primary);
}

.btn-primary:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-gold {
  background-color: var(--gold-primary);
  color: #FFFFFF;
  border-color: var(--gold-primary);
}

.btn-gold:hover {
  background-color: var(--dark-primary);
  border-color: var(--dark-primary);
  color: var(--champagne);
}

.btn-outline {
  background-color: transparent;
  color: var(--dark-primary);
  border-color: rgba(23, 23, 23, 0.3);
}

.btn-outline:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background-color: rgba(185, 151, 91, 0.05);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
  background-color: rgba(185, 151, 91, 0.1);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.75rem;
}

/* Image Wrappers */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.img-contain {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* Scroll Progress Line */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-primary), var(--champagne), var(--gold-light));
  z-index: 9999;
  width: 0%;
  pointer-events: none;
  transition: width 0.1s linear;
}

/* Custom Cursor Disabled - Normal System Cursor Enabled */
.custom-cursor, .custom-cursor-dot {
  display: none !important;
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: var(--dark-primary);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--bg-warm);
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

#preloader.preloader-done {
  transform: translateY(-100%);
}

.loader-brand {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0;
  transform: translateY(15px);
  animation: loaderFadeIn 0.6s 0.1s forwards ease-out;
}

.loader-sub {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 2rem;
  opacity: 0;
  animation: loaderFadeIn 0.6s 0.3s forwards ease-out;
}

.loader-progress-track {
  width: 200px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.loader-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--gold-primary);
  transition: width 0.3s ease-out;
}

@keyframes loaderFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
