@import url('https://fonts.googleapis.com/css2?family=Open+Sans+Hebrew&display=swap');

body {
    font-family: 'Open Sans Hebrew', sans-serif;
    background: #151c24;
    color: #ffffff;
    direction: rtl;
    text-align: right;
    margin: 0;
}

/* Фон на всю ширину и 90% высоты экрана */
.hero {
    position: relative;
    width: 100%;
    background: url('/photo/back3.webp') no-repeat center center;
    background-size: cover; /* Растягиваем фон полностью */
    background-position: center; /* Центрирование фонового изображения */
    display: flex;
    align-items: center;
    justify-content: center; /* Центрирование содержимого */
    height: 100vh;
    text-align: center; /* Центрирование текста */
}

/* Затемняющий градиент снизу вверх */
.hero::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    background: linear-gradient(to top, #1a212b 0%, rgba(21, 28, 36, 0.6) 40%, rgba(21, 28, 36, 0) 100%);
    z-index: 1;
}

/* Контейнер с текстом */
.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center; /* Центрирование текста */
    max-width: 900px;
    margin: 0 auto; /* Центрирование блока */
}

/* Заголовок на всю ширину и по центру */
.hero h1 {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center; /* Центрирование */
    width: 100%;
    color: #ffffff; /* Белый текст */
    position: relative;
    text-shadow:
        -2px -2px #00BCD4,  /* Голубая тень слева */
         2px 2px #c32b9d;  /* Розовая тень справа */
    letter-spacing: 1px;
}


/* Описание */
.hero p {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 30px;
    text-align: center; /* Центрирование */
}

/* Кнопка */
.hero-button {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(45deg, #00BCD4, #c32b9d);
    color: #fff;
    font-size: 22px;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    text-decoration: none;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.4);
    margin: 0 auto; /* Центрирование */
    text-align: center;
}

/* Эффект при наведении */
.hero-button:hover {
    background: linear-gradient(45deg, #00a5c1, #b2228c);
    transform: scale(1.05);
    box-shadow: 7px 7px 20px rgba(0, 0, 0, 0.5);
}

/* Информация о квесте */
.info-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 40px 20px;
}

.info-block {
    background: linear-gradient(178deg, #28323e, #263845);
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    width: 30%;
    min-width: 200px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.4);
}

.info-block h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #00ffff;
}

/* Информационный блок о ценности квеста */
.quest-value {
    background: #1a212b;
    color: #ffffff;
    text-align: center; /* Центрирование текста */
    padding: 50px 20px;
}

.quest-value h2 {
    font-size: 32px;
    color: #00BCD4;
    margin-bottom: 30px;
}


.quest-value p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 15px auto; /* Центрирование и отступ снизу */
    line-height: 1.6;
}


/* Форма регистрации */
.register {
    text-align: center;
    padding: 50px 20px;
}

