.main-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  padding: 22px 0;
  border-bottom: 1px solid #8e5500;
  background: #fff6e9;
}

.header-logo {
  display: block;
  width: 91px;
  transition: transform 0.3s ease;
}

.header-logo:hover {
  transform: scale(0.96);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.page-nav {
  display: none;
}

.page-nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.page-nav-link {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #030303;
  transition:
    color 0.3s ease,
    font-weight 0.3s ease;
}

.page-nav-link:hover {
  color: #000;
  font-weight: 500;
}

.menu-btn {
  svg {
    fill: none;
    stroke: #000;
    transition: stroke 0.3s ease;
  }
}

.menu-btn:hover {
  svg {
    stroke: #060606;
  }
}

@media screen and (min-width: 1440px) {
  .page-nav {
    display: block;
  }

  .menu-btn {
    display: none;
  }
}

/* modal  */

.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 8;
  padding: 40px;
  padding-top: 120px;
  background: #fff;
  transform: translateY(-100%);
  transition: transform 1s ease;
}

.menu-nav-list {
  flex-direction: column;
  align-items: flex-start;
}

/* popup */

.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(4px);
  background: rgba(17, 17, 17, 0.92);
  z-index: 999;
}

.page-popup {
  position: fixed;
  z-index: 10;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(350%);

  border: 2px solid #1a2e9b;
  border-radius: 20px;
  padding: 32px 20px;
  background: #010102;
}

.popup-title {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 28px;
  line-height: 114%;
  text-align: center;
  color: #fff;
  margin-bottom: 24px;
}

.popup-text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  color: #e9ebfa;
  margin-bottom: 28px;

  span {
    color: #8e5500;
  }
}

.popup-btn {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 143%;
  color: #fff;
  display: block;
  width: fit-content;
  border: 1px solid #8e5500;
  border-radius: 10px;
  padding: 12px 20px;
  transition:
    color 0.3s ease,
    background-color 0.3s ease;
}

.popup-btn:hover {
  background-color: #8e5500;
}

.popup-wrap {
  display: flex;
  justify-content: center;
  gap: 20px;
}

@media screen and (min-width: 1440px) {
  .page-popup {
    padding: 48px;
    border-radius: 20px;
  }

  .popup-title {
    font-size: 40px;
    margin-bottom: 24px;
  }

  .popup-text {
    font-size: 20px;
    margin-bottom: 40px;
  }

  .popup-btn {
    font-size: 16px;
    padding: 14px 40px;
  }
}

/* hero  */

.dashboard {
  padding-top: 134px;
  background: #fff6e9;
}

.hero-title {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 54px;
  line-height: 147%;
  text-align: center;
  color: #030303;
}

.hero-sub-title {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 48px;
  line-height: 115%;
  text-align: center;
  color: #030303;
  margin-bottom: 36px;
}

.hero-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-img {
  width: 100%;
  height: 360px;
  border-radius: 20px;
  background-image: url(../img/hero.jpg);
  background-position: center;
  background-size: cover;
  margin: 20px 0;
}

@media screen and (min-width: 1440px) {
  .hero-title {
    font-size: 88px;
  }

  .hero-sub-title {
    font-size: 80px;
    margin-bottom: 32px;
  }

  .hero-text-wrap {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;

    .text {
      width: 500px;
    }
  }

  .hero-text {
    width: 896px;
  }
}

/* balance  */

.balance-container {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.balance-img1 {
  width: 100%;
  border-radius: 20px;
  height: 494px;
  background-image: url(../img/balance1.jpg);
  background-position: center;
  background-size: cover;
}

.balance-wrap {
  display: flex;
  flex-direction: column-reverse;
  gap: 28px;
}

.balance-img2 {
  width: 100%;
  border-radius: 20px;
  height: 392px;
  background-image: url(../img/balance2.jpg);
  background-position: center;
  background-size: cover;
}

.balance-text {
  margin-bottom: 20px;
}

@media screen and (min-width: 1440px) {
  .balance-container {
    flex-direction: row;
    gap: 32px;
  }

  .balance-img1 {
    width: 481px;
    height: 708px;
    flex-shrink: 0;
  }

  .balance-text {
    margin-bottom: 24px;
  }
}

/* moment  */

#moment {
  background: #030303;
}

.moment-wrap {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 40px;
}

.moment-text {
  margin-bottom: 12px;
}

.moment1 {
  width: 100%;
  margin-bottom: 28px;
  border-radius: 12px;
}

.moment2 {
  width: 100%;
  margin-bottom: 28px;
  border-radius: 12px;
}

.moment3 {
  width: 100%;
  border-radius: 12px;
}

@media screen and (min-width: 768px) {
  .momemt-img-wrap {
    display: flex;
    gap: 28px;
  }

  .moment2 {
    margin: 0;
    width: calc((100% - 28px) / 2);
  }

  .moment3 {
    width: calc((100% - 28px) / 2);
  }
}

@media screen and (min-width: 1440px) {
  .moment-wrap {
    flex-direction: row;
    align-items: flex-start;
    gap: 190px;
    margin-bottom: 52px;
  }

  .moment-flex {
    width: 690px;
    flex-shrink: 0;

    .title {
      margin-bottom: 12px;
    }
  }

  .moment1 {
    border-radius: 24px;
    margin-bottom: 32px;
  }

  .moment2 {
    width: 759px;
    border-radius: 24px;
  }

  .momemt-img-wrap {
    gap: 32px;
  }

  .moment3 {
    width: 529px;
    border-radius: 24px;
  }
}

