.header {
  z-index: 100;
  background: #697E50;
  padding: 20px 0;
  position: relative;
}

.hero__title {
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C3CA92;
  font-weight: 800;
  font-size: 26px;
}

.hero__text {
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #20331B;
  order: 2;
  font-weight: 800;
  font-size: 16px;
}

.hero__fon {
  background-color: #C3CA92;
  min-height: 100vh;
  width: 100%;
  z-index: 100;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__text2{
  left: 2%;
  right: 2%;
  max-width: 5000px;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C3CA92;
  
  font-weight: 800;
  font-size: 18px;
   word-wrap: break-word;      /* Переносит длинные слова */
   word-break: break-word;     /* Принудительный перенос длинных слов */
   white-space: normal;        /* Разрешает перенос строк (значение по умолчанию) */
}
.hero__banner {
      position: absolute;
      left: 2%;
      right: 2%;
      max-width: 5000px;
      background-color: #354C2B;
      padding: 30px 30px;
      border-radius: 12px;
      box-shadow: 0 18px 35px ;
      z-index: 150;
}
.footer__fon {
  background-color: #697E50;
  height: 100px;
  width: 100%;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto 30px auto;
 
   margin-top: 20px;
   order: 1;
}

.gallery__img {
  width: 100%;
  height: 200px;
  object-position: center 10%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery__img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}
@media (max-width: 768px) {
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
  }
  
  .gallery__img {
    height: 150px;
  }
  
  .hero__text {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .gallery {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
  }
  
  .gallery__img {
    height: 120px;
  }
  
  .hero__text {
    font-size: 24px;
  }
}
 
