/* Основные стили */
body {
  position: relative;
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  line-height: 1.4;
  color: #000;
  min-width: 320px;
  overflow-x: hidden;
}

.otziv h1{
    font-size: 40px;
    color: coral;
    font-weight: bold;
    text-align: center;
}

.testimonial-section {
  position: relative;
  width: 90%;
  max-width: 800px;
  border: 1px solid #000;
  border-radius: 15px;
  overflow: hidden;
  padding: 20px;
  background: #fff;
  margin-top: 30px;
  margin-bottom: 30px;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background-color: coral;
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 20px;
  border-radius: 20px;
}

.left-arrow {
  left: 10px;
}

.right-arrow {
  right: 10px;
}

.testimonial-wrapper {
  overflow: hidden;
}

.testimonial-container {
  display: flex;
  transition: transform 0.5s ease;
  transform: translateX(calc(-100% * var(--current-index, 0)));
}

.testimonial-block {
  flex: 0 0 100%;
  padding: 10px;
  box-sizing: border-box;
}

.testimonial-image {
  width: 100%;
  display: block;
  margin: 0 auto;
  border-radius: 10px 10px 0 0;
}

.testimonial-comment {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.profile-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid coral;
  object-fit: cover;
  margin-right: 10px;
}

.testimonial-text {
  text-align: left;
}

.username {
  font-size: 18px;
  color: coral;
  margin: 0 0 5px;
}

.comment {
  font-size: 16px;
  color: #000;
  margin: 0;
}

/* Мобильные устройства */
@media (max-width: 768px) {
  .testimonial-section {
    max-width: 100%;
    padding: 10px;
  }
  .arrow {
    font-size: 18px;
    padding: 8px;
  }
  .profile-image {
    width: 40px;
    height: 40px;
  }
  .username {
    font-size: 16px;
  }
  .comment {
    font-size: 14px;
  }
}

/* Большие экраны */
@media (min-width: 1200px) {
  .testimonial-section {
    max-width: 800px;
    height: auto;
    padding: 30px;
  }
  .username {
    font-size: 22px;
  }
  .comment {
    font-size: 20px;
  }
  .profile-image {
    width: 60px;
    height: 60px;
  }
}


/* Основной стиль круглой кнопки */
.help-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFC512, orange, #FFC512); /* Градиент на кнопке */
    color: white; /* Белый цвет текста */
    text-decoration: none; /* Убираем подчеркивание */
    border-radius: 50%; /* Круглая форма */
    font-size: 24px; /* Размер текста */
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1000;
    background-size: 200%; /* Увеличиваем размер градиента для плавности */
    animation: gradient-move 3s infinite; /* Плавное бесконечное движение градиента */
}

/* Ховер эффект */
.help-button:hover {
    transform: scale(1.1); /* Лёгкое увеличение при наведении */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
    color: white; /* Фиксируем белый цвет текста при наведении */
}

/* Анимация жёлтого переливания */
@keyframes gradient-move {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}




body.no-scroll {
    overflow: hidden; /* Полностью отключаем прокрутку */
    height: 100%; /* Фиксируем высоту */
}


