/**
 * SecondScent Design System
 * Modern, luxurious design system for perfume marketplace
 * Inspired by high-end e-commerce and NFT marketplaces
 */

/* ===================================
   COLOR PALETTE
==================================== */
:root {
  /* Primary - Warm Orange/Gold Palette */
  --primary-50: #fffbf0;
  --primary-100: #fff4d9;
  --primary-200: #ffe8b3;
  --primary-300: #ffdc8c;
  --primary-400: #ffc866;
  --primary-500: #FFB44C;
  --primary-600: #e69a2e;
  --primary-700: #b37824;
  --primary-800: #80561a;
  --primary-900: #4d3410;
  
  /* Secondary - Golden Accent (Luxury) */
  --secondary-50: #fffbeb;
  --secondary-100: #fef3c7;
  --secondary-200: #fde68a;
  --secondary-300: #fcd34d;
  --secondary-400: #fbbf24;
  --secondary-500: #f59e0b;
  --secondary-600: #d97706;
  --secondary-700: #b45309;
  --secondary-800: #92400e;
  --secondary-900: #78350f;
  
  /* Neutral Colors */
  --snow: #fafbfc;
  --white: #ffffff;
  --black: #000000;
  
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* Status Colors */
  --success-light: #d1fae5;
  --success: #10b981;
  --success-dark: #059669;
  
  --warning-light: #fef3c7;
  --warning: #f59e0b;
  --warning-dark: #d97706;
  
  --error-light: #fee2e2;
  --error: #ef4444;
  --error-dark: #dc2626;
  
  --info-light: #dbeafe;
  --info: #3b82f6;
  --info-dark: #2563eb;
  
  /* Dark Mode Colors */
  --dark-bg: #0f0f0f;
  --dark-card: #1a1a1a;
  --dark-border: #2a2a2a;
  --dark-text: #e5e7eb;
  --dark-text-secondary: #9ca3af;
}

/* ===================================
   BORDER RADIUS
==================================== */
:root {
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-3xl: 28px;
  --radius-pill: 9999px;
  --radius-circle: 50%;
}

/* ===================================
   SHADOWS
==================================== */
:root {
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Special shadows */
  --shadow-glow-primary: 0 0 20px rgba(255, 180, 76, 0.4);
  --shadow-glow-secondary: 0 0 20px rgba(245, 158, 11, 0.4);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
}

/* ===================================
   SPACING (8px system)
==================================== */
:root {
  --space-0: 0;
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-7: 1.75rem;   /* 28px */
  --space-8: 2rem;      /* 32px */
  --space-9: 2.25rem;   /* 36px */
  --space-10: 2.5rem;   /* 40px */
  --space-11: 2.75rem;  /* 44px */
  --space-12: 3rem;     /* 48px */
  --space-14: 3.5rem;   /* 56px */
  --space-16: 4rem;     /* 64px */
  --space-20: 5rem;     /* 80px */
  --space-24: 6rem;     /* 96px */
}

/* ===================================
   TYPOGRAPHY
==================================== */
:root {
  /* Font Families */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
  
  /* Font Sizes */
  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg: 1.125rem;     /* 18px */
  --text-xl: 1.25rem;      /* 20px */
  --text-2xl: 1.5rem;      /* 24px */
  --text-3xl: 1.875rem;    /* 30px */
  --text-4xl: 2.25rem;     /* 36px */
  --text-5xl: 3rem;        /* 48px */
  --text-6xl: 3.75rem;     /* 60px */
  --text-7xl: 4.5rem;      /* 72px */
  
  /* Font Weights */
  --font-thin: 100;
  --font-extralight: 200;
  --font-light: 300;
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;
  --font-black: 900;
  
  /* Line Heights */
  --leading-none: 1;
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --leading-loose: 2;
  
  /* Letter Spacing */
  --tracking-tighter: -0.05em;
  --tracking-tight: -0.025em;
  --tracking-normal: 0;
  --tracking-wide: 0.025em;
  --tracking-wider: 0.05em;
  --tracking-widest: 0.1em;
}

/* ===================================
   TRANSITIONS
==================================== */
:root {
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slowest: 700ms cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Easing functions */
  --ease-linear: cubic-bezier(0, 0, 1, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ===================================
   Z-INDEX SCALE
==================================== */
:root {
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  --z-toast: 1080;
}

/* ===================================
   BREAKPOINTS (for JS)
==================================== */
:root {
  --breakpoint-sm: 640px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
  --breakpoint-2xl: 1536px;
}

/* ===================================
   DARK MODE
==================================== */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-primary: var(--dark-bg);
    --bg-secondary: var(--dark-card);
    --border-color: var(--dark-border);
    --text-primary: var(--dark-text);
    --text-secondary: var(--dark-text-secondary);
  }
}

[data-theme="dark"] {
  --bg-primary: var(--dark-bg);
  --bg-secondary: var(--dark-card);
  --border-color: var(--dark-border);
  --text-primary: var(--dark-text);
  --text-secondary: var(--dark-text-secondary);
}

[data-theme="light"] {
  --bg-primary: var(--snow);
  --bg-secondary: var(--white);
  --border-color: var(--gray-200);
  --text-primary: var(--gray-900);
  --text-secondary: var(--gray-600);
}

/* ===================================
   GLASS MORPHISM
==================================== */
:root {
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
  --glass-backdrop: blur(10px) saturate(180%);
}

[data-theme="dark"] {
  --glass-bg: rgba(26, 26, 26, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

/* ===================================
   GRADIENTS
==================================== */
:root {
  --gradient-primary: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-400) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary-600) 0%, var(--secondary-400) 100%);
  --gradient-sunset: linear-gradient(135deg, #ff6b6b 0%, #feca57 50%, #48dbfb 100%);
  --gradient-ocean: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-fire: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-luxury: linear-gradient(135deg, var(--primary-600) 0%, var(--secondary-600) 100%);
}

/* ===================================
   CUSTOM COLOR OVERRIDES
==================================== */
/* Override Tailwind orange-600 with our custom colors */
.bg-orange-600 {
  background-color: #FFB44C !important;
  color: #000000 !important;
}

.hover\:bg-orange-700:hover {
  background-color: #e69a2e !important;
  color: #000000 !important;
}

.text-orange-600 {
  color: #FF8B11 !important;
}

.text-orange-500 {
  color: #FF8B11 !important;
}

.text-orange-700 {
  color: #e69a2e !important;
}

.border-orange-600 {
  border-color: #FFB44C !important;
}

.hover\:text-orange-700:hover {
  color: #e69a2e !important;
}

.hover\:text-orange-800:hover {
  color: #b37824 !important;
}

