:root {
    --main-color: #00aaff;
    --accent-color: #f1ae4f;
    --dark-grey: #323131;
}

h1, h2, h3, h4, .title, .subtitle, .main-title, .section-title, .location-title, .gift-title, .slider-title, .news-article-header h1 {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800;
}



.title {
    margin-top: 80px; /* Отодвигаем вниз, чтобы не скрывался за меню */
}

@media (max-width: 768px) {
    .title {
        margin-top: 80px; /* Отступ для бургер кнопки и мобильного хедера */
    }
}

.button {
    position: relative; /* Ограничивает область действия псевдоэлемента */
    display: inline-block;
    padding: 14px 28px;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    background-color: var(--main-color);
    box-shadow: 0 4px 12px rgba(0, 170, 255, 0.3);
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 170, 255, 0.5);
}

.glow-on-hover {
    width: 180px;
    height: 50px;
    font-size: 16px; /* Увеличиваем размер шрифта */
    border: none;
    outline: none;
    color: #fff;
    background-color: var(--main-color) !important;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-radius: 10px;
}

.glow-on-hover a {
    text-decoration: none;
    color: inherit;
  }
  
.glow-on-hover:before {
    content: '';
    background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
    position: absolute;
    top: -2px;
    left:-2px;
    background-size: 400%;
    z-index: -1;
    filter: blur(5px);
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity .3s ease-in-out;
    border-radius: 10px;
}

.glow-on-hover:active {
    color: var(--main-color);
}

.glow-on-hover:active:after {
    background: transparent;
}

.glow-on-hover:hover:before {
    opacity: 1;
}

.glow-on-hover:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--main-color);
    left: 0;
    top: 0;
    border-radius: 10px;
}

@keyframes glowing {
    0% { background-position: 0 0; }
    50% { background-position: 400% 0; }
    100% { background-position: 0 0; }
}


.section-header {
    text-align: center;
    margin-bottom: 30px;
}
.main-title {
    font-size: 28px;
    font-weight: bold;
    color: #00aaff;
    margin-bottom: 5px;
    text-align: center;
    margin-top: 60px;
}
.section-title {
    font-size: 24px;
    font-weight: bold;
    color: #00aaff; /* Контрастный цвет */
    text-align: center;
    margin-top: 10px;
    margin-bottom: 15px;
    text-transform: uppercase; /* Делаем заглавными буквами */
    letter-spacing: 1px; /* Добавляем немного воздуха */
}
   /* Дополнительные стили для заголовка и видео */
   #header-video-wrapper {
    margin-top: 10px;
}
.video-container {
    margin-top: 5px;
}
/* Упрощённая таблица стилей с предложенными улучшениями */

body {
    margin: 0;
    padding-top: 10px; /* Отступ, чтобы меню не перекрывало контент */
    position: relative; /* Для позиционирования фона */
    overflow-x: hidden; /* Отключение горизонтальной прокрутки */
    color: white; /* Установка основного цвета текста */
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", sans-serif;
    line-height: 1.6;
}

#header-video-wrapper {
    margin-top: 10px;
}
.container {
    max-width: 1200px; /* Регулируй по вкусу */
    width: 90%; /* Чтобы не было слишком узко на мобилках */
    margin: 0 auto; /* Центрируем */
}

.video-container {
    height: 60vh;
}

.video-container iframe {
    width: 100%;
    height: 100%;
}

.image-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
    overflow: hidden;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(50%) brightness(70%);
}

.tint-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: -1;
}

#menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0; /* Вместо height: 100% для корректной работы скролла на iOS Safari */
    width: 230px; /* Уменьшено для мобильной версии (было 260px) */
    background: #1e1d1d;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1001;
    display: block; /* Убрали flex для правильного скролла контента */
    overflow-y: auto; /* Позволяет скроллить меню на мобильных */
    -webkit-overflow-scrolling: touch; /* Плавный скролл на iOS */
}

/* Логотип в навигационном меню */
.menu-logo {
    max-height: 40px !important;
    width: auto !important;
    margin: 0;
    padding: 0;
    border: none;
    display: none; /* Скрыт на мобильных — там отображается mobile-header */
}


/* Стили для затемнения контента при открытии меню */
#menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1000; /* Сделаем выше, чтобы затемнение было над контентом, но под меню */
}

