/*
Theme Name:  Liechtenstein Events
Theme URI:   https://liechtenstein-events.li
Description: Official theme for the Liechtenstein Events platform. Requires the liechtenstein-events-core plugin.
Version:     1.5.22
Requires at least: 6.4
Requires PHP: 8.0
Author:      webDesign Ott
Author URI:  https://webdesign-ott.li
License:     GPL-2.0-or-later
Text Domain: lie-events
*/

/* =========================================================================
   1. CSS Custom Properties (Design Tokens)
   ========================================================================= */

:root {
  /* Colors — Stone palette */
  --background:        #FAFAF7;
  --foreground:        #0C0A09;
  --surface:           #F7F5F0;
  --border:            #E8E4DE;
  --checkbox-border:   #A8A29E;
  --primary:           #292524;
  --primary-fg:        #FAFAF7;
  --secondary:         #57534E;
  --accent:            #D97706; /* overridden by inline style from plugin option */
  --accent-fg:         #FFFFFF;
  --muted:             #F7F5F0;
  --muted-fg:          #57534E;
  --destructive:       #DC2626;

  /* Gradients */
  --hero-gradient:     linear-gradient(135deg, #FFF8F0 0%, #FFF0E0 50%, #FFE8D0 100%);
  --hero-text:         #4A3728;
  --hero-subtext:      #8B7355;
  --header-gradient:   linear-gradient(180deg, #F7F5F0, #FAFAF7);

  /* Border Radii */
  --radius-sm:  4px;
  --radius-md:  6px;
  --radius-lg:  8px;
  --radius-xl:  12px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 1px 4px rgba(0,0,0,.08);
  --shadow-lg:  0 4px 12px rgba(0,0,0,.10);

  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;

  /* Layout */
  --navbar-height:    64px;
  --container-max:    64rem;   /* max-w-5xl ≈ 1024px */
  --container-pad:    1rem;
}

/* =========================================================================
   2. Inter Font – Local hosting (variable font, latin + latin-ext)
   ========================================================================= */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/inter-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
