/* Polish Kitchen — red and white, after the Polish flag */

:root {
  --flag: #c8102e;        /* Polish flag red (Pantone 186 C) */
  --flag-deep: #8e0b20;   /* hover / headings */
  --blush: #fbecee;       /* light red tint for section backgrounds */
  --white: #ffffff;
  --ink: #231f20;
  --muted: #6b5d5f;
  --leaf: #2f7d4f;        /* only used for the "open now" dot */

  --display: "Young Serif", Georgia, "Times New Roman", serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: clamp(1.6rem, 1.2rem + 1.6vw, 2.25rem);
  --step-3: clamp(2.2rem, 1.4rem + 3.5vw, 3.75rem);

  --wrap: 72rem;
  --space: clamp(3.5rem, 2rem + 6vw, 7rem);
  --radius: 6px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.15;
  color: var(--flag-deep);
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: var(--step-3); }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-1); margin-top: 1.8em; }

p { margin: 0 0 1em; max-width: 62ch; }

a { color: var(--flag); text-underline-offset: 0.2em; }
a:hover { color: var(--flag-deep); }

:focus-visible {
  outline: 3px solid var(--flag-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--flag);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip:focus { top: 1rem; }

.muted { color: var(--muted); }

/* ---------- The signature: peacock-eye pottery band ---------- */
.band {
  height: 28px;
  background-color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='28'%3E%3Ccircle cx='14' cy='14' r='11' fill='%23c8102e'/%3E%3Ccircle cx='14' cy='14' r='6.5' fill='%23ffffff'/%3E%3Ccircle cx='14' cy='14' r='3.5' fill='%23c8102e'/%3E%3Ccircle cx='14' cy='14' r='1.3' fill='%23ffffff'/%3E%3Ccircle cx='42' cy='8' r='2.2' fill='%23c8102e'/%3E%3Ccircle cx='42' cy='20' r='2.2' fill='%23c8102e'/%3E%3Ccircle cx='36' cy='14' r='1.6' fill='%238e0b20'/%3E%3Ccircle cx='48' cy='14' r='1.6' fill='%238e0b20'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn-primary { background: var(--flag); color: var(--white); }
.btn-primary:hover { background: var(--flag-deep); color: var(--white); }
.btn-ghost { border-color: var(--flag); color: var(--flag); }
.btn-ghost:hover { background: var(--flag); color: var(--white); }
.btn-light { background: var(--white); color: var(--flag-deep); }
.btn-light:hover { background: var(--blush); color: var(--flag-deep); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--blush);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.6rem;
  flex-wrap: wrap;
}
.brand img { height: 48px; width: auto; }
.site-header ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.4rem;
  align-items: center;
}
.site-header nav a {
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.95rem;
}
.site-header nav a:hover { color: var(--flag); }
.site-header .nav-call {
  color: var(--white);
  background: var(--flag-deep);
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
}
.site-header .nav-call:hover { color: var(--white); background: #6e0818; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: min(82vh, 720px);
  background: var(--blush);
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-copy {
  align-self: center;
  padding: clamp(2rem, 5vw, 4.5rem);
}
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
}
.status::before {
  content: "";
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--muted);
}
.status.is-open { color: var(--leaf); }
.status.is-open::before { background: var(--leaf); }

/* ---------- Story ---------- */
.story {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-block: var(--space);
}
.story-photo { margin: 0; }
.story-photo img {
  border-radius: 50% 50% var(--radius) var(--radius) / 30% 30% var(--radius) var(--radius);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
  border: 8px solid var(--white);
  box-shadow: 0 0 0 2px var(--flag);
}

/* ---------- Menu ---------- */
.menu {
  background: var(--flag);
  color: var(--white);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.menu h2 { color: var(--white); }
.menu p { margin: 0; color: #ffe3e7; }
.menu-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  flex-wrap: wrap;
}

/* ---------- Gallery ---------- */
.gallery { padding-block: var(--space) calc(var(--space) / 2); }
.grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.grid button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: var(--radius);
  overflow: hidden;
}
.grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.grid button:hover img { transform: scale(1.04); }

.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(92vw, 1100px);
  max-height: 92vh;
}
.lightbox::backdrop { background: rgba(60, 6, 14, 0.9); }
.lightbox img {
  max-height: 80vh;
  width: auto;
  margin-inline: auto;
  border-radius: var(--radius);
}
.lightbox-controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}
.lightbox-controls button {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 0;
  background: var(--white);
  color: var(--flag-deep);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

/* ---------- Reviews ---------- */
.reviews { padding-block: calc(var(--space) / 2) var(--space); text-align: center; }
.review-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.review-links a {
  padding: 0.7rem 1.3rem;
  border: 2px solid var(--blush);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}
.review-links a:hover { border-color: var(--flag); color: var(--flag); }

/* ---------- Visit ---------- */
.visit { background: var(--blush); padding-block: var(--space); }
.visit-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
address { font-style: normal; }
address a { font-weight: 600; }

.hours { border-collapse: collapse; width: 100%; max-width: 24rem; }
.hours th, .hours td {
  text-align: left;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid rgba(200, 16, 46, 0.18);
  font-weight: 400;
}
.hours td { text-align: right; }
.hours tr.today { background: var(--white); }
.hours tr.today th, .hours tr.today td { font-weight: 700; color: var(--flag-deep); }
.hours tr.today th::after {
  content: " (today)";
  font-weight: 400;
  color: var(--muted);
}

.map { display: grid; gap: 1rem; justify-items: start; }
.map iframe {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 0 0 2px var(--flag);
}

/* ---------- Menu page ---------- */
.site-header nav a[aria-current="page"] {
  color: var(--flag);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}
.page-head {
  background: var(--blush);
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}
.page-head p { font-size: var(--step-1); line-height: 1.5; margin: 0; }

.menu-embed { padding-block: clamp(2.5rem, 5vw, 4rem); }
.sp-menu {
  min-height: 24rem; /* holds space while the menu loads */
  max-width: 56rem;
  margin-inline: auto;
}
.sp-menu iframe { max-width: 100%; }
.menu-fallback {
  text-align: center;
  margin: 2.5rem auto 0;
  color: var(--muted);
}

.menu-cta {
  background: var(--flag);
  color: var(--white);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.menu-cta h2 { color: var(--white); }
.menu-cta p { margin: 0; color: #ffe3e7; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--flag-deep);
  color: #f6d3d8;
  padding-block: 1.5rem;
  font-size: 0.9rem;
}
.site-footer p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-media img { aspect-ratio: 16 / 10; height: auto; }
  .story, .visit-inner { grid-template-columns: 1fr; }
  .story-photo { max-width: 22rem; }
}
@media (max-width: 560px) {
  .header-inner { justify-content: center; }
  .site-header ul { justify-content: center; gap: 0.25rem 1rem; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .menu-inner .btn, .actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
