/* =============================
   RESET
============================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Vend Sans', sans-serif;
}

/* =============================
   NAVBAR
============================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  z-index: 10000;
}

.navbar-container {
  max-width: 1700px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* =============================
   LOGO
============================= */
.navbar-logo img {
  height: 64px;
}

@media (max-width: 950px) {
  .navbar-logo img {
    height: 54px;
  }
}

/* =============================
   DESKTOP MENU
============================= */
.navbar-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2.2rem;
  font-weight: 600;
}

.navbar-menu a {
  position: relative;
  color: #000;
  text-decoration: none;
  padding-bottom: 4px;
}

.navbar-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #000;
  transition: width .25s ease;
}

.navbar-menu a:hover::after {
  width: 100%;
}

/* =============================
   BISTRO MENU ICON
============================= */
#menu-toggle {
  display: none;
}

.navbar-menu-icon {
  display: none;
  flex-direction: column;
  width: 30px;
  height: 20px;
  justify-content: space-between;
  cursor: pointer;
  z-index: 11000;
}

.navbar-menu-icon span {
  height: 2px;
  background: #000;
}

.navbar-menu-icon span:nth-child(2) {
  width: 70%;
  align-self: flex-end;
}

#menu-toggle:checked + .navbar-menu-icon span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  background: #fff;
}

#menu-toggle:checked + .navbar-menu-icon span:nth-child(2) {
  opacity: 0;
}

#menu-toggle:checked + .navbar-menu-icon span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  background: #fff;
}

/* =============================
   MOBILE PANEL – OPRAVENO
============================= */
.mobile-panel {
  position: fixed;
  inset: 0;
  background: #111;
  color: #fff;

  /* 🔥 klíčová část */
  height: 100dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;

  padding: 4rem 2rem calc(3rem + env(safe-area-inset-bottom));

  display: flex;
  flex-direction: column;
  gap: 2rem;

  transform: translateX(100%);
  transition: transform .4s ease;
  z-index: 9999;
}

#menu-toggle:checked ~ .mobile-panel {
  transform: translateX(0);
}

/* =============================
   PANEL CONTENT
============================= */
.mobile-panel h2 {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
}

.panel-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.panel-links a {
  color: #fff;
  font-size: 1.35rem;
  text-decoration: none;
}

/* CTA */
.panel-btn {
  background: #ffb619;
  padding: 1rem;
  text-align: center;
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
}

/* =============================
   CONTACT – FIX TELEFONU
============================= */
.panel-contact {
  margin-top: auto;
  text-align: center;
  font-size: 1.1rem;
  color: #ddd;
}

/* 🔥 Safari tel auto-style OFF */
.panel-contact a,
.panel-contact strong {
  color: #fff !important;
  text-decoration: none !important;
  font-size: 1.4rem;
  font-weight: 700;
}

/* iOS extra pojistka */
.panel-contact a[href^="tel"] {
  color: inherit;
  text-decoration: none;
}

/* =============================
   RESPONSIVE
============================= */
@media (max-width: 950px) {
  .navbar-menu {
    display: none;
  }

  .navbar-menu-icon {
    display: flex;
  }
}
