.car-box {
  width: 310px;
  height: auto;
  overflow: hidden;
  position: relative;
  border-radius: 0px; /* volitelně */
  box-shadow: 0 2px 8px rgba(0,0,0,0.1); /* volitelně */
}

.car-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.service-image {
height: 500px;
}
.icon-center {
    padding-left: 50px;
}

.social-icon {
  transition: filter 0.2s ease;
}

.icon-center:hover .social-icon {
  filter: brightness(0) saturate(100%) invert(21%) sepia(92%) saturate(7492%) hue-rotate(340deg) brightness(83%) contrast(106%);
}

    #gallery-container {
      max-width: 800px;
      margin: auto;
      text-align: center;
      position: relative;
    }

    #main-photo-wrapper {
      position: relative;
    }

    #main-photo {
      height: 500px;
      max-width: auto;
      object-fit: contain;
    }

    .nav-arrow {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      font-size: 30px;
      color: #333;
      background: rgba(255,255,255,0.7);
      border-radius: 5px;
      width: 40px;
      height: 40px;
      line-height: 38px;
      text-align: center;
      cursor: pointer;
      user-select: none;
      z-index: 10;
    }

    .nav-arrow:hover {
      background: rgba(255,255,255,0.9);
    }

    .arrow-left {
      left: 10px;
    }

    .arrow-right {
      right: 10px;
    }

    .thumbnails {
      display: flex;
      justify-content: center;
      gap: 10px;
      margin-top: 20px;
      flex-wrap: wrap;
    }

    .thumbnail {
      width: 100px;
      height: 70px;
      object-fit: cover;
      cursor: pointer;
      border: 2px solid transparent;
      transition: border 0.2s ease;
    }

    .thumbnail:hover,
    .thumbnail.active {
      border: 2px solid #007BFF;
    }