/* Базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #00bfff;
    --dark-blue: #1a5276;
    --teal-primary: #0fa3b1;
    --teal-dark: #086972;
    --gold: #d4af37;
    --text-dark: #333;
    --text-light: #fff;
    --bg-light: #f8f9fa;
    --whatsapp-green: #25D366;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark-blue);
}

/* Hero секция */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

/* Логотип */
.logo {
    position: absolute;
    top: 12px;
    left: 20px;
    z-index: 1001;
}

.logo-link {
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-image {
    height: 52px;
    width: auto;
    display: block;
    filter: brightness(1.1);
    transition: all 0.3s ease;
}

.logo-link:hover .logo-image {
    transform: scale(1.05);
    filter: brightness(1.3);
}

/* Навигация - ОБНОВЛЕННАЯ С ГАМБУРГЕРОМ */
.navbar {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
}

/* Скрываем чекбокс */
#menu-toggle {
    display: none;
}

/* Стили для кнопки гамбургера */
.menu-button-container {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 1002;
}

.menu-button,
.menu-button::before,
.menu-button::after {
    display: block;
    background-color: #00bfff;
    position: absolute;
    height: 3px;
    width: 30px;
    transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 2px;
}

.menu-button::before {
    content: '';
    margin-top: -8px;
}

.menu-button::after {
    content: '';
    margin-top: 8px;
}

#menu-toggle:checked + .menu-button-container .menu-button::before {
    margin-top: 0px;
    transform: rotate(405deg);
}

#menu-toggle:checked + .menu-button-container .menu-button {
    background: rgba(255, 255, 255, 0);
}

#menu-toggle:checked + .menu-button-container .menu-button::after {
    margin-top: 0px;
    transform: rotate(-405deg);
}

/* Основное меню */
.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 300;
    letter-spacing: 1.5px;
    font-family: 'Montserrat', sans-serif;
    padding: 10px 20px;
    border-radius: 25px;
    border: 1.5px solid var(--primary-blue);
    font-size: 1rem;
    background: rgba(0, 191, 255, 0.1);
}

.nav-links a:hover {
    color: var(--text-light);
    background: var(--primary-blue);
    border: 1.5px solid var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 191, 255, 0.4);
}

/* Скрываем кнопку бронирования в меню на десктопе */
.mobile-booking {
    display: none;
}

/* Кнопка CTA для десктопа */
.desktop-cta {
    display: inline-block;
}

/* Анимация появления пунктов меню */
.nav-links li {
    opacity: 0;
    transform: translateY(-10px);
    animation: fadeInDown 0.6s ease forwards;
}

.nav-links li:nth-child(1) { animation-delay: 0.1s; }
.nav-links li:nth-child(2) { animation-delay: 0.2s; }
.nav-links li:nth-child(3) { animation-delay: 0.3s; }
.nav-links li:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero контент - ИСПРАВЛЕННЫЕ СТИЛИ */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--text-light);
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.hero-title {
    font-size: 5.5rem;
    margin-bottom: 25px;
    animation: fadeInUp 1s ease;
    font-weight: 200;
    letter-spacing: 15px;
    text-transform: uppercase;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    font-family: 'Montserrat', sans-serif;
    color: #00bfff;
    line-height: 1.1;
    width: 100%;
    text-align: center;
}

/* Подзаголовок - ИСПРАВЛЕННЫЕ СТИЛИ */
.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 1.4rem;
    letter-spacing: 3px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.3s both;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
    min-height: 60px;
    width: 100%;
    text-align: center;
}

.subtitle-text {
    display: block;
    color: var(--text-light);
    font-weight: 300;
    text-align: center;
    width: 100%;
}

/* Контейнер для кнопки CTA */
.cta-container {
    display: flex;
    justify-content: center;
    width: 100%;
    animation: fadeInUp 1s ease 0.6s both;
}

.cta-button {
    color: var(--primary-blue);
    background: rgba(0, 191, 255, 0.1);
    border: 1.5px solid var(--primary-blue);
    padding: 16px 35px;
    font-size: 1.1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 300;
    font-family: 'Montserrat', sans-serif;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    color: var(--text-light);
    background: var(--primary-blue);
    border: 1.5px solid var(--primary-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 191, 255, 0.4);
}

/* Стрелка для скролла */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-arrow {
    width: 25px;
    height: 25px;
    border-right: 1.5px solid var(--text-light);
    border-bottom: 1.5px solid var(--text-light);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: rotate(45deg) translateY(0); }
    50% { transform: rotate(45deg) translateY(-10px); }
}

