/* BREAKPOINTS REFERENCE (Mobile First Approach)
 * sm: 480px
 * md: 768px
 * lg: 1024px
 * xl: 1200px
 * xxl: 1440px
 */

:root {
  /* Colors - Editorial Light (Celine / SSENSE vibe) */
  --color-bg-main: #FCFBF8;
  --color-bg-card: #FFFFFF;
  --color-bg-section: #F3F1ED;
  --color-bg-dark: #0A0A0A;
  
  --color-text-main: #050505;
  --color-text-secondary: #737373;
  --color-text-inverse: #FFFFFF;
  
  --color-border: #E5E5E5;
  --color-border-hover: #050505;
  --color-accent: #C4A87C;
  --color-focus: #0A0A0A;

  /* Typography */
  --font-family-heading: 'Bodoni Moda', serif;
  --font-family-body: 'Inter', sans-serif;
  
  /* Fluid Typography - Massively scaled up for luxury editorial feel */
  --font-size-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
  --font-size-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.9rem);
  --font-size-base: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
  --font-size-lg: clamp(1.2rem, 1.1rem + 0.5vw, 1.5rem);
  --font-size-xl: clamp(1.5rem, 1.3rem + 1vw, 2.2rem);
  --font-size-2xl: clamp(2rem, 1.8rem + 1.5vw, 3rem);
  --font-size-3xl: clamp(2.5rem, 2rem + 2.5vw, 4.5rem);
  --font-size-4xl: clamp(3rem, 2.5rem + 4vw, 6rem);
  --font-size-5xl: clamp(4rem, 3.5rem + 5vw, 8rem);

  /* Weights */
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semi: 600;
  
  /* Line Heights */
  --line-height-heading: 1.05;
  --line-height-body: 1.7;
  
  /* Letter Spacing */
  --letter-spacing-tight: -0.04em;
  --letter-spacing-normal: 0em;
  --letter-spacing-wide: 0.05em;
  --letter-spacing-widest: 0.15em;

  /* Layout & Spacing */
  --layout-max-width: 1440px;
  /* Side margins: huge padding on desktop for that high-end white space */
  --spacing-side: clamp(24px, 5vw, 80px);
  /* Section gaps */
  --spacing-section: clamp(80px, 15vh, 200px);
  
  /* Fine-grained spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Transitions - Extremely smooth and slow for luxury feel */
  --transition-base: 800ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 400ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 1200ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Borders & Shadows */
  --border-width-fine: 1px;
  --border-radius-none: 0;
  --border-radius-sm: 2px;
  --border-radius-md: 4px;
  
  /* Invisible shadows, only use for popups */
  --shadow-subtle: 0 20px 40px -20px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 30px 60px -20px rgba(0, 0, 0, 0.1);
  --shadow-modal: 0 40px 100px -20px rgba(0, 0, 0, 0.2);

  /* Z-Index Scale */
  --z-base: 0;
  --z-elevated: 10;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-drawer: 300;
  --z-modal: 400;
  --z-toast: 500;
}

html[lang="ar"] {
  --font-family-heading: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-family-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --letter-spacing-tight: 0;
  --letter-spacing-widest: 0;
}
html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg-main);
  color: var(--color-text-main);
  font-family: var(--font-family-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
