/* Global Styles */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    background: #FAF7F3;
    color: #2B2825;
}

a {
    color: #1F8C82;
    text-decoration: none;
}

a:hover {
    color: #E07A3D;
}



/* Top Bar */
.top-bar {
    background: #2B3339;
    color: #fff;
    font-size: 14px;
    min-height: 56px;
}

.top-bar .social-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255,255,255,0.16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    text-decoration: none;
    transition: background 0.3s;
}

.top-bar .social-icon:hover {
    background: rgba(255,255,255,0.32);
    color: #fff;
}

.top-bar .phone-link {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

/* Header */
.main-header {
    background: linear-gradient(180deg, #F19A34 0%, #D9481E 100%);
}

.logo-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-circle img {
    width: 28px;
    height: 28px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-title {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #fff;
}

.logo-subtitle {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #FFE3C4;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 600;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.main-nav .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    background: rgba(255,255,255,0.16);
    padding: 9px 16px;
    border-radius: 20px;
    transition: background 0.3s;
    text-decoration: none;
}

.main-nav .nav-link:hover {
    background: rgba(255,255,255,0.28);
    color: #fff;
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: rgba(255,255,255,0.16);
    border: none;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.mobile-menu-toggle:hover {
    background: rgba(255,255,255,0.28);
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile: hide desktop book button, show mobile compact version */
.btn-book-desktop {
    display: inline-flex;
}

.btn-book-mobile {
    display: none;
}

@media (max-width: 991px) {
    .btn-book-desktop {
        display: none;
    }

    .btn-book-mobile {
        display: inline-flex;
        font-size: 13px;
        padding: 8px 14px;
    }

    /* Hide navigation by default on mobile */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #2B2825;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 8px;
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        z-index: 9998;
        overflow-y: auto;
    }

    .main-nav.active {
        right: 0;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    }

    /* Close button inside mobile menu */
    .mobile-menu-close {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        border: none;
        border-radius: 8px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.3s;
        z-index: 10;
    }

    .mobile-menu-close:hover {
        background: rgba(255, 255, 255, 0.2);
    }

    .mobile-menu-close::before,
    .mobile-menu-close::after {
        content: '';
        position: absolute;
        width: 20px;
        height: 2px;
        background: #fff;
        border-radius: 2px;
    }

    .mobile-menu-close::before {
        transform: rotate(45deg);
    }

    .mobile-menu-close::after {
        transform: rotate(-45deg);
    }

    .main-nav .nav-link,
    .main-nav .nav-dropdown > a.nav-link {
        width: 100%;
        justify-content: flex-start;
        font-size: 16px;
        padding: 12px 16px;
    }

    /* Mobile dropdown behavior */
    .nav-dropdown {
        display: block;
        width: 100%;
    }

    .rooms-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        margin-top: 0;
        margin-left: 16px;
        max-height: 0;
        overflow: hidden;
        padding: 0;
        border-radius: 8px;
        background: transparent;
        display: none;
    }

    .nav-dropdown.active .rooms-dropdown-menu {
        display: block;
        max-height: 600px;
        padding: 8px 0;
        margin-top: 8px;
        background: rgba(255, 255, 255);
    }

    /* Mobile dropdown items styling */
    .rooms-dropdown-item {
        background: #fff !important;
        font-size: 14px !important;
        padding: 10px 16px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 8px !important;
    }

    .rooms-dropdown-item .room-name {
        color: #2B2825 !important;
        font-weight: 500 !important;
        flex: 1 !important;
        max-width: 25ch !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .rooms-dropdown-item .room-price {
        color: #666 !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }

    .rooms-dropdown-item:hover {
        background: #f5f5f5 !important;
    }

    .rooms-dropdown-item:hover .room-name {
        color: #1F8C82 !important;
    }

    .rooms-dropdown-item:hover .room-price {
        color: #1F8C82 !important;
    }

    .arrow-down {
        margin-left: auto;
        transition: transform 0.3s;
    }

    .nav-dropdown.active .arrow-down {
        transform: rotate(225deg);
        margin-top: 0;
    }
}

/* Smaller button on very small screens */
@media (max-width: 390px) {
    .btn-book-mobile {
        font-size: 11px;
        padding: 6px 10px;
    }
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9997;
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Booking Modal */
/* Prevent body scroll when modal is open, but allow touch scrolling on mobile */
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* On mobile, allow body positioning to be normal to fix touch issues */
@media (max-width: 767px) {
    body.modal-open {
        position: relative;
        overflow: hidden;
    }
}

.booking-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.booking-modal.active {
    display: flex;
}

.booking-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s ease;
    z-index: -1;
    cursor: pointer;
}

.booking-modal-content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    z-index: 10;
    touch-action: pan-y; /* Allow vertical scrolling on touch devices */
}

.booking-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 20;
}

.booking-modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
}

.booking-modal-close svg {
    width: 24px;
    height: 24px;
    color: #2B2825;
}

.booking-widget-desktop,
.booking-widget-mobile {
    padding: 20px;
    min-height: 300px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

/* Ensure widget content is scrollable and touchable */
.booking-widget-mobile > div,
.booking-widget-desktop > div {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    max-height: calc(90vh - 120px); /* Account for modal padding and close button */
}

/* Show/hide widgets based on screen size */
@media (min-width: 768px) {
    .booking-widget-mobile {
        display: none;
    }
    .booking-widget-desktop {
        display: block;
    }
}

@media (max-width: 767px) {
    .booking-widget-desktop {
        display: none;
    }
    .booking-widget-mobile {
        display: block;
    }

    .booking-modal {
        padding: 10px;
    }

    .booking-modal-content {
        max-width: 100%;
        border-radius: 12px;
        max-height: 95vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .booking-widget-mobile {
        padding: 10px;
        overflow: visible; /* Let the content handle its own scroll */
    }

    .booking-widget-mobile > div {
        max-height: calc(95vh - 80px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.rooms-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    background: #fff; 
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 9999 !important;
    pointer-events: none;
}

.nav-dropdown:hover .rooms-dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto;
}

.rooms-dropdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    color: #2B2825;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    font-weight: 500;
    font-size: 14px;
}

.rooms-dropdown-item .room-name {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rooms-dropdown-item .room-price {
    flex-shrink: 0;
    font-size: 12px;
    color: #666;
    font-weight: 600;
}

.rooms-dropdown-item:hover {
    background: #f5f5f5;
}

.rooms-dropdown-item:hover .room-name {
    color: #1F8C82;
}

.rooms-dropdown-item:hover .room-price {
    color: #1F8C82;
}

.arrow-down {
    width: 6px;
    height: 6px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    margin-top: -4px;
}

.btn-book {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #1F9188;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 9px 20px;
    border-radius: 20px;
    white-space: nowrap;
    transition: background 0.3s;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-book:hover {
    background: #187D75;
    color: #fff;
}

.btn-book-room {
    justify-content: center;
    font-size: 18px;
    padding: 14px 32px;
    border-radius: 25px;
}

.btn-back-to-list {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #1F9188;
    font-weight: 600;
    font-size: 16px;
    padding: 12px 24px;
    border: 2px solid #1F9188;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-back-to-list:hover {
    background: #1F9188;
    color: #fff;
    text-decoration: none;
}

.btn-details {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #1F9188;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 20px;
    border: 2px solid #1F9188;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-details:hover {
    background: #1F9188;
    color: #fff;
    text-decoration: none;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #1F9188;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    padding: 14px 28px;
    border-radius: 25px;
    text-decoration: none;
    border: none;
    transition: background 0.3s;
}

.btn-download:hover {
    background: #187D75;
    color: #fff;
    text-decoration: none;
}

.star-icon {
    width: 13px;
    height: 13px;
    background: #fff;
    clip-path: polygon(0 0, 0 70%, 28% 56%, 44% 88%, 58% 81%, 42% 50%, 74% 50%);
    flex-shrink: 0;
}

/* Promo Bar */
.promo-bar {
    background: #E9E7E3;
    color: #2B2825;
    font-size: 14px;
    font-weight: 600;
}

.promo-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.promo-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: opacity 0.3s;
}

.promo-item-link:hover {
    opacity: 0.7;
}

.promo-item-link:hover .promo-item {
    color: #1F8C82;
}

.promo-item .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #E07A3D;
    flex-shrink: 0;
}

.all-promos {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #2B2825;
    text-decoration: none;
    transition: color 0.3s;
}

.all-promos:hover {
    color: #1F8C82;
}

.arrow-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(43,40,37,0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.arrow-right {
    width: 6px;
    height: 6px;
    border-right: 2px solid #2B2825;
    border-top: 2px solid #2B2825;
    transform: rotate(45deg);
    margin-left: -2px;
}

/* Main Content */
.main-content {
    background: #FBF7EC;
    min-height: 60vh;
}

.page-title {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 8px;
}

.page-subtitle {
    font-size: 16px;
    color: #6B655D;
    margin: 0 0 40px;
}

/* Contacts Page */
.contacts-info .contact-block h3 {
    color: #2B2825;
    font-weight: 700;
}

.contacts-info .contact-link {
    color: #1F8C82;
    text-decoration: none;
    transition: color 0.3s;
}

.contacts-info .contact-link:hover {
    color: #176F67;
    text-decoration: underline;
}

.map-container iframe {
    border-radius: 12px;
}

/* Room Cards */
.room-card {
    background: #fff;
    border: 1px solid #ECE6DE;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.room-preview-link {
    display: block;
    text-decoration: none;
}

.room-image {
    position: relative;
    overflow: hidden;
    height: 190px;
    transition: transform 0.3s ease;
}

.room-preview-link:hover .room-image {
    transform: scale(1.02);
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Стили для превью-изображений с пролистыванием */
.room-preview-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.room-preview-img.active {
    opacity: 1;
}

/* Индикаторы фото */
.room-image-indicators {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.room-image-indicators .indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.room-image-indicators .indicator.active {
    background: #fff;
    transform: scale(1.2);
}

.room-image-indicators .indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

.room-type {
    position: absolute;
    top: 12px;
    left: 12px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 10px;
    letter-spacing: 0.03em;
}

.room-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.room-title-link {
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.room-title-link:hover {
    opacity: 0.8;
}

.room-title {
    font-size: 18px;
    font-weight: 700;
    color: #1F8C82;
    margin: 0;
    line-height: 1.35;
}

.room-price {
    font-size: 20px;
    font-weight: 800;
    color: #E07A3D;
}

.room-address {
    font-size: 13px;
    color: #9A948B;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.location-icon {
    display: inline-block;
    width: 9px;
    height: 9px;
    background: #9A948B;
    border-radius: 50% 50% 0 50%;
    transform: rotate(45deg);
    flex-shrink: 0;
}

.room-amenities {
    font-size: 14px;
    color: #6B655D;
    margin: 0;
    line-height: 1.5;
    flex: 1;
}

.room-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.room-actions .btn {
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    padding: 12px;
    border-radius: 4px;
    border-width: 1.5px;
}

.room-actions .btn-outline-primary {
    border-color: #E07A3D;
    color: #E07A3D;
}

.room-actions .btn-outline-primary:hover {
    background: #E07A3D;
    border-color: #E07A3D;
    color: #fff;
}

.room-actions .btn-primary {
    background: #E07A3D;
    border-color: #E07A3D;
}

.room-actions .btn-primary:hover {
    background: #C6652C;
    border-color: #C6652C;
}

/* Infographic Section */
.infographic-section {
    background: #fff;
    border: 1px solid #ECE6DE;
    padding: 28px;
    margin-top: 28px;
}

.section-title {
    font-size: 19px;
    font-weight: 800;
    margin: 0 0 6px;
}

.section-subtitle {
    font-size: 14px;
    color: #6B655D;
    margin: 0 0 24px;
}

.info-item {
    margin-bottom: 24px;
}

.bed-diagram {
    display: flex;
    gap: 8px;
    height: 70px;
    align-items: flex-end;
    border: 1px dashed #ECE6DE;
    padding: 10px;
    background: #FBF7EC;
}

.bed {
    border-radius: 4px;
}

.bed-double {
    width: 70px;
    height: 44px;
    background: #1F8C82;
}

.bed-single {
    width: 44px;
    height: 44px;
    background: #1F8C82;
}

.bed-sofa {
    width: 36px;
    height: 26px;
    background: #E07A3D;
}

.bed-bunk {
    width: 32px;
    height: 44px;
    background: #1F8C82;
}

.bed-bunk-small {
    width: 22px;
    height: 44px;
    background: #1F8C82;
}

.info-title {
    font-size: 13px;
    font-weight: 700;
    margin-top: 10px;
}

.info-desc {
    font-size: 12px;
    color: #9A948B;
}

.facilities-info {
    background: #FBF7EC;
    border: 1px dashed #ECE6DE;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.facility-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.facility-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1F8C82;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.facility-icon::before {
    content: '';
    width: 11px;
    height: 15px;
    border: 2px solid #fff;
    border-radius: 5px 5px 8px 8px;
}

.toilet-icon::before {
    content: none;
}

.toilet-icon {
    background-image: url('../images/toilet_icon.svg');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
}

.shower-icon::before {
    content: none;
}

.shower-icon {
    background-image: url('../images/shower_icon.svg');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
}

.kitchen-icon::before {
    content: none;
}

.kitchen-icon {
    background-image: url('../images/refrigerator-icon.svg');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
}

.wifi-icon::before {
    content: none;
}

.wifi-icon {
    background-image: url('../images/wi_fi_icon.svg');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: center;
}

.facility-text {
    font-size: 13px;
    font-weight: 700;
}

.facility-text .text-muted {
    font-weight: 500;
    color: #9A948B;
}

/* Footer */
.main-footer {
    background: #2B2825;
    color: #C9C3BA;
    font-size: 13px;
    line-height: 1.7;
}

.footer-nav {
    display: flex;
    gap: 24px;
    font-size: 14px;
    font-weight: 600;
    flex-wrap: wrap;
    border-bottom: 1px solid #453F38;
    padding-bottom: 16px;
}

.footer-nav a {
    color: #C9C3BA;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: #8FB9B4;
}

.footer-info {
    padding-top: 16px;
}

.footer-link {
    color: #8FB9B4;
    text-decoration: none;
}

.footer-link:hover {
    color: #8FB9B4;
    text-decoration: underline;
}

.footer-credits {
    margin-top: 4px;
    color: #8A857C;
}

/* Why Choose Us Section */
.why-choose-us {
    background: #E9E7E3;
}

.section-title-large {
    font-size: 26px;
    font-weight: 800;
    margin: 0;
}

.feature-card {
    display: flex;
    flex-direction: column;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.feature-icon.bg-primary {
    background: #1F8C82 !important;
}

.feature-icon.bg-secondary {
    background: #E07A3D;
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px;
}

.feature-text {
    font-size: 14px;
    color: #6B655D;
    line-height: 1.6;
    margin: 0;
}

/* Panorama Section */
.panorama-section {
    background: #FBF7EC;
}

.section-text {
    font-size: 15px;
    color: #6B655D;
    margin: 0;
}

.panorama-iframe {
    width: 100%;
    height: 360px;
    border: 1px solid #ECE6DE;
}

.location-name {
    font-size: 14px;
    font-weight: 600;
    margin-top: 10px;
}

.location-label {
    font-size: 12px;
    font-weight: 700;
    color: #1F8C82;
    letter-spacing: 0.03em;
    margin-top: 2px;
}

.nearby-title {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 16px;
}

.nearby-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 14px;
    color: #4A453F;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nearby-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nearby-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #E07A3D;
    flex-shrink: 0;
}

/* Location and Rules Section */
.location-rules-section {
    background: #FBF7EC;
}

.map-iframe {
    width: 100%;
    height: 360px;
    border: 1px solid #ECE6DE;
}

.rules-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 14px;
    color: #4A453F;
    line-height: 1.6;
}

.rule-item strong {
    color: #2B2825;
}

/* Surroundings Section */
.surroundings-section {
    background: #FBF7EC;
}

.surroundings-gallery-wrapper {
    position: relative;
}

.surroundings-gallery {
    overflow: hidden;
    width: 100%;
}

.surroundings-track {
    display: flex;
    gap: 16px;
    transition: transform 0.4s ease;
}

.surroundings-item {
    flex: 0 0 calc((100% - 48px) / 4);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.surroundings-item:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.surroundings-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: 1px solid #ECE6DE;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.gallery-nav:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.gallery-nav-prev {
    left: -20px;
}

.gallery-nav-next {
    right: -20px;
}

.arrow-left,
.arrow-right {
    width: 8px;
    height: 8px;
    border-top: 2px solid #2B2825;
    border-right: 2px solid #2B2825;
}

.arrow-left {
    transform: rotate(-135deg);
    margin-right: -2px;
}

.arrow-right {
    transform: rotate(45deg);
    margin-left: -2px;
}

.modal-content.bg-dark {
    background: rgba(0,0,0,0.95) !important;
}

/* Minimalist Modal Styles */
#imageModal .modal-dialog {
    max-width: 90vw;
    margin: 0 auto;
}

#imageModal .modal-content {
    background: transparent;
    border: none;
    box-shadow: none;
}

#imageModal .modal-body {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90vh;
}

#imageModal .modal-body img {
    max-height: 90vh;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

#imageModal.modal {
    background: rgba(0, 0, 0, 0.95);
}

/* Modal Close Button */
.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1060;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    color: #2B2825;
}

.modal-close-btn:hover {
    background: #fff;
    transform: scale(1.1);
}

.modal-close-btn svg {
    display: block;
}

/* Modal Gallery Navigation */
.modal-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 1060;
}

.modal-gallery-nav:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}

