@font-face {
  font-family: "Resolve Light";
  src: url(fonts/Resolve-Light.otf);
}

@font-face {
  font-family: "Cabrion Light";
  src: url(fonts/Cabrion-Light.otf);
}

body {
  width: 100%;
  margin: 0;
  font-family: sans-serif;

  /* background-color: #f9f9f9;  */
  background-color: #fffeed;

  /*  */
  /* overflow: hidden; */
}







/*  */
.main {
  height: 1500px;
  background-color: #EDC5AA;
}

/*  */






.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;

  transition: opacity 0.6s ease, visibility 0.6s ease;
  overflow: hidden;

}

.preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

/* @keyframes fadeOutScreen {
  to {
    opacity: 0;
    visibility: hidden;
  }
} */



.preloader-logo {
  /* width: 120px; */

  height: 40px;
  animation: fadeInUp 0.6s ease forwards;
}



@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}






/* хедер */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header {
  height: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  /* background-color: #fffeed; */
  border-bottom: 1px solid #3c3c3c;
  padding: 15px;
  position: relative;
  z-index: 1000;
  /* max-width: 1200px; */
}

.site-header a {
  padding: 0;
  text-decoration: none;
}

.logo {
  height: 20px;
}

.header-nav-button {
  font-family: "Cabrion Light";
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;

  position: relative;
  /* transition: color 0.2s ease; */
  padding: 5px 0;
}

.header-nav-button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #EDC5AA;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  will-change: transform;
}

/* Наведение на десктопах */
@media (hover: hover) {
  .header-nav-button:hover::after {
    transform: scaleX(1);
  }
}

/* Активное состояние */
.header-nav-button.active::after {
  transform: scaleX(1);
}

.all-menus {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.lang-select {
  display: flex;
  align-items: center;
}

.language-icon {
  margin-left: 4px;
  height: 19px;
}



/* навигация по меню и языкам */

.site-nav-back {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 80;
  transition: opacity 0.3s ease;
}

.site-nav-back.hidden {

  opacity: 0;
  pointer-events: none;
}


.site-nav {
  z-index: 10;
  font-family: "Cabrion Light";
  font-weight: 600;
  position: absolute;
  top: 61px;
  /* Хедер 30px + padding 15px сверху и снизу = 30 + 15 + 15 + 1(border) = 61px */
  left: 0;
  right: 0;
  transform: translateY(-20px);
  /* Скрываем чуть выше */
  opacity: 0;
  background-color: #fff;
  pointer-events: none;
  transition: transform 0.4s ease, opacity 0.2s ease;
}

.site-nav.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}



.site-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;

  display: flex;
  flex-direction: column;
  justify-content: space-around;
  padding: 12px 15px;
  /* transition: height 0.3s ease; */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.site-nav-menus ul {
  align-items: center;
  /* height: 170px; */

}


.site-nav-lang ul {
  align-items: end;

}

.site-nav li {
  position: relative;
  font-size: 15px;
  margin: 10px 0;
  /* transition: opacity 0.2s ease, color 0.2s ease; */
  cursor: pointer;
  padding: 5px 0;
}


.site-nav li::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #EDC5AA;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  will-change: transform;
}

/* При наведении (десктоп) */
@media (hover: hover) {
  .site-nav li:hover::after {
    transform: scaleX(1);
  }
}

.site-nav li.active::after {
  transform: scaleX(1);
}


.site-nav a {
  text-decoration: none;
  color: black;
  padding: 5px 0;
}





.hero {
  position: relative;
  width: 100%;
  height: 40vh;
  overflow: hidden;
  /* Полный экран */
  /* background: url('images/hero-image.webp') center/cover no-repeat; */
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* чуть больше, чтобы при смещении не было пустот */
  object-fit: cover;
  z-index: 1;
  will-change: transform;
}

.hero-content {
  position: relative;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  color: #fff;
  z-index: 10;
}


.hero-logo {
  width: 150px;
}

.hero-button {
  font-weight: 600;
  padding: 12px 15px;
  border: 2px solid #fff;
  background-color: transparent;
  color: #fff;
  /* font-size: 1rem; */
  cursor: pointer;
  border-radius: 20px;
  transition: background-color 0.5s ease, color 0.5s ease;
}

@media (hover: hover) {
  .hero-button:hover {
    background-color: #EDC5AA;
    color: #333;
  }
}

.intro-container {
  padding: 0 40px;
  display: flex;
  justify-content: center;
}

.intro {
  padding: 40px 0px 0px 0px;
  background-color: #fffeed;
  width: 100%;
  max-width: 1200px;
  margin-top: -50px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 30px;
}

.intro-title {
  padding: 0 20px;
  margin: 0;
}


.intro p {
  font-family: "Cabrion Light";
  padding: 0 20px;
  margin: 0;
}


/* grid картинки */

.grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 8px;
  max-width: 1200px;
  margin: 0 auto;
}

.grid-container div {
  border-radius: 8px;
}

.grid-item-1 {
  grid-column: 1 / 3;
  grid-row: 1 / 2;
}

.grid-item-2 {
  grid-column: 1 / 3;
  grid-row: 2 / 3;
}

