/* ========================================
   STRAIGHT SIX DIESEL
   Global Styles
======================================== */

:root {
  --black: #080808;
  --black-soft: #0e0e0e;
  --charcoal: #151515;
  --charcoal-light: #1d1d1d;
  --white: #ffffff;
  --off-white: #f1f1f1;
  --gray: #a5a5a5;
  --green: #7fff00;

  --max-width: 1280px;
}

/* RESET */

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

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

/* ========================================
   HEADER
======================================== */

header {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;

  padding: 0 5%;

  background: rgba(8, 8, 8, 0.96);
  border-bottom: 1px solid #242424;
}
.logo-wrap {
  display: flex;
  align-items: center;
}

.site-logo {
  width: 100px;
  height: auto;
}
header strong {
  color: var(--green);
  font-size: 1.15rem;
  letter-spacing: 0.08em;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav a {
  color: #d5d5d5;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;

  transition: color 0.2s ease;
}

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

/* ========================================
   GENERAL SECTIONS
======================================== */

section {
  padding: 100px 6%;
}

section:nth-child(even) {
  background: var(--black-soft);
}

section > * {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

h1,
h2 {
  line-height: 1;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  max-width: 1100px;
  letter-spacing: -0.045em;
}

h2 {
  color: var(--green);
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  letter-spacing: -0.03em;
}

p {
  max-width: 780px;
  margin-top: 24px;

  color: var(--gray);
  font-size: 1.1rem;
}

/* ========================================
   HERO
======================================== */

.hero {
  position: relative;
  min-height: calc(100vh - 84px);

  display: flex;
  align-items: center;

  padding: 100px 6%;

  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.96) 0%,
      rgba(0, 0, 0, 0.82) 42%,
      rgba(0, 0, 0, 0.42) 72%,
      rgba(0, 0, 0, 0.20) 100%
    ),
    linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.65) 0%,
      transparent 45%
    ),
    url("/assets/mobile-diesel-repair-fargo-01.png");

  background-size: cover;
  background-position: center;
}

