* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

/* Основные стили для body */
body {
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  background-color: #f0f0f0;
}

:root {
  --font-regular: "Roboto", sans-serif;
  --primary-color: #000;
  --hover-color: #f0c040;
  --bg-color: #f1f1f1;
  --shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  --dropdown-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  --font-size-default: 16px;
  --font-size-small: 14px;
  --transition-time: 0.3s;
}

/* Базовые стили body */
body {
  font-family: var(--font-regular);
  background-color: #f0f0f0;
  color: var(--primary-color);
}

/* Стили header */
.header {
  background: var(--bg-color);
  width: 100%;
  padding: 10px 20px;
  box-shadow: var(--shadow);
  border-bottom: 2px solid var(--primary-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Логотип */
.logo img {
  height: calc(2.5rem + 1vw);
  cursor: pointer;
}

/* Навигация */
.navigation {
  display: flex;
  align-items: center;
  gap: 20px;
}

.navigation ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.navigation ul li {
  position: relative;
  text-transform: uppercase;
  font-family: var(--font-bold);
}

.nav-btn {
  text-decoration: none;
  color: var(--primary-color);
  font-size: var(--font-size-small);
  padding: 10px 20px;
  border-radius: 25px;
  transition: all var(--transition-time) ease;
}

.nav-btn:hover {
  background-color: var(--hover-color);
  color: #333;
  box-shadow: var(--shadow);
}

/* Выпадающее меню */
.dropdown {
  display: none;
  position: absolute;
  top: 29px;
  left: -40px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: var(--dropdown-shadow);
  min-width: 180px;
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity var(--transition-time) ease, transform var(--transition-time) ease;
}

.dropdown-menu {
  list-style: none;
  padding: 10px;
}

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu li a {
  display: block;
  color: #333;
  padding: 12px 20px;
  text-decoration: none;
  font-size: var(--font-size-default);
  border-radius: 6px;
  transition: background-color var(--transition-time) ease;
}

.dropdown-menu li a:hover {
  background-color: var(--hover-color);
  color: #333;
}

/* Появление меню при наведении */
.dropdown-parent:hover .dropdown {
  display: block;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Кнопка для мобильного меню */
.menu-toggle {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  position: absolute;
  top: 15px;
  right: 20px;
  z-index: 200;
  color: var(--primary-color);
}

/* Мобильная версия навигации */
@media (max-width: 768px) {
  .navigation ul {
    display: none;
    flex-direction: column;
    background-color: var(--bg-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
    position: absolute;
    top: 80px;
    left: 10px;
    right: 10px;
    padding: 15px;
    z-index: 100;
  }


  .navigation ul.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
  }

  .nav-btn {
    font-size: var(--font-size-default);
    padding: 10px 15px;
  }

  .language-switch {
    margin-right: 50px;
    justify-content: center;
  }

  .language-switch .lang-btn {
    padding: 5px 10px;
    font-size: 12px;
  }

}


.footer-modern {
  margin-top: 50px;
  background: linear-gradient(135deg, #1c1c1c, #333333);
  color: #eaeaea;
  padding: 40px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

/* Логотип */
.footer-logo h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #ff6f61;
  margin-bottom: 10px;
}

.footer-logo p {
  font-size: 0.9rem;
  color: #ccc;
  line-height: 1.6;
}

/* Ссылки */
.footer-links h3,
.footer-contacts h3,
.footer-social h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ff6f61;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  text-decoration: none;
  color: #eaeaea;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ff6f61;
}

/* Контакты */
.footer-contacts p {
  font-size: 0.9rem;
  margin-bottom: 10px;
  line-height: 1.5;
}

.footer-contacts a {
  color: #ff6f61;
  text-decoration: none;
}

.footer-contacts a:hover {
  text-decoration: underline;
}

/* Социальные сети */
.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  font-size: 1.5rem;
  color: #eaeaea;
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
  color: #ff6f61;
  transform: scale(1.2);
}

/* Нижняя часть */
.footer-bottom {
  margin-top: 30px;
  text-align: center;
  font-size: 0.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a {
  color: #ff6f61;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #ff927a;
}


.language-switch {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  /* Выравнивание по правому краю */
  gap: 8px;
  /* Расстояние между кнопками */
  font-size: 16px;
  font-weight: 500;
}

/* Стили для кнопок языка */
.lang-btn {
  text-decoration: none;
  /* Убираем подчеркивание */
  color: #333;
  /* Основной цвет текста */
  padding: 5px 10px;
  border: 1px solid #ccc;
  /* Граница кнопки */
  border-radius: 5px;
  /* Закругленные края */
  background-color: #f9f9f9;
  /* Светлый фон */
  transition: all 0.3s ease;
  /* Анимация при наведении */
}

/* При наведении */
.lang-btn:hover {
  background-color: #333;
  /* Темный фон */
  color: #fff;
  /* Светлый текст */
  border-color: #333;
  /* Темная граница */
}

/* Для активного языка (можно добавлять класс active к выбранному языку) */
.lang-btn.active {
  background-color: #007BFF;
  /* Синий фон */
  color: #fff;
  border-color: #007BFF;
  /* Синяя граница */
  cursor: default;
  /* Неактивный указатель */
}