/* Reset стилей для начала */
html {
    scroll-behavior: smooth;
  }

  body {
    overflow-x: hidden;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}

h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-style: italic;
    font-size: 40px;
    margin: 80px 0 50px;
    text-align: center;
}

p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300; /* Применение тонкого начертания */
}

em {
    font-family: 'Montserrat', sans-serif;
    font-style: italic; /* Применение курсива */
}

/* Стили для верхнего блока и меню */

#top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: transparent; /* Изначально фон прозрачный */
    padding: 10px 0;
    z-index: 999;
    color: #fff;
    transition: background 0.3s; /* Анимация перехода для плавных изменений */
}
.top-bar-first{
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.logo {
    max-width: 200px;
}

/* Стили для меню-сендвич */

.menu-toggle {
    display: block;
    margin-left: 50px;
    cursor: pointer;
    z-index: 1000;
    background: transparent;
    border: none;
    color: #fff;
}

.menu-toggle span {
    display: block;
    width: 100%;
    margin: 5px 0;
    transition: 0.4s;
}

/* Скрыть обычное меню на десктопе */

button {
    outline: none; /* Убирает рамку фокуса (outline) при активации кнопки */
}

button:active,
button:focus {
    outline: none; /* Убирает рамку фокуса и подсветку при активации */
}

.menu {
    position: fixed;
    top: 0;
    right: -300px; /* Начальная позиция за пределами видимой области */
    width: 300px;
    height: 100%;
    background-color: #333;
    transition: right 0.3s; /* Добавить анимацию перехода */
    z-index: 999;
    padding: 100px 50px;
    list-style-type: none;
    /* Добавьте другие стили для меню по вашему усмотрению */
}

.menu li {
    padding: 10px 0;
}

.menu li a{
        color: #fff;
        font-size: 25px;
}

.menu li a:hover {
    color: #039cc4;
    text-decoration: none;
}

.menu.open {
    right: 0; /* Положение меню при открытии */
}

/* Анимация сендвича */

.menu.active .menu-toggle span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu.active .menu-toggle span:nth-child(2) {
    opacity: 0;
}

.menu.active .menu-toggle span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}
#overlay {
  position: fixed; /* Фиксированное позиционирование относительно окна браузера */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Черный фон с прозрачностью */
  display: none; /* Скрыть оверлей по умолчанию */
  z-index: 999; /* Убедитесь, что оверлей будет поверх всего остального содержимого */
}
.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 20px;
  background: #ffffff;
  z-index: 1000;
}
.popup h3{
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-style: italic;
    font-size: 20px;
    margin-top: 20px;
    color: #000;
}
.phone span {
    color: #f45597;
}

/* Стили для фиксированной навигации с точками */

#fixed-nav {
    position: fixed;
    top: 0;
    right: 20px;
    color: #fff;
    z-index: 999;
    width: 50px; /* Ширина блока */
    height: 100%; /* Растягиваем блок на всю высоту экрана */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.navigation-dots {
    list-style: none;
    padding: 0;
    text-align: center;
}

.navigation-dots li {
    display: block;
    width: 8px;
    height: 8px;
    border: 1px solid #fff;
    border-radius: 50%;
    margin: 0 auto; /* Центрируем точки по горизонтали */
    margin-bottom: 10px; /* Расстояние между точками */
}

.navigation-dots li.active {
    background: #ffffff;
    height: 70px;
    width: 6px;
    margin-left: 1px;
    border-radius: 10px;
}
.graynavigation-dots li {
    border: 1px solid #acacac;
}
.graynavigation-dots li.active {
    background: #acacac;
}

.graynavigation-dots .current-section{
    color: #acacac;
}

.current-section {
    text-align: center;
    font-weight: bold;
    position: absolute;
    top: 50%;
    right: -25px;
}
#section-2 .secz {
    padding: 30px 10px 30px 90px;
    cursor: pointer;
    display: flex;
  align-items: center;
}
#section-2 .secz.active {
    background: linear-gradient(to right, #d0317f, #fc589a);
    color: #fff;
}
#section-2 .secz:nth-child(1) {
    border-right: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}
#section-2 .secz:nth-child(2) {
    border-left: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    border-right: 1px solid #f0f0f0;
}
#section-2 .secz:nth-child(3) {
    border-left: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}
#section-2 .secz:nth-child(4) {
    border-top: 1px solid #f0f0f0;
    border-right: 1px solid #f0f0f0;
}
#section-2 .secz:nth-child(5) {
    border-left: 1px solid #f0f0f0;
    border-top: 1px solid #f0f0f0;
    border-right: 1px solid #f0f0f0;
}
#section-2 .secz:nth-child(6) {
    border-left: 1px solid #f0f0f0;
    border-top: 1px solid #f0f0f0;
}
#section-2 .secz span{
    font-size: 40px;
    position: absolute;
    left: 40px;
    top: 15px;
}

