/* ==========================================================================
   Luxora Blinds - Design Tokens
   CSS Custom Properties for consistent styling
   ========================================================================== */

:root {
  /* -------------------------------------------------------------------------
     Colors - Luxury Brand Palette
     ------------------------------------------------------------------------- */

  /* Primary Colors */
  --color-ivory: #F8F5EF;           /* Background, canvas */
  --color-gold: #C8A24D;            /* Accent, borders, hover states */
  --color-charcoal: #2E2E2E;        /* Primary text, headings */
  --color-grey: #6B6B6B;            /* Secondary text, captions */

  /* Premium Accent */
  --color-teal: #1F4E4A;            /* CTA buttons, highlights */

  /* Contrast Colors */
  --color-dark: #1A1A1A;            /* Footer, dark sections */
  --color-white: #FFFFFF;           /* Cards, overlays */

  /* Utility Colors */
  --color-light-grey: #F5F3EE;      /* Alternate section backgrounds */
  --color-border: rgba(0, 0, 0, 0.08); /* Subtle borders */

  /* -------------------------------------------------------------------------
     Typography
     ------------------------------------------------------------------------- */

  /* Font Families */
  --font-heading: 'Playfair Display', serif;
  --font-heading-alt: 'Cinzel', serif;
  --font-body: 'Poppins', sans-serif;
  --font-ui: 'Montserrat', sans-serif;

  /* Font Sizes - Desktop */
  --fs-hero: 56px;
  --fs-h1: 48px;
  --fs-h2: 36px;
  --fs-h3: 28px;
  --fs-h4: 22px;
  --fs-body: 16px;
  --fs-body-lg: 18px;
  --fs-small: 14px;
  --fs-caption: 12px;

  /* Font Weights */
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* Line Heights */
  --lh-tight: 1.2;
  --lh-normal: 1.6;
  --lh-relaxed: 1.8;

  /* Letter Spacing */
  --ls-tight: -0.02em;
  --ls-normal: 0;
  --ls-wide: 0.02em;
  --ls-wider: 0.05em;
  --ls-widest: 0.1em;

  /* -------------------------------------------------------------------------
     Spacing
     ------------------------------------------------------------------------- */

  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 80px;
  --space-5xl: 120px;

  /* Section Spacing */
  --section-padding: 80px;
  --section-padding-mobile: 48px;

  /* Container */
  --container-max: 1280px;
  --container-narrow: 960px;
  --container-wide: 1440px;
  --container-padding: 24px;

  /* -------------------------------------------------------------------------
     Shadows
     ------------------------------------------------------------------------- */

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-dropdown: 0 4px 16px rgba(0, 0, 0, 0.12);

  /* -------------------------------------------------------------------------
     Borders
     ------------------------------------------------------------------------- */

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  --border-thin: 1px solid var(--color-border);
  --border-gold: 1px solid var(--color-gold);

  /* -------------------------------------------------------------------------
     Transitions
     ------------------------------------------------------------------------- */

  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* -------------------------------------------------------------------------
     Z-Index Scale
     ------------------------------------------------------------------------- */

  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-tooltip: 600;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

@media (max-width: 768px) {
  :root {
    /* Reduced font sizes for mobile */
    --fs-hero: 36px;
    --fs-h1: 32px;
    --fs-h2: 26px;
    --fs-h3: 22px;
    --fs-h4: 18px;
    --fs-body: 15px;
    --fs-body-lg: 16px;

    /* Reduced spacing for mobile */
    --section-padding: 48px;
    --container-padding: 16px;
  }
}
