/* TENANT: Trakehner Verband  (trakehner-verband.de)
   Elegant gold + ink identity taken from the theme's screen.css: the gold/
   champagne #C2A678 dominates (links, borders, highlights), with deep bronze
   #927442, near-black ink #211922, and warm cream/tan neutrals (#F2EBE1,
   #E2D4BE). The inline WordPress/Gutenberg palette (#FF6900, #0693E3, etc.)
   is the block-editor default and is intentionally NOT used. Gold is too
   light for white text, so per the Stal Tops rule --primary keeps the true
   gold with a dark ink foreground (this also avoids a black topbar, as with
   Schockemöhle). A deeper bronze is the CTA --accent and the ink is the
   emphasis --accent-alt. Gold-led brand, so --warning shifts toward orange
   to stay distinct from the brand gold. Fonts follow the site: Gibson
   (canada-type-gibson) for body, Garamond Premier Pro (serif) for display. */

:root {
  /* BRAND ADAPTATION GUIDE
     1. Analyse the target tenant website, logo and existing brand palette first.
     2. Map the strongest brand color to --primary.
     3. Map the main call-to-action / highlight color to --accent.
     4. Keep backgrounds light unless the tenant website is clearly dark.
     5. Use --accent-soft and --accent-strong as lighter/darker versions of --accent.
     6. Keep status colors functional unless the tenant brand clearly overrides them.
     7. Always check contrast for foreground variables against their matching background variables.
  */

  /* TYPOGRAPHY
     Body is used for regular UI text.
     Display is used for headings, auction titles, hero titles and prominent prices.
  */
  --font-body: 'canada-type-gibson', system-ui, sans-serif; /* site body font (Gibson) */
  --font-display: 'garamond-premier-pro-display', 'EB Garamond', Georgia, serif; /* site heading serif */

  /* ELEVATION
     Card shadow is used for auction cards, lot cards, panels and elevated content blocks.
  */
  --shadow-card: 0 4px 12px oklch(0% 0 0 / 0.08);

  /* BASE COLORS
     Background is the base surface behind content.
     Foreground is the default content-layer color (text, icons and similar elements) on top of background surfaces.
  */
  --background: oklch(99% 0.006 80); /* near-white, faint warm tint */
  --foreground: oklch(24% 0.012 70); /* #211922 family, warm near-black */

  /* SURFACES
     Card is used for lots, auction cards, bidding panels and content sections.
  */
  --card: oklch(100% 0 0);
  --card-foreground: oklch(24% 0.012 70);

  /* POPOVER SURFACES
     Popover is used for dropdowns, menus, overlays and modal-like floating surfaces.
  */
  --popover: oklch(100% 0 0);
  --popover-foreground: oklch(24% 0.012 70);

  /* BRAND COLORS
     Primary is used for hero overlay tint, default badges, outline buttons and selected pagination states.
     It should represent the strongest/base brand tone, but most call-to-action buttons use --accent.
     Primary foreground must stay readable on top of primary.
  */
  --primary: oklch(73.9% 0.070 80); /* #C2A678 Trakehner gold (topbar/primary surfaces) — dark text (Stal Tops rule) */
  --primary-foreground: oklch(22.7% 0.021 323); /* #211922 ink on gold (7.4:1) */

  /* SECONDARY SURFACES
     Secondary is used for subtle backgrounds, inactive controls and low-emphasis panels
     (for example: soft section backgrounds or neutral chips).
     Use secondary when you need more emphasis than muted, but less emphasis than primary/accent surfaces.
     Secondary foreground is the readable text/icon color on secondary.
  */
  --secondary: oklch(94.3% 0.015 77); /* #F2EBE1 warm cream (site panel colour) */
  --secondary-foreground: oklch(28% 0.014 72);

  /* MUTED UI
     Muted is used for subdued backgrounds and separators.
     Muted foreground is used for helper text, metadata, dates, labels and less important copy.
  */
  --muted: oklch(96% 0.012 78);
  --muted-foreground: oklch(48% 0.014 76);

  /* ACCENT COLORS
     Accent is the main call-to-action/highlight color for buttons, links, active states and auction emphasis.
     Accent foreground must stay readable on accent buttons and badges.
     Accent soft is a lighter accent for hover states, subtle highlights and gentle backgrounds.
     Accent strong is a darker accent for pressed states, emphasis and high-contrast details.
  */
  --accent: oklch(53% 0.078 79); /* #927442 deep bronze, deepened for white-text CTA use (4.8:1) */
  --accent-foreground: oklch(100% 0 0);
  --accent-soft: oklch(87.5% 0.033 79); /* #E2D4BE light tan — hover/soft highlight, dark text */
  --accent-strong: oklch(44% 0.075 78); /* darker bronze — pressed/high-contrast, white text (7.9:1) */

  /* ALTERNATIVE ACCENT
     Accent alt is a secondary brand tone, often used for luxury, contrast or special emphasis.
     Accent alt foreground must stay readable on accent-alt backgrounds.
  */
  --accent-alt: oklch(22.7% 0.021 323); /* #211922 ink black (elegant emphasis) — white text 17:1 */
  --accent-alt-foreground: oklch(100% 0 0);

  /* FUNCTIONAL FEEDBACK COLORS
     Destructive is used for danger, errors, removal actions and urgent/live warning surfaces.
     Success is used for positive states such as active/accepted/highest bidder feedback.
     Info is used for informative states such as upcoming auctions.
     Warning is used for cautionary states that need attention but are not errors.
  */
  --destructive: oklch(55% 0.205 27); /* scarlet (white 5.4:1) */
  --destructive-foreground: oklch(100% 0 0);
  --success: oklch(53% 0.14 158); /* emerald green (white 4.8:1) */
  --success-foreground: oklch(100% 0 0);
  --info: oklch(54% 0.10 220); /* teal-blue (white 4.9:1) */
  --info-foreground: oklch(100% 0 0);
  --warning: oklch(70% 0.16 55); /* orange — shifted off the brand gold to stay distinct (dark text 6.5:1) */
  --warning-foreground: oklch(20% 0 0);

  /* FORM AND FOCUS COLORS
     Border is used for cards, section dividers and outlined controls.
     Input is used for form fields and input borders.
     Ring is used for keyboard focus rings and should usually match --accent.
  */
  --border: oklch(89% 0.01 78);
  --input: oklch(89% 0.01 78);
  --ring: var(--accent);

  /* AUCTION STATUS COLORS
     Live should feel urgent and attention-grabbing.
     Active should feel positive/safe.
     Upcoming should feel informative.
     These usually remain functional colors, even when brand colors change.
  */
  --status-live: var(--destructive);
  --status-active: var(--success);
  --status-upcoming: var(--info);

  /* SHAPE
     Radius controls the default roundness of cards, buttons, inputs and badges.
  */
  --radius: 0.5rem;
}
