:root {
  --bg: #efe1cf;
  --bg-dark: #14110f;
  --panel: rgba(255, 248, 240, 0.88);
  --panel-strong: #fff8ef;
  --ink: #25170f;
  --muted: #6f5341;
  --accent: #c3361f;
  --accent-dark: #7a1c12;
  --gold: #e8b346;
  --line: rgba(69, 37, 20, 0.14);
  --shadow: 0 24px 60px rgba(77, 44, 24, 0.16);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --content-width: min(1180px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(232, 179, 70, 0.22), transparent 24%),
    radial-gradient(circle at 85% 14%, rgba(195, 54, 31, 0.2), transparent 22%),
    linear-gradient(180deg, #f4e6d5 0%, #ecd8c0 45%, #f8efe7 100%);
}

img {
  display: block;
  max-width: 100%;
}

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

button,
input {
  font: inherit;
}

.page-shell {
  width: var(--content-width);
  margin: 0 auto;
  padding: 24px 0 56px;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 18px;
  margin-bottom: 24px;
  background: rgba(26, 18, 14, 0.92);
  color: #fff3e4;
  border-radius: 999px;
  box-shadow: 0 18px 36px rgba(39, 23, 15, 0.22);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand__logo {
  width: 152px;
  height: auto;
  border-radius: 10px;
  object-fit: contain;
  background: #000;
}

.brand__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand__text strong,
.hero h1,
.section-heading h2,
.featured-panel__header h3,
.featured-item h4,
.visit-card h3,
.gallery-card__caption strong {
  font-family: Georgia, "Times New Roman", serif;
}

.brand__text strong {
  font-size: 0.98rem;
}

.brand__text small,
.site-nav {
  color: rgba(255, 239, 224, 0.76);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav a {
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: var(--gold);
}

.header-phone,
.header-instagram,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.header-phone {
  min-height: 48px;
  padding: 0 18px;
  font-weight: 800;
  color: #18110d;
  background: linear-gradient(135deg, #f5c44f, #d99b2f);
}

.header-instagram {
  width: 48px;
  height: 48px;
  color: #fff3e4;
  background: rgba(255, 243, 228, 0.1);
  border: 1px solid rgba(255, 243, 228, 0.16);
}

.header-instagram svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.header-phone:hover,
.header-instagram:hover,
.button:hover {
  transform: translateY(-1px);
}

.hero,
.menu-layout {
  display: grid;
  gap: 20px;
}

.notice-bar {
  margin-bottom: 20px;
  padding: 14px 18px;
  border: 1px solid rgba(122, 28, 18, 0.14);
  border-radius: 18px;
  background: linear-gradient(135deg, #fff1d8, #f8d49a);
  box-shadow: var(--shadow);
}

.notice-bar p {
  margin: 0;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5d140d;
}

.hero {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  margin-bottom: 24px;
}

.hero__copy,
.hero__visual,
.info-strip,
.gallery-card,
.featured-panel,
.menu-table-wrap,
.visit-card,
.site-footer {
  border: 1px solid rgba(77, 44, 24, 0.08);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero__copy {
  padding: 34px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(21, 16, 14, 0.96), rgba(42, 28, 21, 0.94)),
    #17120f;
  color: #fff6ee;
}

.hero__logo {
  width: min(100%, 380px);
  margin-bottom: 18px;
  border-radius: 18px;
  background: #000;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  line-height: 0.96;
}

.hero__lead {
  margin: 18px 0 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 239, 224, 0.82);
}

.hero__facts {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.hero__facts div {
  padding: 14px 16px;
  border: 1px solid rgba(255, 231, 204, 0.12);
  border-radius: 16px;
  background: rgba(255, 248, 240, 0.06);
}

.hero__facts span {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 239, 224, 0.7);
  font-size: 0.9rem;
}

.hero__facts strong {
  display: block;
  font-size: 1rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  min-height: 50px;
  padding: 0 22px;
  font-weight: 800;
}

.button--primary {
  color: #18110d;
  background: linear-gradient(135deg, #f5c44f, #d99b2f);
}

.button--ghost {
  color: #fff4ea;
  border: 1px solid rgba(255, 233, 210, 0.16);
  background: rgba(255, 248, 240, 0.08);
}

.hero__visual {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius-xl);
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  min-height: 220px;
}

.hero-card img,
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card--main {
  grid-row: 1 / span 2;
  min-height: 520px;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 12, 9, 0.04), rgba(17, 12, 9, 0.38));
}

.hero-card__caption,
.gallery-card__caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(17, 12, 9, 0.66);
  color: #fff4ea;
  backdrop-filter: blur(8px);
}

.hero-card__caption span,
.gallery-card__caption span {
  display: block;
  color: rgba(255, 239, 224, 0.78);
}

.hero-card__caption strong,
.gallery-card__caption strong {
  display: block;
  margin-top: 3px;
  font-size: 1.12rem;
}

.info-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 18px 22px;
  border-radius: var(--radius-lg);
}

.info-strip article {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.info-strip p,
.menu-meta,
.visit-card__label,
.site-footer p {
  margin: 0;
  color: var(--muted);
}

.info-strip a,
.info-strip span {
  font-weight: 800;
}

.section {
  margin-top: 24px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.02;
}

.gallery-grid,
.visit-grid {
  display: grid;
  gap: 18px;
}

.gallery-grid {
  grid-template-columns: 1.2fr 1fr 1fr;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  border-radius: var(--radius-lg);
}

.gallery-card--wide {
  min-height: 420px;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 10, 8, 0.05), rgba(14, 10, 8, 0.5));
}

.section-heading--menu h2 {
  max-width: 12ch;
}

.menu-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-weight: 700;
}

.menu-controls {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(420px, 100%);
}

