/* ========================================
   WEELZ - Retro Garage Style
   Core Styles & Design System
   ======================================== */

/* CSS Custom Properties - Retro Garage Theme */
:root {
  /* Colors */
  --color-oil-black: #1a1a1a;
  --color-rust-orange: #cc4400;
  --color-chrome-silver: #c0c0c0;
  --color-vintage-yellow: #ffd700;
  --color-weathered-blue: #4a6fa5;
  --color-grease-gray: #4a4a4a;
  --color-worn-white: #f5f5f5;
  --color-badge-red: #e53935;
  --color-garage-green: #264a42;
  --color-burnt-orange: #CC7224;
  --color-garage-cream: #EBDEBB;
  --color-garage-blue: #549C90;
  --color-garage-yellow: #dba33a;
  
  /* Gradients */
  --gradient-oil: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
  --gradient-rust: linear-gradient(135deg, #e57340 0%, #cc4400 100%);
  --gradient-metal: linear-gradient(180deg, #d0d0d0 0%, #8a8a8a 100%);
  
  /* Shadows */
  --shadow-garage: 0 4px 8px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.2);
  --shadow-tool: 0 2px 4px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.5);
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;
  --spacing-xxl: 6rem;
  
  /* Typography */
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  --font-display: 'Impact', 'Arial Black', sans-serif;
  --font-heading: 'Outfit', 'Franklin Gothic Medium', 'Arial Narrow Bold', sans-serif;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ========================================
   Base Styles
   ======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-oil-black);
  background: var(--color-garage-cream);
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

h1 {
  font-size: 3rem;
  color: var(--color-rust-orange);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

h2 {
  font-size: 2.5rem;
  color: var(--color-garage-blue);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

h3 {
  font-size: 1.8rem;
  color: var(--color-oil-black);
}

h4 {
  font-size: 1.4rem;
}

p {
  margin-bottom: var(--spacing-sm);
}

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

a:hover {
  color: var(--color-vintage-yellow);
}

/* ========================================
   Utility Classes
   ======================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.text-center {
  text-align: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.hero-logo {
  width: 180px;
  height: 180px;
}

/* ========================================
   Grunge Textures & Effects
   ======================================== */

.grunge-overlay {
  position: relative;
}

.grunge-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,.05) 2px, rgba(0,0,0,.05) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0,0,0,.05) 2px, rgba(0,0,0,.05) 4px);
  pointer-events: none;
  opacity: 0.5;
}

/* Oil drip effect */
.oil-drip {
  position: relative;
}

.oil-drip::after {
  content: '💧';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.8rem;
  opacity: 0.6;
}

/* Retro badge style */
.badge {
  display: inline-block;
  padding: var(--spacing-xs) var(--spacing-sm);
  background: var(--color-badge-red);
  color: white;
  font-weight: bold;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-tool);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Media Queries */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  .container {
    padding: 0 var(--spacing-sm);
  }
}

