/* ============================================================
   AUTO SALON — base.css
   Dark variables, reset, typography
   ============================================================ */

:root {
  /* Core palette */
  --black: #080808;
  --dark: #111111;
  --surface: #1A1A1A;
  --card: #222222;
  --border: #333333;

  /* Accent */
  --blue: #0EA5E9;
  --blue-glow: rgba(14, 165, 233, 0.15);
  --blue-strong: rgba(14, 165, 233, 0.45);

  /* Neutrals */
  --silver: #9CA3AF;
  --white: #F5F5F5;
  --gold: #D4AF37;

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);

  /* Type */
  --font-display: 'Rajdhani', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --nav-h: 76px;
  --max-w: 1280px;
  --gutter: clamp(1.25rem, 4vw, 4rem);

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 0.2s;
  --t-base: 0.3s;
  --t-slow: 0.6s;
}

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

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

body {
  font-family: var(--font-body);
  font-weight: 300;
  background-color: var(--black);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.no-scroll {
  overflow: hidden;
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

::selection {
  background: var(--blue);
  color: var(--black);
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.03em;
  color: var(--white);
}

.h1,
h1 {
  font-size: clamp(2.625rem, 7vw, 5.75rem); /* 42 → 92px */
  text-transform: none;
}

h2,
.h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

h3,
.h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-block;
  margin-bottom: 1rem;
}

.lead {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--silver);
}

.mono {
  font-family: var(--font-mono);
  font-weight: 400;
}

.text-blue {
  color: var(--blue);
}
.text-silver {
  color: var(--silver);
}
.text-gold {
  color: var(--gold);
}

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

.section {
  padding-block: clamp(4rem, 9vw, 8rem);
  position: relative;
}

.section--tight {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.bg-dark {
  background: var(--dark);
}
.bg-surface {
  background: var(--surface);
}
.bg-black {
  background: var(--black);
}

/* Decorative grid-line pattern */
.grid-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.05;
  z-index: 0;
}

.section > .container {
  position: relative;
  z-index: 1;
}

/* Accessibility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
