html,
body {
  margin: 0;
  padding: 0;
  background: black;
  /* или другой фоновый */
  overflow-x: hidden;
}




.site-header {
  padding: 50px 20px 0;
  /* отступ сверху и по бокам */
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  background: rgba(95, 95, 95, 0.425);
  /* полупрозрачный тёмный фон */
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 40px;
  border-radius: 3px;

}


.logo img {
  height: 70px;
}

.main-nav {
  display: flex;
  gap: 40px;
}

.main-nav a {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  color: #e0dcdc;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: #ffffff;
  /* акцент при наведении */
}

.header-icons {
  display: flex;
  gap: 20px;
}

.header-icons img {
  width: 30px;
  height: 30px;
  transition: opacity 0.3s ease;
}

.header-icons a:hover img {
  opacity: 0.7;
}



















/* === HERO с параллакс-фоном === */
.hero-wrapper_2 {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* фон */
.hero-wrapper_2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/static/image/fonfood.png') center 5%/cover no-repeat;
  transform: translate(var(--px, 0), var(--py, 0)) scale(1.08);
  will-change: transform;
  transition: transform .06s linear;
  z-index: -1;
}

/* затемнение */
.hero-wrapper_2::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .75);
  z-index: -1;
}

/* контент героя */
.main-hero_2 {
  position: relative;
  padding: 45px 20px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  z-index: 2;
}

/* шапка поверх */
.site-header {
  position: relative;
  z-index: 5;
}

/* контент героя */
.main-hero_2 {
  position: relative;
  padding: 45px 20px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  z-index: 2;
  overflow: hidden;
}

.hero-content_2 {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
}

/* лого адаптивное, но не больше 320 */
.hero-logo {
  height: clamp(140px, 26vw, 320px);
  width: auto;
}

.hero-tit {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: clamp(48px, 9vw, 120px);
  margin: 0;
  letter-spacing: .02em;
  color: rgba(190, 190, 190, .76);
}

.hero-op {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-size: clamp(18px, 3vw, 30px);
  color: #fff;
  opacity: .9;
  margin: 0;
}











.kitchen-section {
  position: relative;
  font-family: 'Playfair Display', serif;

  max-width: 960px;
  margin: 0px auto;
  color: #dfdfdf;
  padding: 30px;
  z-index: 0;
  /* создаём стек для before */
}

/* фон во всю ширину секции */
.kitchen-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
  background:
    linear-gradient(rgba(0, 0, 0, .65), rgba(0, 0, 0, .75)),
    url('/static/image/fon_food.jpg') center/cover no-repeat;
  z-index: 0;
  /* было -1 — из-за этого фона не видно */
  pointer-events: none;
  /* чтобы не перекрывал клики */
}

/* весь твой контент поверх фона */
.kitchen-section>* {
  position: relative;
  z-index: 1;
}

/* остальное без изменений */
.kitchen-title {
  font-family: 'Oswald', sans-serif;
  font-size: 50px;
  letter-spacing: 2px;
  font-weight: 500;
  text-transform: uppercase;
  display: inline-block;
  border-bottom: 4px solid #c4b65e;
  padding-bottom: 4px;
  margin-bottom: 32px;
}

.dish {
  display: flex;
  align-items: flex-start;
  margin-bottom: 48px;
  gap: 40px;
}

.dish.reverse {
  flex-direction: row-reverse;
}

.dish-photo {
  flex: 0 0 300px;
  height: 200px;
  overflow: hidden;
  border: 2px solid #fff;
}

.dish-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dish-info {
  flex: 1;
}

.dish-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dish-name {
  font-size: 26px;
  font-weight: 700;
}

.dish-price {
  font-family: 'Oswald', sans-serif;
  font-size: 25px;
  font-weight: 700;
}

.dish-desc {
  font-size: 18px;
  margin-top: 8px;
  line-height: 1.4;
}

.dish.no-photo {
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
  padding: 12px 0;
}















.burger {
  display: none;
  appearance: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  margin: 6px 0;
  transition: transform .25s ease, opacity .2s ease;
}

