/**
 * @file theme.css
 * shadcn/ui-compatible theme variables for Dimando.
 *
 * You can customize these values without rebuilding the compiled CSS.
 * Tools like https://tweakcn.com can help generate these values. Copy this
 * file to your web root, so it sits next to index.php, and clear Drupal's
 * cache. Then, any changes you make in this file should be reflected right away.
 */

:root {
  /* Swiss / Parliamentary Services CD palette — one neutral base + one accent.
     Functional accent = Nationalrat blue, darkened to a CD-permitted tonal value
     (#3a6593, white-on-blue ≈ 6:1, AA). --brand-accent (#5886ac) is the exact
     Nationalrat blue, kept for large decorative fills only. */
  --background: #ffffff;
  --foreground: #1d1d1b;
  --card: #f4f2f0;
  --card-foreground: #1d1d1b;
  --primary: #3a6593;
  --primary-foreground: #ffffff;
  --secondary: #eceae8;
  --secondary-foreground: #1d1d1b;
  --muted: #f4f2f0;
  --muted-foreground: #5c5a57;
  --accent: #e7eef5;
  --accent-foreground: #1d1d1b;
  --brand-accent: #5886ac;
  --destructive: #c01622;
  --destructive-foreground: #ffffff;
  --border: #dcd8d2;
  --input: #dcd8d2;
  --font-sans: "Avenir Next", "Avenir", "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-serif: Georgia, Cambria, "Times New Roman", Times, serif;
  --font-mono: "Fira Mono", "Menlo", "Consolas", "Liberation Mono", monospace;
  --font-body: "Avenir Next", "Avenir", "Outfit", "Segoe UI", system-ui, sans-serif;
  --radius: 0.25rem;
  --shadow-x: 0;
  --shadow-y: 1px;
  --shadow-blur: 2px;
  --shadow-spread: 0px;
  --shadow-opacity: 0.06;
  --shadow-color: oklch(0 0 0);
  /* Flat by default; only md+ retain a whisper for genuine overlays (sticky nav, menus). */
  --shadow-2xs: none;
  --shadow-xs: none;
  --shadow-sm: none;
  --shadow: none;
  --shadow-md: 0 1px 2px 0 hsl(0 0% 0% / 0.06);
  --shadow-lg: 0 2px 6px -1px hsl(0 0% 0% / 0.08);
  --shadow-xl: 0 4px 12px -2px hsl(0 0% 0% / 0.08);
  --shadow-2xl: 0 6px 18px -3px hsl(0 0% 0% / 0.1);
  --tracking-normal: 0em;
  --spacing: 0.25rem;

  /* Set navbar height for hero billboard overlay */
  --navbar-height: calc(var(--spacing) * 15);

  @media (min-width: 768px) {
    --navbar-height: calc(var(--spacing) * 18);
  }
}

.dark {
  --background: #1d1d1b;
  --foreground: #f4f2f0;
  --card: #26211f;
  --card-foreground: #f4f2f0;
  --primary: #4a78a8;
  --primary-foreground: #ffffff;
  --secondary: #2c2724;
  --secondary-foreground: #f4f2f0;
  --muted: #26211f;
  --muted-foreground: #b8b2ac;
  --accent: #2a3744;
  --accent-foreground: #f4f2f0;
  --brand-accent: #5886ac;
  --destructive: #f04438;
  --destructive-foreground: #ffffff;
  --border: #3a342f;
  --input: #3a342f;
  --font-sans: "Avenir Next", "Avenir", "Outfit", "Segoe UI", system-ui, sans-serif;
  --font-serif: Georgia, Cambria, "Times New Roman", Times, serif;
  --font-mono: "Fira Mono", "Menlo", "Consolas", "Liberation Mono", monospace;
  --font-body: "Avenir Next", "Avenir", "Outfit", "Segoe UI", system-ui, sans-serif;
  --radius: 0.25rem;
  --shadow-x: 0;
  --shadow-y: 1px;
  --shadow-blur: 2px;
  --shadow-spread: 0px;
  --shadow-opacity: 0.3;
  --shadow-color: oklch(0 0 0);
  --shadow-2xs: none;
  --shadow-xs: none;
  --shadow-sm: none;
  --shadow: none;
  --shadow-md: 0 1px 2px 0 hsl(0 0% 0% / 0.4);
  --shadow-lg: 0 2px 6px -1px hsl(0 0% 0% / 0.45);
  --shadow-xl: 0 4px 12px -2px hsl(0 0% 0% / 0.5);
  --shadow-2xl: 0 6px 18px -3px hsl(0 0% 0% / 0.55);
}