/* Основной стиль секции */
.criteria {
    padding: 30px;
    margin: 20px auto;
    max-width: 1200px;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.blog h1 {
  color: #FFC512;
  font-size: 40px;
  font-weight: 700;
  text-align: left;
  padding-top: 30px;
  text-align: center;
  text-shadow:
  -1px 0 0 black,
  1px 0 0 black,
  0 -1px 0 black,
  0 1px 0 black;
}

/* Заголовок секции */
.criteria h2 {
    font-size: 40px;
    color: #FFC512; /* Коралловый цвет */
    margin-bottom: 25px;
    text-shadow:
    -1px 0 0 black,
    1px 0 0 black,
    0 -1px 0 black,
    0 1px 0 black;
}

/* Индивидуальные критерии */
.criterion {
    display: flex;
    align-items: flex-start; /* Выровнять содержимое по верхнему краю */
    gap: 15px;
    margin-bottom: 20px;
    padding: 10px;
    border-bottom: 1px solid #ddd; /* Линия-разделитель */
    text-align: left; /* Выровнять весь текст в блоке по левому краю */
}

.criterion:last-child {
    border-bottom: none; /* Убрать линию у последнего элемента */
}

@media (max-width: 768px) {
    .criterion {
        flex-direction: column;
        text-align: left;
    }

    .icon {
        align-self: flex-start;
    }
}

/* Иконки */
.icon {
    font-size: 2em;
    color: #ff6347; /* Коралловый */
}

/* Содержимое критериев */
.content h3 {
    font-size: 30px;
    color: #333;
    margin-bottom: 5px;
}

.content p {
    font-size: 20px;
    color: #555;
    margin: 0;
}

/* Совет */
.advice {
    margin-top: 20px;
    font-size: 20px;
    color: #333;
    font-style: italic;
}

/* Адаптивный дизайн */
@media (max-width: 768px) {
    .criterion {
        flex-direction: column;
        text-align: left; /* Сохраняем левое выравнивание на мобильных */
    }

    .icon {
        align-self: flex-start;
    }
}

@media (max-width: 768px) {
    .advantages-section {
        padding: 15px;
    }

    .advantages-list li, .application-list li {
        font-size: 0.9em;
    }

    .cta-text {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .type {
        flex-direction: column;
        text-align: center;
    }

    .type img {
        width: 100%;
        max-width: 300px;
    }

    .description {
        margin-top: 10px;
    }
}

/* Основной стиль секции */
.advantages-section {
    padding: 20px;
    margin: 20px auto;
    background-color: #797979; /* Светлый коралловый фон */
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Легкая тень */
    max-width: 1200px;
}

/* Заголовки */
.advantages-section h2 {
    text-align: center;
    color: #FFC512; /* Коралловый цвет */
    margin-bottom: 15px;
}

/* Список преимуществ */
.advantages-list, .application-list {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.advantages-list li, .application-list li {
    margin: 10px 0;
    padding-left: 25px;
    position: relative;
    color: white;
    font-size: 1em;
}



/* CTA текст */
.cta-text {
    text-align: center;
    margin-top: 20px;
    font-weight: bold;
    color: white;
}

/* Адаптивный дизайн */
@media (max-width: 768px) {
    .advantages-section {
        padding: 15px;
    }

    .advantages-list li, .application-list li {
        font-size: 0.9em;
    }

    .cta-text {
        font-size: 1em;
    }
}


/* Основные стили */
.technologies, .advantages {
    padding: 20px;
    margin: 20px auto;
    max-width: 1200px;
}

.technologies h2, .advantages h2 {
    text-align: center;
    color: #FFC512; /* Коралловый цвет */
    margin-bottom: 20px;
    font-size: 35px;
    font-weight: bold;
    text-shadow:
    -1px 0 0 black,
    1px 0 0 black,
    0 -1px 0 black,
    0 1px 0 black;
}

/* Стили для каждого типа потолков */
.type {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px;
    background-color: #fefefe;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.type img {
    width: 150px;
    height: auto;
    border-radius: 8px;
}

.description h3 {
    margin: 0;
    color: #FFC512;
    font-size: 1.2em;
}

.description p {
    margin: 5px 0 0;
    font-size: 1em;
    color: #333;
}

/* Преимущества */
.advantages ul {
    list-style: none;
    padding: 0;
}

.advantages li {
    margin: 10px 0;
    padding-left: 20px;
    position: relative;
    color: #333;
    font-size: 20px;
}

/* Адаптивный дизайн */
@media (max-width: 768px) {
    .type {
        flex-direction: column;
        text-align: center;
    }

    .type img {
        width: 100%;
        max-width: 300px;
    }

    .description {
        margin-top: 10px;
    }
}


/* Оформление секции услуг */
.services {
    display: flex;
    flex-wrap: wrap; /* Позволяет элементам переноситься на новую строку */
    gap: 20px; /* Расстояние между блоками */
    justify-content: space-between; /* Распределение блоков по ширине */
}

.services h2 {
    text-align: center;
    color: #FFC512; /* Коралловый цвет */
    font-size: 45px;
    font-weight: bold;
}

.service {
    flex: 1 1 calc(50% - 20px); /* Ширина каждого блока: 50% с учётом отступов */
    box-sizing: border-box; /* Учитываем padding и margin */
    border: 1px solid #ddd; /* Рамка блока */
    border-radius: 10px; /* Закругление углов */
    padding: 20px; /* Внутренние отступы */
    background-color: #fefefe; /* Фон блока */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Лёгкая тень */
}

.service h3 {
    color: #FFC512;
    margin-bottom: 10px;
    text-shadow:
    -1px 0 0 black,
    1px 0 0 black,
    0 -1px 0 black,
    0 1px 0 black;
}

@media (max-width: 768px) {
    .service {
        flex: 1 1 100%; /* Блоки занимают всю ширину экрана */
    }
}

/* Оформление секции "Почему выбирают нас" */
.why-us {
    padding: 20px;
    margin: 20px;
    background-color: #797979; /* Светлый коралловый фон */
    border-radius: 10px; /* Закруглённые углы */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Лёгкая тень */
}

.why-us::after {
    content: "";
    display: block;
    width: 80%;
    margin: 20px auto;
    border-top: 2px solid #FFC512; /* Коралловая линия */
    opacity: 0.6; /* Полупрозрачность */
}

.why-us h2 {
    text-align: center;
    color: #FFC512;
    font-size: 35px;
    font-weight: bold;
}

.why-us ul {
    list-style-type: none;
    padding: 0;
}

.why-us li {
    margin: 10px 0;
    color: white;
    font-size: 22px;
}



.potolok h1{
  font-size: 100px;
  color: #FFC512;
  font-weight: 900;
  margin-top: 100px;
  text-shadow:
  -1px 0 0 black,
  1px 0 0 black,
  0 -1px 0 black,
  0 1px 0 black;
}

.potolok img{
  border-radius: 20px;
  max-width: 900px;
  height: auto;
}

.potolok p{
  max-width: 60%;
  font-size: 30px;
}


.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Navbar */
.navbar {
  width: 100%;
  height: 70px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .1);
}

.navbar .container {
  height: inherit;
  display: flex;
  justify-content: space-between; /* Логотип и меню распределяются равномерно */
  align-items: center; /* Центрирование по вертикали */
  padding: 0 5px; /* Горизонтальные отступы с двух сторон */
  max-width: 1300px; /* Ограничение ширины контейнера */
  margin: 0 auto; /* Центрирование контейнера */
}

.navbar-menu {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.navbar-menu li {
  display: inline-block;

}

.navbar-menu li a{
  display: inline-block;
  color: black;
  opacity: 0.6;
  text-decoration: none;
  padding: 10px;
  transition: all .09s ease-in-out;
}

.navbar-menu li a:hover{
  opacity: 1;

}

.navbar-wrap {
  display: flex;
  flex-flow: row nowrap;
}

.callback {
  margin-left: 30px;
  padding: 10px 30px;
  background-color: #FFC512;
  border-radius: 100px;
  color: black;
  text-decoration: none;
  box-shadow: 0 4px 6px rgba(255, 127, 80 .2);
  transition: all .1s ease-out;

}

.callback:hover {
  transform: scale(1.04) ;
  color: white;
  box-shadow: 0 9px 9px rgba(255, 127, 80 .5);

}

.navbar-brand {
  font-weight: 700;
  font-size: 30px;
  text-decoration: none;
  color: black;
  transition: all .09s ease-in-out;

}

.navbar-brand:hover {
  color: #FFC512;

}

/* Кнопка-бургер – скрыта на ПК */
.burger-menu {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: black;
  cursor: pointer;
  perspective: 1000px; /* Для 3D-эффекта */

}

  .burger-menu.clicked {
    animation: flip 0.5s ease-in-out; /* Запускаем анимацию */
  }

@keyframes slideIn {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(100%);
  }
}

@keyframes flipOpen {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(180deg);
  }
}

@keyframes flipClose {
  from {
    transform: rotate(180deg);
  }
  to {
    transform: rotate(0deg);
  }
}
/* Header */
.header {
  position: relative;
  min-height: 800px;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  text-align: center;
  background-image: url('media/main1.jpg'); /* Добавляем изображение */
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Чёрный с прозрачностью 50% */
  z-index: 1; /* Слой выше фонового изображения */
}

/* Абсолютное центрирование header-content */
.header-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
}

