/* ============================================
   BISP Design System - Inspired by Haut-Lac.ch
   ============================================ */

:root {
  /* === Colors (extracted from haut-lac.ch) === */
  --color-primary: #348397;        /* Teal/petrol blue - from haut-lac */
  --color-primary-dark: #2A6A7A;   /* Darker teal for hover states */
  --color-primary-light: rgba(52, 131, 151, 0.6); /* Light teal */
  --color-secondary: #30302E;      /* Dark charcoal - dark sections */
  --color-accent: #ED3122;         /* Red - CTAs from haut-lac */
  --color-accent-hover: #D42B1E;   /* Darker red hover */
  --color-accent-pink: #EE2D53;    /* Pink-red variant */

  --color-text: #595959;           /* Body text - from haut-lac */
  --color-text-dark: #3F444B;      /* Darker body text */
  --color-text-darker: #33373D;    /* Darkest body text */
  --color-text-light: #888888;     /* Subtle text */
  --color-heading: #30302E;        /* Heading color - charcoal */
  --color-white: #FFFFFF;
  --color-off-white: #FAF9F5;      /* Warm off-white from haut-lac */
  --color-light-gray: #EFEFEF;     /* Light gray from haut-lac */
  --color-overlay: rgba(48, 48, 46, 0.85); /* Hero overlay - charcoal */

  /* === Typography === */
  --font-primary: 'Montserrat', sans-serif;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  /* Font sizes - fluid with clamp */
  --text-xs: 0.75rem;              /* 12px */
  --text-sm: 0.875rem;             /* 14px */
  --text-base: 1rem;               /* 16px */
  --text-lg: 1.125rem;             /* 18px */
  --text-xl: 1.25rem;              /* 20px */
  --text-2xl: 1.5rem;              /* 24px */
  --text-3xl: clamp(1.5rem, 2.5vw, 2rem);       /* 24-32px */
  --text-4xl: clamp(2rem, 3vw, 2.5rem);          /* 32-40px */
  --text-5xl: clamp(2.5rem, 4vw, 3.5rem);        /* 40-56px */
  --text-hero: clamp(3rem, 5vw, 4.5rem);         /* 48-72px */

  --line-height-tight: 1.2;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.8;

  /* === Spacing === */
  --space-xs: 0.25rem;    /* 4px */
  --space-sm: 0.5rem;     /* 8px */
  --space-md: 1rem;       /* 16px */
  --space-lg: 1.5rem;     /* 24px */
  --space-xl: 2rem;       /* 32px */
  --space-2xl: 3rem;      /* 48px */
  --space-3xl: 4rem;      /* 64px */
  --space-4xl: 6rem;      /* 96px */
  --space-section: clamp(4rem, 8vw, 8rem); /* Section padding */

  /* === Layout === */
  --container-max: 1200px;
  --container-wide: 1400px;
  --container-narrow: 800px;
  --container-padding: clamp(1rem, 3vw, 2rem);

  /* === Borders & Radius === */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* === Shadows === */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 50px rgba(0, 0, 0, 0.15);
  --shadow-card: 0 2px 20px rgba(27, 58, 92, 0.08);
  --shadow-card-hover: 0 8px 40px rgba(27, 58, 92, 0.15);

  /* === Transitions === */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* === Z-index === */
  --z-base: 1;
  --z-header: 100;
  --z-overlay: 200;
  --z-modal: 300;

  /* === Wave decoration (SVG as CSS) === */
  --wave-height: 80px;
}

/* === Dark section variant === */
[data-theme="dark"] {
  --color-text: rgba(255, 255, 255, 0.9);
  --color-text-light: rgba(255, 255, 255, 0.7);
  --color-heading: #FFFFFF;
}
