body {
  margin: 0;
  padding: 40px 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #d0e7ff 0%, #f7faff 100%);
  color: #1e2f50;
}

h1 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 60px;
  color: #0c1f3a;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.project {
  background: #ffffffcc;
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(30, 50, 90, 0.15);
  margin-bottom: 60px;
  padding: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

/* Фото великий блок */
.project .photos {
  flex: 1 1 500px;
  max-width: 600px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(60, 130, 230, 0.3);
}

.project .photos img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
  cursor: default;
}

.project .photos img:not(:last-child) {
  margin-bottom: 20px;
}

.project .photos img:hover {
  transform: scale(1.05);
}

/* Опис проекту */
.project .description {
  flex: 1 1 350px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #32466b;
}

.project h2 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 2.2rem;
  color: #0a2240;
  border-bottom: 4px solid #3a7dd9;
  padding-bottom: 6px;
}

/* Адаптив */
@media (max-width: 960px) {
  .project {
    flex-direction: column;
    padding: 20px;
  }
  .project .photos,
  .project .description {
    max-width: 100%;
    flex: 1 1 100%;
  }
  .project h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
}

footer {
  text-align: center;
  padding: 30px 0;
  font-weight: 600;
  font-size: 1rem;
  color: #1e2f50aa;
  letter-spacing: 0.05em;
}
