/**
 * Nightingale Agro Industries Private Limited
 * CSS Design System Tokens & Custom Properties
 * Version: 4.0.0 — Modern Corporate Agro Redesign
 */

:root {
  /* ==========================================================================
     1. BRAND SYSTEM COLORS
     ========================================================================== */
  --color-primary: #123D2A;           /* Primary Corporate Forest Green */
  --color-primary-dark: #0B261A;      /* Midnight Agro Green */
  --color-primary-light: #1A523A;     /* Lifted Forest Green */
  --color-primary-container: #174E36;
  --color-primary-rgb: 18, 61, 42;

  --color-secondary: #2F6B3F;         /* Secondary Lush Agro Green */
  --color-secondary-dark: #22512F;
  --color-secondary-light: #3D8552;
  --color-secondary-rgb: 47, 107, 63;

  --color-accent: #2F6B3F;
  --color-accent-light: #EBF3ED;

  /* Accent Gold (Used sparingly and subtly) */
  --color-gold: #C99A3D;              /* Subtle Accent Gold */
  --color-gold-hover: #B58832;        /* Deep Accent Gold */
  --color-gold-light: #FDF9F0;        /* Subtle Warm Gold Tint */
  --color-gold-rgb: 201, 154, 61;

  /* Neutrals & Clean Background Surfaces */
  --color-bg-main: #F7F7F3;           /* Clean Modern Agro Background */
  --color-bg-surface: #FFFFFF;        /* Pure White Card Surface */
  --color-bg-surface-alt: #F0F2EE;    /* Soft Tint Background */
  --color-bg-surface-low: #F3F5F1;
  --color-bg-surface-high: #EBEFEA;
  --color-bg-dark: #123D2A;
  --color-white: #FFFFFF;

  /* Typography Colors */
  --color-text-main: #18221D;         /* High-Contrast Primary Charcoal */
  --color-text-muted: #68736C;        /* Muted Corporate Secondary */
  --color-text-light: #85918A;        /* Subtle Supporting Text */
  --color-text-white: #FFFFFF;        /* Light Text on Dark Surface */

  /* Borders */
  --color-border: #E3E7E3;            /* Clean Outline Border */
  --color-border-dark: #CBD2CB;       /* Strong Border */
  --color-border-light: #EDF0ED;

  /* Status Colors */
  --color-success: #2F6B3F;
  --color-warning: #C99A3D;
  --color-danger: #C23838;
  --color-info: #1D5C8A;

  /* ==========================================================================
     2. TYPOGRAPHY SYSTEM
     ========================================================================== */
  --font-family-base: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-family-heading: 'Poppins', 'Inter', system-ui, -apple-system, sans-serif;

  /* Fluid Responsive Typography Scale */
  /* Desktop H1: 56-68px | Mobile H1: 36-42px */
  --font-size-h1: clamp(2.25rem, 5vw + 1rem, 4rem);
  /* Desktop H2: 38-48px | Mobile H2: 28-34px */
  --font-size-h2: clamp(1.75rem, 3vw + 0.75rem, 2.85rem);
  /* Desktop H3: 22-28px | Mobile H3: 20-22px */
  --font-size-h3: clamp(1.25rem, 1.5vw + 0.5rem, 1.625rem);
  /* Desktop Body: 16-18px | Mobile Body: 15-17px */
  --font-size-body: clamp(0.9375rem, 0.4vw + 0.85rem, 1.0625rem);

  --font-size-xs: 0.75rem;     /* 12px */
  --font-size-sm: 0.875rem;    /* 14px */
  --font-size-md: 1rem;        /* 16px */
  --font-size-lg: 1.125rem;    /* 18px */
  --font-size-xl: 1.25rem;     /* 20px */
  --font-size-2xl: 1.5rem;     /* 24px */
  --font-size-3xl: 2rem;       /* 32px */
  --font-size-4xl: 2.5rem;     /* 40px */
  --font-size-5xl: 3.5rem;     /* 56px */

  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  --line-height-tight: 1.15;
  --line-height-snug: 1.3;
  --line-height-normal: 1.55;
  --line-height-relaxed: 1.68;

  /* ==========================================================================
     3. SPACING & CONTAINER SYSTEM
     ========================================================================== */
  --spacing-1: 0.25rem;   /* 4px */
  --spacing-2: 0.5rem;    /* 8px */
  --spacing-3: 0.75rem;   /* 12px */
  --spacing-4: 1rem;      /* 16px */
  --spacing-5: 1.25rem;   /* 20px */
  --spacing-6: 1.5rem;    /* 24px */
  --spacing-8: 2rem;      /* 32px */
  --spacing-10: 2.5rem;   /* 40px */
  --spacing-12: 3rem;     /* 48px */
  --spacing-16: 4rem;     /* 64px */
  --spacing-20: 5rem;     /* 80px */
  --spacing-24: 6rem;     /* 96px */

  /* Global Content Max Width & Paddings */
  --container-max-width: 1240px;
  --container-padding-desktop: 32px;
  --container-padding-mobile: 18px;
  --container-narrow-width: 860px;

  /* Header Height */
  --header-height-desktop: 76px;
  --header-height-mobile: 64px;

  /* ==========================================================================
     4. ELEVATION, BORDER RADIUS & TRANSITIONS
     ========================================================================== */
  --shadow-xs: 0 1px 2px rgba(18, 61, 42, 0.04);
  --shadow-sm: 0 2px 5px rgba(18, 61, 42, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 6px 16px rgba(18, 61, 42, 0.06), 0 2px 4px rgba(0, 0, 0, 0.02);
  --shadow-lg: 0 12px 30px rgba(18, 61, 42, 0.08), 0 4px 8px rgba(0, 0, 0, 0.03);
  --shadow-card-hover: 0 12px 28px rgba(18, 61, 42, 0.09);

  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-full: 9999px;

  --transition-fast: 160ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 260ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);

  --z-sticky: 100;
  --z-header: 600;
  --z-drawer: 800;
  --z-modal-backdrop: 900;
  --z-modal: 1000;
}
