/* Γεύσεις Άλλης Εποχής
   The logo's red and ink on a warm paper, the gingham tablecloth as the one recurring detail.
   Geuseis (the logo's own script) for titles and prices, Commissioner for reading. */

:root {
  --red: #BE1E2D;
  --red-deep: #9B1622;
  --ink: #231F20;
  --paper: #FBF8F3;
  --card: #FFFFFF;
  --muted: #6B6361;
  --line: #EAE3D9;
  --grey: #939598;
  --script: "Geuseis", "Commissioner", serif;
  --font: "Commissioner", system-ui, sans-serif;
  --ease: cubic-bezier(.23, 1, .32, 1);
  --gutter: clamp(16px, 4vw, 48px);
  --radius: 18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--paper); -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
a, button { touch-action: manipulation; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-weight: 600; text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.script { font-family: var(--script); font-weight: 400; color: var(--red); letter-spacing: 0; line-height: 1.05; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 60; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

/* The red and white tablecloth */
.gingham {
  height: 14px;
  background-color: #fff;
  background-image:
    linear-gradient(90deg, rgba(190,30,45,.55) 50%, transparent 50%),
    linear-gradient(rgba(190,30,45,.55) 50%, transparent 50%);
  background-size: 14px 14px;
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 24px; border-radius: 999px; background: var(--red); color: #fff; text-decoration: none; font-weight: 600; transition: background .2s ease, transform .16s var(--ease); -webkit-user-select: none; user-select: none; }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn.line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--red-deep); }
  .btn.line:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink); }
}

/* ---------- Home ---------- */
.hero { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 56px var(--gutter) 48px; position: relative; }
.hero > .gingham { position: absolute; inset: 0 0 auto; }
.hero-logo { width: min(78vw, 46svh, 460px); }
.logo-anim { display: block; width: 100%; height: auto; overflow: visible; }
.hero-intro { margin-top: clamp(8px, 2svh, 20px); max-width: 34ch; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.2rem); }
.menu-link { margin-top: clamp(22px, 4svh, 36px); display: inline-flex; align-items: center; gap: 14px; padding: 14px 20px 14px 32px; min-height: 64px; border-radius: 999px; background: var(--red); color: #fff; text-decoration: none; box-shadow: 0 14px 34px -12px rgba(155,22,34,.55); transition: background .2s ease, transform .16s var(--ease), box-shadow .3s ease; -webkit-user-select: none; user-select: none; }
.menu-link-label { font-family: var(--script); font-size: clamp(1.7rem, 3.4vw, 2.1rem); line-height: 1; padding-top: 2px; }
.menu-link svg { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: rgba(255,255,255,.18); stroke: currentColor; fill: none; stroke-width: 2; transition: transform .4s var(--ease); }
.menu-link:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .menu-link:hover { background: var(--red-deep); box-shadow: 0 18px 40px -12px rgba(155,22,34,.6); }
  .menu-link:hover svg { transform: translateX(4px); }
}
.hero-order { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 10px; color: var(--muted); font-size: .95rem; }
.chip { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 18px; border-radius: 999px; font-weight: 600; text-decoration: none; color: #fff; }
.chip.wolt { background: #009DE0; }
.chip.efood { background: #EE2A24; }

/* Logo entrance: the cook first, then the word is written in, then the line below; the spoon keeps steaming */
.logo-anim g { transform-box: fill-box; }
@media (prefers-reduced-motion: no-preference) {
  .logo-anim .lg-fig { transform-origin: 50% 100%; animation: fig-in 1.1s var(--ease) both; }
  .logo-anim .lg-word { animation: write-in 1.3s cubic-bezier(.65, 0, .35, 1) .55s both; }
  .logo-anim .lg-sub { animation: rise-in .9s var(--ease) 1.35s both; }
  .logo-anim .lg-steam path { transform-box: fill-box; transform-origin: 50% 100%; animation: steam 3.2s ease-in-out 1.2s infinite both; }
  .logo-anim .lg-steam path:nth-child(3) { animation-delay: 2s; }
  .hero-intro, .menu-link, .hero-order { animation: rise-in .9s var(--ease) both; }
  .hero-intro { animation-delay: 1.5s; } .menu-link { animation-delay: 1.65s; } .hero-order { animation-delay: 1.8s; }
}
@keyframes fig-in { from { opacity: 0; transform: translateY(18px) scale(.94); } }
@keyframes write-in { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(12px); } }
@keyframes steam { 0%, 100% { opacity: .15; transform: translateY(3px) scaleY(.9); } 50% { opacity: 1; transform: translateY(-2px) scaleY(1.05); } }

.visit { padding: clamp(56px, 10vh, 110px) 0; }
.visit-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 48px); align-items: stretch; }
.visit-card { background: var(--card); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgba(35,31,32,.25); }
.visit-card h2 { font-size: clamp(2.2rem, 4.4vw, 3rem); }
.facts { margin-top: 22px; }
.facts > div { padding: 14px 0; border-top: 1px dashed var(--line); }
.facts dt { font-size: .85rem; color: var(--muted); font-weight: 500; }
.facts dd { font-size: 1.08rem; font-weight: 500; margin-top: 2px; }
.facts a { text-decoration: none; color: var(--red); font-variant-numeric: tabular-nums; }
.visit .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 420px; background: var(--line); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; filter: sepia(.18) saturate(.85); }