.header-content h1 {
  font: Arial;
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 10px;
  color: white;
  text-align: center;
}

.header-content h4 {
  font-size: 21px;
  font-weight: 400;
  margin-bottom: 35px;
  opacity: 0.7;
  color: white;
  text-align: center;
}

.btn-main {
  display: inline-block;
  padding: 10px 35px;
  font-size: 18px;
  border: none;
  background-color: #FFC512;
  color: black;
  text-transform: uppercase;
  border-radius: 8px;
  font-weight: 500;
  box-shadow: 0 5px 10px rgba(0,0,0,0.4);
  transition: all 0.09s ease-out;
  margin: 0 auto;
  text-align: center;
}

.btn-main:hover {
  box-shadow: 0 5px 10px #FFDB58;
  transform: scale(1.05);
}

.btn-main a {
  text-decoration: none;
  color: black;
}

/* Overlay для header */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
}

/* Блок Новинка (newalls) */
.newalls {
  margin-top: 100px;
  text-align: center;
}

.newalls h2 {
  color: #FFC512;
  font-size: 60px;
  font-weight: bold;
  margin-top: 100px;
  width: 95%;
  text-shadow:
  -1px 0 0 black,
  1px 0 0 black,
  0 -1px 0 black,
  0 1px 0 black;
}

