/*
Theme Name: Whatzup BMX
Theme URI: https://whatzupbmx.com
Author: Whatzup BMX Editorial Team
Author URI: https://whatzupbmx.com
Description: Modern, mobile-first, high-contrast BMX street editorial & action sports media theme. Built with vanilla CSS, semantic HTML5, and native WordPress APIs.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: whatzup-bmx
Tags: bmx, editorial, news, sports, magazine, high-contrast, accessibility, responsive-layout, dark-mode
*/

:root {
  /* Colors - Street BMX Editorial Palette */
  --wb-black: #0d0d0d;
  --wb-surface: #151515;
  --wb-surface-elevated: #1e1e1e;
  --wb-surface-border: #2a2a2a;
  --wb-white: #ffffff;
  --wb-offwhite: #f5f5f0;
  --wb-cream: #eaeae4;
  --wb-acid-green: #c9f268;
  --wb-acid-hover: #dbff85;
  --wb-muted: #888884;
  --wb-muted-dark: #555552;
  --wb-accent-red: #ff3344;

  /* Typography */
  --font-display: 'Bebas Neue', 'Oswald', 'Impact', sans-serif;
  --font-headline: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Consolas, monospace;

  /* Spacing */
  --container-max: 1280px;
  --container-reading: 780px;
  --header-height: 72px;
  --topbar-height: 36px;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--wb-black);
  color: var(--wb-offwhite);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

a:hover {
  color: var(--wb-acid-green);
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
  background: transparent;
  border: none;
}

/* Base Container */
.wb-container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.wb-container-narrow {
  width: 100%;
  max-width: var(--container-reading);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
