:root {
  /* ==========================================================================
     Karhula Industries Brand Color System
     Base Color: Egyptian Blue (#0032A1 | RGB: 0, 50, 161 | CMYK: 100, 69, 0, 37)
     ========================================================================== */
  --brand-50: #EEF4FF;       /* Active row highlight, tag background, tinted alerts */
  --brand-100: #E0EBFF;      /* Hover on secondary elements, pill tags */
  --brand-200: #C7DBFE;      /* Subtle borders around selected components */
  --brand-300: #9BBFFC;      /* Disabled button states, light accents */
  --brand-400: #6094F7;      /* Focus rings, icons, highlights */
  --brand-500: #2D6AEF;      /* Lighter energetic brand blue */
  --brand-600: #0048D9;      /* Intermediate active hover states */
  --brand-700: #0032A1;      /* YOUR PRIMARY BASE COLOR (Egyptian Blue) */
  --brand-800: #002475;      /* Button hover state, navbar headers, solid cards */
  --brand-900: #00174D;      /* Deep midnight contrast footers, dark backgrounds */
  --brand-950: #000E30;      /* Ultra-deep foundation */

  /* Semantic Aliases */
  --brand-primary: #0032A1;
  --brand-navy: #0032A1;
  --brand-navy-dark: #00174D;
  --brand-navy-darker: #000E30;
  --brand-navy-light: #002475;
  --brand-accent: #2D6AEF;

  /* Sticky Header Offset */
  --header-offset: 80px;
}

/* Ensure smooth scrolling and exact sticky header clearance */
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
}

/* Industrial Blueprint Grid Background Effect with subtle Egyptian Blue tint */
.blueprint-pattern {
  background-size: 32px 32px;
  background-image: 
    linear-gradient(to right, rgba(0, 50, 161, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 50, 161, 0.04) 1px, transparent 1px);
}

/* Subtle custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #EEF4FF;
}
::-webkit-scrollbar-thumb {
  background: #0032A1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #002475;
}
