/* ===================================================================
   MotolMixFusion — "večerní" stránka (příběh, catering, oslavy)
   Paleta navazuje na hlavní web, ale těžiště je tmavší a teplejší —
   signatura: časová osa den→večer v hero sekci.
   =================================================================== */

:root {
  --ink: #241c18;
  --wine: #6b2d33;
  --wine-deep: #4a1f24;
  --gold: #c9a15a;
  --teal: #4b7c72;
  --terracotta: #c9713f;
  --cream: #f7f2e9;
  --cream-dim: #efe6d4;
  --text: #3a322b;
  --line: rgba(36, 28, 24, 0.12);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Work Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap2 { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* ---------- topbar ---------- */
.topbar2 {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.topbar2-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 20px;
  flex-wrap: wrap;
}
.logo2 { font-family: var(--font-display); font-weight: 600; font-size: 20px; }
.logo2 span { color: var(--wine); }
.topnav2 { display: flex; gap: 24px; flex-wrap: wrap; }
.topnav2 a {
  text-decoration: none;
  font-weight: 500;
  font-size: 14.5px;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}
.topnav2 a:hover { border-color: var(--terracotta); }
.day-link {
  text-decoration: none;
  font-weight: 600;
  font-size: 13.5px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 8px 14px;
  white-space: nowrap;
}
.day-link:hover { border-color: var(--terracotta); }

/* ---------- language switcher ---------- */
.lang-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s ease, transform 0.12s ease;
}
.lang-btn:hover { border-color: var(--terracotta); transform: translateY(-1px); }

.lang-overlay {
  position: fixed;
  inset: 0;
  background: rgba(36, 28, 24, 0.5);
  z-index: 40;
}

.lang-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 14px;
  width: min(320px, calc(100vw - 48px));
  z-index: 50;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  overflow: hidden;
}
.lang-popup-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--ink);
}
.lang-close {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: var(--text);
  padding: 4px;
  line-height: 1;
}
.lang-close:hover { color: var(--terracotta); }

.lang-options {
  list-style: none;
  margin: 0;
  padding: 8px;
}
.lang-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 12px 12px;
  font-family: var(--font-body);
  font-size: 15px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--text);
  transition: background 0.12s ease;
}
.lang-option:hover { background: var(--cream-dim); }
.lang-option.active { background: rgba(107, 45, 51, 0.12); font-weight: 600; color: var(--wine); }
.flag { font-size: 20px; }

/* ---------- hero ---------- */
.hero2 {
  background: linear-gradient(180deg, var(--ink) 0%, var(--wine-deep) 100%);
  color: var(--cream);
  padding: 84px 0 64px;
}
.hero2-inner { max-width: 680px; }
.eyebrow2 {
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 13px;
  margin: 0 0 16px;
}
.eyebrow2.on-dark { color: var(--gold); }
h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 4.6vw, 48px);
  line-height: 1.15;
  margin: 0 0 20px;
}
.lede2 {
  font-size: 17.5px;
  max-width: 54ch;
  opacity: 0.88;
  margin: 0 0 40px;
}
.lede2.on-dark { color: var(--cream); }

/* timebar signature */
.timebar { margin: 0 0 40px; }
.timebar-track {
  position: relative;
  height: 6px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--terracotta) 55%, var(--wine) 100%);
  opacity: 0.9;
}
.timebar-fill { display: none; }
.timebar-point {
  position: absolute;
  top: -5px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.timebar-point::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--cream);
  border: 3px solid var(--ink);
  display: block;
}
.timebar-point.active::before { background: var(--gold); border-color: var(--gold); }
.timebar-point span {
  margin-top: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
}
.timebar-point small {
  font-size: 11.5px;
  opacity: 0.75;
  white-space: nowrap;
}

.hero2-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn2 {
  display: inline-block;
  padding: 14px 26px;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  border-radius: 8px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, opacity 0.12s ease, background 0.12s ease;
  font-family: var(--font-body);
}
.btn2-primary { background: var(--terracotta); color: #fff; }
.btn2-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn2-ghost { border-color: var(--cream); color: var(--cream); }
.btn2-ghost:hover { background: var(--cream); color: var(--ink); }
.btn2-light { background: var(--cream); color: var(--ink); }
.btn2-light:hover { background: var(--gold); }

/* ---------- story ---------- */
.story { padding: 88px 0; }
.story-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 800px) { .story-grid { grid-template-columns: 1fr; } }
.story-photo {
  aspect-ratio: 4/5;
  background: var(--cream-dim);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: rgba(58,50,43,0.45);
  font-size: 13.5px;
}
.story-text h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 34px);
  margin: 0 0 20px;
  color: var(--ink);
}
.story-text p { margin: 0 0 16px; font-size: 16px; }

/* ---------- evening banner ---------- */
.evening {
  background: var(--wine);
  color: var(--cream);
  padding: 72px 0;
  text-align: center;
}
.evening h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px,3.6vw,36px); margin: 0 0 16px; }
.evening .lede2 { margin-left: auto; margin-right: auto; }
.evening-actions { display: flex; justify-content: center; }

