/* Основные стили */
body {
  font-family: Arial, sans-serif;
  background-color: #0a0a0a;
  color: #fff;
  margin: 0;
  padding: 0;
}

/* Шапка и навигация */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  background: rgba(0, 0, 0, 0.85);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  box-sizing: border-box;
  height: 60px;
}

/* Для группировки элементов в шапке */
.header-left {
  display: flex;
  align-items: center;
}

.header-right {
  display: flex;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
}

/* Навигация */
/* Обычный цвет ссылок */
nav a {
    color: #FFFAFA;  /* Белый цвет */
    text-decoration: none; /* Убираем подчеркивание */
    padding: 5px 10px; /* Отступы вокруг текста */
    transition: all 0.3s ease-in-out; /* Плавное изменение */
}

/* Подсветка при наведении */
nav a:hover {
    color: #007bff; /* Золотой цвет при наведении */
    /*text-shadow: 0px 0px 8px #ffffff; !* Свечение *!*/
}

/* Подсветка при активном клике */
nav a:active {
    color: #b5d5ff; /* Оранжевый при клике */
}

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

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #007bff;
}

/* Переключатель языков */
.language-selector {
  font-size: 14px;
  margin-left: 20px;
}

.language-selector a {
  color: #fff;
  text-decoration: none;
  margin: 0 5px;
  transition: color 0.3s;
}

.language-selector a:hover {
  color: #007bff;
}

.language-selector a.lang-active {
  font-weight: bold;
}

/* Адаптив для мобильных устройств */
/* Адаптив для мобильных устройств */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    text-align: center;
    padding: 5px 3%;
    height: auto;
  }

  .header-right {
    margin-top: 5px;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav ul li {
    margin: 5px 0;
  }

  /* Уменьшаем высоту главного экрана */
  .hero {
    height: 70vh;
  }

  /* Поднимаем контент выше */
  .hero-content {
    padding-top: 80px;
  }
}


/* Главный экран */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

#background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: url('./images/veyra.png') no-repeat center center;
  background-size: contain;
  z-index: -2;
}

#lottie-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
}

/* Фотографии пользователей */
.user-photos {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.user-photos img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.user-photos img:hover {
  transform: scale(1.1);
}

/* FAQ - аккордеон */
.faq {
  text-align: center;
  margin: 50px auto;
  max-width: 800px;
}

.faq h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: white;
}

.faq-item {
  margin-bottom: 10px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.faq-question {
  background: #007bff;
  color: white;
  padding: 10px;
  cursor: pointer;
  border: none;
  width: 100%;
  text-align: left;
  font-size: 18px;
  transition: background 0.3s;
  font-weight: bold;
}

.faq-question:hover {
  background: #0056b3;
}

/* Управление отображением ответа */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  opacity: 1;
  padding: 10px;
}

/* Кнопки */
.btn {
  padding: 10px 20px;
  background: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.btn:hover {
  background: #0056b3;
}

/* Модальные окна */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 200;
}

.popup-inner {
  background: #111;
  padding: 20px;
  border-radius: 10px;
  max-width: 500px;
  width: 80%;
  position: relative;
}

.popup-content {
  display: none;
}

/* Секция "Особенности" */
.features {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 10%;
}

.feature {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  max-width: 800px;
}

.feature-icon {
  width: 200px;
  height: auto;
  margin-right: 40px;
}

.feature-text {
  flex: 1;
}

.feature-text h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.feature-text p {
  font-size: 18px;
  line-height: 1.6;
}

/* Секция "О Veyra" */
.about {
  text-align: center;
  padding: 60px 20px;
  background-color: #0a0a0a;
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.about-text {
  max-width: 50%;
  color: #fff;
  font-size: 18px;
  line-height: 1.6;
}

.about-image img {
  max-width: 300px;
  height: auto;
  margin-left: 50px;
  border-radius: 20px;
  box-shadow: 0px 0px 20px rgba(0, 123, 255, 0.5);
}

/* Контакты */
.contact {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 20px;
  background-color: #0a0a0a;
  color: #ffffff;
  margin-top: 100px;
}

.contact-container {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 30px;
  border-radius: 10px;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
}

.contact h2 {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 15px;
}

.contact p {
  font-size: 16px;
  margin-bottom: 10px;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.contact-icon {
  width: 110px;
  height: 100px;
}

/* Объединённое правило для ссылок в секции "Контакты" */
.contact a {
  color: #99CCFF;
  text-decoration: none;
  font-weight: bold;
}

.contact a:hover {
  text-decoration: underline;
}

/* Глобальное правило для всех ссылок на электронную почту */
a[href^="mailto:"] {
  color: #99CCFF !important;
  text-decoration: none;
  font-weight: bold;
}

/* Дополнительные адаптивные стили */

/* Для планшетов и небольших экранов (до 1024px) */
@media (max-width: 1024px) {
  .hero {
    height: 80vh;
  }
  .about-content {
    flex-direction: column;
    text-align: center;
  }
  .about-text,
  .about-image {
    max-width: 100%;
    margin: 0;
  }
  .feature {
    flex-direction: column;
    text-align: center;
  }
  .feature-icon {
    margin: 0 0 20px 0;
  }
}

/* Для мобильных устройств (до 768px) */
@media (max-width: 768px) {
  .hero {
    height: 70vh;
    padding: 0 10px;
  }
  .about-content {
    flex-direction: column;
    text-align: center;
  }
  .about-text {
    max-width: 100%;
  }
  .about-image {
    margin: 20px 0 0 0;
  }
  .features {
    padding: 20px 10%;
  }
}

/* Для очень маленьких экранов (до 480px) */
@media (max-width: 480px) {
  .hero {
    height: 60vh;
  }
  .hero h1 {
    font-size: 24px;
  }
  .hero p {
    font-size: 16px;
  }
  nav ul li a {
    font-size: 14px;
  }
  .about-text {
    font-size: 16px;
  }
  .feature-text h3 {
    font-size: 20px;
  }
  .feature-text p {
    font-size: 16px;
  }
  .contact-container {
    padding: 20px;
  }
}