#section-2 .contact-form {
    border: 1px solid #f0f0f0;
    padding: 50px 40px;
}

#section-2 .contact-form h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-style: italic;
    font-size: 30px;
    /* margin: 80px 0 50px; */
    /* text-align: center; */
}

#section-2 .contact-form h3 span{
    font-family: 'Montserrat', sans-serif;
    font-weight: 100;
    font-style: normal;
    font-size: 20px;
}

#section-2 .col-md-8 {
    padding-right: 50px;
}

#section-2 .contact-form .button {
    padding: 10px 0px;
}
#section-2 .contact-form::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -15px;
    width: calc(100% - 35px);
    height: calc(100% - 5px);
    border-right: 15px solid #000000;
    border-bottom: 15px solid #000000;
    background: transparent;
    z-index: -1;
}
/* Стили для контейнера инпута */
#section-2 .phone-input-container {
    position: relative;
    display: inline-block; /* Чтобы контейнер был в одной строке с инпутом */
    margin: 10px 50px 40px;
}

/* Стили для инпута */
#section-2 .phone-input-container input[type="text"] {
    padding: 10px; /* Определите отступы по вашему усмотрению */
    border: 0; /* Установите стиль границы */
    border-radius: 5px; /* Округлите углы */
    width: 100%; /* Задайте ширину инпута */
    font-size: 18px; /* Размер шрифта */
}

/* Стили для плейсхолдера (подсказки) */
#section-2 .phone-input-container input[type="text"]::placeholder {
    color: #e0e0e0; /* Цвет подсказки */
    opacity: 1; /* Определите прозрачность */
}

#section-2 .phone-input-container input[type="text"]:focus {
    border: 0; /* Измените цвет границы при фокусе */
    outline: none; /* Уберите контур фокуса (опционально) */
}

/* Стили для создания рамки ниже инпута */
#section-2 .phone-input-container::after {
    content: '';
    position: absolute;
    top: 5px;
    left: -35px;
    width: 235px;
    height: 45px;
    border-right: 2px solid #e0e0e0;
    border-bottom: 2px solid #e0e0e0;
    background: transparent;
    transform: skew(-20deg);
    z-index: -1;
}
.but2mob2{
    display: none;
}
#section-3 {
    margin-top: 100px;
}

#section-3 .parallax-bg {
    position: relative;
    padding: 5px 0 50px;
    height: 100%;
}

#section-3 .transparent-overlay {
    background: #fff;
    opacity: 0.9; /* Прозрачность подложки (0.5 означает 50%) */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#section-3 .container{
    z-index: 2;
    position: relative;
}

#section-3 .contact-form .button {
    padding: 10px 0px;
}

/* Стили для контейнера инпута */
#section-3 .phone-input-container {
    position: relative;
    display: inline-block; /* Чтобы контейнер был в одной строке с инпутом */
    margin: 10px 50px 40px;
}

/* Стили для инпута */
#section-3 .phone-input-container input[type="text"] {
    padding: 10px; /* Определите отступы по вашему усмотрению */
    border: 0; /* Установите стиль границы */
    border-radius: 5px; /* Округлите углы */
    width: 100%; /* Задайте ширину инпута */
    font-size: 18px; /* Размер шрифта */
    background: transparent;
}

/* Стили для плейсхолдера (подсказки) */
#section-3 .phone-input-container input[type="text"]::placeholder {
    color: #b8b8b8; /* Цвет подсказки */
    opacity: 1; /* Определите прозрачность */
}

#section-3 .phone-input-container input[type="text"]:focus {
    border: 0; /* Измените цвет границы при фокусе */
    outline: none; /* Уберите контур фокуса (опционально) */
}

/* Стили для создания рамки ниже инпута */
#section-3 .phone-input-container::after {
    content: '';
    position: absolute;
    top: 5px;
    left: -35px;
    width: 235px;
    height: 45px;
    border-right: 2px solid #b8b8b8;
    border-bottom: 2px solid #b8b8b8;
    background: transparent;
    transform: skew(-20deg);
    z-index: -1;
}

#section-3 .col-md-8 {
    padding-left: 50px;
}

#section-4 {
    color: #fff;
}

#section-4 .container{
    z-index: 2;
    position: relative;
}

#section-4 .parallax-bg {
    position: relative;
    padding: 5px 0 50px;
    height: 100%;
}

