/* =========================================================
   NAVBAR + LOGO + HAMBURGER FIX
   Súbor: css/navbar-fix.css

   Načítaj ako posledný navbar CSS súbor.
   Funguje na homepage aj podstránkach.
   ========================================================= */

.navbar {
  min-height: 86px;
  padding: 0 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: #ffffff;
  border-bottom: 1px solid var(--border, #e8e8e8);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.logo img {
  display: block;
  width: 260px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 42px;
}

.nav-links a {
  color: var(--black, #050505);
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--orange, #ff3d00);
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  display: block;
  background: var(--black, #050505);
  border-radius: 999px;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease,
    background 0.2s ease;
}

.menu-toggle:hover span {
  background: var(--orange, #ff3d00);
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 960px) {
  .navbar {
    min-height: 78px;
    padding: 16px 18px;
    flex-wrap: wrap;
    align-items: center;
  }

  .logo img {
    width: 220px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 14px 0 2px;
    border-top: 1px solid var(--border, #e8e8e8);
  }

  .nav-links.active,
  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 14px 0;
    font-size: 17px;
  }
}

@media (max-width: 520px) {
  .navbar {
    min-height: 72px;
    padding: 14px 16px;
  }

  .logo img {
    width: 185px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }
}

/* OPRAVA VEĽKOSTI LOGA V NAVBARE */

.navbar {
  min-height: 86px;
  padding: 0 44px;
}

.logo img {
  width: auto;
  height: 70px;
  max-width: none;
  object-fit: contain;
  display: block;
}

/* Tablet / mobil */
@media (max-width: 960px) {
  .navbar {
    min-height: 76px;
    padding: 12px 18px;
  }

  .logo img {
    width: auto;
    height: 54px;
  }
}

@media (max-width: 520px) {
  .navbar {
    min-height: 68px;
    padding: 10px 16px;
  }

  .logo img {
    width: auto;
    height: 48px;
  }
}