@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

/* -----------------------------------------------------------
           ШАПКА 
        ----------------------------------------------------------- */
.hero-header {
  font-family: "Montserrat", sans-serif;

  font-style: normal;
  width: 100%;
  padding: 4px 0;
  background: transparent;

  border-bottom: 1px solid rgba(229, 229, 229, 0.35);
  position: relative;
  top: 0;
  left: 0;
  z-index: 30;
}

.hero-header.hero-header--fixed {
  position: fixed;
}

.hero-header.header-bg {
  background-image: url("../images/header-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(100% + 1px);
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
  pointer-events: none;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

.logo-link {
  display: inline-block;
  text-decoration: none;
}

.logo-link img {
  height: 78px;
  width: auto;
  display: block;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 39px;
}

.nav-list a {
  color: #eee;
  font-size: 14px;
  text-transform: capitalize;
  padding: 8px;
  transition: color 0.3s ease;
}

.nav-list a:hover {
  color: #4ead5d;
  background: rgba(217, 217, 217, 0.25);
  border-radius: 10px;
}

.nav-list a.active {
  color: #4ead5d;
  background: rgba(217, 217, 217, 0.25);
  border-radius: 10px;
}

.nav-list .current-menu-item > a,
.nav-list .current_page_item > a,
.nav-list .current-menu-ancestor > a,
.nav-list .current_page_parent > a {
  color: #4ead5d;
  background: rgba(217, 217, 217, 0.25);
  border-radius: 10px;
}

.social-list {
  display: flex;
  align-items: center;
  gap: 15px;
  list-style: none;
  padding: 8px;
  background: rgba(217, 217, 217, 0.25);
  border-radius: 10px;
}

.social-list a {
  text-decoration: none;
  color: #262626;
  font-size: 16px;
  transition: opacity 0.3s ease;
}

.social-list a:hover {
  opacity: 0.6;
}

.burger {
  display: none;
  width: 30px;
  height: 20px;
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 100;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fff;
  position: absolute;
  transition: all 0.3s ease;
}
.lang-switcher {
  display: flex;
  gap: 24px;
}
ul.lang-switcher li {
    opacity: 0.5;
}
li.current-lang {
    opacity: 1;
}

.burger span:nth-child(1) {
  top: 0;
}
.burger span:nth-child(2) {
  top: 9px;
}
.burger span:nth-child(3) {
  top: 18px;
}

/* АНИМАЦИЯ В КРЕСТИК */
.burger.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 9px;
}

/* -----------------------------------------------------------
   АДАПТИВ 
----------------------------------------------------------- */
@media (max-width: 900px) {
  .burger {
    display: block;
    order: 1;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 40%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 150px;
    transition: right 0.4s ease;
    z-index: 90;
  }

  .main-nav.open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  .nav-list a {
    font-size: 24px; 
  }


  .header-container .social-list {
    display: none;
  }
}


.no-scroll {
  overflow: hidden;
}
@media(max-width:768px){
      .main-nav{
        width: 60%;
    }
}
@media(max-width:530px){
      .main-nav{
        width: 100%;
    }
}