/* ==================================================================================================
  Reset, Navbar, Hero, Features
================================================================================================== */

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

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #111;
  color: #fff;
}

/* =========================
   NAVBAR
========================= */

.navbar {
  height: 90px;
  background: #151515;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mark {
  color: #d6ad32;
  font-size: 38px;
  font-weight: 900;
}

.logo h1 {
  font-size: 24px;
  letter-spacing: 2px;
}

.logo p {
  color: #d6ad32;
  font-size: 10px;
  letter-spacing: 1px;
}

nav {
  display: flex;
  gap: 42px;
}

nav a {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  padding-bottom: 8px;
}

nav a.active {
  color: #d6ad32;
  border-bottom: 2px solid #d6ad32;
}

.quote-btn,
.main-btn {
  background: linear-gradient(#f2d45b, #c89a1d);
  color: #111;
  padding: 16px 26px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 900;
  border-radius: 4px;
  display: inline-block;
}

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

.hero {
  min-height: 560px;
  background:
    linear-gradient(
      90deg,
      rgba(0,0,0,.95) 0%,
      rgba(0,0,0,.75) 40%,
      rgba(0,0,0,.25) 100%
    ),
    url("./images/Hero.png");
  background-size: cover;
  background-position: center right;
  display: flex;
  align-items: center;
  padding: 0 70px;
}

.hero-content h2 {
  font-size: 72px;
  line-height: .95;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 1px;
  margin-bottom: 28px;
}

.hero-content h2 span {
  color: #d6ad32;
}

.hero-content p {
  font-size: 22px;
  line-height: 1.45;
  margin-bottom: 34px;
}

/* =========================
   FEATURES
========================= */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #181818;
  padding: 30px 40px;
}

.feature {
  text-align: center;
  padding: 20px 18px;
  border-right: 1px solid #333;
}

.feature:last-child {
  border-right: none;
}

.icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.feature h3 {
  text-transform: uppercase;
  font-size: 15px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.feature p {
  color: #ddd;
  font-size: 12px;
  line-height: 1.35;
}
/* ==================================================================================================
  Services + Truck CTA
================================================================================================== */
/* =========================
   SERVICES
========================= */

.services {
  padding: 80px 60px;
  background: linear-gradient(#171717, #111);
}

.services h2 {
  font-size: 42px;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.services h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #d6ad32;
  margin-top: 12px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  height: 240px;
  overflow: hidden;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  transition: transform .35s ease;
}

.service-card:hover {
  transform: translateY(-8px);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.92),
    rgba(0,0,0,.15)
  );
}

.service-card h3 {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 700;
}

.card-1 {
  background-image: url("./images/service-1.png");
}

.card-2 {
  background-image: url("./images/service-2.png");
}

.card-3 {
  background-image: url("./images/service-3.png");
}

.card-4 {
  background-image: url("./images/service-4.png");
}

.card-5 {
  background-image: url("./images/service-5.png");
}

.service-btn {
  margin: 45px auto 0;
  display: block;
  width: fit-content;
}

/* =========================
   TRUCK CTA
========================= */

.truck-cta{
    display:flex;
    height:340px;
    background:#050505;
    overflow:hidden;
}

.truck-left{
    width:72%;
    background:
        linear-gradient(rgba(0,0,0,.65),rgba(0,0,0,.25)),
        url("./images/truck-cta.png");
    background-size:cover;
    background-position:center;

    clip-path:polygon(
        0 0,
        92% 0,
        84% 100%,
        0 100%
    );

    padding:70px;
    position:relative;
}
.truck-left::after{
    content:"";
    position:absolute;
    top:-10%;
    right:6%;
    width:16px;
    height:120%;
    background:#d6ad32;
    transform:rotate(8deg);
}
@media (max-width: 768px) {
  .truck-cta {
    grid-template-columns: 1fr;
  }

  .truck-left {
    min-height: 300px;
    padding: 55px 28px;
  }

  .truck-right {
    padding: 45px 28px;
    justify-content: flex-start;
  }
}
/* ==================================================================================================
  Tablet + Phone
================================================================================================== */
/* =========================
   TABLET
========================= */

