/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #fff;
  color: #333;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: #2c3e50;
  color: #fff;
  padding: 1rem 0;
}

/* Стили для шапки */
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo {
  font-size: 2rem;
  font-weight: bold;
}

.header-image {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.phone {
  font-size: 1rem;
}

/* Hero */
.hero {
  background: #ecf0f1;
  padding: 4rem 0;
  text-align: center;
}

.hero .h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero .lead {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
  background: #27ae60;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

/* Sections */
section {
  padding: 3rem 0;
}

section h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.advantages ul {
  list-style: none;
}

.advantages li {
  margin-bottom: 0.5rem;
}

.gallery img {
  width: 100%;
  max-width: 300px;
  margin: 10px;
  border-radius: 5px;
}

/* Form */
.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* Footer */
.footer {
  background: #2c3e50;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
}

/* Адаптация под мобильные устройства */
@media (max-width: 768px) {
  .hero .h1 {
    font-size: 2rem;
  }

  .hero .lead {
    font-size: 1rem;
  }

  .btn {
    display: block;
    width: 100%;
    text-align: center;
  }

  .header-content {
    justify-content: center;
    text-align: center;
  }

  .logo {
    font-size: 1.5rem;
  }

  .header-image {
    width: 60px;
    height: 60px;
  }

  .phone {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .hero .h1 {
    font-size: 1.5rem;
  }

  .hero .lead {
    font-size: 0.9rem;
  }

  .btn {
    padding: 12px;
    font-size: 1rem;
  }

  .phone {
    font-size: 0.9rem;
  }

  .logo {
    font-size: 1.25rem;
  }

  .header-image {
    width: 40px;
    height: 40px;
  }

  .footer p {
    font-size: 0.9rem;
  }
}