.newalls img {
  max-width: 90%;
  height: auto;
  border-radius: 20px;
}

.newalls h3 {
  margin-top: 30px;
  color: coral;
  font-size: 40px;
  font-weight: 700;
}

.newalls p {
  font-size: 30px;
  width: 65%;
  margin: 0 auto;
  color: black;
}

/* Блок Преимущества (svoistva) */
.svoistva {
  background-color: #797979;
  width: 100%;
  margin-top: 100px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 40px;
  color: white;
}

.svoistva h2{
    font-weight: 800;
}
.container{
  margin: 0 auto;
  max-width: 100%
}
.svoistva .container1 .row > div {
  text-align: center;
}

/* Блок Галерея (rooms) */
.rooms {
  margin-top: 60px;
  align-items: center;
}

.rooms h1 {
  color: #FFC512;
  font-size: 40px;
  font-weight: 800;
  text-align: center;
  text-shadow:
  -1px 0 0 black,
  1px 0 0 black,
  0 -1px 0 black,
  0 1px 0 black;
}

.rooms img {
  margin-top: 40px;
  max-width: 80%;
  height: auto;
  align-items: center;
  border-radius: 15px;
}

.rooms h2 {
  color: black;
  font-size: 30px;
}

/* Блок Видео (preobraz) */
.preobraz {
  margin-top: 50px;
  background-color: #A0A0A0;
  text-align: center;
  padding: 20px;
  border-radius: 20px;
}

.preobraz h1 {
  color: white;
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 20px;
}

.responsive-video {
  width: 480px;
  max-width: 90%;
  height: auto;
  margin: 10px;
}

