@import url("https://fonts.googleapis.com/css2?family=Bungee:wght@400&family=Sora:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #f5efe1;
  --paper: #fffaf2;
  --ink: #18120d;
  --muted: #645a50;
  --line: #211a13;
  --red: #eb4a2f;
  --orange: #f0862d;
  --yellow: #f2c63d;
  --green: #1f9868;
  --teal: #258ca6;
  --blue: #2655c7;
  --radius-xl: 30px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-hard: 10px 10px 0 rgba(33, 26, 19, 0.9);
  --shadow-soft: 0 22px 50px rgba(33, 26, 19, 0.16);
  --accent-page: var(--red);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Sora", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 2%, rgba(235, 74, 47, 0.18), transparent 24%),
    radial-gradient(circle at 88% 12%, rgba(37, 140, 166, 0.14), transparent 22%),
    radial-gradient(circle at 52% 100%, rgba(38, 85, 199, 0.12), transparent 28%),
    var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(transparent 96%, rgba(33, 26, 19, 0.06) 96%),
    linear-gradient(90deg, transparent 96%, rgba(33, 26, 19, 0.06) 96%);
  background-size: 20px 20px;
  opacity: 0.45;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 35%);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1280px, calc(100vw - 34px));
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

body.page-home {
  --accent-page: var(--red);
}

body.page-menu {
  --accent-page: var(--green);
}

body.page-concept {
  --accent-page: var(--blue);
}

body.page-events {
  --accent-page: var(--teal);
}

body.page-contact {
  --accent-page: var(--orange);
}

header {
  position: sticky;
  top: 0;
  z-index: 80;
  padding: 14px 0;
  backdrop-filter: blur(6px);
  background: linear-gradient(180deg, rgba(245, 239, 225, 0.93), rgba(245, 239, 225, 0.7));
}

.nav {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  padding: 10px 14px;
  box-shadow: var(--shadow-hard);
}

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

.brand-badge {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  border: 2px solid var(--line);
  background: linear-gradient(145deg, var(--orange), var(--yellow));
  font-family: "Bungee", Impact, sans-serif;
  font-size: 1.3rem;
  transform: rotate(-6deg);
}

.brand strong {
  display: block;
  font-family: "Bungee", Impact, sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  line-height: 1;
}

.brand span {
  display: block;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.68rem;
  margin-top: 2px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}

.nav-links a {
  border: 2px solid transparent;
  border-radius: 999px;
  padding: 8px 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  transition: background-color 120ms ease, border-color 120ms ease, transform 120ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  border-color: var(--line);
  background: color-mix(in srgb, var(--accent-page) 86%, white);
  transform: translateY(-1px);
}

.nav-hint {
  border: 2px dashed color-mix(in srgb, var(--accent-page) 75%, var(--line));
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 2px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-size: 1.2rem;
}

.theme-toggle {
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  background: #fff;
  color: var(--ink);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  cursor: pointer;
  transition: transform 120ms ease, background-color 120ms ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
}

.flash-band {
  margin: 6px auto 0;
  width: min(1280px, calc(100vw - 34px));
  border: 2px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), var(--orange), var(--yellow), var(--green), var(--teal), var(--blue));
  box-shadow: var(--shadow-hard);
  padding: 3px;
  position: relative;
  z-index: 2;
}

.flash-band span {
  display: block;
  width: 100%;
  border-radius: 999px;
  text-align: center;
  padding: 8px 16px;
  font-family: "Bungee", Impact, sans-serif;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-size: 0.92rem;
  background: rgba(255, 255, 255, 0.86);
}

.hero {
  min-height: calc(100vh - 110px);
  display: flex;
  align-items: center;
  padding: 18px 0 34px;
}

.page-section {
  padding: 22px 0 0;
}

.hero-layout {
  display: grid;
  grid-template-columns: 0.34fr 1fr 0.34fr;
  gap: 18px;
  align-items: stretch;
}