.modal-gallery-nav-prev {
    left: 20px;
}

.modal-gallery-nav-next {
    right: 20px;
}

.modal-gallery-nav .arrow-left,
.modal-gallery-nav .arrow-right {
    width: 10px;
    height: 10px;
    border-top: 2px solid #2B2825;
    border-right: 2px solid #2B2825;
}

/* Responsive для галереи */
@media (max-width: 991px) {
    .surroundings-item {
        flex: 0 0 calc((100% - 32px) / 3);
    }
}

@media (max-width: 767px) {
    .surroundings-item {
        flex: 0 0 calc((100% - 16px) / 2);
    }

    .surroundings-item img {
        height: 150px;
    }

    #imageModal .modal-dialog {
        max-width: 100vw;
    }

    #imageModal .modal-body {
        min-height: 100vh;
    }

    .modal-close-btn {
        width: 40px;
        height: 40px;
        top: 15px;
        right: 15px;
    }

    .modal-close-btn svg {
        width: 20px;
        height: 20px;
    }

    .modal-gallery-nav {
        width: 40px;
        height: 40px;
    }

    .modal-gallery-nav-prev {
        left: 10px;
    }

    .modal-gallery-nav-next {
        right: 10px;
    }

    .modal-gallery-nav .arrow-left,
    .modal-gallery-nav .arrow-right {
        width: 8px;
        height: 8px;
    }
}

