/* NAVBAR */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(37, 99, 235, 0.15);
  width: 100%;
  max-width: 100%;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.nav-logo img {
  height: 80px;
  display: block;
}

/* LINKS */
.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  color: var(--text-color);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--main-blue);
}

/* CTA */
.nav-cta a {
  background: var(--main-blue);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: background 0.25s ease, transform 0.25s ease;
}

.nav-cta a:hover {
  background: var(--main-blue-darker);
  transform: translateY(-1px);
}

/* HAMBURGER */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle .bar {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--main-blue);
  border-radius: 2px;
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* MOBILE MENU (hidden menu) */
@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  /* Ukryte menu zajmujące cały ekran */
  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);

    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;

    padding: 20px 0;
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 14px 0;
    font-size: 18px;
  }

  .nav-cta a {
    width: 100%;
    text-align: center;
    margin-top: 16px;
  }

  /* Animacja hamburgera */
  body.nav-open .nav-toggle .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  body.nav-open .nav-toggle .bar:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .nav-toggle .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  body.nav-open .nav-links {
    transform: translateX(0);
  }
}
