.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background-color: transparent;
  transition: all 0.3s ease;
  padding: 20px 0;
}

.header.scrolled {
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header.scrolled a,
.header.scrolled .main-nav ul li a {
  color: #000 !important;
}

.main-nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
}

.main-nav ul li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.3s;
}

/* Изображение логотипа */
.logo img {
  max-height: 40px;
  transition: filter 0.3s;
}

/* Сжимать header при скролле (по желанию) 
.header.scrolled .logo img {
  filter: brightness(0) saturate(100%);
}*/

.header__phone {
  margin-left: auto;
  display: flex;
  align-items: center;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
}

.header__phone a {
  color: white;
  text-decoration: none;
}

.header__phone i {
  margin-right: 8px;
  color: #4ba3f2;
}


@media (max-width: 768px) {
  .header__phone {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 10px;
  }

  .header__phone a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: white; /* или нужный цвет */
    text-decoration: none;
  }
}



@media (max-width: 768px) {
  body {
    padding-top: 100px; /* или столько, сколько высота .header */
  }
}



