:root {
  --blue: #235aa6;
  --soft-blue: #dceafe;
  --yellow: #f7c948;
  --cream: #fff7e8;
  --cream-2: #f8ecd3;
  --brown: #6d4326;
  --warm-brown: #9a6a43;
  --ink: #2c2118;
  --muted: #695a4e;
  --white: #fffdf8;
  --shadow: 0 18px 50px rgba(72, 45, 22, 0.13);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(247, 201, 72, 0.22), transparent 28rem),
    linear-gradient(180deg, var(--cream), #fffaf0 55%, var(--cream-2));
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  width: min(1120px, calc(100% - 32px));
  margin: 18px auto 0;
  padding: 12px;
  border: 2px solid rgba(109, 67, 38, 0.12);
  background: rgba(255, 253, 248, 0.86);
  backdrop-filter: blur(14px);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 12px;
  z-index: 10;
  box-shadow: 0 12px 30px rgba(72, 45, 22, 0.08);
}

.logo {
  display: flex;
  align-items: center;
  padding-left: 10px;
}

.logo-img {
  height: 56px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 8px;
}

.nav a,
.mobile-menu {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--brown);
  background: transparent;
  font-weight: 700;
  cursor: pointer;
}

.nav a:hover,
.nav a.active {
  background: var(--soft-blue);
  color: var(--blue);
}

.mobile-menu {
  display: none;
  font-size: 22px;
}

.lang-toggle {
  display: inline-flex;
  background: rgba(247, 201, 72, 0.18);
  border: 2px solid rgba(109, 67, 38, 0.14);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
  margin-left: 4px;
}

.lang-toggle button {
  border: 0;
  background: transparent;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--brown);
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.lang-toggle button.active {
  background: var(--blue);
  color: white;
}

.lang-toggle button:not(.active):hover {
  background: var(--soft-blue);
  color: var(--blue);
}

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 36px;
  padding: 52px 0 28px;
}

.hero-art,
.drawing-wrap {
  background: transparent;
  overflow: hidden;
}

.hero-art svg {
  width: 100%;
  height: auto;
  display: block;
}

.hero-image {
  width: 100%;
  height: 100%;
  max-height: 430px;
  object-fit: cover;
  border-radius: 28px;
  display: block;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.5rem, 7vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
  color: var(--brown);
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--brown);
  margin-bottom: 18px;
}

h3 {
  font-size: 1.25rem;
  color: var(--brown);
  margin-bottom: 8px;
}

.hero-text,
.about-card p,
.contact-section p,
.menu-hero p,
.dish-card p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.button.primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 12px 22px rgba(35, 90, 166, 0.22);
}

.button.ghost {
  background: var(--white);
  color: var(--brown);
  border: 2px solid rgba(109, 67, 38, 0.14);
}

.section {
  padding: 36px 0;
}

.section-heading {
  max-width: 620px;
  margin-bottom: 18px;
}