.hero-content {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero .eyebrow {
  margin: 0 0 20px;

  color: var(--green);

  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero h1 {
  margin: 0;

  max-width: 1000px;

  color: var(--white);

  font-size: clamp(3.5rem, 7vw, 7rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
}

.hero h1 span {
  color: var(--green);
}

.hero-description {
  max-width: 680px;

  margin: 30px 0 0;

  color: #d0d0d0;

  font-size: 1.2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;

  margin-top: 34px;
}

.hero .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 52px;
  padding: 0 26px;

  border: 2px solid var(--green);

  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;

  transition: 0.2s ease;
}

.hero .btn-primary {
  background: var(--green);
  color: #050505;
}

.hero .btn-primary:hover {
  background: var(--white);
  border-color: var(--white);
}

.hero .btn-secondary {
  background: rgba(0, 0, 0, 0.35);
  color: var(--green);
}

.hero .btn-secondary:hover {
  background: var(--green);
  color: #050505;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;

  margin-top: 46px;

  color: #bdbdbd;

  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-trust span::before {
  content: "•";
  margin-right: 9px;
  color: var(--green);
}


/* HERO BUTTONS */

main section:first-child a {
  display: inline-block;

  width: fit-content;

  margin-top: 32px;
  margin-right: 14px;

  padding: 15px 26px;

  border: 2px solid var(--green);

  color: var(--green);

  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;

  transition:
    background 0.2s ease,
    color 0.2s ease;
}

main section:first-child a:hover {
  background: var(--green);
  color: #000;
}

/* ========================================
   SERVICES PREVIEW
======================================== */

.services-preview {
  background: #0d0d0d;
}

.section-heading {
  max-width: var(--max-width);
  margin: 0 auto 55px;
}

.section-heading .eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.section-heading h2 {
  max-width: 900px;
  color: var(--white);
}

.section-heading > p:last-child {
  margin-left: 0;
  margin-right: 0;
}

.service-grid {
  max-width: var(--max-width);
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;

  background: #292929;
  border: 1px solid #292929;
}

.service-card {
  min-height: 290px;

  display: flex;
  flex-direction: column;

  padding: 34px;

  background: #121212;

  transition: background 0.2s ease;
}

.service-card:hover {
  background: #181818;
}

.service-number {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.service-card h3 {
  margin-top: 40px;

  color: var(--white);

  font-size: 1.45rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.service-card p {
  margin: 16px 0 30px;

  color: #929292;
  font-size: 0.95rem;
}

.service-link {
  margin-top: auto;

  color: var(--green);

  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.services-footer {
  max-width: var(--max-width);
  margin: 32px auto 0;
}

.text-link {
  color: var(--green);

  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
/* ========================================
   MOBILE SERVICE
======================================== */

.mobile-section {
  background: #0d0d0d;
}

.mobile-grid {
  max-width: var(--max-width);
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
}

.mobile-image {
  min-height: 520px;
  overflow: hidden;
  background: #111;
}

.mobile-image img {
  width: 100%;
  height: 100%;
  min-height: 520px;

  object-fit: cover;
  object-position: center;

  filter:
    brightness(0.68)
    contrast(1.12)
    saturate(0.82);
}

.mobile-copy .eyebrow {
  margin: 0 0 14px;
  color: var(--green);

  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.mobile-copy h2 {
  color: var(--white);
}

.mobile-copy p {
  margin-left: 0;
  margin-right: 0;
}

.mobile-copy .text-link {
  display: inline-block;
  margin-top: 30px;
}


/* ========================================
   FLEET SERVICES
======================================== */

.fleet-section {
  background:
    linear-gradient(
      135deg,
      #111 0%,
      #090909 100%
    );

  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
}

.fleet-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.fleet-content .eyebrow {
  margin: 0 0 14px;

  color: var(--green);

  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.fleet-content h2 {
  color: var(--white);
}

.fleet-content > p {
  margin-left: auto;
  margin-right: auto;
}

.fleet-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;

  margin-top: 36px;
}

.fleet-features span {
  padding: 10px 14px;

  border: 1px solid #333;

  color: #c8c8c8;

  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.fleet-features span::before {
  content: "•";
  margin-right: 8px;
  color: var(--green);
}

.fleet-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;

  margin-top: 38px;
}

.fleet-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 52px;
  padding: 0 26px;

  border: 2px solid var(--green);

  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.fleet-actions .btn-primary {
  background: var(--green);
  color: #050505;
}

.fleet-actions .btn-secondary {
  color: var(--green);
}
/* ========================================
   REAL TRUCKS. REAL REPAIRS.
======================================== */

.work-section {
  background: #080808;
}

.work-section .section-heading {
  margin-bottom: 45px;
}

.work-grid {
  max-width: var(--max-width);
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  gap: 12px;
}

.work-card {
  position: relative;
  overflow: hidden;

  min-height: 430px;

  background: #111;
}

.work-card img {
  width: 100%;
  height: 100%;
  min-height: 430px;

  object-fit: cover;

  filter:
    brightness(0.68)
    contrast(1.15)
    saturate(0.78);

  transition:
    transform 0.45s ease,
    filter 0.45s ease;
}

.work-card:hover img {
  transform: scale(1.035);

  filter:
    brightness(0.82)
    contrast(1.12)
    saturate(0.9);
}

.work-card::after {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.42),
      transparent 55%
    );

  pointer-events: none;
}
/* ========================================
   FOOTER
======================================== */

footer {
  padding: 60px 6%;

  background: #050505;
  border-top: 1px solid #222;
}

footer p {
  max-width: var(--max-width);
  margin: 8px auto;

  color: #777;
  font-size: 0.9rem;
}

/* ========================================
   MOBILE
======================================== */

.mobile-image {
  min-height: 320px;
}

.mobile-image img {
  min-height: 320px;
}

.fleet-actions {
  flex-direction: column;
}

.fleet-actions .btn {
  width: 100%;
} {

  header {
    padding: 20px 5%;
    align-items: flex-start;
    flex-direction: column;
  }
.service-grid {
  grid-template-columns: repeat(2, 1fr);
}
.mobile-grid {
  grid-template-columns: 1fr;
  gap: 40px;
}

.mobile-image {
  min-height: 420px;
}

.mobile-image img {
  min-height: 420px;
}
  nav {
    width: 100%;
    gap: 16px;
    flex-wrap: wrap;
  }

  nav a {
    font-size: 0.75rem;
  }

  section {
    padding: 75px 6%;
  }
}


@media (max-width: 600px) {

  h2 {
    font-size: 2.4rem;
  }
.service-grid {
  grid-template-columns: 1fr;
}

.service-card {
  min-height: 240px;
  padding: 28px;
}
  section {
    padding: 65px 6%;
  }
.mobile-image {
  min-height: 320px;
}

.mobile-image img {
  min-height: 320px;
}

.fleet-actions {
  flex-direction: column;
}

.fleet-actions .btn {
  width: 100%;
}
  .site-logo {
    width: 90px;
  }
.work-grid {
  grid-template-columns: 1fr;
  gap: 10px;
}

.work-card,
.work-card:last-child {
  grid-column: auto;
}

.work-card {
  min-height: 300px;
}

.work-card img {
  min-height: 300px;
}
  /* HERO */

  .hero {
    min-height: 720px;
    padding: 80px 6%;
    background-position: 62% center;
  }

  .hero h1 {
    font-size: 3.3rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero .btn {
    width: 100%;
  }

  .hero-trust {
    gap: 8px 14px;
    margin-top: 32px;
  }
}