#section-5 .button {
    padding: 10px 0px;
}
#section-5 .vmagazin{
    margin-top: 50px;
}
#section-5 .img::after {
    content: '';
    position: absolute;
    left: calc(5% + 1px);
    bottom: -9px;
    width: calc(100% - 5% - 70px);
    height: calc(100% - 5px);
    border-left: 15px solid #000000;
    border-bottom: 15px solid #000000;
    background: transparent;
    z-index: 1;
}
#section-5{
padding-bottom: 100px;
width: 100%;
}
#section-5 .img{
width: 90%;
    margin-left: 5%;
    border: 1px solid #f0f0f0;
}
#section-5 .img img{
width: 100%;
}

#section-6 {
    position: relative; /* Для позиционирования дочерних элементов */
    color: #fff;
  }
  #section-6 h2{
    margin: 30px 0;
    color: #fff;
    text-align: left;
    font-size: 30px;
  }

  /* Стили для контейнера инпута */
#section-6 .phone-input-container {
    position: relative;
    display: inline-block; /* Чтобы контейнер был в одной строке с инпутом */
    margin: 10px 50px 40px;
}

/* Стили для инпута */
#section-6 .phone-input-container input[type="text"] {
    padding: 10px; /* Определите отступы по вашему усмотрению */
    border: 0; /* Установите стиль границы */
    border-radius: 5px; /* Округлите углы */
    width: 100%; /* Задайте ширину инпута */
    font-size: 18px; /* Размер шрифта */
    background: transparent;
        z-index: 999;
    position: relative;
    display: block;
}

/* Стили для плейсхолдера (подсказки) */
#section-6 .phone-input-container input[type="text"]::placeholder {
    color: #fff; /* Цвет подсказки */
    opacity: 1; /* Определите прозрачность */
}

#section-6 .phone-input-container input[type="text"]:focus {
    border: 0; /* Измените цвет границы при фокусе */
    outline: none; /* Уберите контур фокуса (опционально) */
}

/* Стили для создания рамки ниже инпута */
#section-6 .phone-input-container::after {
    content: '';
    position: absolute;
    top: 5px;
    left: -35px;
    width: 235px;
    height: 45px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    background: transparent;
    transform: skew(-20deg);
    z-index: -1;
}
.contact-info p {
    font-weight: bold;
}
  
  /* Стили для контейнера .contact-overlay */
  .contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%; /* Закрываем левую половину */
    height: 100%;
    background: rgb(36 4 36 / 80%); /* Задаем цвет и прозрачность фона */
    z-index: 2; /* Размещаем поверх карты */
  }
  
  /* Стили для .container внутри .contact-overlay */
  .contact-overlay .container {
    display: flex;
    justify-content: space-between; /* Размещаем контактную информацию и форму по краям */
    align-items: center;
    height: 100%;
    padding: 20px; /* Добавьте необходимый внутренний отступ */
  }

.slick-dots li.slick-active button:before {
    opacity: 1!important;
    color: white!important;
    background: #fff!important;
}
.slick-dots li button:before {
    opacity: 1!important;
    border: 2px solid #fff!important;
    border-radius: 100%!important;
    color: transparent!important;
}
.slick-dots {
    position: initial!important;
}

.carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
  }
  
  .reviews-container {
    display: flex;
    overflow: hidden; /* Ограничиваем видимую область */
    width: 100%; /* Обеспечиваем горизонтальную прокрутку */
    transition: transform 0.5s ease;
  }
  
  .review {
    width: 50%; /* Отображаем по два отзыва на экране */
    padding: 20px;
    box-sizing: border-box;
  }

  /* Стили для отзыва */
.review .telo {
    position: relative;
    padding: 15px;
    background-color: #fff;
    border: 2px solid #fff; /* Белая рамка */
    border-radius: 10px;
    margin: 10px 0;
    color: #000;
  }
  
  /* Стили для хвостика (псевдоэлемент) */
  .review .telo::before {
    content: '';
    position: absolute;
    bottom: -20px; /* Вынос хвостика вниз от отзыва */
    left: 20%;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-top-color: #fff; /* Цвет хвостика */
    transform: translateX(-50%);
  }
  
  /* Дополнительные стили по желанию */
  .prev-button, .next-button {
    /* Стили для кнопок переключения отзывов */
  }

.tab-content {
    display: none;
}

/* Стили для активного блока с содержанием таба */
.tab-content.active {
    display: block;
    /* Добавьте стили, которые вы хотите для активного содержимого */
}

/* Стили для разделов */

.section {
    padding: 50px 0;
}

#section-1{
    color: #fff;
}

.transparent-overlay {
    background-image: url('/img/overlay-section.webp');
    background-size: cover; /* Растягиваем изображение на весь блок */
    background-position: center; /* Выравниваем изображение по центру блока */
    opacity: 0.8; /* Прозрачность подложки (0.5 означает 50%) */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
#section-1 h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold; /* Применение жирного начертания */
    font-style: italic; /* Применение курсива */
    font-size: 65px;
    text-transform: uppercase;
    margin-top: 20px;
}
#section-1 h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 100;
    font-style: italic;
    text-transform: uppercase;
    font-size: 2em;
    text-align: left;
    margin: 0;
}