/* ---------- Menu ---------- */
.menu-head { background: var(--paper); }
.menu-head-in { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding-top: 14px; padding-bottom: 6px; }
.menu-mark { width: 74px; height: 74px; }
.menu-head h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); }
.menu-call { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); text-decoration: none; font-weight: 600; font-variant-numeric: tabular-nums; }
.menu-call svg { width: 16px; height: 16px; fill: var(--red); }
.cats { position: sticky; top: 0; z-index: 10; background: rgba(251,248,243,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.cats-in { display: flex; gap: 8px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; overscroll-behavior-x: contain; }
.cats-in::-webkit-scrollbar { display: none; }
.cats a { flex: none; min-height: 40px; display: inline-flex; align-items: center; padding: 6px 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; font-weight: 500; font-size: .95rem; transition: background .2s ease, color .2s ease, box-shadow .2s ease; }
.cats a[aria-current] { background: var(--red); color: #fff; box-shadow: none; }
.cats a:active { transform: scale(.97); }

.cat { padding-top: clamp(36px, 6vh, 64px); scroll-margin-top: 58px; }
.cat-title { font-size: clamp(2.4rem, 6vw, 3.6rem); display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.cat-title::after { content: ""; flex: 1; height: 10px; border-radius: 3px; background-image: linear-gradient(90deg, rgba(190,30,45,.45) 50%, transparent 50%), linear-gradient(rgba(190,30,45,.45) 50%, transparent 50%); background-size: 10px 10px; opacity: .6; }

.dishes { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.dish { display: grid; grid-template-columns: 112px minmax(0, 1fr) auto; gap: 16px; align-items: start; background: var(--card); border-radius: var(--radius); padding: 12px 16px 12px 12px; box-shadow: 0 1px 0 var(--line), 0 10px 26px -20px rgba(35,31,32,.35); }
.dish-photo { width: 112px; aspect-ratio: 1; border-radius: 12px; overflow: hidden; display: block; background: var(--line); }
.dish-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.dish-photo.empty { background-color: #fff; background-image: linear-gradient(90deg, rgba(190,30,45,.18) 50%, transparent 50%), linear-gradient(rgba(190,30,45,.18) 50%, transparent 50%); background-size: 16px 16px; }
.dish-body { padding-top: 4px; min-width: 0; }
.dish h3 { font-size: 1.12rem; font-weight: 600; line-height: 1.3; }
.dish-body p { color: var(--muted); font-size: .95rem; line-height: 1.5; margin-top: 4px; }
.price { font-family: var(--script); font-size: 1.55rem; line-height: 1; color: var(--red); white-space: nowrap; padding-top: 4px; }
.sold { color: var(--red) !important; font-weight: 600; font-size: .85rem !important; }
.dish.out .dish-photo, .dish.out h3, .dish.out .price { opacity: .45; }
.dish.out .dish-photo img { filter: grayscale(1); }
@media (hover: hover) and (pointer: fine) { .dish-photo:hover img { transform: scale(1.06); } }

/* Categories without photos read like a printed menu: name, dotted leader, price */
.plain { list-style: none; background: var(--card); border-radius: var(--radius); padding: 6px 22px; box-shadow: 0 1px 0 var(--line), 0 10px 26px -20px rgba(35,31,32,.35); max-width: 640px; }
.plain li { display: flex; align-items: baseline; gap: 10px; padding: 12px 0; }
.plain li + li { border-top: 1px solid var(--line); }
.plain .name { font-weight: 500; }
.plain small { display: block; color: var(--muted); font-size: .88rem; font-weight: 400; }
.plain .dots { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-5px); min-width: 20px; }
.plain .price { font-size: 1.4rem; }
.plain li.out .name, .plain li.out .price { opacity: .45; }
.menu-note { color: var(--muted); font-size: .92rem; padding-top: 40px; padding-bottom: clamp(56px, 10vh, 96px); }

/* Photo lightbox */
.lightbox { margin: auto; border: 0; padding: 0; border-radius: 22px; overflow: hidden; width: min(92vw, 560px); max-height: 92svh; background: var(--card); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.lightbox::backdrop { background: rgba(35,31,32,.6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lightbox img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.lb-text { padding: 18px 22px 22px; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; }
.lb-text h3 { font-size: 1.25rem; }
.lb-desc { grid-column: 1; color: var(--muted); }
.lb-text .price { grid-column: 2; grid-row: 1 / span 2; }
.lb-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.92); font-size: 1.6rem; line-height: 1; box-shadow: 0 4px 14px rgba(0,0,0,.2); }
@media (prefers-reduced-motion: no-preference) {
  .lightbox[open] { animation: pop .35s var(--ease); }
}
@keyframes pop { from { opacity: 0; transform: scale(.94) translateY(10px); } }

/* ---------- Footer ---------- */
.site-foot { background: var(--ink); color: rgba(255,255,255,.75); font-size: .98rem; }
.foot-grid { display: grid; grid-template-columns: auto 1fr 1fr; gap: 28px 56px; align-items: start; padding-top: 44px; padding-bottom: 36px; }
.foot-mark { width: 96px; height: 96px; background: #fff; border-radius: 50%; padding: 8px; }
.foot-title { font-family: var(--script); color: #fff; font-size: 1.6rem; line-height: 1.1; margin-bottom: 6px; }
.site-foot a { color: #fff; text-decoration: none; }
.foot-legal { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-top: 18px; padding-bottom: calc(22px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(255,255,255,.12); font-size: .82rem; color: rgba(255,255,255,.5); }
.credit { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55) !important; }
.credit .heart { display: inline-block; vertical-align: -.22em; margin: 0 .3em; width: 1.15em; height: 1.15em; fill: var(--red); animation: beat 1.8s ease-in-out infinite; transform-origin: 50% 60%; }
@keyframes beat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.16); } 24% { transform: scale(1); } 36% { transform: scale(1.1); } 48% { transform: scale(1); } }
@media (hover: hover) and (pointer: fine) { .site-foot a:hover { color: #ffd9dc; } }

/* ---------- Phones ---------- */
@media (max-width: 760px) {
  .visit-grid, .foot-grid { grid-template-columns: 1fr; }
  .map, .map iframe { min-height: 300px; }
  .dishes { grid-template-columns: 1fr; gap: 10px; }
  .dish { grid-template-columns: 92px minmax(0, 1fr); gap: 4px 14px; padding: 10px 14px 10px 10px; }
  .dish-photo { width: 92px; grid-row: span 2; }
  .dish .price { grid-column: 2; font-size: 1.4rem; padding-top: 2px; }
  .dish h3 { font-size: 1.05rem; }
  .dish-body p { font-size: .92rem; }
  .menu-head-in { grid-template-columns: auto 1fr auto; gap: 10px; }
  .menu-mark { width: 58px; height: 58px; }
  .menu-call span { display: none; }
  .menu-call { width: 44px; padding: 0; justify-content: center; }
  .menu-call svg { width: 18px; height: 18px; }
  .plain { padding: 4px 16px; }
  .foot-mark { width: 80px; height: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .credit .heart { animation: none; }
}

/* 404 */
.lost { min-height: 80svh; }
.lost-mark { width: min(44vw, 200px); height: auto; }
.lost h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-top: 10px; }