.open #menu-overlay {
    display: block; /* Показать затемнение при открытии меню */
}

#menu ul {
    list-style: none;
    padding: 60px 20px 20px 20px; /* Уменьшены боковые отступы под новую ширину */
    margin: 0;
    text-align: left;
}

#menu ul li {
    margin-bottom: 24px;
}

#menu ul li a {
    position: relative;
    text-decoration: none;
    color: white;
    background: transparent;
    font-weight: 500;
    font-size: 18px;
    transition: color 0.3s ease;
}

#menu ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;  /* Расположение подчеркивания ниже текста */
    left: 0;
    width: 0;
    height: 2px;  /* Толщина линии */
    background: #00aaff;  /* Цвет линии */
    transition: width 0.4s ease;
}

#menu ul li a:hover::after {
    width: 100%;  /* Линия растягивается до полной ширины текста */
}

.mobile-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: rgba(30, 29, 29, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.mobile-header .mobile-logo {
    height: 32px;
}

#burger-menu {
    position: relative;
    width: 32px;
    height: 24px;
    cursor: pointer;
    background-color: transparent;
    border: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#burger-menu div {
    width: 100%;
    height: 3px;
    background: #00aaff;
    border-radius: 2px;
    transition: all 0.3s ease;
    margin: 0;
}

#burger-menu.open div:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

#burger-menu.open div:nth-child(2) {
    opacity: 0;
}

#burger-menu.open div:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.open #menu {
    transform: translateX(0);
}

.contact-info {
    text-align: center;
}

.social-icons {
    display: inline-block;
    text-align: right;
    width: 100%;
    padding-right: 10px;
}

@media (max-width: 767px) {
    .social-icons {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        padding: 20px;
        text-align: center;
        width: 100%;
    }
    .social-button {
        margin: 0;
    }
}

.social-button img {
    height: 24px;
}

.expand-link {
    color: #00aaff;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.expand-link:hover {
    color: #ffcc00;
    text-decoration: underline;
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 10px; /* Добавит равномерные отступы */
    flex-wrap: wrap; /* На случай, если кнопки не влезут */
}


.text-and-buttons {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.text-and-buttons p {
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    color: #f5f6f7;
}
#extra-text {
    font-size: 1em;
    color: #dddddd;  /* Менее контрастный текст */
    margin-top: 15px;
    padding: 10px 20px;
    border-left: 4px solid #00aaff;  /* Вертикальная линия для выделения */
    background-color: rgba(0, 0, 0, 0.05);  /* Слегка затемненный фон */
}
.hidden-text {
    display: none;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.hidden-text.show {
    display: block;
    max-height: 500px;
    padding-top: 10px;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* Стили для скрытого текста и кнопок на мобилках */
@media (max-width: 768px) {
    .text-and-buttons {
      padding: 0 1rem;
    }
  
    .text-and-buttons p {
        font-size: 14px;
        line-height: 1.5;
      }
    
      #extra-text {
        display: none;
      }
    
      #extra-text.show {
        display: block;
        margin-bottom: 1.5rem; /* Добавили отступ после раскрытого текста */
      }
    
      #extra-text p {
        font-size: 14px;
        line-height: 1.5;
      }
  
    .buttons {
      flex-direction: column;
      align-items: center;
    }
  
    .buttons button {
      width: 100%;
      font-size: 16px;
      padding: 10px;
    }
  }

  /* Стили для айфона раскрытый текст */
  @supports (-webkit-touch-callout: none) {
    #extra-text.show {
      margin-bottom: 5rem;
      padding-bottom: 2rem;
    }
  }

/* Стили для таблицы с ценами */
.price-table {
    display: none; /* По умолчанию скрываем */
    margin: 20px auto; /* Выравниваем по центру */
    text-align: center;
    max-width: 900px;
}

/* Основной стиль таблицы */
.price-table table {
    margin: 0 auto; /* Центрирование */
    width: 100%; /* Растягиваем на всю ширину блока */
    max-width: 800px; /* Делаем таблицу чуть уже */
    border-radius: 10px;
    background-color: #ffffff;
    color: #3a3a3a;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-collapse: collapse; /* Убираем двойные линии */
    overflow: hidden; /* Добавили скрытие выходящих углов */
}