/* Блок Image-Text */
.image-text-block {
  display: flex;
  height: 500px;
  width: 100%;
}

.image-part {
  flex: 0 0 40%;
  background-color: #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.image-part img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.text-part {
  flex: 0 0 60%;
  background-color: gray;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.content {
  max-width: 80%;
}

.text-part h1 {
  font-size: 36px;
  color: white;
  margin-bottom: 20px;
  font-weight: 800;
}

.text-part p {
  font-size: 18px;
  color: white;
  margin-bottom: 30px;
}

.text-part .btn {
  display: inline-block;
  padding: 10px 30px;
  background-color: white;
  color: black;
  text-decoration: none;
  font-size: 18px;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.text-part .btn:hover {
  background-color: #FFC512;
  color: white;
}

/* Блок Форма обратной связи */
 .form-container {
  display: flex;
  flex-wrap: wrap;
}

.logo-section {
  flex: 0 0 30%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.logo-section img {
  max-width: 60%;
  height: auto;
}

.form-section {
  flex: 0 0 70%;
  padding: 20px;
}

.form-section h2 {
  font-size: 24px;
  color: #FFC512;
  margin-bottom: 20px;
  text-align: center;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #FFC512;
}

.form-group input {
  width: 70%; /* Уменьшенная ширина поля ввода */
  margin: 0 auto;
  padding: 6px; /* Уменьшенная высота полей */
  border: 1px solid #FFC512;
  border-radius: 4px;
  box-sizing: border-box;
  display: block;
}

.form-group input:focus {
  border-color: #FFC512;
  outline: none;
}

.form-group button {
  width: 70%; /* Уменьшенная ширина кнопки */
  margin: 0 auto;
  padding: 6px; /* Уменьшенная высота кнопки */
  background-color: #FFC512;
  border: none;
  border-radius: 4px;
  color: #fff;
  font-size: 14px; /* Уменьшенный размер шрифта */
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: block;
}

.form-group button:hover {
  background-color: #ff6347;
}

/* Footer */
footer {
  background-color: gray;
  text-align: center;
  padding: 10px;
  font-size: 16px;
}

footer p {
  color: white;
}

footer a{
  text-decoration: none;
  color: #FFDB58;
}

.svyaz h1{
    color: #FFC512;
    font-weight: 600;
    text-shadow:
    -1px 0 0 black,
    1px 0 0 black,
    0 -1px 0 black,
    0 1px 0 black;
}

.svyaz p{
  font-size: 20px;
  width: 80%;
}

.container8 {
  padding-top: 15px;
  display: flex; /* Включение Flexbox */
  justify-content: center; /* Центрирование содержимого */
  align-items: center; /* Вертикальное выравнивание */
  gap: 20px; /* Расстояние между блоками */
  padding: 20px; /* Отступы вокруг контейнера */
}

.uslug h1{
  text-align: center;
  font-size: 45px;
  color: #FFC512;
  font-weight: 650;
  text-shadow:
  -1px 0 0 black,
  1px 0 0 black,
  0 -1px 0 black,
  0 1px 0 black;
}

.block {
  position: relative; /* Для размещения текста и кнопки внутри блока */
  width: 600px; /* Ширина каждого блока */
  height: 400px; /* Высота каждого блока */
  background-size: cover; /* Фоновая картинка заполняет блок полностью */
  background-position: center; /* Центрирование фоновой картинки */
  border-radius: 10px; /* Закругление углов */
  overflow: hidden;
}

.block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Затемнение */
  z-index: 1; /* Слой затемнения */
}

.block h2 {
  position: absolute;
  top: 50%; /* Центровка текста по вертикали */
  left: 50%; /* Текст по левому краю с отступом */
  transform: translate(-50%, -50%);
  z-index: 2; /* Текст выше затемнения */
  margin: 0;
  font-size: 35px;
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8); /* Читаемость текста */
  text-align: center;
}

.block a{
  text-decoration: none;
  color: black;
}

.block button {
  position: absolute;
  bottom: 10%; /* Кнопка в нижнем левом углу */
  left: 50%; /* Отступ от левого края */
  z-index: 2;
  padding: 10px 20px;
  background-color: #FFC512; /* Коралловый цвет кнопки */
  color: black;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  transform: translateX(-50%);
}

.block button:hover {
  background-color: #FFDB58; /* Темнее коралловый при наведении */
}


@media (min-width: 992px) {
  .header-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
  }
}


