/* ========================================
   Car Website - Modern Dark Theme
   ======================================== */

/* Color Palette */
:root {
  --primary-black: #0a0a0a;
  --secondary-black: #1a1a1a;
  --dark-gray: #2d2d2d;
  --muted-slate: #4a4a52;
  --muted-sage: #6b7577;
  --muted-copper: #8b7355;
  --accent-warm: #a67c52;
  --text-light: #e8e8e8;
  --text-muted: #b0b0b0;
  --border-subtle: #3a3a3a;
}

/* ========================================
   Global Styles
   ======================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu",
    "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  background-color: var(--primary-black);
  color: var(--text-light);
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.3px;
}

/* ========================================
   Header & Navigation
   ======================================== */

header {
  background: linear-gradient(
    135deg,
    var(--primary-black) 0%,
    var(--secondary-black) 100%
  );
  border-bottom: 1px solid var(--border-subtle);
  padding: 2rem 2.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

header h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
  color: var(--text-light);
  text-transform: uppercase;
  tracking: 2px;
}

nav {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  padding-bottom: 0.25rem;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-warm);
  transition: width 0.3s ease;
}

nav a:hover {
  color: var(--accent-warm);
}

nav a:hover::after {
  width: 100%;
}

/* ========================================
   Main Content
   ======================================== */

main {
  max-width: 900px;
  margin: 4rem auto;
  padding: 0 2.5rem;
}

section {
  background-color: var(--secondary-black);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 3rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  padding-bottom: 1rem;
}

section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--accent-warm);
  border-radius: 2px;
}

section p {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

/* ========================================
   Lists
   ======================================== */

ul {
  list-style: none;
  margin: 2rem 0;
}

li {
  display: flex;
  align-items: center;
  padding: 0.75rem 0;
  font-size: 1rem;
  color: var(--text-muted);
  border-left: 3px solid transparent;
  padding-left: 1rem;
  transition: all 0.3s ease;
}

li:hover {
  border-left-color: var(--accent-warm);
  color: var(--text-light);
  transform: translateX(4px);
}

li::before {
  content: "▸";
  margin-right: 0.75rem;
  color: var(--accent-warm);
  font-size: 1.2rem;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 768px) {
  header {
    padding: 1.5rem 1.5rem;
  }

  header h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  nav {
    gap: 1.5rem;
    font-size: 0.9rem;
  }

  main {
    margin: 2rem auto;
    padding: 0 1.5rem;
  }

  section {
    padding: 2rem;
  }

  section h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  header {
    padding: 1rem;
  }

  header h1 {
    font-size: 1.25rem;
  }

  nav {
    flex-direction: column;
    gap: 0.75rem;
  }

  section {
    padding: 1.5rem;
    margin: 1rem 0;
  }

  section h2 {
    font-size: 1.25rem;
  }

  li {
    font-size: 0.9rem;
  }
}