.side-card,
.legend,
.page-hero,
.info-panel,
.menu-grid-card,
.page-card,
.contact-card,
.booking-card,
.gallery-tile {
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-hard);
  position: relative;
}

.side-card::before,
.legend::before,
.page-hero::before,
.menu-grid-card::before,
.page-card::before,
.contact-card::before,
.booking-card::before {
  content: "";
  position: absolute;
  right: 16px;
  top: 10px;
  width: 44px;
  height: 10px;
  border-radius: 8px;
  border: 2px solid var(--line);
  background: color-mix(in srgb, var(--accent-page) 80%, white);
  transform: rotate(-8deg);
}

.side-card,
.legend,
.page-hero,
.info-panel,
.menu-grid-card,
.page-card,
.contact-card,
.booking-card {
  padding: 22px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  background: color-mix(in srgb, var(--accent-page) 80%, white);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 800;
  margin-bottom: 10px;
}

h1,
h2.main-title,
.card-title,
.mini-section-title,
.legend h3,
.info-head h2,
.menu-item-card h3,
.gallery-caption h3,
.stat-box h3 {
  font-family: "Bungee", Impact, sans-serif;
  letter-spacing: 0.03em;
  line-height: 1;
}

h1,
h2.main-title {
  font-size: clamp(2.1rem, 5.2vw, 4.6rem);
  margin-bottom: 12px;
}

.card-title,
.mini-section-title,
.legend h3,
.info-head h2 {
  font-size: 1.7rem;
  margin-bottom: 10px;
}

p {
  color: color-mix(in srgb, var(--ink) 82%, #000000);
  line-height: 1.72;
}

.chip-row {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 8px 11px;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: #fff;
}

.scene {
  position: relative;
  min-height: 740px;
  display: grid;
  place-items: center;
  padding: 24px;
  border: 2px solid var(--line);
  border-radius: 38px;
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 255, 255, 0.7), transparent 48%),
    linear-gradient(180deg, #fff4db, #f6dfc8);
  box-shadow: var(--shadow-hard);
  overflow: hidden;
}

.scene::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 188px;
  background:
    linear-gradient(180deg, transparent, rgba(33, 26, 19, 0.2)),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.28) 0 30px,
      color-mix(in srgb, var(--accent-page) 60%, transparent) 30px 34px
    );
}

.truck-wrap {
  position: relative;
  width: min(860px, 100%);
  height: 520px;
  z-index: 2;
}

.truck {
  position: absolute;
  inset: auto 0 50px 0;
  height: 360px;
  border-radius: 42px 52px 32px 32px;
  background: linear-gradient(180deg, #fffaf1, #f5d8bd);
  border: 4px solid var(--line);
  box-shadow: 0 18px 0 rgba(33, 26, 19, 0.14);
}

.truck::before {
  content: "";
  position: absolute;
  left: -20px;
  right: -20px;
  top: 22px;
  height: 28px;
  border: 4px solid var(--line);
  border-bottom: none;
  border-radius: 16px 16px 0 0;
  background: repeating-linear-gradient(
    90deg,
    var(--red) 0 24px,
    var(--yellow) 24px 48px,
    var(--teal) 48px 72px,
    #ffffff 72px 96px
  );
}

.truck::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 78px;
  height: 4px;
  background: rgba(33, 26, 19, 0.13);
}

.window-cabin {
  position: absolute;
  left: 38px;
  top: 60px;
  width: 170px;
  height: 112px;
  border: 4px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(31, 152, 104, 0.24), rgba(255, 255, 255, 0.9));
}

.service-window {
  position: absolute;
  right: 66px;
  top: 76px;
  width: 310px;
  height: 130px;
  border: 4px solid var(--line);
  border-radius: 20px 20px 28px 28px;
  background: rgba(255, 255, 255, 0.64);
}

.service-window::before {
  content: "MENU";
  position: absolute;
  top: -48px;
  left: 50%;
  transform: translateX(-50%);
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--yellow);
  border: 3px solid var(--line);
  font-family: "Bungee", Impact, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
}

