/* GLOBAL */
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Red Hat Display", sans-serif;
  background: #ffffff;
  color: #2f2b26;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #e6e2dd;
  z-index: 9999;
  transition: transform 0.35s ease;
}

.navbar--hidden {
  transform: translateY(-100%);
}

.navbar-container {
  max-width: 1300px;
  margin: auto;
  padding: 20px 24px; /* VĚTŠÍ výška */
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* LOGO */
.navbar-logo img {
  height: 60px; /* VĚTŠÍ LOGO */
}

/* DESKTOP MENU */
.navbar-menu {
  display: flex;
  gap: 32px;
}

.navbar-menu li { list-style: none; }

.navbar-menu a {
  text-decoration: none;
  color: #4e4339;
  font-size: 18px;
  font-weight: 500;
  transition: 0.3s;
}

.navbar-menu a:hover {
  opacity: 0.5;
}

/* BUTTON */
.navbar-btn {
  padding: 10px 22px;
  border: 1px solid #4e4339;
  border-radius: 6px;
  color: #4e4339;
  font-weight: 500;
  transition: 0.3s ease;
  text-decoration: none;
}

.navbar-btn:hover {
  background: #4e4339;
  color: white;
}

/* HAMBURGER */
#menu-toggle { display: none; }

.navbar-menu-icon {
  width: 32px;
  height: 24px;
  display: none;
  position: relative;
  cursor: pointer;
  transition: 0.35s ease;
}

/* Pulz efekt */
.navbar-menu-icon:hover {
  transform: scale(1.12);
  opacity: 0.85;
}

/* Lines */
.navbar-menu-icon span {
  position: absolute;
  height: 3px;
  background: #4e4339;
  border-radius: 10px;
  transition: 0.35s ease;
}

.navbar-menu-icon span:nth-child(1) {
  width: 70%; right: 0; top: 0;
}
.navbar-menu-icon span:nth-child(2) {
  width: 100%; left: 0; top: 10px;
}
.navbar-menu-icon span:nth-child(3) {
  width: 60%; left: 0; bottom: 0;
}

/* X animation */
#menu-toggle:checked + .navbar-menu-icon span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
  width: 100%;
}
#menu-toggle:checked + .navbar-menu-icon span:nth-child(2) {
  opacity: 0;
}
#menu-toggle:checked + .navbar-menu-icon span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
  width: 100%;
}

/* MOBILE MENU */
@media (max-width: 860px) {
.navbar-menu-icon {
  display: block;
  position: relative; /* umožní posun */
  left: -10px; /* posune ikonu o 10px vlevo */
}
  .navbar-btn { display: none; }

  .navbar-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border-bottom: 1px solid #e6e2dd;
    flex-direction: column;
    text-align: center;
    display: none;
    padding: 0;
    animation: slideDown 0.35s ease forwards;
  }

  #menu-toggle:checked ~ .navbar-menu {
    display: flex;
    animation: slideUp 0.35s ease forwards;
  }

  @keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  @keyframes slideDown {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 0; transform: translateY(20px); }
  }

  .navbar-menu li {
    padding: 18px 0;
    border-top: 1px solid #eee;
  }

  .navbar-menu-icon {
  display: block;
  position: relative; /* nebo absolute, pokud už je */
  left: -5px; /* posune ikonku 5px vlevo */
}


  .navbar-menu a {
    font-size: 20px;
    display: block;
    padding: 14px 0;
  }
}


