/* =========================================================
   BERAN FOOD TRUCK – styly webu
   Barvy a písma jsou v proměnných níže – změna na jednom místě
   se propíše do celého webu.
   ========================================================= */
:root {
  --ink: #0D0D0C;          /* černá */
  --paper: #F1EEE6;        /* krémová */
  --yellow: #F6F08E;       /* žlutá */
  --muted: #8A877F;        /* šedá na tmavém pozadí */
  --muted-dark: #5E5C57;   /* šedá na světlém pozadí */
  --paper-80: rgba(241, 238, 230, .8);
  --paper-70: rgba(241, 238, 230, .7);
  --paper-20: rgba(241, 238, 230, .2);

  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --body: "Inter Tight", "Helvetica Neue", Arial, sans-serif;

  --gutter: 48px;
  --section-y: 140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
.icon { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }

/* ---------- Společné prvky ---------- */
.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; }
.label {
  font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
}
.index {
  font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
}
.link-underline {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 0 0 6px; border-bottom: 1.5px solid currentColor;
  transition: gap .2s ease;
}
.link-underline:hover { gap: 18px; }

.photo { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 900px; height: 100vh; max-height: 1100px;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden; isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; object-position: 50% 40%; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(13,13,12,.5) 0%, rgba(13,13,12,0) 20%, rgba(13,13,12,0) 50%, rgba(13,13,12,.6) 72%, rgba(13,13,12,.9) 100%),
    radial-gradient(ellipse 70% 80% at 45% 45%, rgba(13,13,12,0) 50%, rgba(13,13,12,.5) 100%),
    rgba(74,56,40,.2);
}

.nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px var(--gutter);
}
.logo { display: flex; flex-direction: column; line-height: 1; }
.logo__word { font-family: var(--display); font-size: 30px; letter-spacing: 1px; color: var(--paper); }
.logo__sub { font-family: var(--display); font-size: 13px; letter-spacing: 2px; color: var(--yellow); margin-top: 2px; }
.nav__links { display: flex; gap: 40px; align-items: center; }
.nav__links a { font-size: 13px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; }
.nav__links a:hover { color: var(--yellow); }
.nav__cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 20px; border: 1px solid var(--paper);
  font-size: 12px; font-weight: 600; letter-spacing: 1.5px;
  transition: background .2s, color .2s;
}
.nav__cta:hover { background: var(--paper); color: var(--ink); }
.nav__toggle { display: none; }

.hero__bottom {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px;
  padding: 0 var(--gutter) var(--gutter);
}
.hero__headline { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.hero__kicker { color: var(--yellow); font-size: 13px; font-weight: 600; letter-spacing: 3px; }
.hero h1 { font-size: clamp(56px, 7.2vw, 108px); line-height: .92; letter-spacing: -1px; color: var(--paper); }
.hero__info { width: 340px; flex: none; display: flex; flex-direction: column; gap: 20px; padding-bottom: 10px; }
.status { display: flex; gap: 10px; align-items: center; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; }
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); flex: none; }
.hero__copy { color: var(--paper-80); }
.btn-yellow {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 18px 24px; background: var(--yellow); color: var(--ink);
  transition: filter .2s;
}
.btn-yellow .icon { width: 18px; height: 18px; transition: transform .2s; }
.btn-yellow:hover .icon { transform: translateX(4px); }

/* ---------- (01) Kdo jsme ---------- */
.manifesto {
  background: var(--paper); color: var(--ink);
  padding: var(--section-y) var(--gutter) var(--gutter);
  display: flex; flex-direction: column; gap: 96px;
}
.statement-row { display: flex; gap: 48px; }
.statement-row .index { width: 280px; flex: none; padding-top: 14px; }
.statement { display: flex; flex-direction: column; gap: 40px; align-items: flex-start; }
.statement__text { font-size: clamp(30px, 3.6vw, 52px); font-weight: 500; line-height: 1.12; letter-spacing: -1.5px; }

.editorial-grid { display: flex; gap: 16px; align-items: flex-end; }
.editorial-grid figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.editorial-grid figcaption { display: flex; justify-content: space-between; gap: 16px; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; }
.editorial-grid figcaption span:last-child { color: var(--muted-dark); font-weight: 400; }
.grid-item-1 { width: 43%; flex: none; }
.grid-item-1 .grid-photo { aspect-ratio: 620 / 760; }
.grid-col { flex: 1; }
.grid-col .grid-photo { aspect-ratio: 346 / 420; }
.grid-col--2 { padding-bottom: 120px; }
.grid-col--2 .grid-photo { aspect-ratio: 346 / 520; }
.grid-photo { overflow: hidden; }

