
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f5f5f5;
  color: #333;
}

header {
  background: #2e3a59;
  color: #fff;
  padding: 20px;
  text-align: center;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.logo {
  position: absolute;
  left: 20px;
  top: 20px;
  width: 80px;
  height: auto;
}

.header-text {
  text-align: center;
}

header img {
  max-width: 150px;
  display: block;
  margin: 0 auto 10px;
}

nav {
  background: #1f2a43;
  color: white;
  text-align: center;
  padding: 10px;
}

nav a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
}

section {
  padding: 40px 20px;
  max-width: 1000px;
  margin: auto;
}

/* --- УСЛУГИ --- */
.services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

@media (max-width: 700px) {
  .services {
    grid-template-columns: 1fr;
  }
}

.card {
  background: white;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  border-radius: 10px;
  text-align: center;
}

.card img {
  max-width: 100%;
  border-radius: 8px;
}

/* --- ГАЛЕРЕЯ --- */
.gallery {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.gallery .card {
  flex: 0 1 calc(33.333% - 20px); /* 3 в ряд */
  box-sizing: border-box;
}

@media (max-width: 1000px) {
  .gallery .card {
    flex: 0 1 calc(50% - 20px); /* 2 в ряд */
  }
}

@media (max-width: 600px) {
  .gallery .card {
    flex: 0 1 100%; /* 1 в ряд */
  }
}

.gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

footer {
  background: #2e3a59;
  color: #fff;
  text-align: center;
  padding: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
}

.contact-form button {
  padding: 10px 20px;
  background: #2e3a59;
  color: white;
  border: none;
  cursor: pointer;
}

.paypal-button:hover {
  background: #e0b32f;
}