/* News Section */
.news-section {
    background: #FBF7EC;
    border-top: 1px solid #ECE6DE;
}

.news-card {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-2px);
}

.news-image {
    width: 107px;
    height: 72px;
    flex-shrink: 0;
    object-fit: cover;
}

.news-content {
    flex: 1;
}

.news-title {
    font-size: 16px;
    font-weight: 700;
    color: #1F8C82;
    margin: 0 0 4px;
}

.news-date {
    font-size: 13px;
    color: #9A948B;
    margin-bottom: 6px;
}

.news-text {
    font-size: 13px;
    color: #6B655D;
    line-height: 1.4;
    margin: 0;
}

.view-all-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #1F8C82;
    text-decoration: none;
    transition: color 0.3s;
}

.view-all-link:hover {
    color: #E07A3D;
}

.arrow-right-small {
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-top: 2px solid currentColor;
    transform: rotate(45deg);
}

/* Responsive */
@media (max-width: 767px) {
    .main-nav {
        justify-content: flex-start;
    }

    .page-title {
        font-size: 24px;
    }

    .room-card {
        max-width: 100%;
    }

    .section-title-large {
        font-size: 22px;
    }

    .panorama-iframe,
    .map-iframe {
        height: 250px;
    }

    .news-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-image {
        width: 100%;
        height: 150px;
    }

    .gallery-nav-prev {
        left: -10px;
    }

    .gallery-nav-next {
        right: -10px;
    }
}

