/* A PLACC: lisztfehér alap, kemenceszén szöveg, egyetlen kiemelőszín, a paradicsompiros. */
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/cinzel-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cinzel';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/cinzel-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --flour: #fbfaf7;
  --charcoal: #2b2724;
  --oven: #1f1b18;
  --ash: #6b645d;
  --line: #e4dfd8;
  --tomato: #d52b1e;
  --tomato-deep: #b0221a;
  --ember: #f2994a;
  --basil: #2f7d4a;
  --display: 'Cinzel', 'Palatino Linotype', Palatino, Georgia, serif;
  --text: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --wrap: 72rem;
  --pad: clamp(1rem, 4vw, 2rem);
  /* Mozgás: minden áttűnés és animáció ezeket használja */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --dur-fast: 150ms;
  --dur: 250ms;
  --dur-slow: 700ms;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; padding-bottom: calc(4.5rem + env(safe-area-inset-bottom)); background: var(--flour); color: var(--charcoal); font: 400 1.0625rem/1.55 var(--text); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; letter-spacing: .02em; overflow-wrap: break-word; }
h2 { margin: 0 0 1rem; font-size: clamp(1.75rem, 4.5vw, 2.5rem); }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--tomato); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.skip { position: absolute; left: -999rem; }
.skip:focus { left: 1rem; top: 1rem; z-index: 20; padding: .5rem 1rem; background: #fff; }

/* Gombok: legalább 48 px magasak, kerekek, mint a logó korongja */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0 1.4rem; border: 2px solid currentColor; border-radius: 999px; background: none; color: inherit; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn--primary { background: var(--tomato); border-color: var(--tomato); color: #fff; }

/* Fejléc */
.top { display: flex; align-items: center; gap: 2rem; max-width: var(--wrap); margin: 0 auto; padding: 1rem var(--pad); }
.brand { display: inline-flex; flex-direction: column; align-items: center; color: inherit; line-height: 1; text-decoration: none; }
.brand__name { font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: .14em; }
.brand__sub { margin-top: .35rem; font-family: var(--display); font-size: .7rem; letter-spacing: .2em; }
.top__nav, .top__call { display: none; }
.top__nav a, .top__call { font-weight: 600; text-decoration: none; }
.top__call { color: var(--tomato-deep); }

/* Nyitókép */
.hero { display: grid; gap: 2.5rem; max-width: var(--wrap); margin: 0 auto; padding: 1.5rem var(--pad) 3rem; }
.hero h1 { margin: 0 0 1rem; font-size: clamp(2.25rem, 8vw, 4.75rem); line-height: 1.02; }
.hero__lead { max-width: 30rem; margin: 0 0 1.25rem; font-size: 1.1875rem; color: var(--ash); }
.hero__actions { display: none; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* Nyitva/zárva jelzés */
.status { display: flex; align-items: center; gap: .55rem; margin: 0; font-weight: 600; }
.status__dot { flex: none; width: .65rem; height: .65rem; border-radius: 50%; background: var(--ash); }
.status[data-open="true"] .status__dot { background: var(--basil); }

/* A kemence: kupola a felirattal és izzó szájjal. Ide kerül később a kemencéről készült fotó vagy videó. */
.oven { position: relative; justify-self: center; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; width: min(100%, 28rem); aspect-ratio: 5 / 4; overflow: hidden; background: var(--oven); border-radius: 50% 50% .75rem .75rem / 62% 62% .75rem .75rem; }
.oven__name { margin-bottom: 9%; font-family: var(--display); font-weight: 700; font-size: clamp(1.1rem, 5vw, 1.9rem); letter-spacing: .16em; color: var(--flour); }
.oven__mouth { position: relative; width: 48%; aspect-ratio: 10 / 7; overflow: hidden; border-radius: 50% 50% 0 0 / 72% 72% 0 0; box-shadow: 0 0 0 .55rem #39312b; background: radial-gradient(120% 95% at 50% 100%, #ffe3a3 0%, var(--ember) 24%, var(--tomato) 50%, #4a1712 76%, #241310 100%); }
.oven__mouth::after { content: ''; position: absolute; inset: 0; transform-origin: 50% 100%; background: radial-gradient(70% 55% at 50% 100%, rgb(255 236 180 / .85), transparent 70%); animation: flicker 2.8s ease-in-out infinite alternate; }
@keyframes flicker {
  from { opacity: .5; transform: scale(1, .94); }
  45% { opacity: .95; transform: scale(1.05, 1.06); }
  to { opacity: .65; transform: scale(.97, 1); }
}

/* Fotók; a nyitókép a kemence boltívét idéző keretben */
.hero__photo { justify-self: center; width: min(100%, 32rem); aspect-ratio: 5 / 4; margin: 0; overflow: hidden; background: var(--oven); border-radius: 50% 50% .75rem .75rem / 62% 62% .75rem .75rem; }
.hero__photo img, .story__photo img, .cat__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.story__photo { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; border-radius: .75rem; background: var(--line); }
.cat__photo { margin: 1rem 0 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: .75rem; background: var(--line); }

/* Étlap */
.menu { padding: 3rem 0 1rem; border-top: 1px solid var(--line); }
.menu__nav { position: sticky; top: 0; z-index: 5; background: var(--flour); border-bottom: 1px solid var(--line); }
.menu__chips { position: relative; display: flex; gap: .5rem; max-width: var(--wrap); margin: 0 auto; padding: .6rem var(--pad); overflow-x: auto; scrollbar-width: none; }
.menu__chips a { flex: none; display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1rem; border: 1px solid var(--line); border-radius: 999px; font-size: .9375rem; font-weight: 600; text-decoration: none; }
.cat { padding-top: 2.5rem; scroll-margin-top: 4.5rem; }
.cat h3 { margin: 0; font-size: 1.5rem; }
.cat__note { margin: .35rem 0 0; color: var(--ash); }
.items { margin: .75rem 0 0; padding: 0; list-style: none; }
.item { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; padding: .7rem 0; break-inside: avoid; }
.item__row { grid-column: 1 / -1; display: flex; align-items: baseline; gap: .5rem; margin: 0; }
.item__name { font-weight: 600; }
.item__dots { flex: 1 1 1rem; min-width: 1rem; border-bottom: 2px dotted #cbc3b9; }
.item__price { white-space: nowrap; font-weight: 600; font-variant-numeric: tabular-nums; }
.item__desc { grid-column: 1; max-width: 34rem; margin: .2rem 0 0; font-size: .9375rem; line-height: 1.45; color: var(--ash); }
/* Kosárba gomb: csak JavaScripttel jelenik meg, addig telefonon lehet rendelni */
.item__add { grid-column: 2; grid-row: 2 / span 2; align-self: start; min-height: 2.75rem; margin-top: .35rem; padding: 0 1rem; border: 1.5px solid var(--tomato); border-radius: 999px; background: transparent; color: var(--tomato-deep); font: 700 .9375rem/1 var(--text); white-space: nowrap; cursor: pointer; }
.item__add::before { content: '+ '; }
.item__add.is-in { background: var(--tomato); color: #fff; }
.item__add.is-in::before { content: '✓ '; }
.items--compact .item { padding: .35rem 0; }

/* Rendelés: sötét sáv, mint a kemence belseje; benne világos kártyán a kosár */
.order { padding: 3.5rem 0; background: var(--oven); color: var(--flour); }
.order__inner { display: grid; gap: 2.5rem 4rem; align-items: start; }
.order__lead { max-width: 34rem; margin: 0 0 1rem; color: #d9d3cb; }
.order__phone { display: inline-block; margin: 1.25rem 0 1.5rem; font-size: clamp(2.1rem, 9vw, 3.5rem); font-weight: 700; line-height: 1.1; color: #fff; text-decoration: none; font-variant-numeric: tabular-nums; }
.order__alt { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin: 0; color: #d9d3cb; }
.order__demo { max-width: 34rem; margin: 1.5rem 0 0; padding-left: .9rem; border-left: 3px solid var(--ember); font-size: .9375rem; color: #d9d3cb; }
.zones { width: 100%; max-width: 34rem; margin: 1.25rem 0 0; border-collapse: collapse; font-size: .9375rem; }
.zones th, .zones td { padding: .55rem .75rem .55rem 0; border-bottom: 1px solid rgb(255 255 255 / .14); text-align: left; vertical-align: top; }
.zones thead th { font-size: .8125rem; font-weight: 600; color: #a8a097; }
.zones tbody th { font-weight: 600; }
.cart { padding: 1.5rem; border-radius: .75rem; background: var(--flour); color: var(--charcoal); }
.cart__title { margin: 0 0 1rem; font-size: 1.75rem; }
.cart__empty { margin: 0 0 1rem; color: var(--ash); }
.cart__lines { margin: 0 0 1rem; padding: 0; list-style: none; }
.line { display: grid; grid-template-columns: auto 1fr; grid-template-areas: "name name" "qty price"; align-items: center; gap: .35rem .75rem; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.line__name { grid-area: name; font-weight: 600; }
.line__qty { grid-area: qty; display: inline-flex; align-items: center; gap: .25rem; }
.line__qty button { width: 2.75rem; height: 2.75rem; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--charcoal); font-size: 1.25rem; line-height: 1; cursor: pointer; }
.line__qty output { min-width: 1.75rem; text-align: center; font-variant-numeric: tabular-nums; }
.line__price { grid-area: price; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cart__total { display: flex; justify-content: space-between; gap: 1rem; margin: 0 0 1rem; font-size: 1.25rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.cart__msg { margin: 0 0 1rem; font-weight: 600; color: var(--tomato-deep); }
.cart__msg:empty { display: none; }
.cart__call { width: 100%; }
.cart__how { margin: .75rem 0 0; font-size: .9375rem; color: var(--ash); }

/* A kemence és a tészta */
.story { padding: 3.5rem 0; }
.story__inner { display: grid; gap: 1.5rem 3rem; }
.story p { max-width: 36rem; margin: 0 0 1rem; font-size: 1.125rem; }

/* Vélemények */
.reviews { padding: 3.5rem 0; border-top: 1px solid var(--line); }
.reviews__score { display: flex; align-items: baseline; gap: .75rem; margin: 0 0 .5rem; }
.reviews__num { font-family: var(--display); font-size: 3.5rem; font-weight: 700; line-height: 1; }
.reviews__stars { font-size: 1.4rem; letter-spacing: .12em; color: var(--tomato); }
.reviews p { max-width: 36rem; }
.reviews .btn { margin-top: .5rem; }

/* Nyitvatartás és cím */
.visit { padding: 3.5rem 0; border-top: 1px solid var(--line); }
.visit__inner { display: grid; gap: 2rem 4rem; }
.hours { width: 100%; max-width: 24rem; margin: 1rem 0 0; border-collapse: collapse; }
.hours th, .hours td { padding: .55rem 0; border-bottom: 1px solid var(--line); font-weight: 400; text-align: left; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours .is-today > * { font-weight: 700; color: var(--tomato-deep); }
.visit__addr { margin: 0 0 1rem; font-size: 1.1875rem; font-weight: 600; }
.visit__contact p { margin: 0 0 1.25rem; }

/* Lábléc */
.foot { padding: 2.5rem 0 3rem; background: var(--oven); color: #d9d3cb; }
.foot .brand { align-items: flex-start; color: var(--flour); }
.foot p { margin: 1.25rem 0 0; }
.foot a { color: #fff; }
.foot__note { max-width: 42rem; font-size: .875rem; color: #a8a097; }

/* Mobilon alul tapadó gyorsgombok */
.bar { position: fixed; inset: auto 0 0; z-index: 10; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: .5rem; padding: .5rem .75rem calc(.5rem + env(safe-area-inset-bottom)); background: var(--flour); border-top: 1px solid var(--line); }
.bar a { display: flex; align-items: center; justify-content: center; min-height: 3rem; border: 2px solid var(--charcoal); border-radius: 999px; font-weight: 700; text-decoration: none; }
.bar .bar__call { background: var(--tomato); border-color: var(--tomato); color: #fff; }
.bar .bar__cart { border-color: var(--tomato); color: var(--tomato-deep); }

/* Kosár gomb asztali nézetben; mobilon az alsó sáv középső gombja lesz a kosár */
.pill { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 10; display: none; align-items: center; min-height: 3.25rem; padding: 0 1.4rem; border-radius: 999px; background: var(--tomato); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 .5rem 1.5rem rgb(31 27 24 / .3); }

/* Mozgás. Egy betöltési jelenet: a kemence boltíve alulról kinyílik, a szöveg felúszik, a mobilos gombsor beér.
   A többi a látogatóra felel: a fotók görgetéskor érkeznek, az étlapsáv követi a görgetést, a gombok visszajeleznek. */
@keyframes rise { from { opacity: 0; transform: translateY(1.25rem); } }
@keyframes oven-open { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
@keyframes settle { from { transform: scale(1.12); } }
@keyframes bar-in { from { transform: translateY(110%); } }
@keyframes pulse { from { opacity: .55; transform: scale(1); } to { opacity: 0; transform: scale(3.2); } }

.hero h1, .hero__lead, .hero .status, .hero__actions { animation: rise var(--dur-slow) var(--ease) both; }
.hero__lead { animation-delay: 90ms; }
.hero .status { animation-delay: 180ms; }
.hero__actions { animation-delay: 270ms; }
.hero__photo, .oven { animation: oven-open 1s var(--ease) 120ms both; }
.hero__photo img { animation: settle 1.6s var(--ease) 120ms both; }
.bar { animation: bar-in var(--dur-slow) var(--ease) 450ms both; }

.status[data-open="true"] .status__dot { position: relative; }
.status[data-open="true"] .status__dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--basil); animation: pulse 2.4s var(--ease) infinite; }

/* A main.js csak a betöltéskor képernyő alatti fotókra teszi rá; JavaScript nélkül minden látszik */
.reveal { opacity: 0; }
.reveal img { transform: scale(1.08); }
.reveal.is-in { opacity: 1; transition: opacity var(--dur-slow) var(--ease); }
.reveal.is-in img { transform: none; transition: transform 1.2s var(--ease); }

.btn, .bar a, .menu__chips a, .order__phone, .item__add, .pill, .line__qty button { transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur-fast) var(--ease); }
.btn:active, .bar a:active, .menu__chips a:active, .item__add:active, .pill:active, .line__qty button:active { transform: scale(.96); }
.menu__chips a[aria-current] { background: var(--charcoal); border-color: var(--charcoal); color: var(--flour); }

@media (min-width: 40rem) {
  .items--compact { columns: 2; column-gap: 2.5rem; }
  .line { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "name qty price"; }
  .line__price { min-width: 5.5rem; }
}
@media (min-width: 48rem) {
  body { padding-bottom: 0; }
  .bar { display: none; }
  .pill { display: inline-flex; }
  .top__nav { display: flex; gap: 1.75rem; margin-left: auto; }
  .top__call { display: inline; }
  .hero { grid-template-columns: 1.15fr 1fr; align-items: center; padding-block: 3.5rem 5rem; }
  .hero__actions { display: flex; }
  .story__inner:has(.story__photo) { grid-template-columns: 1.1fr 1fr; align-items: center; }
  .cat__photo { aspect-ratio: 3 / 1; }
  .visit__inner { grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (min-width: 64rem) {
  .items { columns: 2; column-gap: 3.5rem; }
  .order__inner { grid-template-columns: minmax(0, 1fr) minmax(24rem, 30rem); }
}
@media (hover: hover) {
  .btn:hover { background: var(--charcoal); border-color: var(--charcoal); color: var(--flour); }
  .btn--primary:hover { background: var(--tomato-deep); border-color: var(--tomato-deep); color: #fff; }
  .btn--light:hover { background: var(--flour); border-color: var(--flour); color: var(--oven); }
  .menu__chips a:hover { border-color: var(--charcoal); }
  .order__phone:hover { color: var(--ember); }
  .item__add:hover { background: rgb(213 43 30 / .08); }
  .item__add.is-in:hover { background: var(--tomato-deep); }
  .line__qty button:hover { border-color: var(--charcoal); }
  .pill:hover { background: var(--tomato-deep); }
}
/* Csökkentett mozgás kérésekor (pl. kikapcsolt Windows-animációknál) nincs elmozdulás, nagyítás és lüktetés, csak áttűnés. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  @keyframes rise { from { opacity: 0; } }
  @keyframes oven-open { from { opacity: 0; } to { opacity: 1; } }
  @keyframes bar-in { from { opacity: 0; } }
  .hero__photo img, .oven__mouth::after, .status[data-open="true"] .status__dot::after { animation: none; }
  .reveal img { transform: none; }
  .btn:active, .bar a:active, .menu__chips a:active, .item__add:active, .pill:active, .line__qty button:active { transform: none; }
}
