html {
  scroll-behavior: smooth;
}

body {
    background-color: #f5f5f5; /* Светло-серый фон */
    margin: 0;
    font-family: 'Roboto', sans-serif;
    color: #333; /* Темно-серый цвет текста */
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #fff; /* Белый фон */
    position: fixed;
    top: 0;
    z-index: 100;
    width: 100%;
    transition: opacity 0.3s ease, top 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Тень для разделения */
}

header.hidden {
    opacity: 0;
    top: -100px;
}

nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50%;
}

h1 {
    font-size: clamp(1.5rem, 5vw, 3rem);
    color: #333; /* Темно-серый цвет */
}

h2 {
    font-size: clamp(1.2rem, 4vw, 2rem);
    color: #555; /* Серый цвет */
}

p {
    font-size: clamp(0.9rem, 3vw, 1.2rem);
    color: #666; /* Серый цвет */
}

.logo-container {
    display: flex;
    justify-content: flex-start;
    margin-top: 0;
    margin-left: 15%;
}

.logo {
    max-width: 150px;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.bar {
    width: 30px;
    height: 3px;
    background-color: #333; /* Темно-серый цвет */
    transition: all 0.3s;
}

.menu {
    list-style: none;
    padding: 0;
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    background-color: #fff; /* Белый фон */
    width: 100%;
    text-align: center;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Тень */
}

.menu li {
    margin: 10px 0;
}

.menu a {
    color: #333; /* Темно-серый цвет */
    text-decoration: none;
}

.menu.active {
    display: flex;
    flex-direction: column;
}

.menu-toggle.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-6px, 6px);
}

.menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-6px, -6px);
}

main {
    margin-top: 0;
    padding-bottom: 0;
    background-color: #f5f5f5; /* Светло-серый фон */
    text-align: center;
}

.hero.full-screen {
    height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    align-items: center;
    justify-content: flex-start;
}

.video-container {
    position: relative;
    width: 70%;
    max-width: 1200px;
    margin: 10px auto 0;
    height: 0;
    padding-bottom: 39.375%; /* Соотношение сторон 16:9 */
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: inset(0% 0% 0% 0%);
}

/* Медиа-запрос для мобильных устройств */
@media (max-width: 767px) {
    .video-container {
        width: 100%; /* Занимает всю ширину экрана */
        padding-bottom: 190%; /* Делаем контейнер квадратным */
        max-width: none; /* Убираем ограничение по максимальной ширине */
    }

    .hero-video {
        object-fit: cover; /* Обрезаем видео, чтобы оно заполнило квадрат */
    }
}


.hero-text {
    position: relative;
    padding: 0;
    margin-top: 10px;
    font-size: 1.2em;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 2px;
    color: #333; /* Темно-серый цвет */
}

.gray-name {
    color: #777; /* Серый цвет */
}

.bio-title {
    margin-bottom: 10px;
}

.bio-text h2 {
    margin-bottom: 10px;
}

.bio {
    display: flex;
    width: 70%;
    max-width: 1200px;
    margin: 50px auto;
    text-align: left;
    align-items: flex-start;
}

.bio-image {
    flex: 1;
    padding-right: 20px;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.bio-img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.bio-text {
    flex: 2;
    text-align: left;
    font-size: 1.1em;
    line-height: 1.6;
    color: #555; /* Серый цвет */
}

.bio-text p:nth-child(3) {
    color: #777; /* Серый цвет */
}

.videos h2,
.clips-grid h2 {
    font-family: 'Playfair Display', serif;
    color: #555; /* Серый цвет */
}

/* Общие стили для контейнера с видео */
.video-grid {
    display: grid;
    gap: 20px; /* Расстояние между видео */
    max-width: 1200px; /* Максимальная ширина контейнера */
    margin: 0 auto; /* Центрирование контейнера */
    padding: 0 20px; /* Отступы по бокам для маленьких экранов */
}

/* Стили для ПК (ширина экрана больше 768px) */
@media (min-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr); /* Две колонки */
    }

    .video-item-large {
        grid-column: span 2; /* Первое видео занимает две колонки */
    }
}

