/* ===== RESET & VARS ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0d0600;
  --bg2:       #160c02;
  --crimson:   #c0392b;
  --ember:     #e67e22;
  --gold:      #d4a017;
  --gold-lt:   #f0c040;
  --cream:     #fdf0d5;
  --cream2:    #e8d5aa;
  --muted:     #a08060;
  --card-bg:   #1a0e04;
  --border:    rgba(212,160,23,.18);

  --ff-serif: 'Playfair Display', Georgia, serif;
  --ff-sans:  'Inter', system-ui, sans-serif;

  --ease: cubic-bezier(.25,.46,.45,.94);
  --radius: 16px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--ff-sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--ff-sans);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .03em;
  cursor: pointer;
  border: none;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn--primary {
  background: linear-gradient(135deg, var(--crimson), var(--ember));
  color: #fff;
  box-shadow: 0 4px 24px rgba(192,57,43,.4);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(192,57,43,.55);
}
.btn--outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--gold);
}
.btn--outline:hover {
  background: rgba(212,160,23,.12);
  transform: translateY(-2px);
}
.btn--full { width: 100%; justify-content: center; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background .4s, backdrop-filter .4s, box-shadow .4s;
}
.nav.scrolled {
  background: rgba(13,6,0,.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav__logo-flame { font-size: 26px; }
.nav__logo-text {
  font-family: var(--ff-serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1.25;
  text-transform: uppercase;
}
.nav__logo-text em {
  display: block;
  font-style: italic;
  color: var(--gold);
  font-size: 16px;
  letter-spacing: .04em;
  text-transform: none;
}
.nav__links {
  display: flex;
  list-style: none;
  gap: 32px;
  margin-left: auto;
}
.nav__links a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--cream2);
  transition: color .2s;
}
.nav__links a:hover { color: var(--gold); }
.nav__cta {
  flex-shrink: 0;
  padding: 10px 24px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--crimson), var(--ember));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  transition: transform .2s, box-shadow .2s;
}
.nav__cta:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(192,57,43,.5); }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav__burger span { display: block; width: 24px; height: 2px; background: var(--cream); border-radius: 2px; transition: transform .3s; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 90%, #3d1200 0%, #1a0800 40%, var(--bg) 100%);
}

/* Flames */
.hero__flames {
  position: absolute;
  bottom: -10px; left: 0; right: 0;
  height: 320px;
  pointer-events: none;
}
.flame {
  position: absolute;
  bottom: 0;
  border-radius: 50% 50% 30% 30%;
  filter: blur(2px);
  animation: flameRise 2.5s ease-in-out infinite alternate;
  transform-origin: bottom center;
}
.flame--1 { left: 10%; width: 60px; height: 160px; background: linear-gradient(to top, #ff6600, #ff2200, transparent); animation-duration: 2.1s; animation-delay: 0s; }
.flame--2 { left: 25%; width: 80px; height: 220px; background: linear-gradient(to top, #ff8800, #ff4400, transparent); animation-duration: 2.7s; animation-delay: -.4s; }
.flame--3 { left: 48%; width: 100px; height: 260px; background: linear-gradient(to top, #ffa000, #ff5500, #ff2200, transparent); animation-duration: 2.3s; animation-delay: -.2s; }
.flame--4 { left: 67%; width: 75px; height: 200px; background: linear-gradient(to top, #ff7700, #ff3300, transparent); animation-duration: 3.0s; animation-delay: -.6s; }
.flame--5 { left: 83%; width: 55px; height: 140px; background: linear-gradient(to top, #ff5500, #ff1100, transparent); animation-duration: 2.5s; animation-delay: -.8s; }

@keyframes flameRise {
  0%   { transform: scaleX(1) scaleY(.95) rotate(-2deg); opacity: .9; }
  50%  { transform: scaleX(.9) scaleY(1.08) rotate(1deg); opacity: 1; }
  100% { transform: scaleX(1.05) scaleY(.98) rotate(-1deg); opacity: .85; }
}

/* Embers */
.ember-particle {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold-lt);
  pointer-events: none;
  animation: emberFloat linear forwards;
}
@keyframes emberFloat {
  0%   { transform: translateY(0) translateX(0) scale(1); opacity: 1; }
  100% { transform: translateY(-300px) translateX(var(--dx)) scale(.2); opacity: 0; }
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 700px;
}
.hero__subtitle {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.hero__ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}
.hero__ornament span {
  flex: 1;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
}
.hero__ornament span:last-child {
  background: linear-gradient(to left, transparent, var(--gold));
}
.hero__title {
  font-family: var(--ff-serif);
  font-size: clamp(56px, 10vw, 96px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: 12px;
  text-shadow: 0 4px 40px rgba(230,126,34,.3);
}
.hero__title em {
  display: block;
  font-style: italic;
  color: var(--gold);
  font-size: clamp(36px, 6.5vw, 64px);
  text-shadow: 0 0 60px rgba(212,160,23,.6);
}
.hero__tagline {
  font-size: 17px;
  color: var(--cream2);
  margin: 20px 0 36px;
  line-height: 1.7;
}
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero__scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}
.hero__scroll span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.hero__scroll-arrow {
  width: 20px; height: 20px;
  border-right: 1.5px solid var(--muted);
  border-bottom: 1.5px solid var(--muted);
  transform: rotate(45deg);
  animation: scrollBounce 1.6s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(5px); }
}

/* ===== STATS ===== */
.stats {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 36px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.stats__item {
  flex: 1;
  min-width: 160px;
  text-align: center;
  padding: 16px;
}
.stats__item strong {
  display: block;
  font-family: var(--ff-serif);
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.stats__item span { font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.stats__divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* ===== SECTION HEADERS ===== */
.section-header { text-align: center; margin-bottom: 56px; }
.section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--ff-serif);
  font-size: clamp(36px, 6vw, 58px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.section-title em {
  font-style: italic;
  color: var(--gold);
}
.section-desc { color: var(--cream2); max-width: 500px; margin: 0 auto; font-size: 15px; }

/* ===== MENU SECTION ===== */
.menu {
  padding: 100px 0;
  background: var(--bg);
}

.menu__tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.menu__tab {
  padding: 12px 32px;
  border-radius: 50px;
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--cream2);
  font-family: var(--ff-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
  cursor: pointer;
  transition: all .25s;
}
.menu__tab:hover { border-color: var(--gold); color: var(--gold); }
.menu__tab.active {
  background: linear-gradient(135deg, var(--crimson), var(--ember));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 20px rgba(192,57,43,.4);
}

.menu__panel { display: none; }
.menu__panel.active { display: block; }

/* ШАШЛЫКИ GRID */
.menu__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.menu-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,.5), 0 0 0 1px rgba(212,160,23,.25);
}
.menu-card__img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.menu-card__img-wrap img {
  transition: transform .5s var(--ease);
}
.menu-card:hover .menu-card__img-wrap img { transform: scale(1.07); }
.menu-card__img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,6,0,.7) 0%, transparent 50%);
}
.menu-card__badge {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 1;
  padding: 4px 12px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--crimson), var(--ember));
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.menu-card__badge--new {
  background: linear-gradient(135deg, #2980b9, #27ae60);
}
.menu-card__body {
  padding: 20px;
}
.menu-card__body h3 {
  font-family: var(--ff-serif);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--cream);
}
.menu-card__body p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 16px;
}
.menu-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.menu-card__price {
  font-family: var(--ff-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--gold);
}
.btn-order {
  padding: 10px 20px;
  border-radius: 50px;
  background: transparent;
  border: 1.5px solid var(--ember);
  color: var(--ember);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.btn-order:hover {
  background: var(--ember);
  color: #fff;
  transform: scale(1.04);
}

/* ЗАКУСКИ LIST */
.menu__list { display: flex; flex-direction: column; gap: 2px; }
.menu-row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--card-bg);
  border: 1px solid var(--border);
  transition: background .2s, transform .2s;
}
.menu-row:hover { background: #200f03; transform: translateX(4px); }
.menu-row__img {
  width: 80px; height: 80px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}
.menu-row__info h3 {
  font-family: var(--ff-serif);
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 4px;
}
.menu-row__info p { font-size: 13px; color: var(--muted); }
.menu-row__price {
  font-family: var(--ff-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}

/* НАПИТКИ GRID */
.drinks__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.drink-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: transform .3s, box-shadow .3s;
}
.drink-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,.4);
}
.drink-card__icon { font-size: 42px; margin-bottom: 16px; }
.drink-card h3 {
  font-family: var(--ff-serif);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.drink-card p { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.drink-card__price {
  display: inline-block;
  padding: 8px 24px;
  border-radius: 50px;
  background: rgba(212,160,23,.12);
  border: 1px solid rgba(212,160,23,.3);
  color: var(--gold);
  font-family: var(--ff-serif);
  font-size: 20px;
  font-weight: 700;
}

/* ===== ABOUT ===== */
.about {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.about__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 0% 50%, rgba(192,57,43,.08) 0%, transparent 60%),
    var(--bg2);
}
.about__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about__text .section-title { text-align: left; }
.about__text .section-eyebrow { text-align: left; }
.about__text p { color: var(--cream2); margin-bottom: 20px; font-size: 15px; }
.about__features {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: 16px;
}
.feature {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(212,160,23,.05);
  border: 1px solid var(--border);
  transition: background .3s;
}
.feature:hover { background: rgba(212,160,23,.1); }
.feature__icon { font-size: 32px; }
.feature h4 {
  font-family: var(--ff-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--cream);
}
.feature p { font-size: 13px; color: var(--muted); }

/* ===== GALLERY ===== */
.gallery { padding: 100px 0; background: var(--bg); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 260px);
  gap: 16px;
}
.gallery__item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery__item img { transition: transform .5s var(--ease); }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,6,0,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
  font-size: 40px;
}
.gallery__item:hover .gallery__overlay { opacity: 1; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

/* ===== CONTACT ===== */
.contact { padding: 100px 0; background: var(--bg2); }
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact__info .section-title { text-align: left; }
.contact__info .section-eyebrow { text-align: left; }
.contact__list { list-style: none; display: flex; flex-direction: column; gap: 24px; margin-top: 32px; }
.contact__list li { display: flex; align-items: flex-start; gap: 16px; }
.contact__icon { font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.contact__list strong { display: block; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.contact__list p { font-size: 15px; color: var(--cream2); }

.contact__form-wrap {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
}
.contact__form h3 {
  font-family: var(--ff-serif);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--cream);
}
.form-group { margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group input,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--cream);
  font-family: var(--ff-sans);
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
}
.form-group input::placeholder { color: var(--muted); }
.form-group input:focus,
.form-group select:focus { border-color: var(--gold); }
.form-group select option { background: var(--bg2); color: var(--cream); }

/* ===== FOOTER ===== */
.footer {
  background: #070300;
  border-top: 1px solid var(--border);
  padding: 36px 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
}
.footer__name {
  font-family: var(--ff-serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.3;
}
.footer__name em { display: block; font-style: italic; color: var(--gold); font-size: 15px; letter-spacing: .04em; text-transform: none; }
.footer__copy { font-size: 13px; color: var(--muted); text-align: center; }
.footer__socials { display: flex; gap: 16px; }
.footer__socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 8px;
  color: var(--muted);
  transition: all .2s;
}
.footer__socials a:hover { border-color: var(--gold); color: var(--gold); background: rgba(212,160,23,.1); }

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 32px; right: 32px;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--crimson), var(--ember));
  color: #fff;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(192,57,43,.4);
  transform: translateY(80px);
  opacity: 0;
  transition: all .4s var(--ease);
  z-index: 200;
}
.toast.show { transform: none; opacity: 1; }

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; margin-left: auto; }

  .hero__title { font-size: 52px; }
  .hero__flames { height: 180px; }
  .flame--2 { height: 160px; }
  .flame--3 { height: 200px; }

  .stats__divider { display: none; }
  .stats__item { min-width: 140px; }

  .menu__grid { grid-template-columns: 1fr; }
  .menu-row { grid-template-columns: 64px 1fr; }
  .menu-row__price { grid-column: span 2; padding-left: 84px; }

  .about__inner { grid-template-columns: 1fr; gap: 40px; }

  .gallery__grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery__item--tall { grid-row: span 1; }
  .gallery__item--wide { grid-column: span 2; }

  .contact__inner { grid-template-columns: 1fr; gap: 40px; }

  .footer__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr; }
  .gallery__item--wide { grid-column: span 1; }
}