.burger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

body.no-scroll {
  overflow: hidden;
}












@media (max-width: 767px) {

  .hero-logo {
    z-index: 0;
  }

  .main-hero_2 {
    z-index: 0;
  }

  .site-header {
    padding: 12px 10px 0;
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 8px 10px;
    box-sizing: border-box;
    overflow-x: hidden;

  }

  .logo img {
    height: 48px;
    max-width: 100%;
  }

  .burger {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    background: #2b2b2b;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    z-index: 1000;
    max-width: 90%;
    margin: 0 auto;
    border-radius: 4px;
    gap: unset;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    display: block;
    padding: 10px 14px;
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    color: #eaeaea;
    font-size: 15px;
    line-height: 1.4;
    border-top: 1px solid rgba(255, 255, 255, .06);
    background: #1f4a28;
    box-sizing: border-box;

  }

  .main-nav a:first-child {
    background: #3a3a3a;

  }

  .main-nav a:active {
    opacity: .85;
  }


  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  .logo {
    grid-column: 1/2;
    justify-self: start;
  }

  .burger {
    grid-column: 2/3;
    justify-self: center;
  }

  .header-icons {
    grid-column: 3/4;
    justify-self: end;
    gap: 12px;
  }

  .logo img {
    height: 48px;
  }

  .header-icons img {
    width: 26px;
    height: 26px;
  }

  .main-nav:not(.open) {
    position: absolute;
  }

  .dish {
    flex-direction: column !important;
    gap: 16px;
    align-items: flex-start;
  }

  .dish-photo {
    flex: none;
    width: 100%;
    height: auto;
    border-width: 1px;
  }

  .dish-photo img {
    height: auto;
    max-height: 240px;
    object-fit: cover;
    width: 100%;
  }

  .dish-info {
    width: 100%;
  }

  .dish-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    width: 100%;
  }

  .dish-name {
    font-size: 20px;
    font-weight: 700;
  }

  .dish-price {
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
  }

  .kitchen-section {
    padding: 15px;
  }
}















@media (min-width:768px) and (max-width:1194px) {

  .hero-logo {
    z-index: 0;
  }

  .main-hero_2 {
    z-index: 0;
  }

  .site-header {
    padding: 12px 10px 0;
  }

  .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 8px 10px;
    box-sizing: border-box;
    overflow-x: hidden;
    /* убираем возможность горизонтального скролла */
  }

  .logo img {
    height: 48px;
    max-width: 100%;
  }


  /* показать бургер, спрятать inline-меню */
  .burger {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    background: #2b2b2b;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    z-index: 1000;

    max-width: 90%;
    /* чтобы меню было уже экрана */
    margin: 0 auto;
    /* выравниваем по центру */
    border-radius: 4px;
    /* чуть скруглим углы */
    gap: unset;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    display: block;
    padding: 10px 14px;
    /* было 14px 16px — уменьшил */
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    color: #eaeaea;
    font-size: 15px;
    /* чуть меньше текст */
    line-height: 1.4;
    border-top: 1px solid rgba(255, 255, 255, .06);
    background: #1f4a28;
    box-sizing: border-box;
    /* зелёный фон */
  }

  .main-nav a:first-child {
    background: #3a3a3a;
    /* верхний серый */
  }

  .main-nav a:active {
    opacity: .85;
  }

  /* перестановка в хеддере: логотип слева, иконки справа, бургер по центру */
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  .logo {
    grid-column: 1/2;
    justify-self: start;
  }

  .burger {
    grid-column: 2/3;
    justify-self: center;
  }

  .header-icons {
    grid-column: 3/4;
    justify-self: end;
    gap: 12px;
  }

  .logo img {
    height: 48px;
  }

  .header-icons img {
    width: 26px;
    height: 26px;
  }


  .main-nav:not(.open) {
    position: absolute;
  }

  .menu-item img {
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: cover;
    border-radius: 6px;
  }

  .kitchen-section {
    padding: 50px;
  }
}