/* Стили для мобильных устройств (ширина экрана меньше 768px) */
@media (max-width: 767px) {
    .video-grid {
        grid-template-columns: 1fr; /* Одна колонка */
    }

    .video-item-large {
        grid-column: span 1; /* Первое видео занимает одну колонку */
    }
}

/* Общие стили для видео */
.video-item iframe {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9; /* Соотношение сторон 16:9 */
    border-radius: 10px; /* Скругленные углы */
}

.video-item {
    text-align: center;
}



.video-thumbnail {
    position: relative;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: url('images/play-icon.png') no-repeat center center;
    background-size: cover;
    opacity: 0.8;
}

.video-iframe {
    display: none;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.video-item.active .video-iframe {
    display: block;
}

.video-item.active .video-thumbnail {
    display: none;
}

.video-item video {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.contact-section {
    text-align: center;
    padding: 20px;
    margin-bottom: 50px;
}

.social-links {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

.social-links a {
    margin: 0 10px;
    display: inline-block;
}

.social-links img {
    max-width: 40px;
}

.phone-number {
    margin: 20px 0;
}

.book-button {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #333; /* Темно-серый цвет */
    color: #333; /* Темно-серый цвет */
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    font-size: 16px; /* Размер шрифта по умолчанию */
    text-align: center;
    width: auto; /* Ширина кнопки по содержимому */
    box-sizing: border-box; /* Учитываем padding в ширине */
}

/* Медиа-запрос для мобильных устройств */
@media (max-width: 600px) {
    .book-button {
        width: 100%; /* Кнопка занимает всю ширину контейнера */
        padding: 12px 20px; /* Увеличиваем padding для удобства нажатия */
        font-size: 14px; /* Уменьшаем размер шрифта для мобильных устройств */
    }
}

.pricing-section {
    text-align: center;
    margin: 50px auto;
    width: 70%;
    max-width: 1200px;
}

.pricing-section h2 {
    color: #555; /* Серый цвет */
    margin-bottom: 30px;
    font-family: 'Playfair Display', serif;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.pricing-item {
    padding: 20px;
    border: 1px solid #ddd; /* Светло-серый цвет */
    background-color: #fff; /* Белый фон */
    border-radius: 20px; /* Скругленные углы */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Тень, как в других блоках */
}

.pricing-item h3 {
    margin-bottom: 10px;
    color: #333; /* Темно-серый цвет */
}

.pricing-item .price {
    font-size: 1.2em;
    margin: 10px 0 20px;
    color: #555; /* Серый цвет */
}

.pricing-item ul {
    list-style: none;
    padding: 0;
}

.pricing-item li {
    text-align: left;
    margin-bottom: 5px;
    padding-left: 20px;
    position: relative;
    color: #666; /* Серый цвет */
}

.pricing-item li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #555; /* Серый цвет */
}

.additional-offers {
    text-align: center;
    width: 80%;
    margin: 0 auto;
    padding: 20px;
}

.additional-offers ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.additional-offers li {
    margin-bottom: 5px;
    padding-left: 20px;
    position: relative;
    color: #666; /* Серый цвет */
}

.additional-offers li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: #555; /* Серый цвет */
    border-radius: 50%;
}

.additional-offers h2 {
    color: #555; /* Серый цвет */
    text-align: center;
    margin-bottom: 20px;
    margin-top: 30px;
    font-family: 'Playfair Display', serif;
}

.additional-offers-text {
    text-align: center;
}

.colored-price {
    color: #555; /* Серый цвет */
}

.duration-note {
    text-align: center;
}

.booking-info {
    text-align: center;
    margin-top: 50px;
}



.faq-section {
    padding: 20px;
   
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    cursor: pointer;
    font-weight: bold;
}

.faq-question:hover {
    background-color: #f1f1f1;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out; /* Плавное изменение высоты и отступов */
    padding: 0 10px;
}

.faq-answer p {
    margin: 10px 0;
}

.faq-toggle {
    font-size: 1.5em;
    transition: transform 0.3s ease-out;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Максимальная высота, достаточная для отображения ответа */
    padding: 10px; /* Добавляем отступы для плавного появления */
}



footer {
    padding: 20px 0;
    background-color: #fff; /* Белый фон */
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1); /* Тень */
}

.footer-text {
    text-align: center;
    color: #666; /* Серый цвет */
    font-size: 0.8em;
    margin: 0;
    padding: 10px;
}

@media (max-width: 768px) {
    .bio {
        flex-direction: column;
        align-items: center;
        width: 90%;
    }

    .bio-image {
        padding-right: 0;
        margin-bottom: 20px;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .video-grid.films-grid .video-item:first-child {
        grid-column: auto;
    }

    .logo-container {
        margin-left: 0;
    }

    .video-grid.films-grid {
        grid-auto-rows: auto;
    }
}

/* Анимации */
.fade-in {
  opacity: 0;
  animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.slide-down {
  transform: translateY(-50px);
  opacity: 0;
  animation: slideDown 0.6s ease-out forwards;
}

@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Дополнительные улучшения */
.menu a:hover {
    text-decoration: underline;
}

.book-button:hover {
    background-color: #555; /* Серый цвет */
    color: #fff;
    border-color: #ddd;
}

@media (max-width: 480px) {
  .hero-text {
        font-size: 1em;
    }

   .bio {
     width: 90%;
   }
   .additional-offers,
   .pricing-section {
      width: 90%;
   }

     .video-grid {
       width: 90%;
      grid-template-columns: 1fr;
     }
     .video-grid.films-grid .video-item:first-child {
      grid-column: auto;
    }
}

@media (max-width: 375px) {
    .hero-text {
        font-size: 0.9em;
    }
}


.reviews-section {
  max-width: 800px;
  margin: 50px auto;
  padding: 20px;
  text-align: center;
  background-color: #fff; /* Белый фон, как в других блоках */
  border: 1px solid #ddd; /* Светлая граница */
  border-radius: 20px; /* Скругленные углы */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Тень, как в других блоках */
}

.review {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  padding: 15px;
  border-bottom: 1px solid #eee; /* Разделитель между отзывами */
}

.review:last-child {
  border-bottom: none; /* Убираем разделитель у последнего отзыва */
}

.review-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.review-content {
  text-align: left;
  flex: 1;
}

.review-author {
  margin: 0;
  font-size: 18px;
  color: #333; /* Темно-серый цвет, как в других заголовках */
}

.review-rating {
  color: #ffd700; /* Золотой цвет для звезд */
  font-size: 20px;
  margin: 5px 0;
}

.review-text {
  margin: 10px 0;
  font-size: 16px;
  color: #666; /* Серый цвет текста, как в других блоках */
  line-height: 1.6;
}

.review-date {
  font-size: 14px;
  color: #777; /* Светло-серый цвет для даты */
}

/* Стилизация кнопки, как на вашем сайте */
.book-button {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid #333; /* Темно-серый цвет */
  color: #333; /* Темно-серый цвет */
  text-decoration: none;
  border-radius: 5px;
  margin-top: 20px;
  font-size: 16px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.book-button:hover {
  background-color: #555; /* Серый цвет при наведении */
  color: #fff; /* Белый текст при наведении */
  border-color: #ddd; /* Светлая граница при наведении */
}


/* Стили для модального окна */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Полупрозрачный черный фон */
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}

.close-modal:hover {
  color: #555;
}

.modal-reviews .review {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.modal-reviews .review:last-child {
  border-bottom: none;
}


@media (max-width: 768px) {
  .reviews-section {
    padding: 15px;
    margin: 20px auto;
  }

  .review {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .review-avatar {
    margin-right: 0;
    margin-bottom: 10px;
  }

  .review-content {
    text-align: center;
  }

  .book-button {
    width: 50%;
    padding: 12px;
    font-size: 14px;
  }
}