/* Виртуальный тур */
.virtual-tour {
    position: relative;
    min-height: 100vh;
    background: var(--text-light);
    display: flex;
    flex-direction: column;
}

.tour-header {
    padding: 60px 0 30px;
    text-align: center;
    background: var(--text-light);
}

.tour-header .section-title {
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.tour-subtitle {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
}

.tour-instructions {
    color: #888;
    font-size: 0.9rem;
    font-family: 'Montserrat', sans-serif;
}

.yandex-panorama-container {
    flex: 1;
    position: relative;
    background: var(--text-light);
}

.panorama-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 100px);
    padding: 0 20px 0;
}

.yandex-panorama {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.yandex-panorama:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
}

.yandex-panorama iframe {
    border: none;
    border-radius: 15px;
}

.tour-footer {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    z-index: 10;
    background: transparent;
    padding: 20px 0;
    text-align: center;
}

.scroll-down-arrow {
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-down-arrow:hover {
    transform: translateY(5px);
}

.arrow-icon {
    width: 50px;
    height: 50px;
    animation: float 2s ease-in-out infinite;
}

.arrow-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 8px rgba(0, 191, 255, 0.3));
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* Номера */
.rooms {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--teal-primary) 0%, #0c7c8c 50%, var(--teal-dark) 100%);
    position: relative;
}

.rooms::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(15, 163, 177, 0.1) 100%);
}

.rooms .section-title {
    color: var(--text-light);
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.rooms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.rooms-carousel {
    display: none;
    position: relative;
}

.carousel-container {
    overflow: hidden;
    border-radius: 20px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-track .room-card {
    flex: 0 0 100%;
    min-width: 100%;
}

.carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.carousel-prev,
.carousel-next {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--text-light);
    color: var(--text-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--text-light);
    transform: scale(1.2);
}

.room-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    min-height: 550px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(30px);
}

.room-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.room-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    background: rgba(255, 255, 255, 1);
}

.room-image {
    height: 350px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.room-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(15, 163, 177, 0.4), transparent);
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.room-card:hover .room-image img {
    transform: scale(1.08);
}

.room-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(8, 105, 114, 0.95);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
    z-index: 2;
}

.room-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.room-content h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--teal-dark);
    font-family: 'Playfair Display', serif;
    font-weight: 300;
    line-height: 1.3;
    text-align: center;
}

.room-button {
    background: linear-gradient(135deg, var(--teal-primary), var(--teal-dark));
    color: var(--text-light);
    border: none;
    padding: 16px 30px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    width: 100%;
    letter-spacing: 0.5px;
    margin-top: auto;
}

.room-button:hover {
    background: linear-gradient(135deg, #0c7c8c, #06535c);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(8, 105, 114, 0.4);
}

/* Об отеле и услуги */
.about-amenities {
    padding: 100px 0;
    background: var(--bg-light);
}

.centered-title {
    text-align: center;
    margin-bottom: 60px;
}

.about-amenities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 50px;
}

/* Левая часть - увеличенный коллаж */
.collage-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.collage-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease;
}

.collage-item.animated {
    opacity: 1;
    transform: scale(1);
}

.collage-item img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.collage-item:hover img {
    transform: scale(1.05);
}

