/**
 * AG Fashion Hub - CSS Variables
 * Design system tokens for consistent styling across the site
 * 
 * Usage: var(--variable-name)
 * Example: color: var(--color-primary);
 */

:root {
  /* ==================== COLORS ==================== */
  
  /* Brand Colors */
  --color-primary: #A12390;        /* Purple - main brand color for CTAs */
  --color-secondary: #4BA4AE;      /* Teal - accent color */
  --color-whatsapp: #25D366;       /* WhatsApp green for CTAs */
  --color-tertiary: #5edeec;      /* Teal shade - accent color */
    
  /* Neutral Colors */
  --color-dark: #333333;           /* Main text color */
  --color-light: #FFFFFF;          /* White - backgrounds, text on dark */
  --color-text: #555555;           /* Secondary text color */
  --color-text-light: #777777;    /* Tertiary text color */
  
  /* Background Colors */
  --color-bg: #FAFAFA;             /* Light gray background */
  --color-bg-section: #F5F5F5;     /* Alternate section background */
  --color-border: #E0E0E0;         /* Border color */
  
  /* Status Colors */
  --color-success: #4CAF50;        /* Success messages, "in stock" */
  --color-error: #F44336;          /* Error messages, "out of stock" */
  --color-warning: #FF9800;        /* Warning messages */
  --color-info: #2196F3;           /* Info messages */
  
  
  /* ==================== TYPOGRAPHY ==================== */
  
  /* Font Family */
  --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Font Weights */
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Font Sizes - Mobile First */
  --font-size-xs: 0.75rem;        /* 12px */
  --font-size-sm: 0.875rem;       /* 14px */
  --font-size-base: 1rem;         /* 16px */
  --font-size-lg: 1.125rem;       /* 18px */
  --font-size-xl: 1.25rem;        /* 20px */
  --font-size-2xl: 1.5rem;        /* 24px */
  --font-size-3xl: 1.875rem;      /* 30px */
  --font-size-4xl: 2.25rem;       /* 36px */
  --font-size-5xl: 3rem;          /* 48px */
  
  /* Line Heights */
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;
  
  
  /* ==================== SPACING ==================== */
  
  --spacing-xs: 0.5rem;           /* 8px */
  --spacing-sm: 1rem;             /* 16px */
  --spacing-md: 1.5rem;           /* 24px */
  --spacing-lg: 2rem;             /* 32px */
  --spacing-xl: 3rem;             /* 48px */
  --spacing-2xl: 4rem;            /* 64px */
  --spacing-3xl: 6rem;            /* 96px */
  
  
  /* ==================== LAYOUT ==================== */
  
  /* Container Widths */
  --container-max-width: 1200px;
  --container-narrow: 800px;
  --container-wide: 1400px;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;          /* For circular elements */
  
  /* Border Widths */
  --border-width: 1px;
  --border-width-thick: 2px;
  
  
  /* ==================== SHADOWS ==================== */
  
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.18);
  --shadow-2xl: 0 20px 40px rgba(0, 0, 0, 0.2);
  
  /* Colored Shadows for Brand Elements */
  --shadow-primary: 0 4px 12px rgba(161, 35, 144, 0.3);
  --shadow-whatsapp: 0 4px 12px rgba(37, 211, 102, 0.3);
  
  
  /* ==================== TRANSITIONS ==================== */
  
  --transition-speed-fast: 0.15s;
  --transition-speed-base: 0.3s;
  --transition-speed-slow: 0.5s;
  --transition-ease: ease-in-out;
  --transition-ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  --transition-ease-in: cubic-bezier(0.32, 0, 0.67, 0);
  
  /* Common Transitions */
  --transition-all: all var(--transition-speed-base) var(--transition-ease);
  --transition-color: color var(--transition-speed-base) var(--transition-ease);
  --transition-transform: transform var(--transition-speed-base) var(--transition-ease);
  
  
  /* ==================== Z-INDEX LAYERS ==================== */
  
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-floating-btn: 900;
  --z-header: 1000;
  --z-mobile-menu: 1100;
  --z-modal: 1200;
  --z-lightbox: 1300;
  --z-toast: 1400;
  
  
  /* ==================== BREAKPOINTS (for reference in JS) ==================== */
  
  --bp-sm: 640px;
  --bp-md: 768px;
  --bp-lg: 1024px;
  --bp-xl: 1280px;
  --bp-2xl: 1536px;
  
  
  /* ==================== GRID ==================== */
  
  --grid-gap: var(--spacing-md);
  --grid-columns-mobile: 1;
  --grid-columns-tablet: 2;
  --grid-columns-desktop: 3;
  --grid-columns-wide: 4;
}

/**
 * Dark mode variables (future enhancement)
 * Uncomment when implementing dark mode
 */
/*
@media (prefers-color-scheme: dark) {
  :root {
    --color-dark: #FFFFFF;
    --color-light: #1A1A1A;
    --color-bg: #0D0D0D;
    --color-bg-section: #1A1A1A;
    --color-text: #E0E0E0;
    --color-border: #333333;
  }
}
*/