* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}



body {
      font-family: Arial, sans-serif;
      margin: 0;
      background: #f4f4f4;
      color: #333;
    }


header {
  background: linear-gradient(135deg, #fceabb, #f8b500);
  color: #333;
  padding: 30px 20px 20px;
  text-align: center;
  border-bottom: 1px solid #f4a300;
}



.header-contacts {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap; /* чтобы влезало на маленьких экранах */
  font-size: 1.1em;
  color: #333;
  line-height: 1.6;
  margin-top: 15px;
  padding: 5px 0 15px 0;
border-bottom: 1px solid #f4a300;
}

.header-contacts p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-contacts img {
  vertical-align: middle;
}

.header-contacts a {
  color: #814822;
  text-decoration: none;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 1.05em;
  font-weight: bold;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.header-contacts a:hover {
  background-color: #e9ecef;
}


/* Адаптация для мобильных устройств */
@media (max-width: 600px) {
  .header-contacts {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}




.logo {
  
  max-width: 100%;
  margin-bottom: 15px;
  border-radius: 12px;
  
}

h1 {
  margin: 10px 0 5px;
  font-size: 2em;
}

.tagline {
  font-size: 1.1em;
  color: #555;
  margin-bottom: 20px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.main-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.4);
}






    section {
      padding: 10px 20px;
      max-width: 1100px;
      margin: auto;
    }
    h2 {
      color: #444;
    }
    .gallery {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px 0;
}

.gallery img {
  display: block;
  height: auto;
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease; /* плавное приближение */
}

.gallery img:hover {
  transform: scale(1.03);
}




    .contact {
      background: #eee;
      padding: 20px;
      border-radius: 10px;
    }
	
	
.feedback-form {
  margin: 0 0 50px 0;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.feedback-form input,
.feedback-form textarea {
  width: 100%;
  max-width: 700px;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
}
.feedback-form button {
  background: #444;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1em;
}
.feedback-form button:hover {
  background: #666;
}



.footer {
  background-color: #ffffff;
  padding: 40px 0 20px;
  font-family: 'Segoe UI', 'Roboto', sans-serif;
  color: #333;
  border-top: 1px solid #ddd;
  width: 100%;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1100px; /* сделано в линию с секцией */
  margin: 0 auto;
  padding: 0 20px;   /* безопасный отступ */
  gap: 40px;
}


.footer-left, .footer-right {
  flex: 1 1 250px;
  line-height: 1.6;
}

.footer-left h2 {
  margin-bottom: 12px;
  font-size: 1.3em;
  font-weight: 600;
  color: #111;
}

.footer-left p,
.footer-left a,
.footer-right a {
  font-size: 1em;
  margin: 6px 0;
  color: #333;
  text-decoration: none;
}

.footer-left a:hover {
  color: #000;
  text-decoration: underline;
}

.footer-right {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-bottom {
  text-align: center;
  margin: 40px 0 50px 0;
  font-size: 0.9em;
  color: #777;
  border-top: 1px solid #ddd;
  padding-top: 20px;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .footer-left, .footer-right {
    text-align: center;
    flex: 1 1 100%;
  }
}








.image-text-block {
  padding: 40px 20px;
  max-width: 1100px;
  margin: auto;
}

.image-text-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}

.image-text-container img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  flex: 1 1 300px;
}

.text-content {
  flex: 1 1 300px;
  min-width: 280px;
}

.text-content h2 {
  margin-top: 0;
  color: #444;
}

.text-content p {
  font-size: 1.1em;
  line-height: 1.6;
}





 .custom-link {
    text-decoration: none;
    transition: color 0.3s ease, text-decoration 0.3s ease;
  }

  .custom-link strong {
    color: #333;
  }

  .custom-link .url {
    color: #0057a0;
  }

  .custom-link:hover strong,
  .custom-link:hover .url {
    color: #0057a0;
    text-decoration: underline;
  }
  