:root {
  --ink: #21181a;
  --burgundy: #6f1425;
  --burgundy-soft: #8f2137;
  --line: rgba(111, 20, 37, 0.2);
  --surface: rgba(255, 255, 255, 0.86);
  --bottom-nav-h: 62px;
}

* {
  box-sizing: border-box;
  font-family: "Courier New", Courier, monospace;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
}

body {
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 20%, rgba(111, 20, 37, 0.14), transparent 44%),
    radial-gradient(circle at 86% 8%, rgba(143, 33, 55, 0.12), transparent 40%),
    linear-gradient(145deg, #fcf8f9 0%, #f7f0f2 48%, #f1e7ea 100%);
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  overscroll-behavior-y: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body {
    scroll-snap-type: none;
  }
}

.glow {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  filter: blur(58px);
  pointer-events: none;
  z-index: -1;
}

.glow-a {
  background: rgba(111, 20, 37, 0.2);
  top: -100px;
  right: -110px;
}

.glow-b {
  background: rgba(143, 33, 55, 0.18);
  bottom: -130px;
  left: -120px;
}

.wrap {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.95rem 1.1rem;
  position: relative;
  z-index: 20;
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  transform: none;
  width: 100%;
  min-height: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom));
  padding:
    0.45rem clamp(14px, 3.2vw, 36px)
    calc(0.45rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(111, 20, 37, 0.32);
  background: transparent;
  border-radius: 0;
  backdrop-filter: none;
  box-shadow: none;
  z-index: 60;
}

.brand {
  letter-spacing: 0.08em;
  font-size: 2rem;
  color: var(--burgundy);
}

.bottom-nav .brand {
  font-size: 1.22rem;
  letter-spacing: 0.06em;
}

.nav-links {
  display: flex;
  gap: 1rem;
}

.nav-links span {
  color: var(--burgundy-soft);
  font-weight: 600;
}

.bottom-nav .nav-links span {
  color: rgba(111, 20, 37, 0.88);
  font-size: 0.9rem;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(22, 7, 11, 0.65), rgba(22, 7, 11, 0.45)),
    url("/hero-top.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.panel {
  height: 100svh;
  height: 100dvh;
  min-height: 100svh;
  min-height: 100dvh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.divider.panel {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 var(--bottom-nav-h);
}

.divider-line {
  width: 2px;
  height: min(70svh, 560px);
  border-radius: 999px;
  background:
    linear-gradient(
      to bottom,
      rgba(111, 20, 37, 0) 0%,
      rgba(111, 20, 37, 0.48) 16%,
      rgba(111, 20, 37, 0.68) 50%,
      rgba(111, 20, 37, 0.48) 84%,
      rgba(111, 20, 37, 0) 100%
    );
  box-shadow: 0 0 22px rgba(111, 20, 37, 0.24);
}

.section.panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 0 calc(1rem + var(--bottom-nav-h));
}

#kontakt.section.panel {
  justify-content: flex-end;
  padding: 1rem 0 calc(1.15rem + var(--bottom-nav-h));
}

h1,
h2,
h3 {
  letter-spacing: 0.03em;
  margin: 0;
  color: var(--burgundy);
}

h1 {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  line-height: 0.95;
  margin-top: 0.5rem;
}

h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
}

.hero-center {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0 calc(1rem + var(--bottom-nav-h));
}

.hero-logo-block {
  text-align: center;
  max-width: 720px;
}

.hero-logo {
  width: min(48vw, 260px);
  height: auto;
  filter: drop-shadow(0 14px 35px rgba(0, 0, 0, 0.5));
}

.hero-tag {
  margin: 0.8rem 0 0;
  color: #f7e8ec;
  font-size: clamp(1rem, 2.1vw, 1.2rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6);
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  background: var(--burgundy);
  color: #fff;
  text-decoration: none;
  padding: 0.78rem 1.2rem;
  border-radius: 999px;
  font-weight: 700;
}

.btn-static {
  cursor: default;
}

.hero .btn {
  margin-top: 1.15rem;
  background: rgba(255, 255, 255, 0.17);
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #ffffff;
  backdrop-filter: blur(4px);
}

.section {
  margin-top: 0;
  padding: 1.2rem 0;
}

.section-copy {
  max-width: 70ch;
  line-height: 1.6;
}

.hours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.15rem 1rem;
}

.hours-grid article {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--line);
}

.hours-grid article.today {
  background: rgba(111, 20, 37, 0.08);
  border-radius: 10px;
  border-bottom: 0;
  padding: 0.8rem 0.7rem;
}

.section-accent {
  background: rgba(111, 20, 37, 0.05);
  border-radius: 14px;
  padding: 1rem;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.8rem;
}

.menu-grid article {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.menu-grid p {
  margin: 0.4rem 0;
}

.menu-grid strong {
  color: var(--burgundy-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.7rem;
}

.contact-grid article {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}

.footer {
  padding: 1.6rem 0 calc(2rem + var(--bottom-nav-h));
  text-align: center;
  font-weight: 600;
  color: var(--burgundy);
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.delay-1 {
  transition-delay: 130ms;
}

@media (max-width: 860px) {
  .bottom-nav {
    min-height: calc(58px + env(safe-area-inset-bottom));
    padding:
      0.38rem clamp(10px, 2.8vw, 20px)
      calc(0.38rem + env(safe-area-inset-bottom));
  }

  .hero-center {
    height: 100%;
    padding: 0.8rem 0 calc(0.8rem + var(--bottom-nav-h));
  }

  .bottom-nav .brand {
    font-size: 1.04rem;
  }

  .bottom-nav .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.38rem 0.62rem;
  }

  .bottom-nav .nav-links span {
    font-size: 0.78rem;
  }
}

@media (max-width: 520px) {
  .bottom-nav {
    min-height: calc(54px + env(safe-area-inset-bottom));
    padding:
      0.34rem 10px
      calc(0.34rem + env(safe-area-inset-bottom));
  }

  .bottom-nav .brand {
    font-size: 0.92rem;
    letter-spacing: 0.04em;
  }

  .bottom-nav .nav-links {
    gap: 0.26rem 0.52rem;
  }

  .bottom-nav .nav-links span {
    font-size: 0.7rem;
  }

  .section-accent {
    border-radius: 14px;
  }

  .divider-line {
    height: min(58svh, 420px);
  }

  .hero-logo {
    width: min(72vw, 230px);
  }

  .hours-grid article,
  .menu-grid article,
  .contact-grid article {
    padding: 0.75rem 0;
  }
}
