/* Стили для общего хедера сайта Yadreno */
.yadreno-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 30px;
  font-family: 'Montserrat', 'Inter', 'Roboto', 'Segoe UI', sans-serif;
  transition: all 0.3s ease;
  width: 100%;
  height: 72px;
}

.yadreno-header.light {
  background-color: var(--yd-color-bg-light);
  color: var(--yd-color-text-dark);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.yadreno-header.dark {
  background-color: var(--yd-color-bg-dark);
  color: var(--yd-color-white);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.yadreno-header__left {
  display: flex;
  align-items: center;
}

.yadreno-header__logo {
  height: 48px;
  width: 48px;
  margin-right: 15px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid transparent;
}

.light .yadreno-header__logo {
  border-color: rgba(0, 0, 0, 0.1);
}

.dark .yadreno-header__logo {
  border-color: rgba(255, 255, 255, 0.2);
}

.yadreno-header__brand {
  font-size: 24px;
  font-weight: bold;
  margin-right: 10px;
  text-decoration: none;
  font-family: 'Orbitron', 'Montserrat', sans-serif;
}

.light .yadreno-header__brand {
  color: var(--yd-color-text-dark);
}

.dark .yadreno-header__brand {
  color: var(--yd-color-white);
}

.yadreno-header__separator {
  margin: 0 10px;
  font-weight: bold;
}

.yadreno-header__projects {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.yadreno-header__project-link {
  margin: 0 8px;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.light .yadreno-header__project-link {
  color: var(--yd-color-text-dark);
}

.dark .yadreno-header__project-link {
  color: var(--yd-color-white);
}

.yadreno-header__project-link:hover {
  color: var(--yd-color-cta);
}

.yadreno-header__project-link.active {
  color: var(--yd-color-cta);
  font-weight: bold;
}

.yadreno-header__project-separator {
  margin: 0 2px;
  opacity: 0.5;
}

.yadreno-header__right {
  display: flex;
  align-items: center;
}

.yadreno-header__lang-switcher {
  display: flex;
  align-items: center;
}

.yadreno-header__lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px 8px;
  font-size: 14px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.light .yadreno-header__lang-btn {
  color: var(--yd-color-text-dark);
}

.dark .yadreno-header__lang-btn {
  color: var(--yd-color-white);
}

.yadreno-header__lang-btn.active {
  font-weight: bold;
  color: var(--yd-color-primary);
}

.yadreno-header__lang-separator {
  margin: 0 2px;
  opacity: 0.5;
}

/* Подменю для подпроектов */
.yadreno-submenu {
  display: flex;
  align-items: center;
  padding: 10px 30px;
  background-color: var(--yd-color-bg-light);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 10;
}

.yadreno-submenu__link {
  margin-right: 20px;
  text-decoration: none;
  font-weight: 500;
  color: var(--yd-color-text-dark);
  transition: color 0.3s ease;
  font-size: 14px;
}

.yadreno-submenu__link:hover,
.yadreno-submenu__link.active {
  color: var(--yd-color-cta);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 767px) {
  .yadreno-header {
    flex-direction: column;
    padding: 15px;
    height: auto;
  }
  
  .yadreno-header__left {
    margin-bottom: 10px;
    width: 100%;
    justify-content: space-between;
  }
  
  .yadreno-header__logo {
    height: 40px;
  }
  
  .yadreno-header__projects {
    margin-top: 10px;
    width: 100%;
    justify-content: center;
  }
  
  .yadreno-header__right {
    margin-top: 10px;
  }
  
  .yadreno-submenu {
    overflow-x: auto;
    padding: 10px 15px;
  }
} 