.register form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.register input {
    font-family: 'Open Sans Hebrew', sans-serif;
    padding: 12px;
    border: 2px solid;
    border-image-source: linear-gradient(45deg, #8d2fb5, #c32b9d);
    border-image-slice: 1;
    background-color: #1a212b;
    color: #fff;
    font-size: 18px;
    text-align: center;
    border-radius: 5px;
}

/* Кнопка регистрации */
.login-button {
    font-family: 'Open Sans Hebrew', sans-serif;
    background: linear-gradient(178deg, #28323e, #263845);
    color: #fff;
    border: 3px solid;
    border-image-source: linear-gradient(45deg, #8d2fb5, #c32b9d);
    border-image-slice: 1;
    padding: 12px 25px;
    font-size: 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.4);
}

.login-button:hover {
    background: #444;
}

footer {
    text-align: center;
    padding: 20px;
    background: #263845;
}

/* Стили для блока FAQ */
.faq {
    background: #1a212b;
    padding: 60px 20px;
    text-align: center;
}

.faq h2 {
    font-size: 32px;
    color: #00BCD4;
    margin-bottom: 30px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #263845;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease, transform 0.2s ease;
    cursor: pointer;
}

.faq-item h3 {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 10px;
}

.faq-item p {
    font-size: 18px;
    color: #cccccc;
    line-height: 1.6;
    display: none; /* По умолчанию скрываем текст */
}

/* Эффект при наведении */
.faq-item:hover {
    background: #2e3d50;
    transform: scale(1.02);
}

/* Раскрытие текста при клике */
.faq-item.active p {
    display: block;
}

/* Блок с ценой */
.quest-price {
    background: #151c24;
    color: #ffffff;
    text-align: center;
    padding-top: 50px;
    padding-right: 20px;
    padding-bottom: 100px;
    padding-left: 20px;
}

/* Заголовок */
.quest-price h2 {
    font-size: 36px;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: bold;
}

/* Контейнер для горизонтального расположения */
.price-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

/* Отдельный блок с информацией */
.price-box {
    background: #151c24;
    padding: 20px;
    flex: 1;
    text-align: center;
}

.price-box p {
    font-size: 20px;
    margin: 5px 0;
}

/* Цена крупным шрифтом */
.price {
    font-size: 30px !important; /* Принудительное применение */
    font-weight: bold;
    color: #00BCD4;
}


/* Разделительная полоса */
.separator {
    width: 3px;
    height: 60px;
    background: #00BCD4;
}

/* Секция CTA */
.cta {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
}

/* Фоновое изображение с параллакс-эффектом */
.cta-bg {
    position: absolute;
    top: -10; /* Фиксируем верхнюю границу */
    left: 0;
    width: 100%;
    height: 160%; /* Увеличиваем высоту */
    background: url('/photo/back5.webp') no-repeat top center; /* Фиксируем верхнюю часть */
    background-size: cover;
    transform: translateY(0);
    will-change: transform;
    transition: transform 0.1s ease-out;
    z-index: -1;
}

/* Затемнение */
.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

/* Контент */
.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.cta h2 {
    font-size: 36px;
    font-weight: bold;
    color: #00BCD4;
    margin-bottom: 20px;
    margin-top: -20px;
}

.cta p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Заголовок */
.map-section h2 {
    font-size: 32px;
    color: #00BCD4;
    margin-bottom: 10px;
}

/* Подзаголовок */
.map-subtitle {
    font-size: 20px;
    margin-bottom: 20px;
    color: #cccccc;
}

/* Секция карты */
.map-section {
    width: 100%;
    background: #1a212b;
    padding: 0;
    margin: 0;
}

/* Контейнер карты (удаляем max-width, делаем его flex-контейнером) */
.map-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Карта (iframe) на всю ширину */
.map-container iframe {
    width: 100vw; /* 100% ширины экрана */
    height: 450px;
    border: none;
}

@media screen and (max-width: 768px) {
  .hero {
    height: 50vh;
    overflow: hidden;
  }

  .hero-content {
    padding: 10px;
  }

  .hero h1 {
    font-size: 22px;
  }

  .hero p {
    font-size: 15px;
  }

  .hero-button {
    font-size: 18px; /* было 16px, стало 18px */
    padding: 12px 24px; /* немного больше отступ */
    width: auto;
  }

  .quest-value {
    padding: 30px 15px;
  }

  .quest-value h2 {
    font-size: 22px; /* уменьшено */
    margin-bottom: 18px;
  }

  .quest-value p {
    font-size: 16px;
  }

  .price-container {
    flex-direction: column;
    gap: 15px;
  }

  .separator {
    display: none;
  }

  .price-box {
    width: 100%;
    padding: 15px 10px;
  }

  .price-box p {
    font-size: 16px;
  }

  .price {
    font-size: 24px !important;
  }

  .cta {
    height: auto;
    padding: 30px 15px;
  }

  .cta h2 {
    font-size: 22px; /* уменьшено */
    margin-top: 0;
  }

  .cta p {
    font-size: 16px;
  }

  .faq {
    padding: 40px 15px;
  }

  .faq h2 {
    font-size: 22px; /* уменьшено */
    margin-bottom: 18px;
  }

  .faq-item {
    padding: 12px;
    margin-bottom: 10px;
  }

  .faq-item h3 {
    font-size: 16px;
    margin-bottom: 5px;
    margin-top: 5px;
  }

  .faq-item p {
    font-size: 14px;
    line-height: 1.4;
  }
  
  
.quest-price h2 {
    font-size: 22px;
}
}