@media (max-width: 1100px) {
  .navbar {
    padding: 0 28px;
  }

  nav {
    gap: 24px;
  }

  .hero-content h2 {
    font-size: 58px;
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature {
    padding: 30px;
    border-bottom: 1px solid #333;
  }

  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .truck-cta {
    grid-template-columns: 1.5fr 1fr;
  }

  .truck-left {
    padding: 60px 45px;
  }

  .truck-left h2 {
    font-size: 46px;
  }

  .truck-right {
    padding: 60px 35px;
  }

  .truck-right h3 {
    font-size: 30px;
  }
}

/* =========================
   PHONE MENU + PHONE LAYOUT
========================= */

#menu-toggle {
  display: none;
}

.hamburger {
  display: none;
}

@media (max-width: 768px) {

  .navbar {
    height: 72px;
    padding: 0 20px;
    flex-direction: row;
    position: relative;
  }

  .logo h1 {
    font-size: 18px;
  }

  .logo p {
    font-size: 8px;
  }

  .mark {
    font-size: 28px;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 20;
  }

  .hamburger span {
    width: 28px;
    height: 3px;
    background: #fff;
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: #111;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 20px 0;
    z-index: 15;
  }

  .nav-links a {
    padding: 16px 24px;
    font-size: 14px;
    border-bottom: 1px solid #222;
  }

  #menu-toggle:checked ~ .nav-links {
    display: flex;
  }

  .quote-btn {
    display: none;
  }

  .hero {
    min-height: 520px;
    padding: 70px 28px;
    background-position: center;
  }

  .hero-content h2 {
    font-size: 42px;
  }

  .hero-content p {
    font-size: 17px;
  }

  .features {
    grid-template-columns: repeat(2, 1fr);
    padding: 20px;
  }

  .feature {
    padding: 18px 10px;
    border-right: none;
  }

  .icon {
    font-size: 24px;
  }

  .feature h3 {
    font-size: 12px;
  }

  .feature p {
    font-size: 10px;
  }

  .services {
    padding: 55px 24px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .truck-cta {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 0 !important;
  }

  .truck-left {
    width: 100% !important;
    min-height: 330px !important;
    padding: 45px 28px !important;
    clip-path: none !important;
    background-position: center !important;
  }

  .truck-left::after,
  .truck-divider {
    display: none !important;
  }

  .truck-left h2 {
    font-size: 38px;
  }

  .truck-right {
    width: 100% !important;
    margin-left: 0 !important;
    padding: 45px 28px 60px !important;
    background: #050505 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 20px !important;
  }

  .truck-right h3 {
    font-size: 32px;
  }

  .outline-btn,
  .outline-btn:visited {
    display: inline-block;
    width: fit-content;
    padding: 14px 28px;
    border: 2px solid #888;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 13px;
  }
}

/* =========================
   SMALL PHONES
========================= */

@media (max-width: 480px) {
  .logo h1 {
    font-size: 20px;
  }

  .mark {
    font-size: 32px;
  }

  nav {
    gap: 14px;
  }

  nav a {
    font-size: 11px;
  }

  .hero {
    min-height: 480px;
    padding: 65px 20px;
  }

  .hero-content h2 {
    font-size: 38px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .main-btn {
    padding: 14px 22px;
    font-size: 12px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    height: 220px;
  }

  .truck-left {
    min-height: 300px;
  }

  .truck-left h2 {
    font-size: 32px;
  }

  .truck-right {
    flex-direction: column;
    gap: 18px;
  }

  .truck-right h3 {
    font-size: 28px;
  }

  .calendar-icon {
    width: 58px;
    height: 58px;
    font-size: 24px;
  }
}
