/* ─────────────────────────────────────────────────────────────
   HAARDCENTER · Design tokens
   Colors, typography, spacing, radii, shadows
   ───────────────────────────────────────────────────────────── */

/* Webfont (substitute) — replace with the production face when available */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  /* ── PALETTE ─────────────────────────────────────────────── */
  /* Neutrals — the page is mostly black + white */
  --hc-ink:           #0F1115;   /* primary text, top bar, dark sections */
  --hc-ink-soft:      #1A1D22;   /* hover on ink surfaces */
  --hc-paper:         #FFFFFF;   /* page background */
  --hc-paper-warm:    #F4F4F4;   /* product image wells, hover backgrounds */
  --hc-paper-warm-2:  #FAFAFA;   /* alt section bg */
  --hc-line:          #E5E5E5;   /* borders, hairlines */
  --hc-line-soft:     #F0F0F0;   /* subtle card edge */
  --hc-mute:          #6B6E73;   /* captions, breadcrumbs, brand prefix */
  --hc-mute-2:        #9A9DA3;   /* very muted, placeholder text */

  /* Brand water — the only accent (bathroom edition) */
  --hc-flame:         #1F8FD1;   /* CTAs, logo mark, ribbon, chat widget */
  --hc-flame-hover:   #1879B7;   /* button hover — same hue, 10% darker */
  --hc-flame-press:   #155F8E;   /* active/pressed — same hue, 20% darker */
  --hc-flame-tint:    #E6F2FB;   /* very pale water wash, rarely used */

  /* (Tokens keep the `--hc-flame*` names for back-compat; new aliases below.) */
  --hc-water:         #1F8FD1;
  --hc-water-hover:   #1879B7;
  --hc-water-press:   #155F8E;
  --hc-water-tint:    #E6F2FB;

  /* Semantic */
  --hc-success:       #22C55E;   /* "Beschikbaar" status dot */
  --hc-success-bg:    #ECFDF3;
  --hc-warn:          #F59E0B;
  --hc-danger:        #DC2626;

  /* Aliases — semantic */
  --fg-1:             var(--hc-ink);
  --fg-2:             var(--hc-mute);
  --fg-inverse:       var(--hc-paper);
  --bg-1:             var(--hc-paper);
  --bg-2:             var(--hc-paper-warm);
  --bg-inverse:       var(--hc-ink);
  --border:           var(--hc-line);
  --accent:           var(--hc-flame);
  --accent-hover:     var(--hc-flame-hover);

  /* ── TYPOGRAPHY ──────────────────────────────────────────── */
  --hc-font-sans: 'Manrope', ui-sans-serif, system-ui, -apple-system,
                  'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --hc-font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  /* Type scale — sentence case throughout */
  --hc-size-display:  72px;   /* hero headline */
  --hc-size-h1:       48px;   /* section headlines */
  --hc-size-h2:       32px;   /* sub-section */
  --hc-size-h3:       24px;   /* card titles */
  --hc-size-h4:       20px;   /* product names */
  --hc-size-body:     16px;   /* body */
  --hc-size-small:    14px;   /* meta */
  --hc-size-xs:       12px;   /* badges, fine print */

  --hc-leading-tight: 1.05;
  --hc-leading-snug:  1.2;
  --hc-leading-body:  1.6;

  --hc-track-tight:   -0.02em;
  --hc-track-normal:  0;

  --hc-weight-regular: 400;
  --hc-weight-medium:  500;
  --hc-weight-semi:    600;
  --hc-weight-bold:    700;
  --hc-weight-black:   800;

  /* ── SPACING ─────────────────────────────────────────────── */
  --hc-s-1:   4px;
  --hc-s-2:   8px;
  --hc-s-3:  12px;
  --hc-s-4:  16px;
  --hc-s-5:  20px;
  --hc-s-6:  24px;
  --hc-s-8:  32px;
  --hc-s-10: 40px;
  --hc-s-12: 48px;
  --hc-s-16: 64px;
  --hc-s-20: 80px;
  --hc-s-24: 96px;
  --hc-s-32: 128px;

  /* ── RADII ───────────────────────────────────────────────── */
  --hc-r-xs:   4px;   /* buttons */
  --hc-r-sm:   8px;   /* inputs */
  --hc-r-md:  12px;   /* product tiles, image cards */
  --hc-r-lg:  16px;   /* dark booking blocks */
  --hc-r-pill: 999px; /* badges, status pills */

  /* ── SHADOWS ─────────────────────────────────────────────── */
  --hc-elev-0: none;
  --hc-elev-1: 0 1px 2px rgba(15, 17, 21, 0.04);
  --hc-elev-2: 0 8px 24px rgba(15, 17, 21, 0.06);     /* card hover */
  --hc-elev-3: 0 20px 48px rgba(15, 17, 21, 0.10);    /* floating dialog */

  /* ── MOTION ──────────────────────────────────────────────── */
  --hc-ease:      cubic-bezier(0.2, 0.6, 0.2, 1);
  --hc-dur-fast:  120ms;
  --hc-dur-med:   200ms;
  --hc-dur-slow:  320ms;

  /* ── LAYOUT ──────────────────────────────────────────────── */
  --hc-container:    1440px;
  --hc-gutter:       64px;
  --hc-gutter-sm:    24px;
  --hc-header-h:     72px;
  --hc-topbar-h:     40px;
}