.dish-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.dish-card {
  position: relative;
  overflow: visible;
  padding: 16px;
  background: rgba(255, 253, 248, 0.9);
  border: 2px solid rgba(109, 67, 38, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(72, 45, 22, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.image-wrapper {
  overflow: hidden;
  border: 4px solid var(--brown);
  border-radius: 20px;
  height: 210px;
  margin-bottom: 14px;
  background: #fff7e8;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.4);
}

.dish-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
  display: block;
  transition: transform 0.3s ease;
}

.dish-image-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 12px;
  color: var(--warm-brown);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background:
    radial-gradient(circle at 30% 30%, rgba(247, 201, 72, 0.25), transparent 60%),
    linear-gradient(180deg, #fffaf0, #f8ecd3);
}

.dish-card svg {
  width: 100%;
  height: 190px;
  display: block;
  background: linear-gradient(180deg, #fffaf0, #f8ecd3);
  border-radius: 20px;
  margin-bottom: 14px;
}

.price {
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 5;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--brown);
  font-weight: 900;
  border: 2px solid rgba(109, 67, 38, 0.25);
  box-shadow: 0 6px 14px rgba(72, 45, 22, 0.14);
}

.about-card,
.contact-section,
.menu-hero {
  margin: 44px 0;
  padding: clamp(24px, 5vw, 42px);
  background: rgba(255, 253, 248, 0.9);
  border: 2px solid rgba(109, 67, 38, 0.12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.about-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}

.contact-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.contact-boxes div {
  background: var(--cream);
  border: 2px solid rgba(109, 67, 38, 0.1);
  border-radius: 18px;
  padding: 16px;
  color: var(--muted);
}

.menu-hero {
  text-align: center;
}

.menu-hero p {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.menu-categories {
  position: sticky;
  top: 100px;
  z-index: 9;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  margin: 0 0 28px;
  background: rgba(255, 253, 248, 0.92);
  backdrop-filter: blur(14px);
  border: 2px solid rgba(109, 67, 38, 0.12);
  border-radius: 22px;
  box-shadow: 0 10px 24px rgba(72, 45, 22, 0.08);
}

.menu-categories a {
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--brown);
  background: transparent;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.menu-categories a:hover {
  background: var(--blue);
  color: white;
  transform: translateY(-1px);
}

.menu-section {
  padding: 10px 0 42px;
  scroll-margin-top: 180px;
}

.menu-section h2 {
  margin-bottom: 20px;
}

footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 26px;
  color: var(--muted);
  text-align: center;
  padding: 22px;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

.order-bar {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: white;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  z-index: 100;
}

.dish-card:active {
  transform: scale(0.98);
}

/* old SVG drawing styles, safe to keep */
.paint-line,
.paint-outline {
  stroke: #6d4326;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.paint-line.thin {
  stroke-width: 3;
  opacity: 0.75;
}

.paint-bg {
  fill: #fff7e8;
  stroke: #6d4326;
  stroke-width: 5;
  stroke-linejoin: round;
}

.window-frame {
  fill: #fffdf8;
  stroke: #6d4326;
  stroke-width: 5;
}

.sky {
  fill: #235aa6;
  opacity: 0.82;
}

.field {
  fill: #f7c948;
  opacity: 0.92;
}

.table-shadow {
  fill: rgba(109, 67, 38, 0.16);
}

.table {
  fill: #9a6a43;
  stroke: #6d4326;
  stroke-width: 5;
}

.bowl {
  fill: #dceafe;
  stroke: #6d4326;
  stroke-width: 5;
}

.borscht {
  fill: #9d1f3a;
  stroke: #6d4326;
  stroke-width: 4;
}

.sourcream {
  fill: none;
  stroke: #fffdf8;
  stroke-width: 8;
  stroke-linecap: round;
}

.green {
  fill: #4d7b3b;
}

.plate {
  fill: #fffdf8;
  stroke: #6d4326;
  stroke-width: 5;
}

.varenyky {
  fill: #f5dca9;
  stroke: #6d4326;
  stroke-width: 4;
}

.deruny {
  fill: #cf8b31;
  stroke: #6d4326;
  stroke-width: 4;
}

.bread {
  fill: #c98948;
  stroke: #6d4326;
  stroke-width: 4;
}

.stem {
  fill: none;
  stroke: #4d7b3b;
  stroke-width: 5;
  stroke-linecap: round;
}

.flower-blue {
  fill: #235aa6;
  stroke: #6d4326;
  stroke-width: 3;
}

.flower-yellow {
  fill: #f7c948;
  stroke: #6d4326;
  stroke-width: 3;
}

@keyframes tinyWiggle {
  0%, 100% {
    transform: rotate(-0.4deg);
  }

  50% {
    transform: rotate(0.5deg);
  }
}

.wiggle {
  transform-origin: center;
  animation: tinyWiggle 4s ease-in-out infinite;
}

@media (hover: hover) and (pointer: fine) {
  .dish-card:hover {
    transform: translateY(-10px) scale(1.025);
    box-shadow: 0 26px 55px rgba(72, 45, 22, 0.18);
    border-color: rgba(109, 67, 38, 0.28);
  }

  .dish-card:hover .dish-image {
    transform: scale(1.1);
  }
}

@media (max-width: 860px) {
  .site-header {
    border-radius: 26px;
    align-items: flex-start;
  }

  .mobile-menu {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    left: 12px;
    right: 12px;
    top: 62px;
    background: var(--white);
    border: 2px solid rgba(109, 67, 38, 0.12);
    border-radius: 22px;
    padding: 8px;
    box-shadow: var(--shadow);
    flex-direction: column;
  }

  .nav.open {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 38px;
  }

  .dish-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-card {
    grid-template-columns: 1fr;
  }

  .contact-boxes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  main,
  .site-header,
  footer {
    width: min(100% - 22px, 1120px);
  }

  .logo span:last-child {
    font-size: 0.95rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .dish-grid {
    grid-template-columns: 1fr;
  }

  .image-wrapper,
  .dish-card svg {
    height: 190px;
  }
}