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; 
}


/* Список преимуществ */
.advantages-p {
    list-style: none;
    margin-left: 10px;
    font-size: 20px;
}

.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;

}
p{
	margin-left: 10px;
	font-size: 25px;
	margin-top: 20px;
	width: 60%;
	font-weight: 300;
}

h1{
	font-size: 50px;
	font-weight: 600;
	margin-top: 70px;
	margin-left: 10px;
	color: #FFC512;

}

h3{
  font-size: 35px;
  margin-left: 10px;
  color: #FFC512;
  text-shadow:
    -1px 0 0 black,
    1px 0 0 black,
    0 -1px 0 black,
    0 1px 0 black;
}

.block1 h2{
	font-size: 130px;
	font-weight: 700;
	color: gray;
	opacity: 0.5;
	text-align: right;
	margin-right: 50px;
}

.block1 h3{
  font-size: 44px;
}

.block1 h4{
  font-size: 33px;
  color: #FFC512;
  margin-left: 10px;
  text-shadow:
    -1px 0 0 black,
    1px 0 0 black,
    0 -1px 0 black,
    0 1px 0 black;
}

@media (max-width: 992px) {

.advantages-p{
  width: 90%;
}

.block1 h2{
  font-size: 50px;
}

.block1 p{
  width: 95%;
  font-size: 20px;
}

.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;
  }

  .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;
  }
}
