/*
Theme Name: Make America Race Again
Theme URI: https://makeamericaraceagain.com
Author: Make America Race Again Team
Author URI: https://makeamericaraceagain.com
Description: High-octane, dynamic American motorsport WordPress and WooCommerce theme. Features high-energy racing video hero, interactive product showcase, slide-out AJAX mini cart, and superior shopping experience for hats, shirts, and decals.
Version: 1.0.0
Tested up to: 6.7
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: make-america-race-again
Tags: ecommerce, woocommerce, entertainment, custom-colors, custom-menu, featured-images, full-width-template, theme-options
*/

:root {
  /* Brand Palette */
  --mara-red: #E11D2A;
  --mara-red-hover: #F82B39;
  --mara-red-dark: #A80D18;
  --mara-red-glow: rgba(225, 29, 42, 0.45);
  
  --mara-black: #0A0C0F;
  --mara-black-surface: #12151B;
  --mara-black-card: #181C24;
  --mara-black-card-hover: #202530;
  --mara-black-border: #262D3B;
  --mara-black-border-light: #374154;

  --mara-steel: #94A3B8;
  --mara-steel-light: #CBD5E1;
  --mara-white: #FFFFFF;
  --mara-navy: #0A2540;
  --mara-gold: #F59E0B;

  /* Typography */
  --font-heading: "Barlow Condensed", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Impact, sans-serif;
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container-max: 1320px;
  --container-padding: 1.5rem;
  --header-height: 84px;
  --ticker-height: 38px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-normal: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 14px 32px rgba(0, 0, 0, 0.65);
  --shadow-red-glow: 0 0 24px rgba(225, 29, 42, 0.35);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--mara-black);
  color: var(--mara-steel-light);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  background-color: var(--mara-black);
  color: var(--mara-steel-light);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.05;
  color: var(--mara-white);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.racing-italic {
  font-style: italic;
}

.racing-red {
  color: var(--mara-red);
}

.racing-skew {
  transform: skewX(-8deg);
}

/* Layout Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

/* Screen Reader Text for Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