/* Добавили скругление углов для thead и tbody */
.price-table thead {
    border-radius: 10px 10px 0 0;
    overflow: hidden;
  }

/* Заголовки таблицы */
.price-table table th {
    color: #3a3a3a;
    font-weight: bold;
    background-color: #f7f7f7;
    padding: 12px;
    border-bottom: 2px solid #ddd;
}

/* Ячейки таблицы */
.price-table table td {
    padding: 12px;
    border-bottom: 1px solid #ccc;
}

/* Чередование цветов строк */
.price-table table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}
.price-table table tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

/* Стили для кнопки */
.price-table a.button {
    display: block;
    width: fit-content;
    margin: 20px auto 0; /* Центрируем кнопку и добавляем отступ сверху */
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
}


/* Карточка локации */
.location-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.8s ease-out forwards;
}

.location-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Заголовок слайдера */
.slider-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    padding: 15px;
    margin: 0;
    text-align: center;
}

/* Контент внутри карточки */
.location-content {
    padding: 24px;
    line-height: 1.6;
}

/* Стили для заголовков локаций */
.location-title {
    color: #00AEEF; /* Фирменный голубой */
    font-size: 20px; /* Сделаем меньше, чем основные заголовки */
    font-weight: bold;
    text-align: center; /* Выравнивание по центру */
    margin-top: 10px;
}

/* Стили для описания локаций */
.location-description {
    color: #333333; /* Темно-серый текст */
    font-style: normal; /* Убрали курсив */
    font-weight: 500; /* Полужирный текст */
    font-size: 16px; /* Средний размер, чтобы было читаемо */
    text-align: center; /* Центрируем описание */
    margin: 10px 20px 20px 20px; /* Отступы сверху и по бокам */
    line-height: 1.6;
}

/* Список услуг */
.location-services {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
}

.location-services li {
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.location-services li::before {
    content: '•';
    color: #0078d7;
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* Примечание */
.location-note {
    font-size: 14px;
    font-style: italic;
    color: #0078d7;
    text-align: right;
    margin-top: 10px;
}

/* Контейнер карты */
.map-container {
    margin-top: 10px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #ddd;
}


.map-container {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}



.reviews-container {
    display: flex;
    flex-wrap: wrap; /* Позволяет переносить блоки на новую строку, если не хватает места */
    justify-content: space-between; /* Пространство между колонками */
    gap: 20px; /* Расстояние между блоками */
    margin-top: 20px;
}

.review-item {
    flex: 0 0 700px; /* Фиксированная ширина 700px */
    height: 400px; /* Фиксированная высота */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Легкая тень */
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff; /* Белый фон */
    margin: 0 auto; /* Центрирование блоков */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 1440px) {
    .reviews-container {
        justify-content: center; /* На экранах меньше 1440px выравниваем по центру */
    }
}

@media (max-width: 768px) {


    .review-item {
        flex: 0 0 100%; /* Блок занимает всю ширину */
    }
}


@media (min-width: 768px) {
    #burger-menu {
        display: none;
    }

    .mobile-header {
        display: none;
    }

    #menu {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        width: auto;
        height: auto;
        background: #1e1d1d;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
        transform: none;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
    }

    #menu ul {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0;
        margin: 0;
        flex: 1;
        padding-right: 40px;
        white-space: nowrap;
    }

    #menu ul li {
        margin: 0 15px;
    }

    #menu ul li a {
        font-size: 16px;
        font-weight: 500;
    }

    #menu ul li a:hover {
        text-decoration: underline;
    }

    .social-icons {
        position: static;
        display: inline-block;
        margin: 0;
        text-align: right;
        width: auto;
        white-space: nowrap;
    }

    .menu-logo {
        display: block;
    }

    nav {
        position: relative;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
    }
}

        /* Исправление высоты верхнего меню для десктопа */
        @media (min-width: 824px) {
            #menu {
                height: 60px;
                display: flex;
                align-items: center;
                padding: 0 20px;
            }
        }

        .footer {
            background-color: #1f1f1f;
            padding: 20px 0;
            text-align: center;
            color: white;
            font-size: 16px;
        }
        
        .footer-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 10px;
        }
        
        .contact-info {
            font-weight: bold;
            line-height: 1.5;
        }
        
        .contact-info a {
            color: #00aaff;
            text-decoration: none;
        }
        
        .contact-info a:hover {
            text-decoration: underline;
        }
        
        .social-links {
            display: flex;
            gap: 15px;
            justify-content: center;
            margin-top: 10px;
        }
        
        .social-links a img {
            width: 32px;
            height: 32px;
            transition: transform 0.3s ease;
        }
        
        .social-links a:hover img {
            transform: scale(1.2);
        }
        
        /* Стили для заголовка */