/* ─────────────────────────────────────────────────────────────
   SEMANTIC ELEMENT STYLES
   Drop this stylesheet in and basic elements look brand-correct.
   ───────────────────────────────────────────────────────────── */

html, body {
  font-family: var(--hc-font-sans);
  font-size:  var(--hc-size-body);
  line-height: var(--hc-leading-body);
  color: var(--fg-1);
  background: var(--bg-1);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, .hc-display {
  font-size: var(--hc-size-display);
  line-height: var(--hc-leading-tight);
  letter-spacing: var(--hc-track-tight);
  font-weight: var(--hc-weight-bold);
  margin: 0;
}

h2, .hc-h1 {
  font-size: var(--hc-size-h1);
  line-height: var(--hc-leading-tight);
  letter-spacing: var(--hc-track-tight);
  font-weight: var(--hc-weight-bold);
  margin: 0;
}

h3, .hc-h2 {
  font-size: var(--hc-size-h2);
  line-height: var(--hc-leading-snug);
  font-weight: var(--hc-weight-bold);
  margin: 0;
}

h4, .hc-h3 {
  font-size: var(--hc-size-h3);
  line-height: var(--hc-leading-snug);
  font-weight: var(--hc-weight-semi);
  margin: 0;
}

p, .hc-body {
  font-size: var(--hc-size-body);
  line-height: var(--hc-leading-body);
  margin: 0;
}

small, .hc-small, .hc-caption {
  font-size: var(--hc-size-small);
  color: var(--fg-2);
  line-height: 1.4;
}

a {
  color: var(--hc-flame);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
a:hover { color: var(--hc-flame-hover); }

/* Brand prefix above product names — small, muted, regular */
.hc-prefix {
  font-size: var(--hc-size-small);
  color: var(--fg-2);
  letter-spacing: 0;
  font-weight: var(--hc-weight-regular);
}

/* ── BUTTON PRIMITIVES ─────────────────────────────────────── */

.hc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--hc-s-2);
  padding: 14px 24px;
  border-radius: var(--hc-r-xs);
  font-family: inherit;
  font-size: var(--hc-size-body);
  font-weight: var(--hc-weight-medium);
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--hc-dur-fast) var(--hc-ease),
              color var(--hc-dur-fast) var(--hc-ease),
              border-color var(--hc-dur-fast) var(--hc-ease);
  text-decoration: none;
}

.hc-btn--primary {
  background: var(--hc-flame);
  color: var(--hc-paper);
}
.hc-btn--primary:hover { background: var(--hc-flame-hover); }
.hc-btn--primary:active { background: var(--hc-flame-press); }

.hc-btn--ink {
  background: var(--hc-ink);
  color: var(--hc-paper);
}
.hc-btn--ink:hover { background: var(--hc-ink-soft); }

.hc-btn--ghost-light {
  background: transparent;
  color: var(--hc-paper);
  border-color: var(--hc-paper);
}
.hc-btn--ghost-light:hover { background: rgba(255,255,255,0.15); }

.hc-btn--ghost {
  background: transparent;
  color: var(--hc-ink);
  border-color: var(--hc-ink);
}
.hc-btn--ghost:hover { background: var(--hc-ink); color: var(--hc-paper); }

/* ── PILLS & BADGES ────────────────────────────────────────── */
.hc-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--hc-s-2);
  padding: 6px 12px;
  border-radius: var(--hc-r-pill);
  font-size: var(--hc-size-small);
  font-weight: var(--hc-weight-medium);
  line-height: 1;
}
.hc-pill--ink    { background: var(--hc-ink);   color: var(--hc-paper); }
.hc-pill--paper  { background: var(--hc-paper); color: var(--hc-ink); }
.hc-pill--avail  {
  background: var(--hc-paper);
  color: var(--hc-ink);
}
.hc-pill--avail::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--hc-success);
  border-radius: 50%;
}