/* Room Detail Page Styles */
.room-detail-page {
    background: #FAF7F3;
    padding-bottom: 2rem;
}

.room-detail-title {
    font-size: 28px;
    font-weight: 700;
    color: #2B2825;
    margin-bottom: 0;
    line-height: 1.3;
}

.room-detail-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.room-detail-price {
    font-size: 24px;
    font-weight: 700;
    color: #1F8C82;
}

.room-detail-main-image {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.room-detail-main-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

/* Thumbnails Section */
.room-detail-thumbnails {
    margin-top: 1rem;
}

.thumbnail-item {
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.thumbnail-image {
    border: 2px solid transparent;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.thumbnail-item:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.thumbnail-item:hover .thumbnail-image {
    border-color: #1F8C82;
}

.thumbnail-image.active-thumbnail {
    border-color: #1F8C82;
    box-shadow: 0 0 0 2px rgba(31, 140, 130, 0.2);
}

/* Right Column Info */
.room-detail-info {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    height: 100%;
}

.room-detail-price-block {
    padding: 1.5rem;
    background: #F0F9F8;
    border-radius: 8px;
    border-left: 4px solid #1F8C82;
}

.room-detail-price-large {
    font-size: 32px;
    font-weight: 800;
    color: #E07A3D;
    line-height: 1;
}

.room-detail-address {
    font-size: 14px;
    color: #9A948B;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.location-icon-detail {
    display: inline-block;
    width: 12px;
    height: 16px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path fill="%239A948B" d="M172.268 501.67C26.97 291.031 0 269.413 0 192 0 85.961 85.961 0 192 0s192 85.961 192 192c0 77.413-26.97 99.031-172.268 309.67-9.535 13.774-29.93 13.773-39.464 0zM192 272c44.183 0 80-35.817 80-80s-35.817-80-80-80-80 35.817-80 80 35.817 80 80 80z"/></svg>') no-repeat center;
    background-size: contain;
}

.room-detail-description-block {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    height: 100%;
}

.room-detail-description {
    font-size: 15px;
    line-height: 1.7;
    color: #5A5550;
}

.room-detail-amenities {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    height: 100%;
}

.amenities-list-detail {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
}

.amenities-list-detail li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 14px;
    color: #5A5550;
}

.amenities-list-detail li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #1F8C82;
    font-weight: 700;
}

.room-detail-booking {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #ECE6DE;
}

.room-detail-booking .btn-primary {
    background: #1F8C82;
    border-color: #1F8C82;
}

.room-detail-booking .btn-primary:hover {
    background: #176F67;
    border-color: #176F67;
}

.phone-link {
    font-size: 18px;
    font-weight: 600;
    color: #1F8C82;
    text-decoration: none;
}

.phone-link:hover {
    color: #176F67;
    text-decoration: underline;
}

.room-detail-description {
    font-size: 16px;
    line-height: 1.8;
    color: #2B2825;
}

.amenities-list {
    list-style: none;
    padding: 0;
}

.amenities-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.amenities-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #1F8C82;
    font-weight: 700;
}

