body {
	position: relative;
	font-family: 'Inter', sans-serif;
	font-size: 24px;
	line-height: 1.4;
	color: #000;
	min-width: 320px;
	overflow-x: hidden;
	height: 700px;
}

.animate__animated.animate__fadeIn {
  --animate-duration: 2s; 
}

.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);
  }
}

.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;
}

.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: white;
	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;

}
.cont p {
	margin-left: 20px;
	font-size: 18px;
	margin-top: 20px;
}
h1{
	font-size: 50px;
	font-style: 'Inter', sans-serif;
  font-weight: 600;
  margin-top: 50px;
}
h4{
	font-style: 'Inter', sans-serif;
  font-weight: 300;
  margin-top: 30px;
}


.cont h2 {
	margin-top: 20px;
	font-weight: 600;
	color: #FFC512;
	font-size: 70px;
}



.obr{
	font-size: 30px;
	font-weight: 400;
	margin-top: 50px;
	font-style: 'Inter', sans-serif;
}

.obr a{
	text-decoration: none;
	color: #FFC512;
}

.cont img{
	margin-top: 20px;
}

.image-text-block {
    display: flex; /* Делаем контейнер flex */
    height: 500px; /* Высота блока (можно изменить) */
    width: 100%; /* На всю ширину */

}

/* Левая часть: картинка */
.image-part {
    flex: 0 0 40%; /* Занимает 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%; /* Занимает 60% ширины */
    background-color:  gray; /* Цвет фона */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center; /* Текст по центру */
    padding: 20px; /* Отступы */
}

.content {
    max-width: 80%; /* Ограничиваем ширину текста */
}

.content img{
	border-radius: 25px;
}

.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;
}



/* Уменьшение логотипа внизу страницы для мобильных устройств */
@media (max-width: 768px) {
    center img {
        width: 200px; /* Уменьшаем ширину логотипа */
        height: auto; /* Сохраняем пропорции */
    }

    .obr {
        font-size: 20px; /* Уменьшаем размер текста */
        margin-top: 30px; /* Уменьшаем отступы */
    }

    .text-part h1 {
        font-size: 28px; /* Уменьшаем заголовок для мобильных */
    }

    .text-part p {
        font-size: 16px; /* Уменьшаем текст */
    }
}

/* Для экранов до 480px */
@media (max-width: 480px) {
    center img {
        width: 150px; /* Ещё больше уменьшаем логотип */
    }

    .obr {
        font-size: 16px; /* Компактный размер текста */
    }

    .text-part p {
        font-size: 14px; /* Ещё меньше текста */
    }
}

@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: 60px;
  }
  .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,
  .form-section {
    width: 100%;
  }
  .logo-section img {
    max-width: 60%;
    height: auto;
  }
  .form-group input {
    width: 90%;
    max-width: 300px;
    margin: 0 auto;
  }
}
hr{
	color: #FFC512;
	height: 10px;
	width: 90%;
}