/* rooms  */

.rooms-img {
  width: 100%;
  margin-top: 28px;
}

.rooms-flex {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 28px;

  ul {
    list-style: disc;
    padding-left: 20px;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: -0.02em;
    color: #030303;
  }

  p {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 20px;
    line-height: 140%;
    letter-spacing: -0.02em;
    text-align: center;
    color: #030303;
  }
}

@media screen and (min-width: 1440px) {
  .rooms-img {
    margin-top: 32px;
  }

  .rooms-flex {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: 32px;

    ul {
      font-size: 20px;
    }

    p {
      font-size: 24px;
    }
  }
}

/* apartments  */

.apartments-wrap {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.apartments1 {
  width: 100%;
}

.apartments2 {
  width: 100%;
  margin-bottom: 28px;
}

.apartments-text {
  margin-bottom: 24px;
}

.apartments-list {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 24px;
}

@media screen and (min-width: 1440px) {
  .apartments-wrap {
    flex-direction: row;
    gap: 32px;
  }

  .apartments1 {
    width: auto;
    flex-shrink: 0;
  }
}

/* cuisine  */

.cuisine-slide {
  border-radius: 20px;
  height: 404px;
  background-position: center;
  background-size: cover;
}

.cuisine-slide1 {
  background-image: url(../img/cusine/1.jpg);
}

.cuisine-slide2 {
  background-image: url(../img/cusine/2.jpg);
}

.cuisine-slide3 {
  background-image: url(../img/cusine/3.jpg);
}

.cuisine-slide4 {
  background-image: url(../img/cusine/4.jpg);
}

.btn-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.swiper-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  width: 48px;
  height: 48px;
  transition: border-color 0.3s ease;

  svg {
    fill: none;
    transition: stroke 0.3s ease;
    stroke: #fff;
  }
}

.swiper-btn:hover {
  border-color: #fff;
}

.cuisine-prev {
  svg {
    transform: rotate(-90deg);
  }
}

.cuisine-next {
  svg {
    transform: rotate(90deg);
  }
}

.cusine-img1 {
  display: none;
}

.cusine-img-wrap {
  display: none;
}

@media screen and (min-width: 1440px) {
  .cuisine-swiper {
    display: none;
  }

  .btn-wrap {
    display: none;
  }

  .cuisine-flex {
    width: 810px;
  }

  .cusine-img1 {
    display: block;
    width: 100%;
    margin-bottom: 32px;
    border-radius: 24px;
  }

  .cusine-img-wrap {
    display: flex;
    gap: 32px;

    img {
      border-radius: 24px;
    }
  }
}

/* atmosphere */

.atmosphere-imgs {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 28px;
}

@media screen and (min-width: 1440px) {
  .atmosphere-imgs {
    flex-direction: row;
    font: 32px;
  }
}

/* respect  */

.respect-wrap {
  margin-bottom: 28px;
}

.respect-flex {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

@media screen and (min-width: 1440px) {
  .respect-wrap {
    display: flex;
    flex-direction: row-reverse;
    gap: 70px;
    margin-bottom: 32px;

    .title {
      margin: 0;
      flex-shrink: 0;
    }
  }

  .respect-flex {
    flex-direction: row;
    gap: 32px;
  }
}

/* contact   */

#contact {
  background: #030303;
}

.map-frame {
  border-radius: 20px;
  height: 242px;
  width: 100%;
  z-index: 2;
  margin: 32px 0;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 20px;

  li {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: -0.02em;
    color: #fff;
  }

  a:hover {
    text-decoration: underline;
  }
}

@media screen and (min-width: 768px) {
  .map-frame {
    height: 400px;
  }
}
@media screen and (min-width: 1440px) {
  #contact {
    .text {
      width: 700px;
    }
  }
  .map-frame {
    height: 586px;
    margin: 42px 0;
    border-radius: 24px;
  }

  .contact-list {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    li {
      font-size: 20px;
    }
  }
}

/* footer */

.footer {
  padding: 40px 0;
  background: #140a00;
  border-top: 1px solid #292c32;
}

.footer-wrap {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 2px solid #8e5500;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-logo {
  display: block;
  width: 91px;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  transform: scale(0.95);
}

.footer-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;

  a {
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 14px;
    line-height: 143%;
    color: #e9ebfa;
    transition: color 0.3s ease;
  }

  a:hover {
    color: #8e5500;
  }
}

.footer-text {
  font-family: var(--font-family);
  font-weight: 300;
  font-size: 14px;
  line-height: 143%;
  text-align: center;
  color: #e9ebfa;
}

@media screen and (min-width: 1440px) {
  .footer-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .footer-logo {
    margin: 0;
  }

  .footer-list {
    flex-direction: row;
    gap: 28px;

    a {
      font-size: 16px;
    }
  }

  .footer-text {
    font-size: 16px;
  }
}

/* ********************* */

.hidden {
  display: none;
}

.no-scroll {
  overflow: hidden;
  position: fixed;
  height: 100%;
}

.popup-click {
  transform: translateX(-50%) translateY(-50%);
}

.menu-transform {
  transform: translateY(0);
}

.click {
  transform: rotate(135deg);
}

.overflow {
  overflow: hidden;
}
