/* Reštaurácia Tenis — paleta: smoky black, olive drab, bone, floral white */
:root {
  --black: #11120D;
  --olive: #565449;
  --bone: #D8CFBC;
  --white: #FFFBF4;
  --line: rgba(17, 18, 13, .16);
  --display: "Gloock", Georgia, serif;
  --sans: "Figtree", system-ui, sans-serif;
  --wrap: 1200px;
  --gut: clamp(20px, 5vw, 56px);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 90px; }
html, body { margin: 0; }
body { background: var(--white); color: var(--black); font: 400 18px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--black); color: var(--white); padding: 8px 14px; }
.muted { opacity: .7; }

.display { font: 400 clamp(36px, 4.6vw, 64px)/1.05 var(--display); letter-spacing: -.01em; }
.display--center { text-align: center; }
.eyebrow { font: 600 13px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.eyebrow--lines { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.eyebrow--lines::before, .eyebrow--lines::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.link { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.link:hover { opacity: .7; }

.btn { display: inline-block; padding: 14px 26px; border: 1px solid var(--black); color: var(--black); font: 600 14px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; transition: background .2s, color .2s; }
.btn:hover { background: var(--black); color: var(--white); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: var(--olive); border-color: var(--olive); }
.btn--light { border-color: var(--bone); color: var(--bone); }
.btn--light:hover { background: var(--bone); color: var(--black); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* horný pás + hlavička */
.topbar { background: var(--black); color: var(--bone); font-size: 13px; letter-spacing: .06em; }
.topbar__in { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }
.nav { position: sticky; top: 0; z-index: 30; background: var(--bone); border-bottom: 1px solid var(--line); }
.nav__bar { height: 76px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.nav__side { display: flex; gap: 32px; }
.nav__side--r { justify-content: flex-end; }
.nav__side a { font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav__side a:hover, .nav__side a[aria-current] { border-color: var(--black); }
.nav__logo img { height: 30px; width: auto; }
.nav__toggle, .mnav { display: none; }

/* úvod */
.hero { background: var(--bone); padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero__title { font: 400 clamp(56px, 8.4vw, 124px)/.92 var(--display); letter-spacing: -.02em; margin-bottom: 32px; }
.hero__title span { display: block; }
.hero__title em { display: block; font-style: normal; font-size: .5em; line-height: 1.1; margin-top: 18px; color: var(--olive); }
.hero .eyebrow { margin-bottom: 28px; color: var(--olive); }
.hero__media { position: relative; }
.hero__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; clip-path: url(#blob); }
.hero__dot { position: absolute; left: -48px; bottom: -24px; width: 34%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 10px solid var(--bone); }

/* plné pásy */
.band { position: relative; overflow: hidden; isolation: isolate; padding: clamp(80px, 11vw, 150px) 0; }
.band--dark { background: var(--black); color: var(--white); }
.band--olive { background: var(--olive); color: var(--white); }
.band__shape { position: absolute; inset: auto 0 0 0; width: 100%; height: 55%; z-index: -1; fill: #1d1e18; }
.band__in { max-width: 720px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.band__in .eyebrow { color: var(--bone); margin-bottom: 0; }
.band__in p:not(.eyebrow) { color: var(--bone); max-width: 34em; }
.band__dot { position: absolute; width: clamp(120px, 15vw, 220px); aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.band__dot--l { left: -40px; top: 60px; }
.band__dot--r { right: -30px; bottom: 50px; }

/* obľúbené jedlá: tanier v kruhu */
.favs { padding: clamp(72px, 9vw, 120px) 0; }
.favs__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 56px; }
.fav { margin: 0; text-align: center; }
.fav button { display: block; width: min(100%, 300px); aspect-ratio: 1; margin: 0 auto; padding: 22px; border: 0; border-radius: 50%; background: var(--bone); cursor: zoom-in; transition: transform .4s ease; }
.fav button:hover { transform: scale(1.03); }
.fav img { width: 100%; height: 100%; object-fit: contain; }
.fav figcaption { margin-top: 22px; }
.fav__name { display: block; font: 400 26px/1.15 var(--display); }
.fav__p { display: block; margin-top: 6px; color: var(--olive); font-weight: 600; }

/* recenzie */
.reviews { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; align-items: center; }
.reviews__score .eyebrow { color: var(--bone); }
.reviews__big { font: 400 clamp(96px, 12vw, 160px)/.9 var(--display); }
.reviews__score p:last-child { color: var(--bone); margin-top: 8px; }
.reviews__quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.reviews blockquote { margin: 0; }
.reviews blockquote p { font: 400 24px/1.3 var(--display); }
.reviews blockquote p::before { content: "„"; } .reviews blockquote p::after { content: "“"; }
.reviews blockquote footer { margin-top: 14px; color: var(--bone); font-size: 15px; }

/* oslavy */
.split { padding: clamp(72px, 9vw, 120px) 0; background: var(--white); }
.split__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.split__photo { width: 100%; aspect-ratio: 1; object-fit: cover; clip-path: url(#blob); }
.split .eyebrow { color: var(--olive); }
.split .display { margin-bottom: 20px; }
.split p:not(.eyebrow) { max-width: 30em; margin-bottom: 28px; }
.split .split__note { margin: 28px 0 0; font-size: 16px; color: var(--olive); }

/* galéria */
.gallery { background: var(--bone); padding: clamp(72px, 9vw, 110px) 0 0; }
.gallery__head { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 48px; }
.gallery__head .eyebrow { margin: 0; color: var(--olive); }
.gallery__strip { display: grid; grid-template-columns: repeat(8, 1fr); }
.g { padding: 0; border: 0; background: none; cursor: zoom-in; aspect-ratio: 3 / 4; overflow: hidden; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.g:hover img { transform: scale(1.05); }

/* päta */
.footer { background: var(--black); color: var(--white); padding: 64px 0 32px; font-size: 16px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__logo { width: 170px; }
.footer .eyebrow { color: var(--bone); margin-bottom: 12px; }
.footer p { margin-bottom: 6px; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 2px 18px; margin: 0 0 10px; }
.hours dt, .hours dd { margin: 0; }
.hours .is-today { font-weight: 600; }
.footer__legal { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 48px; padding-top: 18px; border-top: 1px solid rgba(255,251,244,.15); font-size: 13px; color: var(--bone); }

/* jedálny lístok */
.menu-page { padding: 56px 0 110px; }
.menu-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.menu-head .eyebrow { color: var(--olive); margin: 0; }
.menu-head p { color: var(--olive); }
.menu-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 64px; margin-top: 40px; }
.cat-nav ul { position: sticky; top: 100px; list-style: none; margin: 0; padding: 0; }
.cat-nav a { display: block; padding: 6px 0; text-decoration: none; color: var(--olive); }
.cat-nav a:hover, .cat-nav a.is-active { color: var(--black); }
.cat-nav a.is-active { font-weight: 600; }
.cat { margin-bottom: 48px; scroll-margin-top: 100px; }
.cat__title { font: 400 44px/1.1 var(--display); margin-bottom: 12px; }
.cats.is-tabs .cat { display: none; margin: 0; }
.cats.is-tabs .cat.is-active { display: block; }
@media (min-width: 1024px) { .cats.is-tabs .rows { columns: 2; column-gap: 48px; } }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { break-inside: avoid; display: grid; grid-template-columns: 1fr auto; column-gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.rows li.has-img { grid-template-columns: 68px 1fr auto; }
.row__img { grid-row: 1 / 3; width: 68px; height: 68px; padding: 6px; border: 0; border-radius: 50%; background: var(--bone); cursor: zoom-in; }
.row__img img { width: 100%; height: 100%; object-fit: contain; }
.row__name { font-weight: 600; line-height: 1.35; }
.row__w { grid-column: 1; font-size: 15px; color: var(--olive); }
.has-img .row__name, .has-img .row__w { grid-column: 2; }
.row__p { grid-row: 1 / 3; grid-column: -2; font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }

/* zväčšená fotka */
.lightbox { border: 0; padding: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; }
.lightbox::backdrop { background: rgba(17, 18, 13, .92); }
.lightbox[open] { display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; justify-items: center; }
.lightbox figure { margin: 0; grid-column: 2; text-align: center; }
.lightbox img { width: auto; max-width: 86vw; max-height: 78vh; }
.lightbox figcaption { color: var(--white); margin-top: 14px; }
.lightbox__nav, .lightbox__close { background: none; border: 0; color: var(--white); font-size: 44px; line-height: 1; cursor: pointer; width: 52px; height: 52px; }
.lightbox__prev { grid-column: 1; grid-row: 1; } .lightbox__next { grid-column: 3; grid-row: 1; }
.lightbox__close { position: fixed; top: 12px; right: 12px; }

.actionbar { display: none; }

/* tablet */
@media (max-width: 1023px) {
  .nav__bar { grid-template-columns: auto 1fr auto; }
  .nav__side { display: none; }
  .nav__logo { grid-column: 1; }
  .nav__toggle { grid-column: 3; display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; padding: 0 10px; background: none; border: 0; cursor: pointer; }
  .nav__toggle span { display: block; height: 2px; background: var(--black); }
  .mnav { display: flex; flex-direction: column; max-height: 0; overflow: hidden; transition: max-height .3s ease; }
  .menu-open .mnav { max-height: 420px; padding: 4px var(--gut) 20px; border-top: 1px solid var(--line); }
  .mnav a { padding: 14px 0; text-decoration: none; font: 400 26px/1.1 var(--display); border-bottom: 1px solid var(--line); }
  .hero__grid, .split__grid { grid-template-columns: 1fr; }
  .hero__media { max-width: 520px; margin: 0 auto; width: 100%; }
  .hero__dot { left: -12px; }
  .reviews { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .reviews__score .eyebrow { justify-content: center; }
  .gallery__strip { grid-template-columns: repeat(4, 1fr); }
  .menu-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .cat-nav { position: sticky; top: 76px; z-index: 20; background: var(--white); margin: 0 calc(-1 * var(--gut)); padding: 0 var(--gut); border-bottom: 1px solid var(--line); min-width: 0; }
  .cat-nav ul { position: static; display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; padding: 12px 0; }
  .cat-nav a { white-space: nowrap; }
  .cats { min-width: 0; margin-top: 28px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

/* mobil */
@media (max-width: 639px) {
  body { font-size: 17px; padding-bottom: 72px; }
  .topbar__in { justify-content: center; }
  .topbar__in span:first-child { display: none; }
  .nav__bar { height: 62px; }
  .nav__logo img { height: 26px; }
  .cat-nav { top: 62px; }
  .hero { padding: 36px 0 56px; text-align: center; }
  .hero__title { font-size: 58px; }
  .hero .eyebrow { margin-bottom: 22px; }
  .btn-row { flex-direction: column; }
  .btn-row .btn { text-align: center; }
  .hero__grid { gap: 36px; }
  .hero__dot { width: 38%; border-width: 7px; left: -6px; bottom: -14px; }
  .band__dot { width: 96px; }
  .band__dot--l { left: -30px; top: 24px; }
  .band__dot--r { right: -26px; bottom: 20px; }
  .favs__row { grid-template-columns: 1fr; gap: 44px; }
  .fav button { width: 240px; }
  .reviews__quotes { grid-template-columns: 1fr; gap: 28px; }
  .reviews blockquote p { font-size: 21px; }
  .split { text-align: center; }
  .split .eyebrow { justify-content: center; }
  .split p:not(.eyebrow) { margin-left: auto; margin-right: auto; }
  .split .btn { display: block; }
  .gallery__strip { grid-template-columns: repeat(2, 1fr); }
  .footer { text-align: center; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; justify-items: center; }
  .footer .hours { width: max-content; margin: 0 auto 10px; text-align: left; }
  .footer__legal { flex-direction: column; align-items: center; text-align: center; }
  .menu-head .display { font-size: 44px; }
  .cat__title { font-size: 36px; }
  .rows li.has-img { grid-template-columns: 58px 1fr auto; }
  .row__img { width: 58px; height: 58px; }
  .actionbar { display: block; position: fixed; inset: auto 0 0; z-index: 40; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); }
  .actionbar .btn { display: block; text-align: center; }
}

/* ===== animácie ===== */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.curtain { display: none; }
html.js-motion .curtain { display: grid; place-items: center; position: fixed; inset: 0; z-index: 200; background: var(--bone); pointer-events: none; }
.curtain img { width: 160px; }
html.js-motion .hero__text, html.js-motion .hero__media { visibility: hidden; }
.hero__canvas { display: block; width: 100%; aspect-ratio: 4 / 5; clip-path: url(#blob); }
.hero__media { will-change: transform; }
.ln { padding-bottom: .08em; }
.arc { display: block; width: min(100%, 860px); margin: 0 auto -40px; overflow: visible; }
.arc text { font: 400 76px var(--display); fill: var(--black); }
.favs__row { margin-top: 40px; }
@media (max-width: 639px) { .arc { margin-bottom: -10px; } .arc text { font-size: 92px; } }
.arc text { font-size: 62px; }
@media (max-width: 639px) { .arc text { font-size: 70px; } }
.gallery { overflow: hidden; }
.gallery__strip { width: 116%; }

/* galéria – samostatná stránka */
.gal-page { padding: 56px 0 110px; }
.gal-grid { columns: 3; column-gap: 16px; margin-top: 48px; }
.gal-grid .g { display: block; width: 100%; aspect-ratio: auto; margin: 0 0 16px; break-inside: avoid; }
.gal-grid .g:nth-child(3n+2) img { aspect-ratio: 1; }
.gal-grid .g img { width: 100%; height: auto; }
.gal-more { text-align: center; margin-top: 48px; }
@media (max-width: 1023px) { .gal-grid { columns: 2; } }
@media (max-width: 639px) { .gal-grid { columns: 1; } .gal-page { padding-top: 36px; } }

/* galéria na mobile: jeden riadok, posúva sa prstom do strany */
@media (max-width: 639px) {
  .gal-grid { columns: auto; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 32px calc(-1 * var(--gut)) 0; padding: 0 var(--gut) 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .gal-grid::-webkit-scrollbar { display: none; }
  .gal-grid .g { flex: 0 0 78%; margin: 0; scroll-snap-align: center; aspect-ratio: 3 / 4; }
  .gal-grid .g img, .gal-grid .g:nth-child(3n+2) img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
  .gal-more { margin-top: 28px; }
}

/* samostatné stránky */
.sub-page { padding: 56px 0 110px; }
.sub-page .menu-head { margin-bottom: 56px; }
.mnav a[aria-current] { color: var(--olive); }
.reviews__more { margin-top: 28px !important; }
.rev-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 72px; align-items: start; }
.rev-score { position: sticky; top: 110px; background: var(--bone); padding: 40px; }
.rev-score p:not(.reviews__big) { color: var(--olive); margin: 8px 0 24px; }
.bars { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 8px; }
.bars li { display: grid; grid-template-columns: 34px 1fr 40px; gap: 12px; align-items: center; font-size: 15px; }
.bars i { height: 6px; background: rgba(17,18,13,.12); position: relative; }
.bars i::after { content: ""; position: absolute; inset: 0; width: var(--v); background: var(--black); }
.bars b { font-weight: 500; text-align: right; }
.rev-list { display: grid; gap: 48px; }
.rev-list blockquote { margin: 0; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.rev-list p { font: 400 clamp(24px, 2.6vw, 34px)/1.3 var(--display); }
.rev-list p::before { content: "„"; } .rev-list p::after { content: "“"; }
.rev-list footer { margin-top: 16px; color: var(--olive); }
.sub-split { align-items: center; }
.sub-split .display { margin-bottom: 20px; }
.sub-split p { margin-bottom: 20px; max-width: 32em; }
.occasions { list-style: none; margin: 0 0 24px; padding: 0; border-top: 1px solid var(--line); }
.occasions li { padding: 14px 0; border-bottom: 1px solid var(--line); font: 400 24px/1.2 var(--display); }
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.contact__info { display: grid; gap: 36px; }
.contact__info .eyebrow { color: var(--olive); margin-bottom: 10px; }
.contact__info p { margin-bottom: 6px; }
.contact__phone a { font: 400 40px/1.1 var(--display); text-decoration: none; }
.contact__map { width: 100%; height: 560px; border: 0; filter: grayscale(.6) sepia(.2); }
@media (max-width: 1023px) {
  .rev-page, .contact { grid-template-columns: 1fr; gap: 48px; }
  .rev-score { position: static; }
  .contact__map { height: 380px; }
}
@media (max-width: 639px) {
  .sub-page { padding-top: 36px; }
  .sub-page .menu-head { margin-bottom: 36px; }
  .rev-score { padding: 28px 22px; text-align: center; }
  .rev-score .bars { text-align: left; }
  .rev-score .btn { display: block; }
  .sub-split { text-align: center; }
  .sub-split p { margin-left: auto; margin-right: auto; }
  .contact { text-align: center; }
  .contact__info .hours { width: max-content; margin: 0 auto 8px; text-align: left; }
}
@media (min-width: 640px) {
  .gal-grid { columns: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .gal-grid .g { margin: 0; aspect-ratio: 4 / 5; }
  .gal-grid .g img, .gal-grid .g:nth-child(3n+2) img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
}
@media (min-width: 640px) and (max-width: 1023px) { .gal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* priestory */
.gal-sub { margin: 72px 0 32px; font-size: clamp(30px, 3.4vw, 44px) !important; scroll-margin-top: 110px; }
.gal-page .gal-grid { margin-top: 0; }
@media (min-width: 640px) { .gal-grid--wide .g { aspect-ratio: 16 / 10; } }
.rooms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.rooms figure { margin: 0; }
.rooms img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.rooms figcaption { margin-top: 14px; color: var(--olive); }
.rooms figcaption b { display: block; color: var(--black); font: 400 24px/1.2 var(--display); margin-bottom: 4px; }
@media (max-width: 1023px) { .rooms { grid-template-columns: 1fr 1fr; } }
@media (max-width: 639px) {
  .rooms { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .gal-grid--wide .g { flex-basis: 86%; aspect-ratio: 4 / 3; }
  .gal-sub { margin: 48px 0 20px; }
}

/* alergény */
.allergens { margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--line); }
.allergens p { color: var(--olive); max-width: 40em; margin-bottom: 20px; }
.allergens__list { columns: 3; column-gap: 40px; margin: 0; padding-left: 1.4em; font-size: 15px; }
.allergens__list li { padding: 3px 0; break-inside: avoid; }
@media (max-width: 639px) { .allergens__list { columns: 2; } .allergens { text-align: left; } }

/* jedálny lístok: kategórie nad jedlami aj na počítači (výška podľa počtu jedál) */
@media (min-width: 1024px) {
  .menu-layout { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 28px; }
  .cat-nav { position: sticky; top: 76px; z-index: 20; background: var(--white); padding: 14px 0; border-bottom: 1px solid var(--line); }
  .cat-nav ul { position: static; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .cat-nav a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; }
  .cat-nav a:hover { border-color: var(--black); }
  .cat-nav a.is-active { background: var(--black); color: var(--white); border-color: var(--black); }
  .cats { margin-top: 40px; }
  .cats.is-tabs .cat__title { text-align: center; }
}
.menu-page { padding-bottom: 72px; }
.allergens { margin-top: 56px; }
@media (min-width: 1024px) { .cat { scroll-margin-top: 240px; } }