.news-article-header h1 {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #333; /* Более контрастный цвет */
}

.news-meta {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

/* Стили для текста */
.news-content {
    background: #fff; /* Белый фон */
    padding: 20px;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Тень */
    line-height: 1.1; /* Увеличенный межстрочный интервал */
    max-width: 800px; /* Ограничиваем ширину текста */
    font-size: 18px;
    color: #333;
}

/* Стили для подзаголовков */
.news-content h2, .news-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #007BFF; /* Яркий синий цвет */
    font-size: 24px;
}

/* Стили для изображений */
.news-step-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 20px auto;
    border-radius: 10px; /* Скруглённые углы */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Тень */
}

/* Видео */
.news-video iframe {
    display: block;
    width: 100%;
    max-width: 800px;
    height: 450px;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Общие настройки для кнопок */
.news-content a {
    display: inline-block;
    margin-top: 20px;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    color: #fff;
    background-color: #007BFF;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.news-content a:hover {
    background-color: #0056b3;
}

/* Стили для крестика */
.close-button {
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    background-color: #f0f0f0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.close-button:hover {
    background-color: #e0e0e0;
    color: #000;
}

/* Стили для кнопки возврата */
.back-button-container {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.back-button {
    text-decoration: none;
    color: #fff;
    background-color: #007BFF;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.back-button:hover {
    background-color: #0056b3;
}

/* Стили для строки под заголовком */
.news-intro {
    text-align: center;
    font-size: 20px;
    color: #555; /* Контрастный, но не слишком яркий */
    margin: 20px auto;
    max-width: 800px;
    line-height: 1.4;
}

/* Блок с секцией */
.locations-section {
    padding: 50px 20px;
    background: transparent;
    text-align: center;
}

/* Заголовок */
.section-title {
    color: #00aaff;
    font-size: 28px;
    margin-bottom: 30px;
}

.locations-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Исправленная ширина карточек */
.location-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    flex: 1 1 30%;
    min-width: 280px; /* Чуть меньше, чтобы влезли все три */
    /*max-width: 400px;*/
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.location-card:hover {
    transform: translateY(-5px);
}

/* Картинка в карточке */
.location-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Название локации */
.location-title {
    font-size: 18px;
    color: #00aaff;
    margin: 10px 0;
}

/* Описание локации */
.location-description {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 10px;
}

/* 📱 Адаптивность */
@media (max-width: 900px) {
    .location-card {
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    #menu ul li {
        margin-bottom: 20px;
        text-align: center;
    }

    #menu ul li a {
        font-size: 18px;
        padding: 10px 20px;
        display: inline-block;
    }

    /* Если хочешь рамку — раскомментируй ↓ */
     
    #menu ul li a {
        border: 1px solid rgba(0, 170, 255, 0.3);
        border-radius: 8px;
        transition: background 0.3s;
    }

    #menu ul li a:hover {
        background: rgba(0, 170, 255, 0.1);
    }
    
}

/* Стили для нового всплывающего окна соцсетей */

/* Фон-затемнение */
.social-popup-overlay {
    display: none; /* Изначально скрыто */
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1001; /* Поверх всего контента */
}