.awning {
  position: absolute;
  right: 58px;
  top: 52px;
  width: 326px;
  height: 26px;
  border: 4px solid var(--line);
  border-bottom: none;
  border-radius: 12px 12px 0 0;
  background: repeating-linear-gradient(90deg, var(--red) 0 24px, #fff 24px 48px);
}

.door {
  position: absolute;
  left: 240px;
  top: 64px;
  width: 110px;
  height: 220px;
  border: 4px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffead4, #edd8c2);
}

.door::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--line);
  transform: translateY(-50%);
}

.plate {
  position: absolute;
  left: 54px;
  bottom: 38px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 4px solid var(--line);
  background: var(--green);
  color: #fff;
  font-family: "Bungee", Impact, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
}

.menu-board {
  position: absolute;
  right: 24px;
  bottom: 34px;
  width: 230px;
  height: 92px;
  border-radius: 18px;
  border: 4px solid var(--line);
  background: var(--blue);
  color: #f6f8ff;
  padding: 14px;
  display: grid;
  align-content: center;
  gap: 5px;
}

.menu-board strong {
  font-family: "Bungee", Impact, sans-serif;
  font-size: 0.92rem;
  letter-spacing: 0.1em;
}

.menu-board span {
  font-size: 0.82rem;
  color: rgba(246, 248, 255, 0.9);
}

.roof-sign {
  position: absolute;
  left: 50%;
  top: -26px;
  transform: translateX(-50%) rotate(-3deg);
  padding: 12px 22px;
  border: 4px solid var(--line);
  border-radius: 16px;
  background: var(--red);
  color: #fff;
  font-family: "Bungee", Impact, sans-serif;
  font-size: clamp(1.2rem, 3vw, 2.2rem);
  letter-spacing: 0.08em;
}

.wheel {
  position: absolute;
  bottom: -38px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: #111;
  border: 8px solid #3d3d3d;
}

.wheel::after {
  content: "";
  position: absolute;
  inset: 28px;
  border-radius: 50%;
  border: 4px solid #53463a;
  background: #d9c8b1;
}

.wheel.left {
  left: 94px;
}

.wheel.right {
  right: 98px;
}

.cloud-note {
  position: absolute;
  width: 170px;
  padding: 13px 15px;
  border: 2px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow-hard);
  z-index: 3;
}

.cloud-note strong {
  display: block;
  margin-bottom: 5px;
  font-family: "Bungee", Impact, sans-serif;
  font-size: 0.95rem;
}

.cloud-note span {
  color: var(--muted);
  line-height: 1.45;
  font-size: 0.8rem;
}

.cloud-note.one {
  left: 0;
  top: 56px;
  transform: rotate(-6deg);
}

.cloud-note.two {
  right: 0;
  top: 18px;
  transform: rotate(5deg);
}

.cloud-note.three {
  right: 20px;
  bottom: 10px;
  transform: rotate(-4deg);
}

.legend-list,
.contact-list {
  display: grid;
  gap: 10px;
}

.legend-item,
.contact-list li {
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 11px 13px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex: 0 0 auto;
  border: 1px solid rgba(0, 0, 0, 0.4);
}

.info-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.tag {
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--teal);
  color: #fff;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 700;
}

.grid-2,
.menu-grid,
.contact-grid,
.gallery-grid,
.stats-grid,
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.menu-grid-card,
.page-card,
.gallery-tile,
.menu-item-card {
  transform-origin: center;
}

.menu-grid-card:nth-child(odd),
.page-card:nth-child(odd),
.gallery-tile:nth-child(odd),
.menu-item-card:nth-child(odd) {
  transform: rotate(-0.55deg);
}

.menu-grid-card:nth-child(even),
.page-card:nth-child(even),
.gallery-tile:nth-child(even),
.menu-item-card:nth-child(even) {
  transform: rotate(0.55deg);
}

.menu-item-card,
.stat-box,
.info-box {
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 16px;
}

.menu-item-card strong,
.stat-box strong,
.info-box strong {
  display: inline-flex;
  margin-bottom: 8px;
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: color-mix(in srgb, var(--accent-page) 78%, white);
}