.grid-item-3 {
  grid-column: 3 / 4;
  grid-row: 1 / 3;
}

.grid-item-4 {
  grid-column: 4 / 5;
  grid-row: 1 / 2;
}

.grid-item-5 {
  grid-column: 4 / 5;
  grid-row: 2 / 3;
}

.grid-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}



/* карусель картинок */

.carousel-main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* padding: 0 40px; */
  
}


.carousel-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  /* max-width: 900px; */
}

.carousel-container {
  /* width: 100%; */

  /* max-width: 900px; */
  overflow: hidden;
  /* border: 1px solid #ffffff;; */
  border-radius: 10px;
  position: relative;
  width: 100%;
  height: 200px;
  max-width: 800px;
}

.carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.carousel img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  /* border: 1px solid #ffffff; */
  flex-shrink: 0;
  object-fit: cover;
  /* box-sizing: border-box; */
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ccc;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.indicator.active {
  background-color: #333;
}




/* отзывы */

.reviews-section {
  position: relative;
  background-color: #fff;
  padding: 30px 0px;
  margin-top: 30px;

  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  align-items: center;
  text-align: center;
  /* max-width: 1200px; */
}

.reviews-title {
  padding: 0 40px;
}

.reviews-container {
  position: relative;
   width: 100%; 
  /*padding: 0 60px;*/
  max-width: 1100px;
  /* margin-bottom: 100px; */
}

.reviews-wrapper {
  position: relative;
  /*width: 100%;*/
  overflow: hidden;
padding: 0 60px;
  /* margin-bottom: 100px; */
}

.reviews-slider {
  display: flex;
  transition: transform 0.3s ease;
  will-change: transform;
}

.review-block {
  min-width: 100%;
  font-family: "Cabrion Light";
  opacity: 0;
  transition: opacity 0.5s ease;
}

.review-block.active {
  opacity: 1;
}

.prev-button-review {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 10px;
  /* width: 20px; */
  /* background-color: #333; */
  cursor: pointer;
}

.prev-button-review img {
  width: 40px;
}

.next-button-review {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 10px;
  cursor: pointer;
}

.next-button-review img {
  width: 40px;
}

.all-reviews-btn {
  display: flex;
  align-items: center;
  margin-top: 40px;
  font-weight: 600;
  padding: 10px 15px;
  border: none;
  background-color: #00EB5B;
  color: #fff;
  /* font-size: 1rem; */
  cursor: pointer;
  border-radius: 25px;
  transition: background-color 0.5s ease, color 0.5s ease;

}

.all-reviews-btn a {
  text-decoration: none;
  color: black;
}


.all-reviews-btn img {
  height: 20px;
  margin-left: 7px;
}





/* что есть в ресторане */

.offerings-container {

  /* margin-top: 30px; */
  padding: 30px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.offerings-content {
  width: 100%;
  max-width: 1200px;
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;

}

.offerings-info {
  width: 100%;
  /* margin-top: 10px; */
  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 30px 0;
}

.offerings-info-text {
  font-family: "Cabrion Light";

  align-self: flex-start;
  font-size: 15px;
}

.offerings-info-text span {
  text-decoration: underline;
}

.offerings-info-text ul {
  /* margin: 0; */
  padding: 0;

  list-style-position: inside;
  /* text-align: start; */
}

.offerings-info-btn-menu {
  font-family: "Cabrion Light";
  width: 100%;
  font-weight: 600;
  padding: 12px 0;
  border: none;
  background-color: #EDC5AA;
  color: #000000;
  /* font-size: 1rem; */
  cursor: pointer;
  border-radius: 20px;

  margin-top: 20px;
}


.offerings-info-btn-menu a {
  text-decoration: none;
  color: black;
  padding: 5px 0;
}

.offerings-info-btn-book {
  font-family: "Cabrion Light";
  width: 100%;
  font-weight: 600;
  padding: 12px 0;
  border: 1px solid #000000;
  background-color: transparent;
  color: #000000;
  /* font-size: 1rem; */
  cursor: pointer;
  border-radius: 20px;
  margin-top: 15px;
}



/* адресс */

.adress-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;

  padding: 40px 40px;
}

.adress-container p {
  text-align: center;
}

.adress-map {
  width: 100%;
  max-width: 1200px;
}

.adress-map iframe {
  width: 100%;
  height: 300px;
  border-radius: 10px;
}



/* форма резервации */

.reservation-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 40px;
}

.reservation-title {
  text-align: center;
  /* font-size: 2rem; */
  margin-bottom: 30px;
}

.reservation-form-container {
  position: relative;
}

.reservation-form-wrapper {
  /* position: relative; */
  overflow: hidden;
}


.reservation-form {
  display: flex;
  /* flex-direction: column; */
  /* gap: 10px; */

  transition: transform 0.2s ease;
  will-change: transform;
}

.part-form {
  min-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;

  opacity: 0;
  transition: opacity 0.5s ease;
}

.part-form.active {
  opacity: 1;
}




