.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99998;
}

.header__holder {
  display: flex;
  flex-flow: row;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  border: 1px solid #9d9d9d80;
  background: #383838;
  box-shadow: 0px 8px 10px -6px #0000001a;
  border-radius: 16px;
  padding: 5px;
}

.header__logo img {
  max-width: 140px;
  height: auto;
  object-fit: contain;
}

.header__main-menu {
  display: none;
}

.header__holder {
  margin-top: 20px;
  gap: 40px;
}

.header__holder .menu {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  flex: 1;
  gap: 36px;
  list-style-type: none;
  padding: 0;
}

.header__holder .menu .menu-item a {
  font-size: 16px;
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 1.3;
  color: #fff;
}

.menu .menu-item.red-text a {
  color: var(--color-primary);
}

.header__buttons.desktop {
  display: none;
}

.header__buttons.mobile {
  display: flex;
  flex-flow: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.header__button {
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}

.header__menu svg {
  margin-top: 30px;
}

.header__menu .header__menu-close .line {
  width: 24px;
  height: 2px;
  background: #fff;
  display: inline-block;
}

.header__button .line {
  width: 24px;
  height: 2px;
  background: #fff;
  display: inline-block;
}

.header__menu.active {
  transform: unset;
}

.header__menu {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  background: #383838;
  max-width: 320px;
  width: 100%;
  z-index: 99999;
  padding: 60px 20px 40px;
  transform: translateX(200%);
  transition: all 500ms ease;
}

.header__menu .header__menu-close {
  width: 30px;
  height: 30px;
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
}

.header__menu .header__menu-close .line {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.header__menu .header__menu-close .line:first-of-type {
  transform: translate(-50%, -50%) rotate(45deg);
}

.header__menu .header__menu-close .line:last-of-type {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.header__menu ul {
  list-style-type: none;
  padding-left: 0;
  display: flex;
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 12px;
}

.header__menu ul li a {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 12px;
  color: #fff;
}

.desktop-icon-lang {
  display: none;
}

@media only screen and (max-width: 991px) {
  .header__menu ul .menu-item:has(.sub-menu)  > a {
    border-bottom: 1px solid var(--color-primary);
  }
  .header__menu .sub-menu  {
    padding-top: 10px;
  }
  .header__menu .sub-menu li a {
    font-weight: 400;
    font-size: 16px;
  }
}

@media only screen and (min-width: 991px) {
  .header__holder {
    width: fit-content;
    margin: 20px auto auto;
  }

  .header__buttons.desktop {
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
  }

  .header__button {
    display: none;
  }

  .header__main-menu {
    display: flex;
  }

  .desktop-icon-lang {
    display: inline-block;
  }
}

/* Single events header */

.header__single-events {
  position: fixed;
  top: 20px;
  left: 0;
  z-index: 999;
  right: 0;
}

.header__single-events-holder {
  display: flex;
  flex-flow: row;
  align-items: center;
  justify-content: space-between;
  padding: 5px 6px 5px 10px;
  background: var(--color-primary);
  background: linear-gradient(
    270deg,
    rgba(242, 69, 52, 1) 0%,
    rgba(67, 24, 20, 1) 46%
  );
  border-radius: 16px;
}

.header__single-events-menu {
  display: none;
  flex-flow: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 8px;
  list-style-type: none;
  padding-left: 0;
}

.header__single-events-menu-item a {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  color: #fff;
}

.header__single-events-cta {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-primary);
  background: #fff;
  border-radius: 14px;
  padding: 9px 20px;
  display: none;
}

.header__menu .header__single-events-cta {
  display: flex;
  flex-flow: row;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

@media only screen and (min-width: 1024px) {
  .header__single-events-menu {
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }

  .header__single-events-cta {
    display: inline-block;
  }
}

/* Header menu desktop */

@media (min-width: 992px) {
  .header__main-menu .menu > li {
    position: relative;
  }
  .header__main-menu .menu > .menu-item:has(.sub-menu) a {
    display: flex;
    flex-flow: row;
    align-items: center;
    gap: 4px;
  }
  .header__main-menu .menu > .menu-item:has(.sub-menu) a::after {
    content: "";
    width: 16px;
    height: 16px;
    display: inline-block;
    background-color: transparent;
    background-image: url("./../images/arrow-down.png");
    background-size: contain;
  }

  .header__main-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);

    transition: all 0.3s ease;

    pointer-events: none;
  }

  .header__main-menu .menu > li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);

    pointer-events: auto;
  }
}
.header__main-menu .sub-menu {
  min-width: 200px;
  z-index: 100;
}

.header__main-menu .sub-menu {
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  list-style-type: none;
}

.header__main-menu .sub-menu .menu-item a {
  color: var(--color-body);
  transition: all 500ms ease;
}

.header__main-menu .sub-menu .menu-item a:hover {
  color: var(--color-primary);
}