.menu-photo,
.hero-image,
.gallery-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--line);
  margin-bottom: 12px;
  background: #fff;
}

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

.menu-photo img {
  aspect-ratio: 4 / 3;
}

.hero-image img,
.gallery-img img {
  aspect-ratio: 16 / 10;
}

.menu-item-card h3,
.gallery-caption h3,
.stat-box h3 {
  font-size: 1.55rem;
  margin-bottom: 6px;
}

.menu-price {
  display: inline-flex;
  margin-top: 12px;
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
}

.gallery-tile {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.gallery-img {
  margin: 0;
  border: 0;
  border-bottom: 2px solid var(--line);
  border-radius: 0;
}

.gallery-caption {
  padding: 18px;
}

form {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

input,
select,
textarea {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  padding: 13px 14px;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-page) 30%, transparent);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.btn {
  width: fit-content;
  max-width: 100%;
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--accent-page);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 16px rgba(0, 0, 0, 0.15);
}

.status {
  min-height: 24px;
  margin-top: 6px;
  color: #176a4b;
  font-weight: 700;
}

footer {
  margin-top: 40px;
  padding: 24px 0;
  border-top: 2px solid var(--line);
  background: #efe5d4;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px;
  align-items: center;
}

.footer-brand strong {
  font-family: "Bungee", Impact, sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
}

.footer-brand div,
.footer-meta,
.footer-copy {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.footer-copy a {
  color: var(--blue);
  font-weight: 700;
}

/* Day/night theme switch */
body,
header,
.nav,
.flash-band span,
.side-card,
.legend,
.page-hero,
.info-panel,
.menu-grid-card,
.page-card,
.contact-card,
.booking-card,
.gallery-tile,
.menu-item-card,
.info-box,
.stat-box,
.legend-item,
.contact-list li,
.chip,
.tag,
.menu-photo,
.hero-image,
.gallery-img,
input,
select,
textarea,
footer {
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

body.theme-night {
  --bg: #0a0d16;
  --paper: rgba(20, 25, 38, 0.86);
  --ink: #f5f7ff;
  --muted: #b9c0d8;
  --line: rgba(138, 151, 194, 0.8);
  --shadow-hard: 0 0 0 1px rgba(129, 143, 191, 0.45), 0 20px 40px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 16px 30px rgba(0, 0, 0, 0.42);
}

body.theme-night {
  background:
    radial-gradient(circle at 15% 2%, rgba(235, 74, 47, 0.18), transparent 24%),
    radial-gradient(circle at 88% 12%, rgba(37, 140, 166, 0.2), transparent 24%),
    radial-gradient(circle at 52% 100%, rgba(38, 85, 199, 0.2), transparent 30%),
    linear-gradient(180deg, #070911, #0f1522 44%, #070b14);
}

body.theme-night::before {
  background-image:
    linear-gradient(transparent 96%, rgba(176, 189, 255, 0.07) 96%),
    linear-gradient(90deg, transparent 96%, rgba(176, 189, 255, 0.07) 96%);
}

body.theme-night::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 38%);
}

body.theme-night header {
  background: linear-gradient(180deg, rgba(8, 11, 20, 0.88), rgba(8, 11, 20, 0.56));
}

body.theme-night .nav,
body.theme-night .side-card,
body.theme-night .legend,
body.theme-night .page-hero,
body.theme-night .info-panel,
body.theme-night .menu-grid-card,
body.theme-night .page-card,
body.theme-night .contact-card,
body.theme-night .booking-card,
body.theme-night .gallery-tile,
body.theme-night .menu-item-card,
body.theme-night .info-box,
body.theme-night .stat-box,
body.theme-night .legend-item,
body.theme-night .contact-list li {
  background: rgba(21, 26, 40, 0.86);
  border-color: rgba(138, 151, 194, 0.8);
  box-shadow: var(--shadow-hard);
}

body.theme-night p,
body.theme-night .brand span,
body.theme-night .nav-hint,
body.theme-night .footer-brand div,
body.theme-night .footer-meta,
body.theme-night .footer-copy,
body.theme-night .cloud-note span {
  color: #c4cbe2;
}

body.theme-night .flash-band span {
  background: rgba(9, 12, 22, 0.86);
  color: #f5f7ff;
}

body.theme-night .theme-toggle {
  background: rgba(16, 20, 32, 0.86);
  color: #f5f7ff;
  border-color: rgba(171, 184, 230, 0.9);
}

body.theme-night .chip,
body.theme-night .menu-photo,
body.theme-night .hero-image,
body.theme-night .gallery-img,
body.theme-night input,
body.theme-night select,
body.theme-night textarea {
  background: rgba(12, 16, 27, 0.9);
  color: #f5f7ff;
  border-color: rgba(152, 167, 216, 0.85);
}

body.theme-night input::placeholder,
body.theme-night textarea::placeholder {
  color: #99a5ca;
}

body.theme-night .scene {
  border-color: rgba(128, 140, 187, 0.88);
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 230, 153, 0.18), transparent 48%),
    linear-gradient(180deg, #1b2133, #13192a);
}

