/*
Theme Name: K-Auto Marketplace
Theme URI: https://pranto.lunexiait.com
Author: lunexiait
Author URI: https://pranto.lunexiait.com
Description: High-performance, luxury Korean automotive marketplace WordPress theme engineered for Korean vehicle imports, bilingual EN/KO experience, Elementor visual editing, and WooCommerce catalog & live quotation workflows.
Version: 1.1.0
Tested up to: 6.7
Requires at least: 6.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: k-auto-marketplace
Tags: automotive, e-commerce, custom-header, custom-menu, full-width-template, theme-options, translation-ready
*/

/* ==========================================================================
   LUNEXIA MOTORS DESIGN SYSTEM TOKENS & RESET
   ========================================================================== */

:root,
html[data-theme="dark"] {
  /* Color Palette - Premium Obsidian & Automotive Electric Blues */
  --lx-color-bg: #080808;
  --lx-color-bg-dark: #000000;
  --lx-color-surface: #141414;
  --lx-color-surface-elevated: #1a1a1a;
  --lx-color-surface-dark: #0d0d0d;
  --lx-color-surface-card-dark: #141414;
  
  --lx-color-text: #ffffff;
  --lx-color-text-muted: #9ca3af;
  --lx-color-text-light: #6b7280;
  --lx-color-text-white: #ffffff;
  
  --lx-color-primary: #3b82f6;
  --lx-color-primary-hover: #2563eb;
  --lx-color-primary-light: rgba(59, 130, 246, 0.15);
  --lx-color-primary-glow: rgba(59, 130, 246, 0.35);
  
  --lx-color-accent: #38bdf8;
  --lx-color-accent-cyan: #06b6d4;
  --lx-color-accent-amber: #f59e0b;
  --lx-color-accent-emerald: #10b981;
  --lx-color-accent-rose: #ef4444;

  --lx-color-border: #242424;
  --lx-color-border-dark: #1f1f1f;
}

html[data-theme="light"] {
  --lx-color-bg: #f8fafc;
  --lx-color-bg-dark: #f1f5f9;
  --lx-color-surface: #ffffff;
  --lx-color-surface-elevated: #ffffff;
  --lx-color-surface-dark: #f8fafc;
  --lx-color-surface-card-dark: #ffffff;
  
  --lx-color-text: #0f172a;
  --lx-color-text-muted: #64748b;
  --lx-color-text-light: #94a3b8;
  --lx-color-text-white: #0f172a;
  
  --lx-color-primary: #1d4ed8;
  --lx-color-primary-hover: #1e40af;
  --lx-color-primary-light: #eff6ff;
  --lx-color-primary-glow: rgba(29, 78, 216, 0.25);
  
  --lx-color-accent: #0284c7;
  --lx-color-accent-cyan: #06b6d4;
  --lx-color-accent-amber: #f59e0b;
  --lx-color-accent-emerald: #10b981;
  --lx-color-accent-rose: #ef4444;

  --lx-color-border: #e2e8f0;
  --lx-color-border-dark: #cbd5e1;
}

:root {
  /* Typography */
  --lx-font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --lx-font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Elevation / Shadows */
  --lx-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --lx-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --lx-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --lx-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.06);
  --lx-shadow-glow: 0 0 25px rgba(37, 99, 235, 0.35);

  /* Radius */
  --lx-radius-sm: 6px;
  --lx-radius-md: 10px;
  --lx-radius-lg: 16px;
  --lx-radius-xl: 24px;
  --lx-radius-full: 9999px;

  /* Transitions */
  --lx-transition-fast: 0.15s ease-in-out;
  --lx-transition-normal: 0.25s ease-in-out;
  --lx-transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  /* Container */
  --lx-container-max: 1280px;
  --lx-container-padding: 1.5rem;
}

/* Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--lx-font-body);
  color: var(--lx-color-text);
  background-color: var(--lx-color-bg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--lx-font-heading);
  font-weight: 700;
  color: var(--lx-color-text);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

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

a:hover {
  color: var(--lx-color-primary-hover);
}

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

/* Site Layout Container */
.lx-site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.lx-main-content {
  flex: 1 0 auto;
}

.lx-container {
  width: 100%;
  max-width: var(--lx-container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--lx-container-padding);
  padding-right: var(--lx-container-padding);
}
