/* ============================================
   STYLEHUB - Design System Variables
   Premium Salon & Beauty Booking Platform
   ============================================ */

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

:root {
  /* ── Core Brand Colors ── */
  --black:        #0A0A0F;
  --black-soft:   #12121A;
  --black-card:   #1A1A26;
  --black-border: #252535;

  --gold:         #C9A84C;
  --gold-light:   #E2C97E;
  --gold-dark:    #A07830;
  --gold-glow:    rgba(201, 168, 76, 0.15);

  --white:        #FAFAF8;
  --white-soft:   #F4F1EC;
  --cream:        #EDE8DF;
  --cream-dark:   #D4CCBE;

  --pink:         #E8A0BF;
  --pink-deep:    #C4607A;
  --pink-soft:    #F5D0E0;
  --purple:       #9B72CF;
  --purple-deep:  #6B3FA0;
  --purple-soft:  #E8D8F5;

  /* ── Semantic Colors ── */
  --success:      #2ECC71;
  --success-bg:   rgba(46, 204, 113, 0.12);
  --warning:      #F39C12;
  --warning-bg:   rgba(243, 156, 18, 0.12);
  --danger:       #E74C3C;
  --danger-bg:    rgba(231, 76, 60, 0.12);
  --info:         #3498DB;
  --info-bg:      rgba(52, 152, 219, 0.12);

  /* ── Gradients ── */
  --grad-gold:        linear-gradient(135deg, #C9A84C 0%, #E2C97E 50%, #A07830 100%);
  --grad-dark:        linear-gradient(135deg, #0A0A0F 0%, #1A1A26 100%);
  --grad-beauty:      linear-gradient(135deg, #C4607A 0%, #9B72CF 50%, #6B3FA0 100%);
  --grad-card:        linear-gradient(145deg, #1A1A26 0%, #12121A 100%);
  --grad-hero:        linear-gradient(135deg, #0A0A0F 0%, #1A1A26 40%, #252535 100%);
  --grad-gold-subtle: linear-gradient(135deg, rgba(201,168,76,0.08) 0%, rgba(201,168,76,0.02) 100%);

  /* ── Typography ── */
  --font-display: 'DM Serif Display', 'Cormorant Garamond', Georgia, serif;
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', -apple-system, sans-serif;

  /* ── Font Sizes ── */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;
  --text-7xl:  4.5rem;

  /* ── Spacing ── */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* ── Border Radius ── */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   18px;
  --radius-xl:   24px;
  --radius-2xl:  32px;
  --radius-full: 9999px;

  /* ── Shadows ── */
  --shadow-sm:    0 2px 8px rgba(0,0,0,0.3);
  --shadow-md:    0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg:    0 8px 40px rgba(0,0,0,0.5);
  --shadow-xl:    0 16px 60px rgba(0,0,0,0.6);
  --shadow-gold:  0 4px 24px rgba(201,168,76,0.25);
  --shadow-glow:  0 0 40px rgba(201,168,76,0.15);

  /* ── Transitions ── */
  --transition-fast:   150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base:   250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:   400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ── Z-Index ── */
  --z-base:    1;
  --z-dropdown: 100;
  --z-sticky:  200;
  --z-overlay: 300;
  --z-modal:   400;
  --z-toast:   500;

  /* ── Sidebar ── */
  --sidebar-width: 260px;
  --sidebar-collapsed: 72px;
  --topbar-height: 68px;
}

/* ── Light mode overrides (for public pages) ── */
.theme-light {
  --bg-primary:   #FAFAF8;
  --bg-secondary: #F4F1EC;
  --bg-card:      #FFFFFF;
  --text-primary: #0A0A0F;
  --text-secondary: #4A4A5A;
  --text-muted:   #8A8A9A;
  --border-color: #E0DDD8;
}

/* ── Dark mode (dashboards) ── */
.theme-dark {
  --bg-primary:   #0A0A0F;
  --bg-secondary: #12121A;
  --bg-card:      #1A1A26;
  --text-primary: #FAFAF8;
  --text-secondary: #C8C8D8;
  --text-muted:   #6A6A7A;
  --border-color: #252535;
}