/* ---------- (02) Náš příběh ---------- */
.story { background: var(--ink); padding: var(--section-y) var(--gutter); display: flex; flex-direction: column; gap: 80px; }
.story__header { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.story__title { font-size: clamp(96px, 13.9vw, 200px); line-height: .86; }
.story__header .index { color: var(--yellow); }
.story__body { display: flex; gap: 96px; }
.story__portrait { width: 44.5%; flex: none; aspect-ratio: 640 / 820; }
.story__text { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding-top: 24px; flex: 1; }
.story__lead { font-size: clamp(22px, 2.1vw, 30px); font-weight: 500; line-height: 1.25; letter-spacing: -.5px; }
.story__cols { display: flex; gap: 40px; }
.story__cols > div { flex: 1; display: flex; flex-direction: column; gap: 14px; }
.story__cols h3 { color: var(--yellow); }
.story__cols p { color: var(--paper-70); line-height: 1.6; }
.story__detail { height: 300px; }

.stats { display: flex; border-top: 1px solid var(--paper-20); padding-top: 40px; }
.stat { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.stat__value { font-family: var(--display); font-size: clamp(48px, 5vw, 72px); line-height: 1; }
.stat__label { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }

/* ---------- (03) Menu ---------- */
.menu { background: var(--paper); color: var(--ink); padding: var(--section-y) var(--gutter); display: flex; flex-direction: column; gap: 64px; }
.menu__header { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.menu__title { font-size: clamp(64px, 8.3vw, 120px); line-height: .9; }
.menu__note { width: 320px; flex: none; display: flex; flex-direction: column; gap: 12px; }
.menu__note p { color: var(--muted-dark); font-size: 15px; }
.menu__body { display: flex; gap: 64px; align-items: flex-start; }
.menu__list { flex: 1; border-top: 1.5px solid var(--ink); }
.menu-item {
  display: flex; align-items: center; gap: 32px; padding: 28px 0;
  border-bottom: 1px solid rgba(13,13,12,.15);
}
.menu-item__no { width: 40px; flex: none; color: var(--muted-dark); font-size: 12px; font-weight: 600; letter-spacing: 1.5px; }
.menu-item__text { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.menu-item__name { font-size: clamp(32px, 3.3vw, 48px); line-height: 1; }
.menu-item__desc { color: var(--muted-dark); font-size: 15px; line-height: 1.4; }
.menu-item__price { font-family: var(--display); font-size: 32px; white-space: nowrap; }
.menu__feature { width: 32%; flex: none; aspect-ratio: 460 / 652; }

/* ---------- Truck ---------- */
.truck {
  position: relative; height: 783px; overflow: hidden; isolation: isolate;
  display: flex; align-items: flex-end; padding: var(--gutter);
}
.truck img { position: absolute; inset: 0; z-index: -2; }
.truck::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,13,12,0) 60%, rgba(13,13,12,.75) 100%); }
.truck__quote { font-size: clamp(36px, 5vw, 72px); line-height: .95; }

/* ---------- (04) Kde stojíme ---------- */
.find { background: var(--yellow); color: var(--ink); padding: 120px var(--gutter); display: flex; gap: 64px; }
.find__left { flex: 1; display: flex; flex-direction: column; gap: 40px; }
.find__title { font-size: clamp(56px, 6.7vw, 96px); line-height: .92; }
.find__location { display: inline-flex; align-items: center; gap: 16px; font-size: 18px; font-weight: 600; }
.find__location .icon { width: 22px; height: 22px; }
.find__location:hover { text-decoration: underline; }
.hours { width: 520px; flex: none; padding-top: 56px; }
.hours__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 24px 0; border-top: 1.5px solid var(--ink); }
.hours__day { font-size: 14px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.hours__time { font-family: var(--display); font-size: 36px; line-height: 1.1; }
.hours__time--closed { color: rgba(13,13,12,.4); }
.hours__note { border-top: 1.5px solid var(--ink); padding: 24px 0 40px; font-size: 15px; font-style: italic; }
.btn-ink {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; background: var(--ink); color: var(--yellow);
}
.btn-ink .icon { width: 18px; height: 18px; transition: transform .2s; }
.btn-ink:hover .icon { transform: translate(3px, -3px); }

/* ---------- (05) + (06) Catering a práce ---------- */
.cards { background: var(--ink); padding: 16px; display: flex; gap: 16px; }
.card {
  position: relative; flex: 1; height: 760px; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: space-between; padding: 40px;
}
.card > img { position: absolute; inset: 0; z-index: -2; transition: transform .6s ease; }
.card:hover > img { transform: scale(1.03); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13,13,12,.5) 0%, rgba(13,13,12,0) 35%, rgba(13,13,12,.8) 100%); }
.card .index { color: var(--yellow); }
.card__content { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.card__title { font-size: clamp(44px, 4.4vw, 64px); line-height: .95; }
.card__copy { max-width: 440px; color: var(--paper-80); }
.card .link-underline { padding-top: 8px; }

/* ---------- Instagram ---------- */
.instagram { background: var(--paper); color: var(--ink); padding: 120px var(--gutter) 140px; display: flex; flex-direction: column; gap: 40px; }
.instagram__header { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.instagram__handle { font-size: clamp(40px, 6.7vw, 96px); line-height: .9; word-break: break-word; }
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.ig-grid a { aspect-ratio: 1; overflow: hidden; }
.ig-grid img { transition: transform .4s ease, opacity .2s; }
.ig-grid a:hover img { transform: scale(1.05); }

/* ---------- Patička ---------- */
.footer { background: var(--ink); padding: 80px var(--gutter) 32px; display: flex; flex-direction: column; gap: 80px; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; color: var(--paper-80); }
.footer__col h3 { color: var(--yellow); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.footer__col a:hover { color: var(--yellow); }
.footer__wordmark { font-size: clamp(64px, 14.7vw, 212px); line-height: .85; letter-spacing: -1px; text-align: center; white-space: nowrap; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--paper-20); padding-top: 20px; color: var(--muted); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; }

/* =========================================================
   Tablet
   ========================================================= */
@media (max-width: 1100px) {
  :root { --gutter: 32px; --section-y: 100px; }
  .nav__links { gap: 24px; }
  .hero__bottom { flex-direction: column; align-items: flex-start; }
  .hero__info { width: 100%; max-width: 420px; }
  .statement-row { flex-direction: column; gap: 24px; }
  .statement-row .index { width: auto; padding: 0; }
  .story__body { gap: 48px; }
  .menu__body { flex-direction: column; }
  .menu__feature { width: 100%; aspect-ratio: 16 / 10; }
  .find { flex-direction: column; }
  .hours { width: 100%; padding-top: 0; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
}

/* Menu navigace se schová do tlačítka */
@media (max-width: 900px) {
  .nav { position: relative; }
  .nav__toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; padding: 0; border: 1px solid var(--paper);
    background: transparent; color: var(--paper); cursor: pointer;
  }
  .nav__toggle .icon { width: 20px; height: 20px; }
  .nav__toggle .icon-close { display: none; }
  .nav.is-open .nav__toggle .icon-open { display: none; }
  .nav.is-open .nav__toggle .icon-close { display: block; }
  .nav__cta { display: none; }
  .nav__links {
    display: none; position: absolute; top: 100%; left: var(--gutter); right: var(--gutter); z-index: 10;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border: 1px solid var(--paper-20);
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a { padding: 18px 20px; border-bottom: 1px solid var(--paper-20); font-size: 14px; }
  .nav__links a.nav__links-ig { display: flex; align-items: center; gap: 10px; color: var(--yellow); border-bottom: 0; }
}
@media (min-width: 901px) { .nav__links-ig { display: none; } }

/* =========================================================
   Mobil
   ========================================================= */
@media (max-width: 700px) {
  :root { --gutter: 16px; --section-y: 80px; }
  .hero { min-height: 640px; height: 100svh; max-height: 860px; }
  .nav { padding-top: 20px; padding-bottom: 20px; }
  .hero__kicker { font-size: 11px; letter-spacing: 2px; }
  .hero h1 { font-size: clamp(44px, 12.5vw, 64px); }
  .hero__headline br { display: none; }
  .manifesto { gap: 56px; }
  .editorial-grid { flex-direction: column; align-items: stretch; gap: 32px; }
  .grid-item-1 { width: 100%; }
  .grid-item-1 .grid-photo { aspect-ratio: 4 / 5; }
  .grid-col .grid-photo, .grid-col--2 .grid-photo { aspect-ratio: 4 / 5; }
  .grid-col--2 { padding-bottom: 0; }
  .story { gap: 48px; }
  .story__header { flex-direction: column; align-items: flex-start; }
  .story__title { font-size: 26vw; }
  .story__body { flex-direction: column; gap: 32px; }
  .story__portrait { width: 100%; }
  .story__cols { flex-direction: column; gap: 32px; }
  .story__detail { height: 220px; }
  .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 16px; }
  .menu { gap: 40px; }
  .menu__header { flex-direction: column; align-items: flex-start; }
  .menu__note { width: 100%; }
  .menu-item { gap: 14px; padding: 22px 0; align-items: flex-start; }
  .menu-item__no { width: 22px; padding-top: 6px; }
  .menu-item__name { font-size: 30px; }
  .menu-item__price { font-size: 26px; }
  .menu__feature { aspect-ratio: 4 / 5; }
  .truck { height: 560px; }
  .truck__quote br { display: none; }
  .find { padding: 80px var(--gutter); gap: 48px; }
  .hours__time { font-size: 28px; }
  .cards { flex-direction: column; padding: 8px; gap: 8px; }
  .card { height: 560px; padding: 24px; }
  .instagram { padding: 80px var(--gutter); }
  .ig-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .footer { gap: 56px; padding-top: 64px; }
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .footer__wordmark { font-size: 17vw; }
  .footer__bottom { flex-direction: column; }
}

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