/* Правая часть - текст о гостинице */
.right-section .about-text-container {
    background: var(--text-light);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.text-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.text-paragraph {
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.text-paragraph.animated {
    opacity: 1;
    transform: translateY(0);
}

.text-paragraph:last-child {
    margin-bottom: 0;
}

.highlight-text {
    color: var(--dark-blue);
    font-weight: 400;
    font-style: italic;
    font-size: 1.2rem;
}

/* Сетка услуг внизу */
.amenities-grid-bottom {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.amenity-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.amenity-bottom-item {
    padding: 25px 30px;
    background: var(--text-light);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
    text-align: center;
}

.amenity-bottom-item.animated {
    opacity: 1;
    transform: translateY(0);
}

.amenity-bottom-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    background: linear-gradient(135deg, var(--text-light), #fafbfc);
}

.amenity-bottom-item .amenity-text {
    font-size: 1.3rem;
    color: var(--teal-dark);
    font-weight: 400;
    font-family: 'Montserrat', sans-serif;
}

/* Контакты */
.contact {
    padding: 80px 0;
    background: var(--dark-blue);
    color: var(--text-light);
}

.contact .section-title {
    color: var(--text-light);
    margin-bottom: 60px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-weight: 300;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.contact-icon {
    font-size: 1.3rem;
    margin-right: 15px;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-link {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    line-height: 1.5;
}

.contact-link:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

.contact-text {
    line-height: 1.5;
    color: var(--text-light);
}

/* Кнопки контактов */
.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.whatsapp-btn, .phone-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.whatsapp-btn {
    background: var(--whatsapp-green);
    color: white;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.phone-btn {
    background: var(--primary-blue);
    color: white;
}

.phone-btn:hover {
    background: #0099cc;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 191, 255, 0.3);
}

/* Карта */
.map-container {
    width: 100%;
    height: 400px;
}

.map-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.map-wrapper iframe {
    border: none;
    width: 100%;
    height: 100%;
}

/* Секция отзывов */
.reviews-section {
    margin-top: 80px;
    text-align: center;
}

.reviews-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-weight: 300;
}

.reviews-widget {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Увеличиваем высоту виджета на мобильных */
@media (max-width: 768px) {
    .reviews-section {
        margin-top: 60px;
    }
    
    .reviews-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .reviews-widget {
        height: 600px;
    }
    
    .reviews-widget > div {
        height: 600px !important;
    }
}

@media (max-width: 480px) {
    .reviews-section {
        margin-top: 40px;
    }
    
    .reviews-widget {
        height: 500px;
    }
    
    .reviews-widget > div {
        height: 500px !important;
    }
}

/* Плавающие кнопки */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.floating-button {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--teal-primary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(15, 163, 177, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-button:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(15, 163, 177, 0.4);
    background: var(--teal-dark);
}

.whatsapp-button {
    background: var(--whatsapp-green);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.whatsapp-button:hover {
    background: #128C7E;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Модальное окно галереи */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    margin: 5% auto;
    width: 90%;
    max-width: 1200px;
    background: var(--text-light);
    border-radius: 20px;
    overflow: hidden;
    animation: modalAppear 0.3s ease;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 25px;
    color: var(--text-light);
    font-size: 35px;
    font-weight: 300;
    cursor: pointer;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: rotate(90deg);
}

.gallery-container {
    padding: 20px;
}

.main-image {
    width: 100%;
    height: 600px;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 20px;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    max-height: 150px;
    overflow-y: auto;
}

.thumbnail {
    height: 90px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
}

.thumbnail.active {
    opacity: 1;
    border: 3px solid var(--teal-primary);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* АДАПТИВНОСТЬ ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ */

/* Планшеты и маленькие ноутбуки */
@media (max-width: 1024px) {
    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        max-width: 900px;
    }
    
    .room-image {
        height: 300px;
    }
    
    .about-amenities-grid {
        gap: 40px;
    }
    
    .collage-item img {
        height: 250px;
    }
    
    .amenities-grid-bottom {
        gap: 30px;
    }
    
    .amenity-bottom-item {
        padding: 20px 25px;
    }
    
    .amenity-bottom-item .amenity-text {
        font-size: 1.2rem;
    }
}

/* Мобильные устройства (768px и меньше) */
@media (max-width: 768px) {
    .logo {
        top: 10px;
        left: 10px;
    }
    
    .logo-image {
        height: 45px;
    }
    
    /* Гамбургер-меню для мобильных */
    .menu-button-container {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 280px;
        background: transparent; /* Полностью прозрачный фон */
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 100px;
        gap: 20px;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 1001;
    }
    
    #menu-toggle:checked ~ .nav-links {
        transform: translateX(0);
    }
    
    /* Кнопки меню как в десктопной версии */
    .nav-links a {
        color: var(--primary-blue);
        border: 1.5px solid var(--primary-blue);
        background: rgba(0, 191, 255, 0.1);
        width: 200px;
        text-align: center;
        font-size: 1.1rem;
        padding: 12px 25px;
        font-weight: 300;
        letter-spacing: 1.5px;
        font-family: 'Montserrat', sans-serif;
        border-radius: 25px;
        text-decoration: none;
        transition: all 0.3s ease;
    }
    
    .nav-links a:hover {
        color: var(--text-light);
        background: var(--primary-blue);
        border: 1.5px solid var(--primary-blue);
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0, 191, 255, 0.4);
    }
    
    /* Скрываем кнопку бронирования в мобильном меню */
    .mobile-booking {
        display: none; /* Скрываем кнопку в меню */
    }
    
    /* ПОКАЗЫВАЕМ основную кнопку CTA на мобильных */
    .desktop-cta {
        display: inline-block; /* Показываем основную кнопку */
    }
    
    .cta-container {
        display: flex; /* Показываем контейнер с кнопкой */
    }
    
    .hero-title {
        font-size: 3.5rem;
        letter-spacing: 6px;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        letter-spacing: 2px;
        padding: 0 20px;
        min-height: 80px;
    }
    
    .navbar {
        top: 20px;
        right: 20px;
    }
    
    .tour-header {
        padding: 40px 0 20px;
    }
    
    .panorama-wrapper {
        padding: 0 15px 0;
        height: calc(100% - 80px);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .map-container {
        height: 300px;
    }
    
    .contact-buttons {
        flex-direction: column;
    }
    
    .whatsapp-btn, .phone-btn {
        width: 100%;
    }
    
    .rooms-grid {
        display: none;
    }
    
    .rooms-carousel {
        display: block;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .arrow-icon {
        width: 45px;
        height: 45px;
    }
    
    .tour-footer {
        padding: 15px 0;
    }
    
    .main-image {
        height: 350px;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .about-amenities-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .collage-grid {
        gap: 15px;
    }
    
    .collage-item img {
        height: 200px;
    }
    
    .amenity-bottom-item {
        padding: 15px 20px;
    }
    
    .amenity-bottom-item .amenity-text {
        font-size: 1.1rem;
    }
    
    .right-section .about-text-container {
        padding: 30px;
    }
    
    .text-content {
        font-size: 1rem;
    }
    
    .amenities-grid-bottom {
        flex-direction: column;
        gap: 20px;
        max-width: 400px;
    }
    
    .amenity-column {
        gap: 15px;
    }
    
    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-button {
        width: 50px;
        height: 50px;
    }
    
    .reviews-section {
        margin-top: 60px;
    }
    
    .reviews-title {
        font-size: 1.5rem;
    }
    
    .reviews-widget {
        height: 600px;
    }
}

/* Маленькие мобильные устройства (480px и меньше) */
@media (max-width: 480px) {
    .logo {
        top: 15px;
        left: 15px;
    }
    
    .logo-image {
        height: 40px;
    }
    
    .nav-links {
        width: 250px;
        padding-top: 80px;
    }
    
    .nav-links a {
        width: 180px;
        font-size: 1rem;
        padding: 10px 20px;
    }
    
    .hero-title {
        font-size: 2.8rem;
        letter-spacing: 4px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 1.5px;
        min-height: 60px;
    }
    
    .navbar {
        top: 15px;
        right: 15px;
    }
    
    .tour-header {
        padding: 30px 0 15px;
    }
    
    .tour-subtitle {
        font-size: 1rem;
    }
    
    .tour-instructions {
        font-size: 0.8rem;
        padding: 0 10px;
    }
    
    .panorama-wrapper {
        padding: 0 10px 0;
        height: calc(100% - 70px);
    }
    
    .arrow-icon {
        width: 40px;
        height: 40px;
    }
    
    .tour-footer {
        padding: 10px 0;
    }
    
    .main-image {
        height: 250px;
    }
    
    .image-thumbnails {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .carousel-prev,
    .carousel-next {
        width: 40px;
        height: 40px;
    }
    
    .collage-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .collage-item img {
        height: 200px;
    }
    
    .amenity-bottom-item {
        padding: 12px 15px;
    }
    
    .amenity-bottom-item .amenity-text {
        font-size: 1rem;
    }
    
    .right-section .about-text-container {
        padding: 20px;
    }
    
    .highlight-text {
        font-size: 1rem;
    }
    
    .floating-buttons {
        bottom: 15px;
        right: 15px;
    }
    
    .floating-button {
        width: 45px;
        height: 45px;
    }
    
    .map-container {
        height: 250px;
    }
    
    .contact-info h3 {
        font-size: 1.5rem;
    }
    
    .contact-item {
        font-size: 1rem;
    }
    
    .contact {
        padding: 60px 0;
    }
    
    .reviews-section {
        margin-top: 40px;
    }
    
    .reviews-widget {
        height: 500px;
    }
}

/* Адаптивность для огромных экранов */
@media (min-width: 1600px) {
    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
        max-width: 1500px;
    }
    
    .room-card {
        min-height: 600px;
    }
    
    .room-image {
        height: 400px;
    }
}

/* Адаптивность для больших экранов */
@media (max-width: 1400px) {
    .rooms-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
        max-width: 1200px;
    }
}