.menu-item a {
  color: var(--text) !important;
}
.current-menu-parent a,
.current-menu-item a,
.menu-item:hover a {
  color: var(--primary) !important;
}

#navigation {
  background-color: var(--background);
  padding: 0 1em;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 999;

  transition: transform 0.3s ease;

  .open-nav-btn,
  .close-nav-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;

    svg {
      width: 35px;
      height: 35px;
      fill: var(--blue_text);

      path {
        transition: transform 0.3s ease;
        transform-origin: center;
      }
    }

    &:hover .line-mid {
      transform: translateX(60px);
    }
  }

  .menu {
    list-style-type: none;
    display: flex;

    .sub-menu {
      display: none;
      list-style-type: none;

      li {
        padding: 1em;
      }

      a {
        padding: 1em;

        color: var(--text) !important;
      }

      a:hover {
        color: var(--primary) !important;
      }
    }
  }

  .nav-inner {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;

    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .desktop-nav-content {
    display: flex;
    align-items: center;
    flex: 1;

    .nav-menu-wrap {
      flex: 1;
      display: flex;
      justify-content: center; /* menu v strede */

      .menu {
        gap: 1em;
        padding: 1em 0;
        margin: 0;
      }
    }

    .nav-lang-switcher {
      display: flex;
      gap: 0.5em;
      margin-left: auto;

      a {
        color: var(--text);
        font-weight: 600;
        font-size: 0.85rem;

        &.active {
          color: var(--primary);
        }

        &:hover {
          color: var(--primary);
        }
      }
    }

    .menu-item {
      padding: 0.5em 0;
      position: relative;

      .sub-menu {
        position: absolute;
        z-index: 1000;
        padding: 0;
        width: 150px;
        margin-top: 0.5em;
        box-shadow: 0 4px 8px -2px rgba(0, 0, 0, 0.15);
        background-color: var(--background);
      }
    }

    .menu-item-has-children:hover .sub-menu {
      display: block !important;
    }
  }

  .menu-item-has-children > a::after {
    content: "▾";
    margin-left: 4px;
  }

  .mobile-nav-content {
    position: fixed;
    z-index: 9999;
    background-color: var(--background);
    height: 110dvh;
    width: 100dvw;
    top: 0;
    left: 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1em;

    transition: transform 0.2s ease-in-out;

    a {
      font-size: 2em;
      text-transform: uppercase;
      font-weight: light;
    }

    .menu {
      flex-direction: column;
      justify-content: center;
      text-align: center;
      gap: 2em;
      padding: 0;
    }

    .sub-menu {
      position: static;
      box-shadow: none;
      width: 100%;
      margin: 0;
      padding: 0;
    }

    .menu-item-has-children.open > a::after {
      content: "▴";
    }
  }
}

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

.showNav {
  transform: translateY(0);
}

.sub-menu-visible {
  display: block !important;
}

.custom-logo-link img {
  width: auto;
  height: 50px !important;
}
