/* 
 * HSRP Agrotech Theme - CSS Variables
 * 
 * Complete design token system for the theme.
 * Phase 2: All design tokens defined.
 */

:root {
    /* ========================================
     BRAND COLORS (From hsrpagrotech.com)
     ======================================== */
    --color-primary-50: #f0fdf4;
    --color-primary-100: #dcfce7;
    --color-primary-200: #bbf7d0;
    --color-primary-300: #86efac;
    --color-primary-400: #4ade80;
    --color-primary-500: #52B788;
    --color-primary-600: #40916C;
    --color-primary-700: #2d6a4f;
    --color-primary-800: #1b4332;
    --color-primary-900: #081c15;

    --color-primary: var(--color-primary-500);
    --color-primary-dark: var(--color-primary-600);
    --color-primary-light: var(--color-primary-400);

    --color-secondary: #1B4332;
    --color-secondary-dark: #081C15;
    --color-secondary-light: #2D6A4F;

    --color-accent: #95D5B2;
    --color-accent-light: #B7E4C7;
    --color-accent-dark: #74C69D;

    /* Background Colors */
    --color-bg-light: #F8F9FA;
    --color-bg-white: #FFFFFF;
    --color-bg-dark: #081C15;
    --color-bg-darker: #000000;

    /* Text Colors */
    --color-text-primary: #212529;
    --color-text-secondary: #6C757D;
    --color-text-tertiary: #ADB5BD;
    --color-text-on-dark: #FFFFFF;
    --color-text-on-primary: #FFFFFF;

    /* UI Colors */
    --color-success: #40916C;
    --color-error: #D32F2F;
    --color-warning: #F9A825;
    --color-info: #1976D2;

    /* Border & Divider Colors */
    --color-border: #D8F3DC;
    --color-border-light: #E9ECEF;
    --color-border-dark: #52B788;
    --color-divider: rgba(0, 0, 0, 0.1);

    /* ========================================
     TYPOGRAPHY
     ======================================== */
    /* Font Families */
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;

    /* Font Sizes */
    --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 */
    --font-size-6xl: 3.75rem;
    /* 60px */
    --font-size-7xl: 4.5rem;
    /* 72px */

    /* Font Weights */
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Line Heights */
    --line-height-tight: 1.2;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
    --line-height-loose: 2;

    /* ========================================
     SPACING (4px base grid)
     ======================================== */
    --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-8: 2rem;
    /* 32px */
    --space-10: 2.5rem;
    /* 40px */
    --space-12: 3rem;
    /* 48px */
    --space-16: 4rem;
    /* 64px */
    --space-20: 5rem;
    /* 80px */
    --space-24: 6rem;
    /* 96px */
    --space-32: 8rem;
    /* 128px */

    /* ========================================
     LAYOUT
     ======================================== */
    --container-max-width: 1280px;
    --container-padding: var(--space-4);
    --section-spacing: var(--space-20);
    --section-spacing-mobile: var(--space-12);

    /* Grid */
    --grid-gap: var(--space-6);
    --grid-gap-mobile: var(--space-4);

    /* ========================================
     BREAKPOINTS (For JS usage)
     ======================================== */
    --breakpoint-sm: 640px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;
    --breakpoint-xl: 1280px;
    --breakpoint-2xl: 1536px;

    /* ========================================
     BORDER RADIUS
     ======================================== */
    --radius-sm: 0.25rem;
    /* 4px */
    --radius-md: 0.5rem;
    /* 8px */
    --radius-lg: 0.75rem;
    /* 12px */
    --radius-xl: 1rem;
    /* 16px */
    --radius-2xl: 1.5rem;
    /* 24px */
    --radius-full: 9999px;

    /* ========================================
     SHADOWS
     ======================================== */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --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);
    --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);

    /* Color Shadows (for primary buttons, cards) */
    --shadow-primary: 0 10px 25px -5px rgba(82, 183, 136, 0.3);
    --shadow-success: 0 10px 25px -5px rgba(64, 145, 108, 0.3);

    /* ========================================
     GRADIENTS
     ======================================== */
    --gradient-primary: linear-gradient(135deg, var(--color-primary-600) 0%, var(--color-primary-500) 100%);
    --gradient-accent: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    --gradient-dark: linear-gradient(135deg, var(--color-primary-900) 0%, var(--color-primary-800) 100%);

    /* ========================================
     TRANSITIONS & ANIMATIONS
     ======================================== */
    --transition-fast: 150ms;
    --transition-base: 250ms;
    --transition-slow: 350ms;
    --transition-slower: 500ms;

    --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 LAYERS
     ======================================== */
    --z-base: 0;
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;

    /* ========================================
     OPACITY
     ======================================== */
    --opacity-disabled: 0.5;
    --opacity-hover: 0.8;
    --opacity-muted: 0.6;
}

/* Dark mode support (future enhancement) */
/* @media (prefers-color-scheme: dark) {
    :root {
        // Dark mode overrides would go here in future phases
    }
} */