/* ============================================================
   TUINKUNST 2000 – Design Tokens (variables.css)
   ============================================================
   Pas hier kleuren, fonts of spacing aan en het hele systeem
   verandert mee. Gebruik altijd var(--naam) in andere CSS-files.
   ============================================================ */

:root {

  /* ── Kleuren ────────────────────────────────────────────── */
  --color-green-dark:  #2d5a27;   /* primair – nav, footer, koppen    */
  --color-green-mid:   #4a7c3f;   /* hover states, secundaire accenten */
  --color-green-light: #7db843;   /* appelgroen – CTA-knoppen, badges  */
  --color-green-pale:  #e8f4e1;   /* lichtgroen – sectie-achtergronden */
  --color-white:       #ffffff;
  --color-off-white:   #f7f9f5;   /* pagina-achtergrond, subtiel warm  */
  --color-text:        #1a2018;   /* bijna-zwart – maximale leesbaarheid */
  --color-text-muted:  #5a6b55;   /* secundaire tekst, labels, captions */

  /* Functionele kleur-aliassen */
  --color-primary:     var(--color-green-dark);
  --color-accent:      var(--color-green-light);
  --color-bg:          var(--color-off-white);
  --color-bg-alt:      var(--color-green-pale);

  /* ── Typografie ─────────────────────────────────────────── */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;

  /* Fluid type scale (rem, relatief aan 16px root) */
  --text-xs:   0.75rem;    /*  12px – labels, kleine meta-info   */
  --text-sm:   0.875rem;   /*  14px – voetnoten, captions        */
  --text-base: 1rem;       /*  16px – broodtekst                 */
  --text-lg:   1.125rem;   /*  18px – intro-alinea's             */
  --text-xl:   1.25rem;    /*  20px – sub-headings               */
  --text-2xl:  1.5rem;     /*  24px – h3                         */
  --text-3xl:  2rem;       /*  32px – h2 mobiel                  */
  --text-4xl:  2.75rem;    /*  44px – h2 desktop                 */
  --text-5xl:  3.75rem;    /*  60px – hero heading               */

  /* Regelafstand */
  --leading-tight:  1.2;
  --leading-normal: 1.6;
  --leading-relaxed: 1.8;

  /* ── Spacing ────────────────────────────────────────────── */
  --space-xs:  0.5rem;   /*   8px */
  --space-sm:  1rem;     /*  16px */
  --space-md:  2rem;     /*  32px */
  --space-lg:  4rem;     /*  64px */
  --space-xl:  8rem;     /* 128px */

  /* ── Borders ────────────────────────────────────────────── */
  --radius:    4px;
  --radius-lg: 12px;
  --radius-xl: 24px;

  /* ── Schaduwen ──────────────────────────────────────────── */
  --shadow-sm:  0 2px  8px  rgba(45, 90, 39, 0.10);
  --shadow-md:  0 4px  20px rgba(45, 90, 39, 0.15);
  --shadow-lg:  0 8px  40px rgba(45, 90, 39, 0.20);
  --shadow-xl:  0 16px 60px rgba(45, 90, 39, 0.25);

  /* ── Layout ─────────────────────────────────────────────── */
  --max-width:      1200px;
  --max-width-text:  720px;
  --header-height:    72px;   /* Sync met JS offset indien nodig */
  --topbar-height:    40px;

  /* ── Animaties ──────────────────────────────────────────── */
  --transition:      0.25s ease;
  --transition-slow: 0.4s ease;

  /* ── Z-index stack ──────────────────────────────────────── */
  --z-base:    0;
  --z-raised:  10;
  --z-nav:     100;
  --z-overlay: 200;
}
