/**
 * SudaStock CSS Variables
 * Contains all global CSS variables used throughout the site
 * This centralizes all variables to avoid duplication
 */

:root {
    /* Brand Colors */
    --primary-dark: #1B1464;  /* Dark blue from logo */
    --primary-light: #3a3a9e;
    --accent: #786D3C;  /* Gold accent from logo */
    --accent-light: #a39669;
    
    /* Text Colors */
    --text-dark: #333;
    --text-light: #f8f9fa;
    --text-muted: #6c757d;
    
    /* Grayscale */
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --gray-light: #e0e0e0; /* For backward compatibility */
    --gray-dark: #495057;  /* For backward compatibility */
    
    /* Status Colors */
    --success: #28a745;
    --success-light: rgba(40, 167, 69, 0.1);
    --warning: #ffc107;
    --warning-light: rgba(255, 193, 7, 0.1);
    --danger: #dc3545;
    --danger-light: rgba(220, 53, 69, 0.1);
    --info: #17a2b8;
    --info-light: rgba(23, 162, 184, 0.1);
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 16px 32px rgba(0, 0, 0, 0.15);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-rounded: 50px;
    
    /* Font Sizes */
    --font-xs: 0.75rem;   /* 12px */
    --font-sm: 0.875rem;  /* 14px */
    --font-md: 1rem;      /* 16px */
    --font-lg: 1.25rem;   /* 20px */
    --font-xl: 1.5rem;    /* 24px */
    --font-2xl: 1.75rem;  /* 28px */
    --font-3xl: 2rem;     /* 32px */
    --font-4xl: 2.5rem;   /* 40px */
    --font-5xl: 3rem;     /* 48px */
    
    /* Spacing */
    --space-1: 0.25rem;   /* 4px */
    --space-2: 0.5rem;    /* 8px */
    --space-3: 0.75rem;   /* 12px */
    --space-4: 1rem;      /* 16px */
    --space-5: 1.5rem;    /* 24px */
    --space-6: 2rem;      /* 32px */
    --space-7: 3rem;      /* 48px */
    --space-8: 4rem;      /* 64px */
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Z-index layers */
    --z-negative: -1;
    --z-elevate: 1;
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    
    /* Navbar variables */
    --navbar-height: 70px;
    --navbar-padding: 1rem;
    
    /* Footer variables */
    --footer-bg: var(--primary-dark);
    --footer-text: var(--text-light);
    --footer-link: var(--text-light);
    --footer-link-hover: var(--accent);
    
    /* Dropdown variables */
    --dropdown-bg: var(--primary-dark);
    --dropdown-border: var(--accent);
    --dropdown-text: var(--text-light);
    --dropdown-hover-bg: rgba(120, 109, 60, 0.2);
    --dropdown-hover-text: var(--accent);
    --dropdown-hover-border: var(--accent);
    
    /* Scrolled dropdown variables */
    --scrolled-dropdown-bg: white;
    --scrolled-dropdown-border: var(--accent);
    --scrolled-dropdown-text: var(--primary-dark);
    --scrolled-dropdown-hover-bg: rgba(27, 20, 100, 0.05);
    --scrolled-dropdown-hover-text: var(--accent);
    --scrolled-dropdown-hover-border: var(--accent);
}

/* Dark mode variables */
[data-theme="dark"] {
    /* Backgrounds */
    --bg-primary: #121212;
    --bg-secondary: #1e1e1e;
    --bg-tertiary: #2d2d2d;
    --bg-card: #252525;
    
    /* Text Colors */
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    
    /* Element Colors */
    --border-color: #333;
    --input-bg: #333;
    --input-color: #e0e0e0;
    --input-border: #444;
    
    /* Override footer variables */
    --footer-bg: var(--primary-dark);
    --footer-text: #e0e0e0;
    
    /* Override dropdown variables */
    --dropdown-bg: #1a1a1a;
    --dropdown-text: #e0e0e0;
    --dropdown-hover-bg: rgba(120, 109, 60, 0.15);
    
    /* Override scrolled dropdown variables */
    --scrolled-dropdown-bg: #1a1a1a;
    --scrolled-dropdown-text: #e0e0e0;
    --scrolled-dropdown-hover-bg: rgba(120, 109, 60, 0.15);
} 