/* ---------- offers (catering / oslavy) ---------- */
.offer { padding: 88px 0; }
.offer-alt { background: var(--cream-dim); }
.offer-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.offer-grid-rev { grid-template-columns: 0.95fr 1.05fr; }
@media (max-width: 800px) {
  .offer-grid, .offer-grid-rev { grid-template-columns: 1fr; }
  .offer-grid-rev .offer-photo { order: -1; }
}
.offer h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 34px);
  margin: 0 0 18px;
  color: var(--ink);
}
.offer p { font-size: 16px; margin: 0 0 18px; }
.offer-points { margin: 0 0 26px; padding: 0; list-style: none; }
.offer-points li {
  padding: 10px 0 10px 26px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  position: relative;
}
.offer-points li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}
.offer-photo {
  aspect-ratio: 4/3;
  background: var(--cream-dim);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  color: rgba(58,50,43,0.45);
  font-size: 13.5px;
}
.offer-alt .offer-photo { background: #fff; }

/* ---------- contact ---------- */
.contact2 { padding: 80px 0 96px; }
.contact2-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 800px) { .contact2-grid { grid-template-columns: 1fr; } }
.contact2 h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(24px,3.2vw,32px); margin: 0 0 14px; color: var(--ink); }
.contact2-list { list-style: none; margin: 0; padding: 0; }
.contact2-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.contact2-list li span:first-child {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--wine);
}

/* ---------- footer ---------- */
.site-footer2 { background: var(--ink); color: rgba(247,242,233,0.65); padding: 24px 0; font-size: 12.5px; }
.footer2-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer2-inner a { text-decoration: none; color: var(--gold); font-weight: 600; }

/* ---------- inquiry popup (shared pattern) ---------- */
.pop-overlay { position: fixed; inset: 0; background: rgba(36,28,24,0.5); z-index: 40; }
.pop-panel {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 14px;
  width: min(420px, calc(100vw - 48px));
  max-height: 88vh;
  overflow-y: auto;
  z-index: 50;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.pop-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid var(--line);
  font-weight: 600; font-family: var(--font-display); color: var(--ink);
}
.pop-close { background: none; border: none; font-size: 16px; cursor: pointer; color: var(--text); padding: 4px; }
.pop-close:hover { color: var(--terracotta); }
.pop-form { display: flex; flex-direction: column; gap: 14px; padding: 20px; }
.pop-form label { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.pop-form input, .pop-form textarea {
  font-family: var(--font-body); font-size: 15px; font-weight: 400;
  padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 8px;
  background: var(--cream); color: var(--text);
}
.pop-form input:focus, .pop-form textarea:focus { outline: none; border-color: var(--teal); }
.pop-hint { font-size: 12.5px; color: var(--text); opacity: 0.65; margin: 0; line-height: 1.4; }

/* ---------- mobile ---------- */
@media (max-width: 480px) {
  .wrap2 { padding: 0 18px; }
  .hero2 { padding: 52px 0 44px; }
  h1 { font-size: 27px; }
  .lede2 { font-size: 15.5px; }
  .hero2-actions { flex-direction: column; }
  .btn2 { width: 100%; text-align: center; }
  .story, .offer, .evening, .contact2 { padding: 52px 0; }
  .timebar-point span { font-size: 11.5px; }
  .timebar-point small { display: none; }
  .topnav2 { display: none; }
}

/* ---------- menu (index2) — stejná struktura jako index.html ---------- */
.dept2 { padding: 68px 0; border-bottom: 1px solid var(--line); }
.dept2-head { margin-bottom: 24px; }
.dept2-head-with-img { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.dept2-head-img { width: 304px; height: auto; aspect-ratio: 1760 / 576; object-fit: contain; border-radius: 14px; flex-shrink: 0; }
@media (max-width: 700px) { .dept2-head-img { width: 100%; } }
.dept2-num {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--terracotta);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.dept2-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(26px, 3.6vw, 34px);
  margin: 0;
  color: var(--ink);
}
.note2 {
  font-size: 14px;
  color: var(--teal);
  background: rgba(75, 124, 114, 0.1);
  display: inline-block;
  padding: 8px 14px;
  border-radius: 6px;
  margin: 10px 0 0;
}

.board2 {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
}
@media (max-width: 720px) {
  .board2 { grid-template-columns: 1fr; }
}
.board2-col h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  margin: 0 0 6px;
}
.board2-col h3.mt2 { margin-top: 28px; }

.menu2-list { list-style: none; margin: 0; padding: 0; }
.menu2-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.menu2-list li .dots2 {
  flex: 1;
  border-bottom: 1px dotted var(--line);
  transform: translateY(-4px);
}
.price2 { font-weight: 600; color: var(--terracotta); white-space: nowrap; }

.dish2-trigger {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s ease, color 0.15s ease;
}
.dish2-trigger:hover, .dish2-trigger:focus-visible {
  color: var(--terracotta);
  text-decoration-color: var(--terracotta);
}

.allergen-note2 {
  margin-top: 28px;
  font-size: 13px;
  color: var(--text);
  opacity: 0.65;
  max-width: 70ch;
}

.dish2-popup-body { padding: 20px; }
.dish2-block-label {
  font-weight: 600;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--teal);
  margin: 14px 0 4px;
}
.dish2-block-label:first-child { margin-top: 0; }
#dish2Weight, #dish2Ingredients, #dish2Allergens {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 480px) {
  .menu2-list li { font-size: 14px; }
  .dept2 { padding: 48px 0; }
}


.g2 { font-size: 12.5px; opacity: 0.55; margin-left: 2px; white-space: nowrap; }

.dish-photo {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 4px;
}

.dish2-meta { font-weight: 600; color: var(--terracotta); font-size: 14px; margin: 0 0 4px; }
.dish2-order-link {
  display: block;
  text-align: center;
  margin-top: 18px;
  padding: 12px;
  background: var(--terracotta);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
}
.dish2-order-link:hover { opacity: 0.9; }