body.theme-night .scene::before {
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.4)),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.1) 0 30px,
      rgba(84, 117, 228, 0.35) 30px 34px
    );
}

body.theme-night footer {
  background: rgba(8, 10, 19, 0.9);
  border-top-color: rgba(120, 138, 194, 0.72);
}

body.theme-night .footer-copy a {
  color: #7ac9ff;
}

@keyframes posterRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-layout > *,
.page-section > .container,
.flash-band {
  animation: posterRise 650ms ease both;
}

.hero-layout > *:nth-child(2) {
  animation-delay: 120ms;
}

.hero-layout > *:nth-child(3) {
  animation-delay: 200ms;
}

@media (prefers-reduced-motion: reduce) {
  .hero-layout > *,
  .page-section > .container,
  .flash-band {
    animation: none;
  }
}

@media (max-width: 1180px) {
  .hero-layout,
  .grid-3,
  .footer-grid,
  .two-col {
    grid-template-columns: 1fr;
  }

  .nav-hint {
    display: none;
  }

  .scene {
    min-height: 680px;
  }

  .footer-brand,
  .footer-meta,
  .footer-copy {
    text-align: center;
    justify-content: center;
  }
}

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .theme-toggle {
    display: none;
  }

  .nav-right {
    margin-left: auto;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px;
    border: 2px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-soft);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-top: 12px;
  }

  .flash-band span {
    font-size: 0.8rem;
    padding: 7px 10px;
  }

  .hero-layout,
  .grid-2,
  .menu-grid,
  .contact-grid,
  .gallery-grid,
  .stats-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .scene {
    min-height: 590px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100vw - 20px, 100%);
  }

  .side-card,
  .legend,
  .page-hero,
  .info-panel,
  .menu-grid-card,
  .page-card,
  .contact-card,
  .booking-card {
    padding: 18px;
    border-radius: 20px;
  }

  .scene {
    min-height: 500px;
    padding: 14px;
    border-radius: 24px;
  }

  .menu-grid-card:nth-child(odd),
  .page-card:nth-child(odd),
  .gallery-tile:nth-child(odd),
  .menu-item-card:nth-child(odd),
  .menu-grid-card:nth-child(even),
  .page-card:nth-child(even),
  .gallery-tile:nth-child(even),
  .menu-item-card:nth-child(even) {
    transform: none;
  }

  .truck-wrap {
    height: 360px;
  }

  .truck {
    height: 250px;
    inset: auto 0 46px 0;
  }

  .window-cabin {
    width: 112px;
    height: 76px;
    top: 42px;
    left: 24px;
  }

  .door {
    width: 76px;
    height: 154px;
    left: 160px;
    top: 48px;
  }

  .service-window {
    width: 214px;
    height: 92px;
    right: 34px;
    top: 56px;
  }

  .awning {
    width: 228px;
    right: 28px;
    top: 34px;
  }

  .roof-sign {
    top: -18px;
    font-size: 1rem;
    padding: 10px 14px;
  }

  .wheel {
    width: 74px;
    height: 74px;
    bottom: -26px;
  }

  .wheel.left {
    left: 54px;
  }

  .wheel.right {
    right: 58px;
  }

  .plate {
    left: 28px;
    bottom: 28px;
    padding: 9px 11px;
    font-size: 0.76rem;
  }

  .menu-board {
    width: 156px;
    height: 72px;
    right: 16px;
    bottom: 22px;
    padding: 10px;
  }

  .cloud-note {
    display: none;
  }

  .btn {
    width: 100%;
  }

  .footer-meta {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 560px) {
  .scene {
    min-height: 430px;
  }

  .truck-wrap {
    height: 300px;
  }

  .truck {
    height: 205px;
    border-width: 3px;
    inset: auto 0 40px 0;
  }

  .truck::before {
    left: -14px;
    right: -14px;
    top: 16px;
    height: 18px;
    border-width: 3px;
  }

  .window-cabin,
  .door,
  .service-window,
  .awning,
  .plate,
  .menu-board,
  .roof-sign,
  .wheel {
    border-width: 3px;
  }

  .window-cabin {
    width: 82px;
    height: 58px;
    top: 34px;
    left: 18px;
  }

  .door {
    width: 56px;
    height: 122px;
    left: 112px;
    top: 38px;
  }

  .service-window {
    width: 146px;
    height: 62px;
    right: 16px;
    top: 42px;
  }

  .awning {
    width: 154px;
    right: 12px;
    top: 24px;
    height: 18px;
  }

  .roof-sign {
    top: -14px;
    font-size: 0.76rem;
    padding: 8px 10px;
  }

  .plate {
    left: 14px;
    bottom: 18px;
    padding: 7px 8px;
    font-size: 0.58rem;
  }

  .menu-board {
    width: 108px;
    height: 50px;
    right: 8px;
    bottom: 14px;
    padding: 6px;
  }

  .wheel {
    width: 54px;
    height: 54px;
    bottom: -18px;
    border-width: 5px;
  }

  .wheel::after {
    inset: 14px;
    border-width: 3px;
  }

  .wheel.left {
    left: 30px;
  }

  .wheel.right {
    right: 34px;
  }
}