.next-form {
  padding: 10px 12px;
  border: none;
  background-color: #eee;
  color: #333;
  /* font-size: 1rem; */
  cursor: pointer;
  border-radius: 10px;
  align-self: flex-end;
  margin-top: 20px;

  transition: background-color 0.5s;
}

.next-form.active {
  background-color: #EDC5AA;
  color: #000000;
}

.prev-form {
  padding: 10px 12px;
  border: none;
  background-color: #EDC5AA;
  color: #000000;
  /* font-size: 1rem; */
  cursor: pointer;
  border-radius: 10px;
  align-self: flex-start;
}

.btn-form-wrapper {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}



.reservation-form label {
  align-self: flex-start;
  /* font-weight: 500; */
  margin-top: 5px;
}

.reservation-form input,
.reservation-form select,
.reservation-form textarea {
  padding: 10px 8px;
  border: 1px solid #ccc;
  border-radius: 10px;
  /* font-size: 1rem; */
  font-family: inherit;
}

.field-error {
  border-color: red !important;
}

.reservation-form select {
  background-color: #fff;
}

.reservation-form select option:checked {
  background-color: #EDC5AA;
}

.reservation-form textarea {
  resize: vertical;
}

.submit-btn {
  /* margin-top: 20px; */
  padding: 12px 20px;
  background-color: #000000;
  color: #fff;
  border: none;
  border-radius: 15px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #444;
}



.confirm-form-container {
  position: absolute;
  top: -10px;
  bottom: -10px;
  left: -40px;
  right: -40px;
  /* width: 100%; */
  /* height: 100%; */
  background-color: rgba(163, 163, 163, 0.7);
  border-radius: 10px;
  /* padding: 30px; */
  display: flex;
  justify-content: center;
  align-items: center;

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.confirm-form-container.active {
  visibility: visible;
  opacity: 1;
}

.confirm-form {
  width: 90%;
  height: 90%;
  background-color: #fff;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.close-confirm-form {
  position: absolute;
  top: 15px;
  right: 15px;
  /* font-size: 2.3rem; */
  width: 35px;
  color: #000;
  cursor: pointer;
}


.confirm-form p {
  margin: 30px;
  text-align: center;
}



/* footer */

.footer-container {
  background-color: #fff;
  border-top: 1px solid #3c3c3c;
  padding: 20px 15px;
  font-size: 14px;
  display: flex;
  justify-content: center;
}

.footer-wrapper {
  /* max-width: 1200px; */
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-info {
  display: flex;
}

.footer-info img {
  width: 20px;
  margin-right: 10px;
}

.footer-policy {
  /* text-align: end; */
}





@media (max-width: 380px) {


  .preloader-logo {
    height: 34px;
  }

  .site-header {
    padding: 12px;
  }

  .logo {
    height: 18px;
  }

  /* .language-icon {
    height: 18px;
  } */

  .site-nav {
    top: 55px;
  }

  .site-nav ul {
    padding: 10px 12px;
  }

  .site-nav li {
    margin: 8px 0px;
  }


  .footer-container {
    padding: 20px 12px;
  }

}

@media (max-width: 500px) {
  .grid-container {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto auto;



  }

  .grid-item-1 {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
  }

  .grid-item-2 {
    grid-column: 1 / 3;
    grid-row: 4 / 5;
  }

  .grid-item-3 {
    grid-column: 1 / 2;
    grid-row: 2 / 4;
  }

  .grid-item-4 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
  }

  .grid-item-5 {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
  }
}


@media (min-width: 768px) {

  .site-header {
    padding: 18px 30px;
  }

  .logo {
    height: 25px;
  }

  .language-icon {
    margin-left: 5px;
    height: 21px;
  }


  .header-nav-button {
    font-size: 18px;
  }


  .site-nav {
    top: 67px;
  }

  .site-nav ul {
    padding: 15px 30px;
  }


  .site-nav li {
    font-size: 17px;
  }


  .grid-container {
    gap: 15px;
  }



  .carousel-container {
    height: 280px;
  }


  .offerings-info-btn-book {
    margin-top: 20px;
  }




  .footer-container {
    padding: 20px 30px;
  }

  .footer-wrapper {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

  }


  .footer-policy {
    text-align: end;
  }
}

@media (min-width: 960px) {


  .offerings-content {
    flex-direction: row;
    align-items: stretch;
    gap: 50px;
  }

  .offerings-content:nth-child(even) {
    flex-direction: row-reverse;
  }


  .offerings-content .carousel-wrapper {
    flex: 1;
  }

  .offerings-content .carousel-container {

    overflow: hidden;
    height: 100%;
  }

  /* .offerings-info {
    padding: 20px 0;
  } */
}


@media (min-width: 1024px) {



  .site-header {
    padding: 20px 50px;
  }

  .logo {
    height: 30px;
  }

  .language-icon {
    margin-left: 5px;
    height: 23px;
  }


  .header-nav-button {
    font-size: 18px;
  }


  .site-nav {
    top: 71px;
  }

  .site-nav ul {
    padding: 15px 50px;
  }


  .site-nav li {
    font-size: 17px;
  }


  .hero {
    height: 80vh;
  }


  .grid-container {
    gap: 20px;
  }


  .footer-container {
    padding: 20px 50px;
  }

}