/* === Galerie sestav === */
.gallery {
  padding: 80px 20px;
  background-color: #f9f9f9;
  color: #1d1d1f;
  text-align: center;
}

.gallery h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #1d1d1f;
}

.gallery hr {
  width: 80px;
  height: 3px;
  border: none;
  background: linear-gradient(to right, #0088cc, #00aaff);
  margin: 0 auto 60px;
  border-radius: 10px;
}

.build {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin: 60px auto;
  max-width: 1100px;
  background: #ffffff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.build:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
}

.build-image {
  width: 40%;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  object-fit: cover;
  transition: transform 0.3s ease;
}

.build:hover .build-image {
  transform: scale(1.03);
}

.build-info {
  text-align: left;
  width: 50%;
}

.build-info h3 {
  font-size: 26px;
  color: #007aff;
  font-weight: 600;
  margin-bottom: 20px;
}

.build-info ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.build-info li {
  margin-bottom: 8px;
  font-size: 16px;
  color: #333;
}

.build-info strong {
  color: #007aff;
}

.build-info p {
  font-size: 15px;
  color: #555;
  line-height: 1.5;
}

/* === Jemná animace při scrollování === */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.build {
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.build:nth-child(1) { animation-delay: 0.1s; }
.build:nth-child(2) { animation-delay: 0.2s; }
.build:nth-child(3) { animation-delay: 0.3s; }

/* === Responsivita === */
@media (max-width: 900px) {
  .build {
    flex-direction: column;
    text-align: center;
    padding: 30px;
    gap: 25px;
  }

  .build-image {
    width: 100%;
    max-width: 400px;
  }

  .build-info {
    width: 100%;
    text-align: center;
  }
}