/*
 Theme Name:   Alliance
 Theme URI:    https://github.com/thealliancenz/alliance-website
 Description:  Custom child theme for The Alliance — Aotearoa New Zealand
 Author:       The Alliance
 Author URI:   https://allianceparty.nz
 Template:     astra
 Version:      0.6.134.15
 License:      GPL-2.0-or-later
 Text Domain:  alliance
*/

/* ============================================================
   DESIGN TOKENS — Alliance Design System
   Colours from Tom Roud campaign materials + party brand
   ============================================================ */
:root {
  /* Primary — Alliance Burgundy (from brand assets #821918) */
  --burgundy-900: #5A110F;
  --burgundy-800: #6B1513;
  --burgundy-700: #821918;
  --burgundy-600: #9A2320;
  --burgundy-500: #B33230;
  --burgundy-400: #CC4F4D;
  --burgundy-100: #F5E0DF;
  --burgundy-50: #FBF0EF;

  /* Secondary — Alliance Blue (from campaign launch poster) */
  --blue-900: #1A2456;
  --blue-800: #222F6E;
  --blue-700: #2B3A8C;
  --blue-600: #3548A8;
  --blue-500: #4A5FBF;
  --blue-400: #6B7FD4;
  --blue-100: #E0E4F5;
  --blue-50: #F0F1FB;

  /* Action — donation green */
  --green-800: #0A5E2D;
  --green-700: #0E7A3A;
  --green-100: #DDEFE4;
  --green-50: #F0F8F3;

  /* Pine green + warm paper — used by the event banner/page (Auckland public meeting) */
  --green-pine: #18675A;
  --green-pine-900: #0F4F45;
  --paper-2: #FBF6EC;

  /* Neutrals */
  --neutral-950: #0F0F0F;
  --neutral-900: #1A1A1A;
  --neutral-800: #2D2D2D;
  --neutral-700: #404040;
  --neutral-500: #6B6B6B;
  --neutral-400: #8C8C8C;
  --neutral-300: #B3B3B3;
  --neutral-200: #D4D4D4;
  --neutral-100: #EBEBEB;
  --neutral-50: #F7F7F7;
  --white: #FFFFFF;

  /* Typography — matched to Tom Roud campaign materials */
  --font-display: 'Montserrat', sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing — 4px base */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;

  /* Layout */
  --max-width: 1280px;
  --header-height: 72px;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Shadows */
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.08), 0 -1px 10px 0 rgba(172, 171, 171, 0.08);
  --shadow-card-hover: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(130, 25, 24, 0.08);
  --shadow-header: 0 1px 8px rgba(0, 0, 0, 0.06);

  /* Transitions */
  --transition-fast: 0.2s ease-in-out;
  --transition-medium: 0.35s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
}

/* ============================================================
   BASE OVERRIDES — Alliance-specific resets
   Astra handles universal box-sizing/margin reset;
   these are our body defaults and container.
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--neutral-800);
  background: var(--white);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}