/* Контентная часть окна */
.social-popup-content {
    position: relative;
    background-color: #ffe600; /* Желтый фон как в референсе */
    padding: 20px 25px;
    border-radius: 12px;
    border-bottom-right-radius: 4px; /* Эффект бабла */
    text-align: left;
    max-width: 320px;
    width: 100%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    animation: slideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Текст */
.social-popup-text {
    font-size: 15px;
    font-weight: 500;
    color: #111;
    margin-bottom: 15px;
    margin-top: 5px;
    line-height: 1.4;
}

/* Иконки соцсетей внутри окна */
.popup-social-icons {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
}

.popup-social-icons img {
    width: 32px;
    height: 32px;
    transition: transform 0.2s;
}

.popup-social-icons img:hover {
    transform: scale(1.1);
}

/* Кнопка закрытия (крестик) */
.social-popup-close {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 22px;
    color: #555;
    cursor: pointer;
    line-height: 1;
}

.social-popup-close:hover {
    color: #000;
}

.reviews-table-wrapper {
  max-width: 1300px;
  width: 95%;
  margin: 0 auto;
  background: rgba(0,0,0,0.6);
  border-radius: 8px;
  padding: 10px;
  box-sizing: border-box;
  max-height: none;     /* Убрать ограничение по высоте */
  overflow-y: visible;  /* Отключить скролл */
}

.google-reviews-table {
  width: 100%;
  border-collapse: collapse;
}
.google-reviews-table td {
  padding: 8px 6px;
  border-bottom: 1px solid #333;
  vertical-align: top;
  color: #fff;
}
.google-reviews-table .review-author {
  font-weight: bold;
  color: #ffb300;
}
.google-reviews-table .review-rating {
  color: #fbbc04;
  margin-left: 6px;
}
.google-reviews-table .review-date {
  color: #aaa;
  font-size: 12px;
  margin-left: 10px;
}
#all-reviews-link {
    display: block !important;
    margin: 20px auto 10px auto;
    text-align: center;
    width: fit-content;
}
#reviews-lang-switch {
    display: none !important;
}
@media (max-width: 700px) {
    .google-reviews-table tr:not(:last-child) td {
        border-bottom: 1px solid #444;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }
}
/* Фото локации */
.google-place-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
  margin-top: 10px;
}
.google-place-photos img {
  max-width: 180px;
  max-height: 120px;
  border-radius: 8px;
  object-fit: cover;
  background: #222;
  transition: transform 0.2s;
}
.google-place-photos img:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px #0006;
}

/* Адаптив для мобильных */
@media (max-width: 600px) {
  .reviews-table-wrapper {
    width: 95%;
    max-width: 100%;
    padding: 8px 2.5vw;
  }
  .google-place-photos img {
    max-width: 45vw;
    max-height: 80px;
  }
}

/* Отступ под фиксированным nav */
#header-placeholder { height: 60px; }

@media (max-width: 768px) {
    #header-placeholder { height: 60px !important; }
}

/* ===== Dropdown Menu Styles ===== */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    min-width: 250px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 2000;
    border-radius: 12px;
    padding: 10px 0;
    list-style: none;
    border: 1px solid rgba(255,255,255,0.1);
    text-align: left;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 0 !important;
    margin: 0 !important;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px !important;
    color: #fff !important;
    font-size: 0.9rem !important;
    text-decoration: none;
    transition: background 0.3s;
}

.dropdown-menu li a:hover {
    background: rgba(0, 170, 255, 0.2);
    color: #00aaff !important;
}

/* Переопределение для корректной работы выпадающего меню в #menu */
#menu .dropdown-menu {
    display: none !important;
    position: absolute !important;
    flex-direction: column !important;
    left: auto !important;
    right: 0 !important;
}

/* Десктоп: раскрытие по ховеру — колонка, не строка */
#menu .dropdown:hover .dropdown-menu {
    display: flex !important;
    flex-direction: column !important;
}

/* Позволяем dropdown-menu выходить за пределы nav */
@media (min-width: 768px) {
    #menu {
        overflow: visible;
    }
}

/* Мобиль: раскрытие по клику (JS добавляет is-open) */
@media (max-width: 1024px) {
    #menu .dropdown-menu {
        position: static !important;
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        padding-left: 16px !important;
        min-width: 0 !important;
    }
    #menu .dropdown.is-open .dropdown-menu {
        display: flex !important;
        flex-direction: column !important;
    }
    #menu .dropdown-menu li a {
        padding: 8px 14px !important;
        font-size: 13px !important;
    }
    #menu .dropdown > a::after {
        content: ' ›';
        display: inline-block;
        transition: transform 0.2s;
    }
    #menu .dropdown.is-open > a::after {
        transform: rotate(90deg);
    }
}

#menu .dropdown-menu li {
    margin: 0 !important;
    width: 100%;
}