.room-detail-sidebar {
    position: sticky;
    top: 20px;
}

.sidebar-info p {
    margin-bottom: 0.75rem;
}

.gallery-item {
    padding: 0.5rem;
    background: #fff;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.gallery-item img {
    transition: transform 0.3s ease;
    border-radius: 6px;
}

.gallery-item img:hover {
    transform: scale(1.02);
}

.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: #1F8C82;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #2B2825;
}

/* Photo Category Tabs - Classic Tab Design */
.room-detail-tabs {
    border-bottom: 2px solid #ECE6DE;
    margin-bottom: 0 !important;
}

.room-detail-tabs .nav-item {
    margin-bottom: -2px;
}

.room-detail-tabs .nav-link {
    color: #5A5550;
    background: #F5F3F0;
    border: 2px solid transparent;
    border-bottom: none;
    padding: 0.75rem 1.5rem;
    margin-right: 0.25rem;
    border-radius: 0;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.room-detail-tabs .nav-link .tab-icon {
    font-size: 1.1em;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.room-detail-tabs .nav-link .tab-label {
    transition: color 0.3s ease;
}

.room-detail-tabs .nav-link:hover {
    color: #1F8C82;
    background: #F9FAFA;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-top: 2px solid #E5E3E0;
    border-left: 2px solid #E5E3E0;
    border-right: 2px solid #E5E3E0;
}

.room-detail-tabs .nav-link:hover .tab-icon {
    opacity: 1;
}

.room-detail-tabs .nav-link.active {
    color: #1F8C82;
    background: #fff;
    border-bottom-color: #1F8C82;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-top: 2px solid #ECE6DE;
    border-left: 2px solid #ECE6DE;
    border-right: 2px solid #ECE6DE;
    border-bottom: 3px solid #fff;
    margin-bottom: -2px;
    font-weight: 600;
    z-index: 1;
    position: relative;
}

.room-detail-tabs .nav-link.active .tab-icon {
    opacity: 1;
}

/* Tab Content Card */
.room-detail-tab-content {
    background: #fff;
    border: 2px solid #ECE6DE;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    min-height: 200px;
}

.room-detail-tab-content .tab-pane {
    animation: fadeIn 0.4s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-thumbnail {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
}

.gallery-thumbnail:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .room-detail-title {
        font-size: 22px;
    }

    .room-detail-price {
        font-size: 18px;
    }

    .room-detail-price-large {
        font-size: 26px;
    }

    .room-detail-info {
        padding: 1.5rem;
        margin-top: 1.5rem;
    }

    .room-detail-main-image img {
        max-height: 300px;
    }

    .thumbnail-item img {
        height: 60px !important;
    }

    .room-detail-description-block,
    .room-detail-amenities {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    .room-detail-sidebar {
        position: static;
        margin-top: 2rem;
    }

    .room-detail-tabs .nav-link {
        font-size: 14px;
        padding: 0.5rem 1rem;
    }

    .room-detail-tabs .nav-link .tab-label {
        font-size: 13px;
    }

    .room-detail-tab-content {
        border-radius: 0 0 6px 6px;
    }
}

/* Promotions Section Styles */
.promotions-section {
    background-color: #fff;
}

.promotions-section .section-title {
    font-size: 36px;
    font-weight: 700;
    color: #2B2825;
    margin-bottom: 2rem;
}

.promotion-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.promotion-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.promotion-card-link:hover .promotion-card {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.promotion-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f5f5f5;
}

.promotion-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promotion-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.promotion-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #2B2825;
    margin-bottom: 0.75rem;
}

.promotion-card-text {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex: 1;
}

.promotion-card-link-text {
    color: #1F8C82;
    font-weight: 600;
    font-size: 14px;
}

/* Promotion Detail Styles */
.promotion-detail-section {
    background-color: #fff;
}

.promotion-detail-title {
    font-size: 36px;
    font-weight: 700;
    color: #2B2825;
}

.promotion-detail-image {
    max-height: 400px;
    overflow: hidden;
    border-radius: 12px;
}

.promotion-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promotion-detail-description {
    font-size: 16px;
    line-height: 1.7;
    color: #2B2825;
}

.promotion-detail-description p {
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .promotions-section .section-title,
    .promotion-detail-title {
        font-size: 28px;
    }

    .promotion-card-title {
        font-size: 18px;
    }
}

/* News List Section Styles */
.news-list-section {
    background-color: #fff;
}

.news-list-section .section-title {
    font-size: 36px;
    font-weight: 700;
    color: #2B2825;
    margin-bottom: 2rem;
}

.news-card-vertical {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.news-card-vertical:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.news-card-image-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f5f5f5;
    flex-shrink: 0;
}

.news-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s;
}

.news-card-vertical:hover .news-card-image {
    transform: scale(1.05);
}

.news-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card-date {
    font-size: 13px;
    color: #999;
    margin-bottom: 0.5rem;
    flex-shrink: 0;
}

.news-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #2B2825;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    flex-shrink: 0;
    min-height: 52px;
}

.news-card-text {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex: 1;
}

.news-card-link-text {
    color: #1F8C82;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

/* News Detail Styles */
.news-detail-section {
    background-color: #fff;
}

.news-detail-date {
    font-size: 14px;
    color: #999;
    font-weight: 500;
}

.news-detail-title {
    font-size: 36px;
    font-weight: 700;
    color: #2B2825;
}

.news-detail-image {
    max-height: 400px;
    overflow: hidden;
    border-radius: 12px;
}

.news-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-detail-description {
    font-size: 16px;
    line-height: 1.7;
    color: #2B2825;
}

.news-detail-description p {
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .news-list-section .section-title,
    .news-detail-title {
        font-size: 28px;
    }

    .news-card-title {
        font-size: 18px;
    }

    .news-card-image-wrapper {
        height: 180px;
    }
}