.search-field span,
.page-size-field span {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--muted);
}

.search-field input {
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(69, 37, 20, 0.12);
  border-radius: 16px;
  outline: none;
  color: var(--ink);
  background: rgba(255, 251, 246, 0.95);
}

.search-field input:focus {
  border-color: rgba(195, 54, 31, 0.42);
  box-shadow: 0 0 0 4px rgba(195, 54, 31, 0.08);
}

.page-size-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 110px;
}

.page-size-field select {
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(69, 37, 20, 0.12);
  border-radius: 16px;
  outline: none;
  color: var(--ink);
  background: rgba(255, 251, 246, 0.95);
}

.page-size-field select:focus {
  border-color: rgba(195, 54, 31, 0.42);
  box-shadow: 0 0 0 4px rgba(195, 54, 31, 0.08);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-button {
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(69, 37, 20, 0.12);
  border-radius: 999px;
  background: rgba(255, 249, 242, 0.9);
  color: var(--ink);
  cursor: pointer;
}

.filter-button.is-active {
  color: #fff8ef;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.menu-layout {
  grid-template-columns: minmax(250px, 300px) minmax(0, 1fr);
  align-items: start;
}

.featured-panel {
  position: sticky;
  top: 104px;
  padding: 24px;
  border-radius: var(--radius-lg);
}

.featured-panel__header h3 {
  margin: 0 0 18px;
  font-size: 1.45rem;
}

.featured-items {
  display: grid;
  gap: 14px;
}

.featured-item {
  padding: 16px;
  border: 1px solid rgba(69, 37, 20, 0.08);
  border-radius: 16px;
  background: rgba(255, 252, 248, 0.82);
}

.featured-item__top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  margin-bottom: 8px;
}

.featured-item h4 {
  margin: 0;
  font-size: 1.14rem;
}

.featured-item p {
  margin: 0;
  line-height: 1.55;
  color: var(--muted);
}

.featured-item small {
  display: inline-block;
  margin-top: 8px;
  color: var(--accent);
  font-weight: 800;
}

.price-pill {
  flex-shrink: 0;
  padding: 8px 10px;
  border-radius: 999px;
  color: #fff8ef;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.menu-table-wrap {
  overflow: auto;
  padding: 10px;
  border-radius: var(--radius-lg);
}

.menu-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.menu-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 15px 14px;
  text-align: left;
  color: var(--muted);
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(246, 237, 227, 0.97);
}

.menu-table tbody tr:nth-child(2n) {
  background: rgba(255, 250, 245, 0.82);
}

.menu-table td {
  padding: 14px;
  vertical-align: top;
  border-top: 1px solid var(--line);
  line-height: 1.55;
}

.menu-table td:first-child,
.menu-table td:last-child {
  font-weight: 800;
}

.menu-table td:first-child {
  color: var(--muted);
}

.menu-table td:nth-child(2) {
  min-width: 190px;
  font-weight: 800;
}

.menu-table td:nth-child(4) {
  color: var(--accent);
  font-weight: 800;
}

.pagination-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 18px;
}

.pagination-button {
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid rgba(69, 37, 20, 0.12);
  border-radius: 999px;
  background: rgba(255, 249, 242, 0.9);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.pagination-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.pagination-status {
  font-weight: 800;
  color: var(--muted);
}

.delivery-banner {
  margin-top: 24px;
}

.delivery-link {
  display: inline-flex;
  align-items: center;
  min-height: 54px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  color: #fff8ef;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  box-shadow: var(--shadow);
}

.visit-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.visit-card {
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 220px;
  padding: 28px;
  border-radius: var(--radius-lg);
}

.visit-card--location {
  color: #fff4ea;
  background:
    linear-gradient(180deg, rgba(39, 22, 15, 0.2), rgba(39, 22, 15, 0.9)),
    url("./assets/knatalije1.jpg") center / cover no-repeat;
}

.visit-card--location .visit-card__label,
.visit-card--location span {
  color: rgba(255, 239, 224, 0.82);
}

.visit-card--location .visit-card__city {
  color: #ffffff;
}

.visit-card h3 {
  margin: 0 0 10px;
  font-size: 1.55rem;
}

.visit-card span {
  margin: 0;
  line-height: 1.6;
  color: var(--muted);
}

.visit-card a {
  display: inline-flex;
  margin-top: 18px;
  font-weight: 800;
  color: var(--accent);
}

.visit-card--location a {
  color: #fff4ea;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding: 18px 22px;
  border-radius: var(--radius-lg);
}

@media (max-width: 1080px) {
  .site-header,
  .hero,
  .gallery-grid,
  .menu-layout,
  .visit-grid,
  .info-strip,
  .menu-controls,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-header {
    position: static;
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 28px;
  }

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

  .site-nav {
    width: 100%;
    justify-content: center;
  }

  .hero,
  .menu-layout,
  .gallery-grid,
  .visit-grid,
  .info-strip {
    display: grid;
  }

  .menu-controls,
  .section-heading,
  .site-footer {
    display: flex;
    flex-direction: column;
    align-items: start;
  }

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

  .hero-card--main {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 320px;
  }

  .featured-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100vw - 20px, 100%);
    padding-top: 10px;
  }

  .brand__logo {
    width: min(100%, 220px);
  }

  .hero__copy,
  .hero__visual,
  .visit-card,
  .featured-panel {
    padding: 22px;
  }

  .hero__visual {
    padding: 12px;
  }

  .hero h1,
  .section-heading h2 {
    max-width: none;
  }

  .hero h1 {
    font-size: clamp(2.1rem, 11vw, 3.2rem);
  }

  .gallery-card,
  .gallery-card--wide,
  .hero-card,
  .hero-card--main {
    min-height: 240px;
  }

  .menu-table {
    min-width: 620px;
  }
}
