/**
 * CMRCET Design System - CSS Variables & Design Tokens
 * Inspired by international universities & premier autonomous engineering colleges
 */

:root {
  /* Brand Color Palette (CMR Official Brand Identity) */
  --color-primary: #003b5d;          /* CMR Institutional Deep Blue */
  --color-primary-dark: #00273e;     /* Deep Midnight Navy */
  --color-primary-light: #005585;    /* Vibrant Royal Teal / Navy */
  --color-primary-soft: rgba(0, 59, 93, 0.08);
  
  --color-secondary: #f68121;        /* CMR Vibrant Orange */
  --color-secondary-dark: #dd6a0e;   /* Deep Orange (Hover / Active) */
  --color-secondary-light: #ff943b;  /* Warm Bright Orange */
  --color-secondary-soft: rgba(246, 129, 33, 0.12);
  
  --color-accent: #91c73e;           /* CMR Fresh Leaf Green */
  --color-accent-light: #a5d84f;     /* Bright Spring Green */
  --color-accent-dark: #73a727;      /* Deep Leaf Green */
  --color-accent-soft: rgba(145, 199, 62, 0.14);
  
  /* Neutral Palette */
  --color-bg: #f8fafc;               /* Ivory / Pale Slate Canvas */
  --color-surface: #ffffff;          /* Pure White Cards */
  --color-surface-subtle: #f0f4f8;   /* Subtle Institutional Tint */
  --color-border: #e2e8f0;          /* Crisp dividers */
  --color-border-dark: #cbd5e1;
  
  /* Text & Typography */
  --color-text-main: #001f33;        /* Deep Brand Slate */
  --color-text-body: #334155;        /* Readable Slate 700 */
  --color-text-muted: #64748b;       /* Subtle Slate 500 */
  --color-text-inverse: #ffffff;     /* White on dark */
  
  /* Functional Colors */
  --color-success: #16a34a;
  --color-warning: #f68121;
  --color-danger: #dc2626;
  --color-info: #003b5d;

  /* Typography Stacks */
  --font-display: "Outfit", "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-numbers: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Elevation Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 59, 93, 0.04);
  --shadow-sm: 0 2px 4px rgba(0, 59, 93, 0.06);
  --shadow-md: 0 6px 16px rgba(0, 59, 93, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 59, 93, 0.12);
  --shadow-xl: 0 20px 48px rgba(0, 59, 93, 0.16);

  /* Border Radii */
  --radius-xs: 3px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Layout Containers */
  --container-max: 1320px;
  --container-narrow: 1040px;
  --container-pad: clamp(1rem, 4vw, 2.5rem);

  /* Transitions */
  --transition-fast: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 300ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 600ms cubic-bezier(0.16, 1, 0.3, 1);

  /* Header Heights */
  --topbar-height: 42px;
  --header-height: 84px;
}
