/**
 * CarsPoint Documentation - Base Styles
 * Shared variables, fonts, reset, and common elements
 */

:root {
    --primary: #1a1a2e;
    --primary-light: #16213e;
    --accent: #0f4c75;
    --accent-light: #3282b8;
    --accent-bright: #bbe1fa;
    --gold: #c9a227;
    --gold-light: #e8d48b;
    --gold-dark: #9c7a1a;
    --success: #10b981;
    --success-light: #d1fae5;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --danger: #ef4444;
    --info: #3b82f6;
    --bg-cream: #fefdfb;
    --bg-paper: #f8f7f4;
    --bg-white: #ffffff;
    --bg-dark: #f0efe9;
    --text-dark: #1a1a2e;
    --text-body: #3d3d4e;
    --text-muted: #6b7280;
    --text-light: #9ca3af;
    --border: #e5e4df;
    --border-dark: #d1d0c9;
    --shadow-soft: 0 2px 15px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 15px 50px rgba(0, 0, 0, 0.12);
    --shadow-gold: 0 8px 30px rgba(201, 162, 39, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-cream);
    color: var(--text-body);
    line-height: 1.8;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--gold-light);
    color: var(--primary);
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.gold-accent {
    color: var(--gold-light);
}

.playfair {
    font-family: 'Playfair Display', Georgia, serif;
}

.mono {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

@media (max-width: 768px) {
    .container {
        padding: 0 25px;
    }
}

@media print {
    body {
        font-size: 12pt;
        background: white;
    }
}
