/* Design Tokens — opravaprevodovky.cz
 * Source of truth for all visual design values.
 * Plain CSS custom properties — NOT a Sass partial.
 * Referenced by _bootstrap-overrides.scss and component styles.
 */

:root {
  /* === Colors === */
  --color-brand-600: #006bab;
  --color-accent-400: #ffe246;
  --color-surface-700: #585858;
  --color-text-900: #3c3c3c;
  --color-text-700: #444444;
  --color-surface-0: #ffffff;
  --color-surface-100: #eeeeee;
  --color-banner-dark: #3e3e3e;
  --color-accent-500: #e4b453;
  --color-footer-bg: #2c2c2c;
  --color-footer-text: #687b7c;
  --color-border: #dee2e6;
  --color-success: #28a745;
  --color-danger: #dc3545;
  --color-info: #17a2b8;
  --color-secondary: #6c757d;

  /* brand scale extension */
  --color-brand-400: #3d95d1;   /* lighter shade for focus/hover */
  --color-brand-700: #004a7a;   /* darker shade for CTA hover */

  /* surface scale extension */
  --color-surface-50: #f8f9fa;  /* Bootstrap bs-light fallback */

  /* semantic text + link aliases */
  --color-text-muted: #6c757d;
  --color-link: var(--color-brand-600);
  --color-link-hover: var(--color-brand-700);

  /* missing status color */
  --color-warning: #ffc107;

  /* focus ring */
  --color-focus-ring: rgba(0, 107, 171, 0.15);

  /* spacing extension for section separations */
  --space-xxl: 48px;

  /* === Typography === */
  --font-family-heading: 'Titillium Web', sans-serif;
  --font-family-body: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-size-base: 15px;
  --font-size-nav: 15px;
  --font-size-h1: 28px;
  --font-size-h2: 22px;
  --font-size-h3: 18px;
  --font-weight-heading: 700;
  --font-weight-nav: 700;

  /* === Line Height === */
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;

  /* === Spacing === */
  --space-xxs: 2px;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;

  /* === Radius === */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;

  /* === Shadows === */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.1);

  /* === Motion === */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* === Z-Index === */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-tooltip: 1070;
  --z-consent: 1080;
}

@font-face {
  font-family: 'Titillium Web';
  src: url('/fonts/TitilliumWeb-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Titillium Web';
  src: url('/fonts/TitilliumWeb-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --transition-fast: 0s;
    --transition-normal: 0s;
    --transition-slow: 0s;
  }
}
