/* Базовые стили */
.header {
  background-color: #ffffff;
  position: fixed;

  width: 100%;
  z-index: 3;
  border-bottom: 1px solid #c0c0c0;
}

/* Фоновое изображение хедера */
.header::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;

  z-index: 2;
}

/* Содержимое хедера */
.header__content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  z-index: 4;
}

.header__logo {
  display: flex;
  align-items: center;
}

.header__logo img {
  max-width: 120px;
}

/* Стиль текста логотипа */
.logo-text {
  font-size: 34px;
  font-weight: bold;
  margin-left: 10px;
}

.logo-text__ol {
  color: #06d125;
  font-weight: 800;
}

.logo-text__serwis {
  color: #08ccfc;
}

.header__nav {
  display: none;
}

.header__contacts {
  display: none;
}

.burger-menu {
  display: block;
  cursor: pointer;
}

.burger-menu img {
  width: 30px;
  /* Удалили filter: invert(1); */
  transition: filter 0.3s ease;
}



/* Оверлей меню */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
 
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out, visibility 0s linear 0.5s;
  z-index: 100;
}

.menu-overlay.open {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

/* Меню */
.menu {
  background-color: #ffffff;
  background-image: url(/assets/images/map.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 20px;
  position: relative;
  transform: translateY(-100%);
  transition: transform 0.5s ease-in-out;
}

.menu.open {
  transform: translateY(0);
}


.menu__close {
  cursor: pointer;
}

.menu__close img {
  width: 25px;

  transition: filter 0.3s ease;
}


.menu__logo {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 30px;
}

.menu__logo img {
  max-width: 100px;
}


.menu__links {
  list-style: none;
  padding: 0;
  margin-top: 80px;
}

.menu__links li {
  margin-bottom: 20px;
}

.menu__links a {
  text-decoration: none;
  color: #000000;
  font-size: 20px;
  padding: 15px 0;
  display: block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.5s ease, background-color 0.5s ease;
}

.menu__links a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #04a6fd;
}


.menu__contacts {
  text-align: center;
  margin-top: auto;
}

.menu__contacts div {
  margin-bottom: 15px;
}

.menu__contacts img {
  width: 20px;
  margin-right: 10px;
}


@media (min-width: 768px) {
  .header {
    background-color: #ffffff;
  }

  .header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
  }

 

  .header__nav {
    display: flex;
    align-items: center;
  }

  .header__nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .header__nav ul li {
    margin-right: 20px;
    color: #000000;
  }

  .header__nav ul li:last-child {
    margin-right: 0;
  }

  .header__nav a {
    text-decoration: none;
   color: #000000;
    font-size: 16px;
    padding: 5px 12px;
    border-radius: 4px;
    transition: color 0.5s ease, background-color 0.5s ease;
  }

  .header__nav a:hover {
    background-color: #fd7004;
    color: #ffffff;
  }

  .header__contacts {
    display: block;
    margin-left: 20px;
  }

  .burger-menu {
    display: none;
  }

  .menu-overlay {
    display: none !important;
  }
}

@media (min-width: 1440px) {
  .header__logo img {
    max-width: 220px;
  }

  .header__nav a {
    font-size: 18px;
  }
}

/* Дополнительные стили для меню */
.menu__email p {
  color: #f9f8f8;
}

.menu__email img {
  width: 40px;
}

.menu__phone img {
  width: 40px;
}

.menu__phone p {
  color: #f9f8f8;
}

.menu__contacts {
  text-align: center;
  margin-top: auto;
}

.menu__contacts div {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu__contacts img {
  width: 40px;
  margin-right: 10px;
}

.menu__email p,
.menu__phone p {
  color: #f9f8f8;
  margin: 0;
  margin-left: 5px;
}

.mini {
  background-color: #00ff00;
}
