/**
 * AMS PestOkils - Design System Variables
 *
 * Centralized design tokens for colors, typography, spacing, shadows,
 * border-radii, and z-index layers.
 *
 * @package AMS_PestOkils
 * @version 1.0.0
 */

:root {
  /* ========================================================
     1. BRAND COLOR PALETTE
     ======================================================== */
  --color-primary: #078B48;          /* Primary Green */
  --color-primary-green: #078B48;    /* Alias */
  --color-primary-dark: #056B38;     /* Dark Green (Hover & accents) */
  --color-dark-green: #056B38;       /* Alias */
  --color-primary-light: #0AA456;    /* Lighter Green */
  --color-black: #17191A;            /* Brand Black (Headings & deep text) */
  --color-white: #FFFFFF;            /* Pure White */
  --color-light-green: #F2F8F4;      /* Light Green (Backgrounds & cards) */
  --color-neutral-gray: #6B7280;     /* Neutral Gray (Body text & borders) */
  --color-neutral-dark: #4B5563;     /* Darker Neutral Gray */
  --color-neutral-light: #E5E7EB;    /* Light Gray Border */
  --color-gray-light: #E5E7EB;       /* Alias */
  --color-neutral-bg: #F9FAFB;       /* Off-white background */
  --color-alert-red: #E32936;        /* Alert Red (Badges & emergency CTAs) */
  --color-alert-red-dark: #B91C1C;   /* Darker Red */
  
  /* Additional UI tints */
  --color-green-tint: rgba(7, 139, 72, 0.08);
  --color-green-glow: rgba(7, 139, 72, 0.25);
  --color-black-rgb: 23, 25, 26;
  --color-primary-rgb: 7, 139, 72;

  /* ========================================================
     2. TYPOGRAPHY SYSTEM
     ======================================================== */
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-md: 1.125rem;   /* 18px */
  --font-size-lg: 1.25rem;    /* 20px */
  --font-size-xl: 1.5rem;     /* 24px */
  --font-size-2xl: 1.875rem;  /* 30px */
  --font-size-3xl: 2.25rem;   /* 36px */
  --font-size-4xl: 3rem;      /* 48px */

  --line-height-tight: 1.2;
  --line-height-snug: 1.35;
  --line-height-base: 1.6;
  --line-height-relaxed: 1.75;

  /* ========================================================
     3. SPACING SYSTEM
     ======================================================== */
  --spacing-2xs: 0.25rem;  /* 4px */
  --spacing-xs: 0.5rem;    /* 8px */
  --spacing-sm: 0.75rem;   /* 12px */
  --spacing-md: 1rem;      /* 16px */
  --spacing-lg: 1.5rem;    /* 24px */
  --spacing-xl: 2rem;      /* 32px */
  --spacing-2xl: 3rem;     /* 48px */
  --spacing-3xl: 4.5rem;   /* 72px */
  --spacing-4xl: 6rem;     /* 96px */

  /* Spacing Aliases */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;
  --space-4xl: 6rem;

  /* ========================================================
     4. CONTAINER & LAYOUT DIMENSIONS
     ======================================================== */
  --container-max-width: 1240px;
  --container-padding: 1.5rem;
  --topbar-height: 40px;
  --header-height: 84px;
  --header-total-height: 124px;

  /* ========================================================
     5. BORDER RADIUS
     ======================================================== */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* ========================================================
     6. ELEVATION / SHADOW SYSTEM
     ======================================================== */
  --shadow-xs: 0 1px 2px rgba(23, 25, 26, 0.05);
  --shadow-sm: 0 2px 8px rgba(23, 25, 26, 0.06);
  --shadow-md: 0 4px 16px rgba(23, 25, 26, 0.08);
  --shadow-lg: 0 10px 30px rgba(23, 25, 26, 0.10);
  --shadow-xl: 0 20px 40px rgba(23, 25, 26, 0.12);
  --shadow-2xl: 0 24px 48px rgba(23, 25, 26, 0.18);
  --shadow-dropdown: 0 16px 36px -4px rgba(23, 25, 26, 0.12), 0 4px 12px rgba(23, 25, 26, 0.06);
  --shadow-floating: 0 8px 24px rgba(7, 139, 72, 0.35);

  /* ========================================================
     7. TRANSITIONS & TIMINGS
     ======================================================== */
  --transition-fast: 0.18s ease-in-out;
  --transition-normal: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.45s cubic-bezier(0.4, 0, 0.2, 1);

  /* ========================================================
     8. Z-INDEX SYSTEM
     ======================================================== */
  --z-base: 1;
  --z-sticky: 100;
  --z-fixed: 200;
  --z-dropdown: 300;
  --z-drawer-overlay: 900;
  --z-drawer: 1000;
  --z-floating-btn: 1100;
}