#section-1 p {
    margin: 20px 0 40px;
    font-size: 1.5rem;
}
#section-1 .container{
    padding: 180px 0 400px;
}

#section-1 img
    {
        width: 65%;
        position: absolute;
        right: 0;
        top: -50px;
    }
    .parallax-bg{
        position: relative;
    height: 100vh;
    }
/* Остальные стили зависят от вашего дизайна и содержания разделов. Добавьте стили для Section 1, Section 2, и так далее. */

/* Стили для футера */

footer {
    background: #333;
    color: #fff;
    padding: 20px 0 5px;
    text-align: center;
}

.social-icons {
    list-style: none;
    padding: 0;
}

.social-icons li {
    display: inline;
    margin-right: 10px;
}

.button-call {
    position: relative;
    background: transparent;
    color: #fff;
    padding: 10px 30px;
    border: none;
    cursor: pointer;
    z-index: 1;
    margin-left: 50px;
}

.button-call::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 110%;
    border-right: 2px solid #f45597;
    border-bottom: 2px solid #a92a67;
    border-top: 2px solid #f45597;
    border-left: 2px solid #a92a67;
    background: transparent;
    transform: skew(-20deg);
    z-index: -1;
}

.button-call {
    background: transparent;
}

.button-call:hover::after {
    border: 2px solid #a92a67;
}

.button {
    position: relative;
    background: transparent;
    color: #fff;
    padding: 10px 30px;
    border: none;
    cursor: pointer;
    z-index: 1;
    margin-left: 50px;
}
.button:hover{
    text-decoration: none;
    color: #fff;
}

.button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -35px;
    width: 235px;
    height: 45px;
    background: linear-gradient(to right, #9d225f, #f8579a);
    transform: skew(-20deg);
    z-index: -1;
}


.button::after {
    content: '';
    position: absolute;
    top: 5px;
    left: -30px;
    width: 235px;
    height: 45px;
    border-right: 2px solid #f45597;
    border-bottom: 2px solid #a92a67;
    background: transparent;
    transform: skew(-20deg);
    z-index: -1;
}

.button {
    background: transparent;
}
.button:hover::before {
    background: linear-gradient(to right, #a92a67, #9d225f); /* Изменение фона при наведении */
}

.button:hover::after {
    border-right: 2px solid #a92a67;
}



/* Стили для меню-сендвич на мобильных устройствах */

@media (max-width: 768px) {
    .row {
        margin-right: 0px;
        margin-left: 0px;
    }
    .top-bar-first{
        justify-content: space-between;
    }
    .popup {
    width: 90%;
    }
    .menu-toggle {
        display: block;
        margin-left: 0;
    }
    #section-1 h1 {
        font-size: 45px;
        padding: 0 20px;
    }
    #section-1 h2 {
        font-size: 25px;
        padding: 0 20px;
    }
    #section-1 p {
        font-size: 20px;
        padding: 0 20px;
    }
    #section-1 img {
        width: 90%;
        margin-right: 5%;
        position: relative;
        right: 0;
        top: 50px;
    }
    #top-bar > div > div > div.col-md-6.text-right{
        display: none!important;
    }

    #section-2 .secz:nth-child(1) {
    border-right: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    border-left: 0;
}
#section-2 .secz:nth-child(2) {
    border-left: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    border-right: 0;
}
    #section-2 .secz:nth-child(3) {
    border-right: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    border-left: 0;
}
#section-2 .secz:nth-child(4) {
    border-left: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    border-right: 0;
}
#section-2 .secz:nth-child(5) {
    border-top: 1px solid #f0f0f0;
    border-right: 1px solid #f0f0f0;
    border-left: 0;
}
#section-2 .secz:nth-child(6) {
    border-left: 1px solid #f0f0f0;
    border-top: 1px solid #f0f0f0;
    border-right: 0;
}
.but2nomob{
    display: none;
}
.but2mob2{
    display: block;
}
    #section-2 .secz span {
        display: none;
    }
    #section-2 .secz {
        padding: 20px 10px 20px 15px;
        cursor: pointer;
    }
    .current-section {
        position: initial;
        margin-left: -3px;
    }
    #fixed-nav {
        right: 0px;
    }
    #section-6 .phone-input-container::after {
        z-index: 1;
    }
    .contact-overlay {
        position: relative;
        width: 100%;
        padding: 30px 0 50px;
    }
    /* Дополнительные стили для мобильного меню могут быть добавлены здесь. */
}