@media (max-width: 768px) {
    .container8 {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 0 10px;
    }

    .block {
        width: 95%;
        height: 300px; /* Увеличенная высота блока */
        margin: 10px auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .block h2, .block button {
        position: static;
        transform: none;
        margin: 10px 0;
        text-align: center;
    }

    .criteria h2{
      font-size: 30px;
    }
}


 
@media (max-width: 992px) {
.navbar-wrap {
    position: fixed;
    top: 70px; /* Оставляем место под верхнее меню */
    right: 0;
    width: 50%; /* Меню занимает 50% экрана */
    height: calc(100vh - 70px); /* Меню растягивается до конца экрана снизу */
    flex-direction: column;
    background: #f0f0f0;
    align-items: flex-end;
    padding: 10px;
    display: none;
    z-index: 1000;
    transition: transform 0.3s ease;
    transform: translateX(100%);
    text-align: center;
}

.navbar-wrap.active {
    display: flex;
    transform: translateX(0);
}

.navbar-menu {
    flex-direction: column;
    width: 100%;
}

.navbar-menu li {
    width: 100%;
    text-align: right;
    margin: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar-menu li a {
    padding: 10px 15px;
    font-size: 16px;
    opacity: 1;
    background: none;
    margin: 5px 0;
}

.callback {
    margin: 15px auto;
    text-align: center;
    width: 100%;
    padding: 8px 15px;
    font-size: 16px;
}

.burger-menu {
    display: block;
}


  
  .container{
    padding: 0;
    margin: 0 auto;
    width: 100%;
  }

  /* Корректировка header */
  .header {
    min-height: 500px;
    background-attachment: scroll;
    position: relative;
  }

  .header-content{
    width: 100%;
    text-align: center;
  }

  .header-content h1 {
    font-size: 32px;
  }
  .header-content h4 {
    font-size: 18px;
  }
  
  /* Блок Новинка */
  .newalls h2 {
    font-size: 40px;
  }
  .newalls h3 {
    font-size: 28px;
  }
  .newalls p {
    font-size: 20px;
    width: 90%;
  }
  
  /* Преимущества (.svoistva) — вертикальное расположение и центрирование */
  .svoistva {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }
  .svoistva .container1 .row > div {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
  }
  
  /* Галерея (rooms) — центрирование фото и подписей */
  .rooms .row > div {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .rooms .row > div img {
    margin: 0 auto;
  }

  .rooms h1{
    text-align: center;
  }
  
  /* Видео */
  .preobraz h1 {
    font-size: 32px;
  }
  .responsive-video {
    width: 100%;
    height: auto;
  }
  
  /* Блок Image-Text — вертикальный вариант */
  .image-text-block {
    flex-direction: column;
    height: auto;
  }
  .image-part,
  .text-part {
    flex: unset;
    width: 100%;
  }
  .image-part {
    height: 300px;
  }
  
  .form-container {
    flex-direction: column;
  }

  .logo-section {
    order: -1;
    padding: 10px;
    background-color: transparent;
    flex: 0 0 100%;
  }

  .logo-section img {
    max-width: 60%;
  }

  .form-section {
    order: 0;
    flex: 0 0 100%;
  }

  .form-group input, .form-group button {
    width: 90%; /* Чуть шире на мобильных устройствах */
    padding: 8px; /* Небольшая высота для удобства */
  }
}

