@import url("./категорииБлюд.css");
@import url("./popup.css");
@import url("./stylesF.css");
@import url("./svg.css");
@import url("./list.css");
@import url("./burgerR.css");
@import url("./slider1.css");
@import url("./slider2.css?v=20260617");
@import url("./div1.css");
@import url("./div3.css?v=20260307");
@import url("./div4.css?v=20260307");
@import url("./contacts.css");
@import url("./map.css");
@import url("./osOtGostey.css?v=20260307");
@import url("./bron.css");


/* === БАЗА ================================================================= */

html {
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
}

body {
    position: relative;
    margin: 0;
    padding: 0;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;

    background: linear-gradient(135deg, #181818 0%, #08040a 40%, #000000 100%);
}


body.lock {
  height: 100vh;
  overflow-y: hidden;
}

/* go-top, контейнер, контент */

.wrapper {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.content {
  background-color: #000000;
}

body.no-scroll {
  overflow: hidden;
}

/* === ПАРАЛЛАКС ГЛАВНЫЙ ЭКРАН ============================================= */

.parallax {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.parallax img {
  position: absolute;
  width: 100%;
  height: 100%;
  min-height: 100%;
  min-width: 100%;
  object-fit: cover;
  will-change: transform;
}

/* текстовая плашка поверх параллакса */

.overlay {
  position: absolute;
  top: 75%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #dfb268;
  text-align: center;
  padding: 5px 10px;
  border-radius: 4px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.overlay h1 {
  color: #dfb268;
  font-size: 42px;
  margin: 0 auto;
  text-shadow: 2px 2px 4px #9b9579;
}

.overlay p {
  color: gold;
  font-size: 18px;
  margin: 10px 10px 20px 10px;
  text-shadow: 2px 2px 4px #9b9579;
}

/* кнопки */

.buttonBooking,
.buttonBookingMk {
  margin: 0 auto;
  margin-bottom: 10px;
  font-size: 16px;
  color: #dfb268;
  border: 3px solid #dfb268;
  border-radius: 4px;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 320px;
  min-height: 55px;
}

.buttonBookingMk {
  margin: 10px 0 20px 0;
}

.buttonBooking:hover,
.buttonBookingMk:hover {
  background-color: #ffffff;
  border-color: #ffffff;
  color: #414349;
}

/* === ШАПКА, ЛОГО, ТЕЛЕФОН ================================================= */

.header-line {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
}

.header-logo {
  position: fixed;
  top: 13px;
  left: 13px;
  width: 95px;
  height: 105px;
  z-index: 11;
  padding: 10px;
  border-radius: 4px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.логоwebp {
  width: 70px;
  height: 50px;
  cursor: pointer;
  display: block;
  margin: 0 auto;
}

.header-title {
  font-family: "Tinos", serif;
  font-weight: 400;
  margin-top: 10px;
  margin-bottom: 12px;
  font-size: 16px;
  color: #dfb268;
  text-transform: uppercase;
  text-align: center;
}

.header-suptitle {
  color: #dfb268;
  font-size: 7px;
  font-family: "Open Sans", sans-serif;
  text-align: center;
  letter-spacing: 5.5px;
  margin: 3px 0;
}

/* телефон по центру */

.num {
  position: fixed;
  top: 57px;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  padding: 5px 15px 5px 10px;
  border-right: solid 2px gold;
  transition: color 0.3s linear;
  z-index: 11;
}

.num:hover {
  color: gold;
}

#num {
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s linear;
}

#num:hover {
  color: gold;
}

/* иконка инсты в шапке */

.InstagramLogo {
  width: 43px;
  height: 43px;
}

/* телефонный блок вверху */

.phone-holder {
  text-align: right;
  align-items: center;
}

/* кнопки в шапке */

.button {
  background-color: #ff7400;
  color: #ffffff;
  text-decoration: none;
  padding: 14px 18px;
  font-weight: 700;
  transition: background-color 0.2s linear;
}

.button:hover {
  background-color: #894b17;
}

.header-down {
  position: relative;
}

.header-button {
  position: absolute;
  right: 0;
  top: 0;
  border-radius: 4px;
  background-color: #5a432f;
  padding: 14px 28px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  font-family: "Open Sans", sans-serif;
  text-decoration: none;
  transition: background-color 0.3s linear;
  box-shadow: 0.6em 0.6em 1.2em #8f6949, -0.5em -0.5em 1em #0d0c0c;
}

.header-button:hover {
  background-color: #9b8e8e;
}

/* бургер */

.burger-menu {
  position: fixed;
  top: 36px;
  right: 20px;
  z-index: 11;
}

.burger {
  background-color: transparent;
  border: none;
  outline: none;
  padding: 0px;
  cursor: pointer;
}

/* О РЕСТОРАНЕ */

.o_restorane_ {
  position: relative;
  display: flex;
  justify-content: center;
  height: auto;
  min-height: 50vh;
  max-width: 100%;
}

/* Фоновый логотип */
.o_restorane_::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background-image: url(../imagesR/1opacity12.webp);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  z-index: -1;
}

.o_restorane h1 {
  margin-top: 75px;
  color: #dfb268;
  font-family: "Open Sans", sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 2px 2px 4px #9b9579;
}

/* Текст с бордерами */
.o_restorane_ p {
  color: gold;
  font-size: 18px;
  font-family: "TildaSans", Arial, sans-serif;
  line-height: 2.2;
  font-weight: 400;
  text-align: center;
  padding: 1px 20px;
  border-right: 2px solid #dfb268;
  border-left: 2px solid #dfb268;
  margin: 5px 30px;
  box-sizing: border-box;
}

/* Адаптив */
@media (max-width: 768px) {
  .o_restorane_ {
    min-height: auto;
    padding: 20px 10px;
  }

  .o_restorane_ p {
    line-height: 1.8;
    margin: 5px 10px;
    padding: 4px 10px;
    border-right: 1px solid #dfb268;
    border-left: 1px solid #dfb268;
  }
}

/* ГАЛЕРЕЯ BANNER */

.galery {
  background-image: url(../imagesR/фонДляМеню22.webp);
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  padding-bottom: 170px;
}

.galery-title {
  font-family: "Tinos", serif;
  font-size: 54px;
  text-align: center;
  padding-top: 100px;
  margin-bottom: 60px;
}

.galery-title span {
  color: #d67e34;
}

.galery-content {
  display: flex;
  justify-content: center;
}

.galery-left {
  margin-right: 20px;
}

.galery-up,
.galery-down {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

/* ПОДВАЛ — НОВЫЙ */

.footer {
  padding: 30px 20px;
  background: #1a1a1a;
  color: #f5f5f5;
  font-size: 14px;
}

.footer a {
  color: #f5f5f5;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1.2fr 1.1fr 1fr;
  gap: 24px;
}

.footer-column {
  min-width: 0;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 15px;
}

.footer-brand-block .footer-logo {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin-bottom: 6px;
}

.footer-brand {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-year {
  opacity: 0.8;
  font-size: 13px;
}

.footer-tagline,
.footer-legal,
.footer-contact-line {
  margin-bottom: 6px;
  line-height: 1.4;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
}

.footer-menu li {
  margin-bottom: 4px;
}

.footer-policy-links {
  font-size: 13px;
  opacity: 0.9;
}

.footer-separator {
  margin: 0 6px;
}

.footer-social-block svg {
  display: inline-block;
}

/* КОРЗИНА (счётчик) */

.basket__inner {
  position: relative;
}

.basket__count {
  position: absolute;
  top: -8px;
  right: -8px;
  border-radius: 50%;
  background-color: #d81d1d;
  color: #ffffff;
  padding: 3px;
  text-align: center;
  min-width: 25px;
}

/* ПУСТОЙ БЛОК, ЧТОБЫ НЕ ЛОМААТЬ ВЁРСТКУ */

.pustoiBlok {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  height: auto;
  background-color: #9b9579;
}

/* СЧЁТЧИК (ПЛЮС/МИНУС) */

.counter-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.counter-button {
  padding: 10px 20px;
  background-color: #d67e34;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.minus-button {
  margin-right: 10px;
}

.counter-value {
  font-size: 24px;
  font-weight: bold;
  margin: 0 10px;
  width: 50px;
  text-align: center;
}

.plus-button {
  margin-left: 10px;
}

.reset-btn {
  margin-left: 10px;
}

/* === АДАПТИВ =============================================================== */

@media (max-width: 1300px) {
  .menu-items {
    display: block;
  }

  .menu-item {
    margin: 20px auto;
    width: 600px;
  }

  .cook-content {
    display: block;
  }

  .cook-content img {
    display: block;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 30px;
  }

  .history-title,
  .history-desc,
  .history-number {
    width: auto;
  }
}

@media (max-width: 1500px) {
  .galery-content {
    display: block;
  }

  .img-gal,
  .galery-up,
  .galery-down {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    height: auto;
  }

  .img-gal {
    margin-bottom: 20px;
  }

  .galery-left {
    margin-right: 0;
  }
}

@media (max-width: 940px) {
  .o_restorane_ {
    height: 100vh;
    max-height: 465px;
  }
}

@media (max-width: 825px) {
  #phone {
    display: none;
  }
}

@media (max-width: 780px) {
  .history-holder {
    display: block;
  }

  .menu-item {
    width: auto;
  }

  .high {
    max-width: 100%;
  }

  .number-item {
    font-size: 23px;
  }
}

@media (max-width: 600px) {
  .header-logo {
    width: 75px;
    height: 90px;
    top: 18px;
    left: 18px;
    padding: 7px;
  }

  .логоwebp {
    width: 55px;
    height: 45px;
  }

  .header-title {
    font-size: 13px;
    margin-top: 7px;
    margin-bottom: 7px;
  }

  .header-suptitle {
    font-size: 6px;
    letter-spacing: 4px;
    margin: 3px 0;
  }
}

@media (max-width: 443px) {
  .cook-content img {
    max-width: 100%;
  }
}

@media (max-width: 410px) {
  .left-title {
    font-size: 12vw;
  }
}

@media (max-width: 350px) {
  .img-gal {
    max-width: 100%;
  }
}

/* адаптив футера */

@media (max-width: 992px) {
  .footer-inner {
    grid-template-columns: 1.3fr 1.3fr;
    row-gap: 20px;
  }
}

@media (max-width: 600px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer {
    padding: 24px 16px;
  }
}

/* === МОДАЛКА ДЛЯ КАРТИНОК СОБЫТИЙ ======================================== */

.modal_ {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.modal-content_ {
  display: block;
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  margin: 0;
  border-radius: 4px;
}

.close_ {
  position: absolute;
  top: 15px;
  right: 35px;
  width: 33px;
  height: 33px;
  color: gold;
  font-size: 30px;
  line-height: 33px;
  border-radius: 50%;
  text-align: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10001;
}

.page-legal {
  color: #f5f5f5;
  padding: 40px 20px 60px;
  font-size: 14px;
  line-height: 1.6;
}

.page-legal h1,
.page-legal h2,
.page-legal h3 {
  color: #dfb268;
  margin-top: 20px;
  margin-bottom: 10px;
}

.page-legal p,
.page-legal ul {
  margin-bottom: 10px;
}

/* MOBILE-FIX 20260729: галерея — обычный фон на телефонах (fixed дрожит). Десктоп fixed сохранён.
   + ЗАПАС у картинки героя #body (160%, top:-30%): прячет скачки 100vh (адресная строка)
   и дрожь параллакса — как в Пабе. Параллакс двигает js/parallax.js (translate3d). */
@media (max-width: 926px){
  .galery{ background-attachment: scroll !important; }
  .parallax{ overflow: hidden; }
  #body{ height: 160% !important; top: -30% !important; }
}
/* Ландшафт телефона: сам БЛОК-БАННЕР (.overlay — название/текст/кнопка) прокручивается
   ВНУТРИ себя, чтобы уместиться в короткий горизонтальный экран. Картинку героя НЕ трогаем. */
@media (max-width: 926px) and (orientation: landscape){
  .overlay{
    top: 70px !important; bottom: 12px !important;
    transform: translate(-50%, 0) !important;
    overflow-y: auto !important; -webkit-overflow-scrolling: touch !important;
  }
}
