/* Сброс стилей */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  font-size: 17px; /* Шрифт 17px */
  line-height: 1.6;
  color: #333;
  background-color: #f0f8ff;
}

/* Контейнер */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

/* Шапка: меню и логотип */
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.logo img {
  width: 150px;
  height: auto;
}

.menu {
  list-style: none;
  display: flex;
}

.menu li {
  margin-left: 20px;
}

.menu li a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s ease;
}

.menu li a:hover {
  color: #ff7e5f;
}

/* Hero Section с параллаксом */
#hero {
  background: url('assets/hero-background.jpg') no-repeat center center/cover;
  background-attachment: fixed; /* Эффект параллакса */
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}

#hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

#hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.btn-google-play {
  display: inline-flex;
  align-items: center;
  background-color: #3bccff;
  color: #fff;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-google-play:hover {
  background-color: #32a7e2;
}

.google-play-img {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

/* Заголовки секций */
section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 20px;
  color: #ff7e5f;
}
li {
  list-style: none;
}

/* Общие текстовые блоки */
section p,
section ul,
section ol {
  margin-bottom: 20px;
  text-align: center;
}
/* FAQ Block Styles */
.faq-container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px;
  margin-top: 40px;
}

.faq-content {
  flex: 1 1 500px;
}

.faq-image {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.faq-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.faq-item {
  margin-bottom: 20px;
}

.faq-item h3 {
  color: #ff7e5f;
  margin-bottom: 10px;
}

.faq-item p {
  text-align: justify;
  line-height: 1.6;
}

/* Advantages Section */
#advantages ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

#advantages ul li {
  background-color: #feb47b;
  color: #fff;
  padding: 10px 20px;
  margin: 10px;
  border-radius: 5px;
}

/* Description Section: 2 колонки */
.description-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 40px 0;
}

.description-text {
  flex: 1;
  text-align: left;
}

.description-image {
  flex: 1;
  text-align: right;
}

.description-image img {
  width: 100%;
  border-radius: 10px;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 20px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

/* Newsletter Block */
#newsletter-block {
  background-color: #ff7e5f;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}

#newsletter-block h3 {
  margin-bottom: 15px;
  font-size: 2rem;
}

#newsletter-form {
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

#newsletter-form input[type="email"] {
  padding: 10px;
  border: none;
  border-radius: 5px 0 0 5px;
  outline: none;
  width: 250px;
}

#newsletter-form button {
  padding: 10px 20px;
  border: none;
  border-radius: 0 5px 5px 0;
  background-color: #333;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#newsletter-form button:hover {
  background-color: #555;
}

/* Footer */
footer {
  background-color: #333;
  color: #fff;
  padding: 40px 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 20px;
}

.footer-block {
  flex: 1;
  min-width: 220px;
  margin: 10px;
  text-align: center;
}

.footer-block h4 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.footer-block ul {
  list-style: none;
  padding: 0;
}

.footer-block ul li {
  margin: 5px 0;
}

.footer-block ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-block ul li a:hover {
  color: #ff7e5f;
}

.footer-icon {
  width: 250px;
    border-radius: 10px;
    margin: 5px;
    transition: transform 0.3s ease;
}

.footer-icon:hover {
  transform: scale(1.1);
}

footer p {
  text-align: center;
  font-size: 0.9rem;
}

/* Responsive стили */
@media (max-width: 768px) {
  .nav-container {
  }
  .menu {
    flex-direction: column;
    margin-top: 10px;
  }
  .menu li {
    margin: 10px 0;
  }
  .description-container {
    flex-direction: column;
  }
  .description-image {
    text-align: center;
    margin-top: 20px;
  }
}
/* Стили для полупрозрачного оверлея в секции hero */
#hero {
  position: relative;
  background: url('assets/hero-background.jpg') no-repeat center center/cover;
  background-attachment: fixed;
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Черный фон с 50% прозрачностью */
  z-index: 1;
}

#hero .container {
  position: relative;
  z-index: 2;
}
/* Cookie Consent Block */
#cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.95);
  border-top: 2px solid #333;
  padding: 20px;
  text-align: center;
  font-size: 18px; /* Большой шрифт */
  z-index: 1000;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

#cookie-consent p {
  margin: 0;
  padding: 0 10px;
  flex: 1 0 300px;
}

#cookie-consent a {
  color: #ff7e5f;
  text-decoration: underline;
}

#cookie-consent button {
  font-size: 18px; /* Большой шрифт на кнопке */
  padding: 10px 20px; /* Большие кнопки */
  margin: 10px;
  background-color: #ff7e5f;
  border: none;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#cookie-consent button:hover {
  background-color: #e66a50;
}
/* Стили для десктопной версии меню остаются без изменений */

/* Стили для мобильного меню */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #333;
  cursor: pointer;
}
.nav-container img {
  width: 65px;
  border-radius: 50%;
}
/* По умолчанию скрываем мобильное меню (на узких экранах) */
@media (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #f0f8ff; /* Фон меню можно изменить при необходимости */
    position: absolute;
    top: 70px; /* Расположение ниже шапки */
    left: 0;
    padding: 10px 0;
  }
  .menu.active {
    display: flex;
        position: absolute;
        z-index: 29;
  }
  .menu li {
    margin: 10px 0;
    text-align: center;
  }
  /* Отображаем кнопку гамбургера */
  .mobile-menu-toggle {
    display: block;
  }
  /* Для корректного позиционирования контейнера навигации */
  .nav-container {
    position: relative;
  }
}
