header {
  width: 100%;
  height: 120px;
  position: fixed;
  top: 0;
  background-color: #f2f2f2;
  z-index: 999;

}

.header--wrapper {
  max-width: 1665px;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 0 5px;
}

.header--left {
  max-width: 564px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* outline: 1px solid red; */
  /* gap: 60px; */
}
.header--left .logo-rent img.desktop {
  display: block;
}
.header--left .logo-rent img.mobile{ 
  display: none;
  width: 25px;
  height: 25px;
}
.header--left .line--mobile{
  display: none;
  width: 1.4px;
  height: 14px;
  background-color: #aaa;
}

.header--right {
  max-width: 514px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* gap: 160px; */
}

/* Mobile menu styles */
.burger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001;
  width: 30px;
  height: 30px;
  justify-content: space-around;
}

.burger-menu span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #000096;
  transition: all 0.3s ease;
  transform-origin: center;
  border-radius: 2px;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%; /* Initially hidden off-screen */
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background-color: #f2f2f2;
  z-index: 1000;
  transition: right 0.4s ease; /* Smooth slide-in effect */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
  box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}

.mobile-menu.active {
  right: 0; /* Slide in when active */
}

.burger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 8px);
}

.burger-menu.active span:nth-child(2) {
  opacity: 0;
}

.burger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -8px);
}

.header--right-mobile {
  max-width: 514px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 90px;
}

.desktop-only {
  display: flex;
}

.header--right .connection {
  display: flex;
  align-items: center;
  gap: 20px;

}

.header--right .connection a {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 26px;
  color: #000096;
  display: flex;
  align-items: center;
  /* gap: 10px; */
}

.header--right .connection .social--links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header--right .language-switcher {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}

.header--right .language-switcher span {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: #000096;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.header--right .language-switcher span:hover {
  background-color: #e0e0ff;
}

/* Mobile menu language switcher */
.header--right-mobile .language-switcher {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}

.header--right-mobile .language-switcher span {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: #000096;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.header--right-mobile .language-switcher span:hover {
  background-color: #e0e0ff;
}
