:root {
  --main-color: #cf814d;
}

a{
    transition: all 0.3s ease;
}
a:hover{
    transition: all 0.3s ease;
}

/*----------------ПЕРВЫЙ СЛАЙДЕР----------------*/
.swiper-pagination-bullet{
    background-color: #fff;
}
.swiper-pagination-bullet-active{
    background-color: var(--main-color);
}
/*----------------КОНЕЦ ПЕРВОГО СЛАЙДЕРА----------------*/

/*----------------ЦЕНА В УСЛУГАХ----------------*/
    .service__price {
        margin-right: 10px;
        margin-top: -2px;
    }
/*----------------КОНЕЦ ЦЕНЫ В УСЛУГАХ----------------*/    

/*----------------ОТЗЫВЫ СТРЕЛОЧКИ----------------*/
.swiper-button-next, .swiper-button-prev{
  color: var(--main-color);
  transition: all 0.3s ease;
}
.swiper-button-next:hover, .swiper-button-prev:hover{
  color: #fff;
  transition: all 0.3s ease;
}
/*----------------КОНЕЦ ОТЗЫВЫ СТРЕЛОЧКИ----------------*/


/* Стили для мобильных устройств */
@media (max-width: 1024px) {
  .book__inner {
      grid-template-columns: 1fr;
  }
  .swiper,
  .book__content {
      grid-column: 1 / -1;
  }
  .service__cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Стили для планшетов */
@media (max-width: 768px) {
  body {
      font-size: 14px;
  }
  .logo img {
    max-width: 120px;
  }
  .header__inner {
    padding: 10px 15px;
    margin-top: -20px;
    border: 1px solid var(--main-color);
  }
  .menu {
    display: none;
    flex-direction: column;
    position: fixed;
    height: 100%;
    width: 100%;
    top: 80px;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    border: 1px solid var(--main-color);
    animation: burgerAnimation 0.4s;
    border-radius: 50px;
    padding: 250px 0;
    background-image: url(../images/7.jpeg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: 0px 0px 20px 0px var(--main-color);
  }
  .menu__link {
    font-family: "Bebas Neue", sans-serif;
    color: rgb(255, 255, 255);
    font-size: 18px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    transition: color 0.24s ease 0s;
    letter-spacing: 0.2em;
    top: -220px;
  }
    .menu__link-en {
    font-family: "Bebas Neue", sans-serif;
    color: rgb(255, 255, 255);
    font-size: 20px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    transition: color 0.24s ease 0s;
    letter-spacing: 0.2em;
    top: -200px;
  }
    .menu__link::after {
    content: '';
    position: absolute;
    left: -5%;
    bottom: 15px;
    height: 1px;
    width: 110%;
    background-color: #ffff;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.24s ease-in-out;
  }
  .translator {
    display: flex;
    justify-content: space-between;
    text-align: center;
    align-items: center;
    gap: 20px;
    color: var(--main-color);
    margin-top: -180px;
    font-size: 20px;
    text-transform: uppercase;
  }
  .header__title {
    font-family: "Bebas Neue", sans-serif;
    display: flex;
    justify-content: center;
    color: var(--main-color);
    color: transparent;
    -webkit-text-stroke: 2px var(--main-color);
    font-size: 100px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .15em;
    line-height: 3;
    font-weight: 400;
    animation: marquee 15s linear infinite;
    margin-top: 300px;
  }
  .marquee {
    white-space: nowrap;
    box-sizing: border-box;
    margin-top: -20%;
  }
  .header__img {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1100px;
    height: auto;
    z-index: 1;
  }
  .pfoto__text {
    font-family: "Bebas Neue", sans-serif;
    color: #fff;
    font-size: 16px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    letter-spacing: .2em;
  }
  .swiper.mySecondSwiper {
    width: 280px;
    height: 620px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 100px;
  }
  .book__content-name {
    bottom: 90px;
    width: 250px;
  }
  .book__inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 150px;
    margin-bottom: 100px;
    flex-direction: column;
  }
  .book__content {
    display: block;
    width: 350px;
    margin-top: -300px;
    z-index: 1;
  }
  .book__title {
    font-family: "Bebas Neue", sans-serif;
    color: #fff;
    max-width: 750px;
    font-size: 35px;
    margin-bottom: 20px;
    letter-spacing: .1em;
  }
  .service:before {
    top: -30%;
    background: linear-gradient(180deg, rgba(16, 16, 16, 0) 0%, rgba(16, 16, 16, 1) 100%);
    z-index: revert-layer;
  }
  .service__inner .horizontal-line {
    margin-top: 200px;
    margin-bottom: 100px;
  }
  .service__cards {
    grid-template-columns: 1fr;
  }
  .service__price {
    margin-right: 10px;
  }
  .service__title-price {
    max-width: 300px;
  }
  .myThirdSwiper .swiper-slide .text {
    font-size: 16px;
    max-width: 100%;
    line-height: 1.3;
    padding: 0;
  }
  .reviews .horizontal-line {
    top: 230px;
  }
  .location__inner {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    flex-direction: column;
    gap: 50px;
    align-items: center;
  }
  .location__square-one {
    text-align: center;
    position: relative;
    padding: 23px 40px 50px;
    border: solid 1px var(--main-color);
    z-index: 2;
    width: 330px;
    height: 550px;
  }
  .location__title {
    font-family: "Bebas Neue", sans-serif;
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 35px;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: .1em;
  }
  .location__sub-text {
    font-family: "Bebas Neue", sans-serif;
    color: var(--main-color);
    font-size: 22px;
    letter-spacing: .1em;
  }
  .location__phone {
    display: flex;
    flex-direction: column;
  }
  .location__telegrm {
    width: 30px;
    height: 30px;
    position: absolute;
    margin-left: 50px;
    margin-top: 40px;
  }
  .location__oval {
    position: absolute;
    width: 190px;
    right: 0;
    margin-right: 80px;
    margin-top: 35px;
  }
  .hashtag__inner {
    margin-bottom: 50px;
    margin-top: 450px;
  }
  .hashtag__title {
    font-family: "Bebas Neue", sans-serif;
    color: #fff;
    font-size: 23px;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 400;
  }
  .hashtag__title span {
    color: var(--main-color);
    margin-right: -5px;
  }
  .footer__inner {
    display: flex;
    justify-content: space-between;
    text-align: center;
    align-items: center;
    flex-direction: column;
    gap: 30px;
  }
  .video-widget {
    bottom: 20px;
    left: 20px;
    width: 100px;
    height: 100px;
    z-index: 20;
  }
  .round-button {
    z-index: 2 !important;
    margin-right: 20px;
    bottom: 20px;
    width: 100px;
    height: 100px;
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
  }
  .color-button {
    margin-right: 10px;
    top: 200px;
    z-index: 2;
  }
}
