* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  body {
    font-family: Arial, sans-serif;
    color: #000;
    line-height: 1.6;
  }
  
  /* Шапка */
  header {
    background-color: #fff;
    padding: 20px;
    position: relative;
  }
  .navbar {
    display: flex;
    justify-content: space-between; 
    align-items: center;

    background-color: #fff;
    position: relative;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    position: relative;
    z-index: 2;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin-left: auto;
    z-index: 2;
}

.nav-links li a {
    text-decoration: none;
    color: #000;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #007bff;
}

  @media (max-width: 768px) {
    .navbar {
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }
    .logo {
      position: static;
      transform: none;
      margin-bottom: 10px;
    }
    .nav-links {
      justify-content: center;
      margin-left: 0;
    }
  }
  
  /* Hero */
  .hero {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 2rem;
    background: url('img/aerial-shot-twisted-roads-surrounded-by-parks-middle-city_181624-25726.webp') center/cover no-repeat; /* Указываем картинку */
    color: #fff; 
    min-height: 400px; 
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
}
.hero-content {
    position: relative; 
    z-index: 1;
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

  .hero-left {
    padding: 30px;
    border-radius: 12px;
    max-width: 550px;
  }
  .hero-left h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #fff;
  }
  .hero-left .subheading {
    font-size: 1rem;
    color: #fff;
  }
  .hero-right {
    z-index: 1;
    max-width: 45%;
    text-align: left;
  }
  .hero-right .hero-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #fff;
  }
  
  @media (max-width: 768px) {
    .hero-content {
      flex-direction: column;
      gap: 20px;
      text-align: center;
    }
    .hero-right {
      max-width: 100%;
    }
    .hero-right .hero-text {
        text-align: center;
      }
  }
  
  /* About */
  .about {
    background-color: #F5F7FA;
    padding: 60px 20px;
    display: flex;
    justify-content: center;
  }
  .about-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    gap: 50px;
    flex-wrap: wrap;
  }
  .about-text {
    flex: 1;
    color: #000;
  }
  .about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }
  .about-text p {
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 1.1rem;
  }
  .about-images {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
  }
  .image-stack {
    position: relative;
    width: 100%;
    max-width: 500px;
  }
  .image-main {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 10px;
  }
  .image-overlay {
    width: 65%;
    border-radius: 10px;
    position: absolute;
    bottom: -20px;
    right: -20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  }

  @media (max-width: 768px) {
    .about-container {
      flex-direction: column;
      text-align: center;
    }
  }
  
  /* Why */
  .why {
    text-align: center;
    padding: 60px 20px;
    max-width: 1000px;
    margin: 0 auto;
  }
  .why h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
  }
  .why-description {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 50px;
  }
  .why-features {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 70px;
  }
  .feature {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 600px;
    text-align: left;
  }
  .feature img {
    width: 50px;
    height: 50px;
  }
  .feature-text h3 {
    font-size: 1.2rem;
    font-weight: bold;
  }
  .feature-text p {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
  }

  @media (max-width: 768px) {
    .why-features {
      flex-direction: column;
      gap: 40px;
    }
  }
  
/* Trucks (Галерея) */
.trucks {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 40px 20px;
}

.trucks img {
    width: 100%;
    max-width: 400px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .trucks {
        overflow-x: auto;
        flex-wrap: nowrap;
        scroll-snap-type: x mandatory;
        padding-bottom: 1rem;
        gap: 10px; 
    }

    .trucks img {
        min-width: 60%; 
        flex: 0 0 auto;
        scroll-snap-align: start;
        border-radius: 10px;
        transition: transform 0.3s ease-in-out;
    }

    .trucks img:focus {
        transform: scale(1.05);
    }

    .gallery-indicators {
        display: flex;
        justify-content: center;
        margin-top: 10px;
        gap: 8px;
    }

    .gallery-indicator {
        width: 10px;
        height: 10px;
        background-color: #ccc;
        border-radius: 50%;
        transition: background-color 0.3s;
    }

    .gallery-indicator.active {
        background-color: #000;
    }
}

  
  /* Clients */
  .clients {
    padding: 60px 20px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
  }
  .clients h2 {
    font-size: 2rem;
    margin-bottom: 20px;
  }
  .clients-subtitle {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 40px;
  }
  .clients-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 60px;
    justify-content: center;
  }
  .clients-features .feature {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
  }
  .clients-features .feature img {
    width: 40px;
    height: 40px;
  }
  .clients-features .feature-text {
    flex: 1;
  }
  .clients-features .feature h3 {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 5px;
  }
  .clients-features .feature p {
    font-size: 1rem;
    color: #666;
  }

  @media (max-width: 768px) {
    .clients-features {
      grid-template-columns: 1fr;
      gap: 20px;
    }
  }
  
  /* Contacts */
  .contacts {
    position: relative;
    background: url('img/AdobeStock_398385616.webp') center/cover no-repeat;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .contacts-overlay {
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .contacts-box {
    background-color: #fff;
    padding: 50px;
    max-width: 600px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  }
  .contacts-box h2 {
    font-size: 2rem;
    margin-bottom: 25px;
  }
  .contacts-list {
    display: flex;
    justify-content: space-between;
    gap: 20px;
  }
  .contact-person {
    flex: 1;
    text-align: center;
  }
  .contact-person p {
    font-size: 1.2rem;
    margin: 5px 0;
  }

  @media (max-width: 768px) {
    .contacts {
      height: auto;
      padding: 80px 20px;
    }
    .contacts-box {
      width: 90%;
      max-width: 400px;
      padding: 30px;
    }
    .contacts-box h2 {
      font-size: 1.8rem;
    }
    .contacts-list {
      flex-direction: column;
      gap: 15px;
    }
    .contact-person p {
      font-size: 1rem;
    }
  }
  