/* Foodtruck identity boost */
.scene::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 14px;
  height: 28px;
  pointer-events: none;
  background:
    radial-gradient(circle at 6% 50%, #ffe27a 0 5px, transparent 6px),
    radial-gradient(circle at 14% 50%, #ff8f46 0 5px, transparent 6px),
    radial-gradient(circle at 22% 50%, #7ee8b7 0 5px, transparent 6px),
    radial-gradient(circle at 30% 50%, #7ac9ff 0 5px, transparent 6px),
    radial-gradient(circle at 38% 50%, #ffe27a 0 5px, transparent 6px),
    radial-gradient(circle at 46% 50%, #ff8f46 0 5px, transparent 6px),
    radial-gradient(circle at 54% 50%, #7ee8b7 0 5px, transparent 6px),
    radial-gradient(circle at 62% 50%, #7ac9ff 0 5px, transparent 6px),
    radial-gradient(circle at 70% 50%, #ffe27a 0 5px, transparent 6px),
    radial-gradient(circle at 78% 50%, #ff8f46 0 5px, transparent 6px),
    radial-gradient(circle at 86% 50%, #7ee8b7 0 5px, transparent 6px),
    radial-gradient(circle at 94% 50%, #7ac9ff 0 5px, transparent 6px);
  opacity: 0.95;
}

.awning {
  background: repeating-linear-gradient(90deg, #ec442b 0 18px, #fff5dd 18px 36px);
}

.menu-board {
  background:
    linear-gradient(180deg, #295d3a, #21492e),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 2px 4px);
  border-color: #192015;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.menu-board strong,
.menu-board span {
  font-family: "Sora", "Segoe UI", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.service-window::after {
  content: "HOT & FRESH";
  position: absolute;
  right: 12px;
  bottom: -16px;
  border: 2px solid #1f170f;
  border-radius: 999px;
  background: #ffcf4d;
  color: #1f170f;
  padding: 4px 10px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.menu-item-card {
  position: relative;
}

.menu-item-card::before {
  content: "";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff6f59;
  box-shadow: 0 0 0 2px #fff2e4, 0 0 0 3px #2a2018;
}

.menu-price {
  background: linear-gradient(145deg, #1f9868, #157951);
  box-shadow: 0 6px 12px rgba(10, 72, 45, 0.35);
}

.flash-band span {
  letter-spacing: 0.11em;
}

@media (max-width: 760px) {
  .scene::after {
    display: none;
  }

  .service-window::after {
    display: none;
  }
}

/* V2: cinematic night-market override */
:root {
  --nm-bg: #090912;
  --nm-panel: rgba(22, 19, 39, 0.78);
  --nm-border: rgba(134, 112, 255, 0.5);
  --nm-text: #f7f4ff;
  --nm-muted: #c8bff0;
  --nm-neon-pink: #ff4d8f;
  --nm-neon-cyan: #3ce4ff;
  --nm-neon-violet: #7f66ff;
  --nm-neon-lime: #6effb6;
}

body {
  color: var(--nm-text);
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 77, 143, 0.22), transparent 28%),
    radial-gradient(circle at 88% 9%, rgba(60, 228, 255, 0.2), transparent 30%),
    radial-gradient(circle at 55% 100%, rgba(127, 102, 255, 0.18), transparent 34%),
    linear-gradient(180deg, #090912, #100d1f 45%, #0a0914);
}

body::before {
  background-image:
    linear-gradient(transparent 96%, rgba(205, 193, 255, 0.08) 96%),
    linear-gradient(90deg, transparent 96%, rgba(205, 193, 255, 0.08) 96%);
}

body::after {
  background:
    radial-gradient(circle at 50% -28%, rgba(255, 234, 167, 0.12), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 32%);
}

header {
  background: linear-gradient(180deg, rgba(9, 9, 18, 0.9), rgba(9, 9, 18, 0.58));
}

.nav {
  background: rgba(18, 16, 31, 0.88);
  border-color: var(--nm-border);
  box-shadow: 0 0 0 1px rgba(116, 96, 228, 0.42), 0 18px 44px rgba(0, 0, 0, 0.5);
}

.brand-badge {
  color: #0c0c18;
  background: linear-gradient(145deg, var(--nm-neon-pink), #ffd58d);
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow: 0 0 24px rgba(255, 77, 143, 0.45);
}

.brand span,
.nav-hint,
.footer-brand div,
.footer-meta,
.footer-copy,
.cloud-note span {
  color: var(--nm-muted);
}

.nav-links a:hover,
.nav-links a.active {
  border-color: rgba(255, 255, 255, 0.7);
  background: color-mix(in srgb, var(--accent-page) 55%, rgba(255, 255, 255, 0.1));
  color: #fff;
  box-shadow: 0 0 18px color-mix(in srgb, var(--accent-page) 55%, transparent);
}

.flash-band {
  border-color: rgba(255, 255, 255, 0.56);
  background: linear-gradient(90deg, var(--nm-neon-pink), #ff9966, #ffe36e, var(--nm-neon-lime), var(--nm-neon-cyan), var(--nm-neon-violet));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28), 0 16px 38px rgba(0, 0, 0, 0.42);
}

.flash-band span {
  background: rgba(8, 8, 18, 0.8);
  color: #f8f6ff;
}

.side-card,
.legend,
.page-hero,
.info-panel,
.menu-grid-card,
.page-card,
.contact-card,
.booking-card,
.gallery-tile,
.menu-item-card,
.info-box,
.stat-box,
.legend-item,
.contact-list li {
  background: var(--nm-panel);
  border-color: var(--nm-border);
  box-shadow: 0 0 0 1px rgba(124, 103, 233, 0.35), 0 20px 42px rgba(0, 0, 0, 0.46);
}

.side-card::before,
.legend::before,
.page-hero::before,
.menu-grid-card::before,
.page-card::before,
.contact-card::before,
.booking-card::before {
  border-color: rgba(255, 255, 255, 0.58);
  background: color-mix(in srgb, var(--accent-page) 72%, #ffffff);
  box-shadow: 0 0 16px color-mix(in srgb, var(--accent-page) 52%, transparent);
}

p,
.menu-board span,
.contact-list li {
  color: #e5dcff;
}

.chip,
.tag,
.menu-item-card strong,
.stat-box strong,
.info-box strong,
.eyebrow {
  color: #140f24;
  border-color: rgba(255, 255, 255, 0.64);
  text-shadow: none;
}

.eyebrow {
  background: color-mix(in srgb, var(--accent-page) 76%, #ffffff);
}

.scene {
  border-color: rgba(125, 102, 255, 0.68);
  background:
    radial-gradient(circle at 50% -8%, rgba(255, 230, 130, 0.26), transparent 46%),
    linear-gradient(180deg, rgba(28, 23, 51, 0.92), rgba(13, 11, 26, 0.98));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22), 0 28px 50px rgba(0, 0, 0, 0.56);
}

.scene::before {
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.48)),
    repeating-linear-gradient(
      90deg,
      rgba(127, 102, 255, 0.28) 0 30px,
      rgba(60, 228, 255, 0.42) 30px 34px
    );
}

.truck {
  background: linear-gradient(180deg, #ffd4b4, #e5b8ff);
  box-shadow: 0 18px 0 rgba(9, 7, 18, 0.36), 0 0 28px rgba(255, 77, 143, 0.3);
}

.roof-sign,
.menu-board,
.plate,
.service-window::before {
  box-shadow: 0 0 24px color-mix(in srgb, var(--accent-page) 45%, transparent);
}

.cloud-note {
  background: rgba(17, 14, 33, 0.88);
  border-color: rgba(255, 255, 255, 0.55);
}

.cloud-note strong,
.legend-item strong,
.card-title,
.mini-section-title,
.legend h3,
.info-head h2,
h1,
h2.main-title {
  color: #ffffff;
  text-shadow: 0 2px 0 rgba(14, 10, 28, 0.65);
}

.menu-photo,
.hero-image,
.gallery-img {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 0 1px rgba(127, 102, 255, 0.32);
}

input,
select,
textarea {
  background: rgba(16, 14, 30, 0.88);
  color: #faf8ff;
  border-color: rgba(144, 120, 255, 0.6);
}

input::placeholder,
textarea::placeholder {
  color: #bdb0e5;
}

.btn {
  border-color: rgba(255, 255, 255, 0.62);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 12px 22px rgba(0, 0, 0, 0.35);
}

.btn:hover {
  box-shadow: 0 0 20px color-mix(in srgb, var(--accent-page) 50%, transparent), 0 16px 26px rgba(0, 0, 0, 0.4);
}

.status {
  color: #8bffd3;
}

footer {
  background: rgba(9, 8, 18, 0.9);
  border-top-color: rgba(151, 130, 255, 0.56);
}

.footer-copy a {
  color: var(--nm-neon-cyan);
}

@keyframes neonPulse {
  0%,
  100% {
    box-shadow: 0 0 0 1px rgba(116, 96, 228, 0.42), 0 18px 44px rgba(0, 0, 0, 0.5);
  }

  50% {
    box-shadow: 0 0 0 1px rgba(172, 155, 255, 0.68), 0 0 26px rgba(127, 102, 255, 0.28), 0 18px 44px rgba(0, 0, 0, 0.5);
  }
}

.nav,
.flash-band,
.page-hero,
.scene {
  animation: neonPulse 3.8s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .nav,
  .flash-band,
  .page-hero,
  .scene {
    animation: none;
  }
}
