* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: Arial, sans-serif; line-height: 1.6; }
header {
  background: #006d77; color: #f4e385; padding: 20px;
  display: flex; justify-content: space-between; align-items: center;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: #4ac1b1; /* тёмно-синий фон */
  color: #22217f;
}

header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

header .logo img {
  height: 80px;
  border-radius: 8px;
}

header nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

header nav a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  transition: color 0.3s;
}

header nav a:hover {
  color: #00b3b3; /* бирюзовый при наведении */
}


nav ul { list-style: none; display: flex; gap: 15px; }
nav ul li a { color: #ffffff; text-decoration: none; font-weight: bold; }
.hero img { width: 100%; height: 400px; object-fit: cover; }
section { padding: 60px 20px; text-align: center; }
h2 { margin-bottom: 20px; color: #006d77; }
.service-grid {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
  gap: 20px;
}
.service-grid div {
  background: #83c5be; padding: 20px; border-radius: 8px; color: #ffffff;
}
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 10px;
}
.gallery-grid img {
  width: 100%; border-radius: 8px;
  transition: transform .3s;
}
.gallery-grid img:hover { transform: scale(1.05); }
form { display:flex; flex-direction: column; max-width: 400px; margin:0 auto; }
form input, form textarea {
  padding: 10px; margin-bottom: 10px; border: 2px solid #006d77; border-radius: 4px;
}
form button {
  background: #006d77; color: #eec233; padding: 10px; border:none; cursor:pointer;
  transition: background .3s;
}
form button:hover { background: #005564; }
footer {
  background: #023047; color: #ffffff; padding: 20px; text-align: center;
}
#contact form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: 20px auto;
}

#contact input,
#contact textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

#contact button {
  padding: 12px;
  border: none;
  border-radius: 6px;
  background: #008b8b;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

#contact button:hover {
  background: #006666;
}
