* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    font-weight: 300;
}

.container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
    font-weight: 400;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    font-weight: 300;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    font-weight: 300;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

a:focus {
    outline: none;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(3px);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(7px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.logo {
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.header.scrolled .logo {
    margin-bottom: 0;
}

.logo-img {
    height: 112px;
    width: 223px;
    transition: all 0.3s ease;
}

.header.scrolled .logo-img {
    height: 90px;
    width: 180px;
}

.logo-white {
    display: block;
}

.logo-black {
    display: none;
}

.header.scrolled .logo-white {
    display: none;
}

.header.scrolled .logo-black {
    display: block;
}

.header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 45px 0 5px 0;
    transition: all 0.3s ease;
    position: relative;
}

.header-top-link {
    position: absolute;
    top: 15px;
    left: 20px;
    z-index: 10;
}

.golden-ring-link {
    color: white;
    text-decoration: none;
    font-family: 'Cormorant Garamond', serif;
    font-size: 14px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.golden-ring-link:hover {
    text-decoration: underline;
}

.header.scrolled .golden-ring-link {
    color: #333;
}

.header.scrolled .header-content {
    padding: 40px 0 5px 0;
}

.header-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 0;
    position: relative;
}

.header.scrolled .header-top-row {
    margin-bottom: 0;
}

.logo-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

/* Раскрывающееся меню "Наши проекты" (десктоп) */
.projects-dropdown-wrap {
    position: relative;
    z-index: 10;
    flex-shrink: 0;
}

.projects-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: transparent;
    border: none;
    color: white;
    font-family: 'Cormorant Garamond', serif;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.projects-dropdown-trigger:hover {
    color: #d4af37;
}

.projects-dropdown-trigger i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.projects-dropdown-wrap.open .projects-dropdown-trigger i {
    transform: rotate(180deg);
}

.header.scrolled .projects-dropdown-trigger {
    color: #333;
}

.header.scrolled .projects-dropdown-trigger:hover {
    color: #d4af37;
}

.projects-dropdown-panel {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 6px;
    min-width: 240px;
    background: white;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-radius: 4px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 100;
}

.projects-dropdown-wrap.open .projects-dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.projects-dropdown-panel a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    transition: background 0.2s ease, color 0.2s ease;
}

.projects-dropdown-panel a:hover {
    background: #f5f5f5;
    color: #d4af37;
}

.book-button-container {
    flex-shrink: 0;
    margin-left: auto;
    z-index: 2;
}

.book-btn {
    display: inline-block;
    background: transparent;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: 13px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 1px solid white;
}

.book-btn:hover {
    background: #000000;
    color: white;
    border: 1px solid #000000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.header.scrolled .book-btn {
    background: transparent;
    color: #333;
    border: 1px solid #333;
}

.header.scrolled .book-btn:hover {
    background: #000000;
    color: white;
    border: 1px solid #000000;
}

.main-nav {
    width: 100%;
    margin-top: 10px;
    position: relative;
    padding: 8px 0 5px 0;
    z-index: 2;
}

.main-nav::before,
.main-nav::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    transition: background-color 0.3s ease;
}

.main-nav::before {
    top: 0;
}

.main-nav::after {
    bottom: 0;
}

.header.scrolled .main-nav {
    margin-top: 8px;
}

.header.scrolled .main-nav::before,
.header.scrolled .main-nav::after {
    background-color: rgba(0, 0, 0, 0.2);
}

.nav-menu {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: white;
    font-family: 'Cormorant Garamond', serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 1;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.header.scrolled .nav-menu a {
    color: #333;
}

.nav-menu a:hover {
    color: #d4af37;
}

/* Гамбургер-меню */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2001;
    position: relative;
    margin-left: auto;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

.header.scrolled .mobile-menu-toggle span {
    background-color: #333;
}

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

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

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

.mobile-menu-close {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: #333;
    font-size: 24px;
    cursor: pointer;
    z-index: 2001;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.mobile-menu-close:hover {
    color: #d4af37;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@media (max-width: 768px) {
    .mobile-menu-overlay.active {
        display: block;
        opacity: 1;
    }
}

.slider-section {
    position: relative;
    height: 85vh;
    overflow: hidden;
    margin-top: 0;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
}

.slide-button {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    padding: 15px 27px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
}

.slide-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.slide-btn {
    display: inline-block;
    background: white;
    color: black;
    border: none;
    padding: 10px 22px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-weight: 400;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 160px;
    text-align: center;
    text-decoration: none;
}

.slide-btn:hover {
    background: black;
    color: white;
}


.about {
    padding: 80px 0;
    background: #f9f9f9;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-text h1,
.about-text h2 {
    color: #333;
    margin-bottom: 2rem;
}

.about-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-image {
    height: 100%;
    min-height: 500px;
}

.virtual-tour-btn {
    display: inline-block;
    background: black;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 4px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 400;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 200px;
    text-align: center;
}

.virtual-tour-btn:hover {
    background: transparent;
    color: black;
    border: 1px solid black;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.homereserve-widget {
    padding: 80px 0 120px 0;
    background: #f9f9f9;
    position: relative;
}

.widget-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    padding: 40px 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: #f9f9f9;
    z-index: 1;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #a23627;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.widget-loader p {
    color: #666;
    font-size: 1rem;
    font-family: 'Cormorant Garamond', serif;
}

.content-page .container {
    position: relative;
}

.content-page .widget-loader {
    position: relative;
    background: transparent;
    min-height: 150px;
}

.contact-info {
    padding: 60px 0;
    background: #333;
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.contact-item h4 {
    color: #d4af37;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.contact-item p {
    color: #ccc;
    line-height: 1.6;
}

.facilities {
    padding: 80px 0;
    background: white;
}

.facilities h3 {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.facility-item {
    text-align: center;
    padding: 20px;
}

.facility-item .facility-icon-img {
    display: block;
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    object-fit: contain;
}

.facility-item span {
    display: block;
    font-weight: 500;
    color: #333;
}

.rooms {
    padding: 80px 0;
    background: #f9f9f9;
}

.agapa-gallery {
    padding: 80px 0;
    background: white;
}

.agapa-gallery h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
    color: #333;
}

.restoration-story {
    padding: 80px 0;
    background: #f9f9f9;
}

.restoration-text {
    max-width: 100%;
    margin-bottom: 4rem;
}

.restoration-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.restoration-gallery {
    margin-top: 4rem;
}

.restoration-gallery h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.2rem;
    color: #333;
}

.room-gallery-section {
    margin-bottom: 4rem;
}

.room-gallery-main {
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 20px;
    align-items: start;
}

.room-gallery-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.room-main-image {
    width: 500px;
    height: 500px;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.room-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.room-main-image:hover img {
    transform: scale(1.05);
}

.room-thumbnails-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    width: 100%;
    align-items: start;
}

.room-thumbnail {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.room-thumbnail:hover {
    border-color: #a23627;
    transform: scale(1.05);
}

.room-thumbnail.active {
    border-color: #a23627;
}

.room-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.room-description-section {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid #e0e0e0;
}

.room-description-section h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.room-description-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

.room-page-header {
    display: flex !important;
    align-items: center;
    gap: 20px;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    padding-top: 120px;
    visibility: visible !important;
    opacity: 1 !important;
}

.back-link-container {
    margin-bottom: 0;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #333;
    text-decoration: none;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 10px 0;
}

.back-link:hover {
    color: #a23627;
    transform: translateX(-5px);
}

.back-link i {
    font-size: 1rem;
}

.room-page-header h1 {
    margin: 0 !important;
    font-size: 2.5rem !important;
    color: #333 !important;
    font-weight: 300 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.room-page-header h1 {
    margin: 0;
    font-size: 2.5rem;
    color: #333;
    font-weight: 300;
}

@media (max-width: 768px) {
    .room-gallery-main {
        grid-template-columns: 1fr;
    }
    
    .room-main-image {
        width: 100%;
        max-width: 500px;
        height: 400px;
        margin: 0 auto;
    }
    
    .room-gallery-right {
        margin-top: 20px;
    }
    
    .room-thumbnails-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 8px;
    }
    
    .room-gallery-right .booking-section {
        margin-top: 2rem;
        padding-top: 2rem;
    }
    
    .room-gallery-right .booking-section h2 {
        text-align: center;
        font-size: 1.6rem;
    }
}

.content-with-image {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
    margin: 3rem 0;
}

.content-with-image.reverse {
    grid-template-columns: 300px 1fr;
}

.content-text {
    flex: 1;
}

.content-image-vertical {
    position: sticky;
    top: 120px;
    width: 100%;
}

.content-image-vertical img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    object-fit: cover;
    display: block;
}

@media (max-width: 968px) {
    .content-with-image {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .content-with-image.reverse {
        grid-template-columns: 1fr;
    }
    
    .content-image-vertical {
        position: static;
        max-width: 400px;
        margin: 0 auto;
    }
}

.rooms h1,
.rooms h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    aspect-ratio: 4/3;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

.explore-btn {
    display: inline-block;
    background: black;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 4px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 400;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 200px;
    text-align: center;
}

.explore-btn:hover {
    background: transparent;
    color: black;
    border: 1px solid black;
    transform: translateY(-2px);
}

/* Стили для модального окна галереи */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.gallery-modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.gallery-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s ease;
}

.gallery-close:hover {
    color: #d4af37;
}

.gallery-main {
    position: relative;
    max-width: 90%;
    max-height: 80%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#gallery-main-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 24px;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10001;
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: rgba(212, 175, 55, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    max-width: 90%;
    overflow-x: auto;
    padding: 10px 0;
}

.gallery-thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.gallery-thumbnail:hover,
.gallery-thumbnail.active {
    opacity: 1;
    border-color: #d4af37;
    transform: scale(1.1);
}

/* Адаптивные стили для галереи */
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.bar-section {
    padding: 80px 0;
    background: white;
}

.bar-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.bar-text h2 {
    color: #333;
    margin-bottom: 2rem;
}

.bar-text p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.discover-btn {
    display: inline-block;
    background: black;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 4px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 400;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 200px;
    text-align: center;
}

.discover-btn:hover {
    background: transparent;
    color: black;
    border: 1px solid black;
    transform: translateY(-2px);
}

.bar-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.events {
    padding: 80px 0;
    background: #f9f9f9;
    text-align: center;
}

.events h1,
.events h2 {
    color: #333;
    margin-bottom: 2rem;
}

.events p {
    color: #666;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 100%;
}

.event-type-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.event-type {
    background: white;
    padding: 40px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.event-type:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.event-type h3 {
    color: #333;
    margin: 0;
}

.event-type h3 {
    color: #333;
}

.neighborhood {
    padding: 80px 0;
    background-color: #333;
    background-image: url('../images/fon.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    text-align: center;
    position: relative;
}


.neighborhood .container {
    position: relative;
    z-index: 2;
}

.neighborhood h1,
.neighborhood h2 {
    color: white;
    margin-bottom: 2rem;
}

.neighborhood p {
    color: #ccc;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.explore-now-btn {
    display: inline-block;
    background: black;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 4px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 400;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 200px;
    text-align: center;
}

.explore-now-btn:hover {
    background: transparent;
    color: white;
    border: 1px solid white;
    transform: translateY(-2px);
}

.offers {
    padding: 80px 0;
    background: white;
}

.offers h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.offer-card {
    background: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.offer-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.offer-content {
    padding: 25px;
}

.offer-content h3 {
    color: #333;
    margin-bottom: 1rem;
}

.offer-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.offer-price {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 1.5rem;
    color: #666;
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #d4af37;
}

.view-offer-btn {
    display: inline-block;
    background: black;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 4px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 400;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 200px;
    text-align: center;
}

.view-offer-btn:hover {
    background: transparent;
    color: black;
    border: 1px solid black;
    transform: translateY(-2px);
}

.membership {
    padding: 80px 0;
    background: #f9f9f9;
    text-align: center;
}

.membership h1,
.membership h2 {
    color: #333;
    margin-bottom: 3rem;
}

.membership-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 3rem;
}

.feature {
    background: white;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature i {
    font-size: 2.5rem;
    color: #666;
    margin-bottom: 1rem;
}

.feature h4 {
    color: #333;
}

.membership-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.signup-btn,
.login-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.signup-btn {
    background: black;
    color: white;
    border: 1px solid black;
}

.signup-btn:hover {
    background: transparent;
    color: black;
    border: 1px solid black;
    transform: translateY(-2px);
}

.login-btn {
    background: transparent;
    color: #333;
    border: 2px solid #333;
}

.login-btn:hover {
    background: #333;
    color: white;
}

.footer {
    background: #a23627;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3,
.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section p {
    color: white;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a,
.footer-section p a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover,
.footer-section p a:hover {
    text-decoration: underline;
}

.notification-buttons {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

.no-thanks,
.yes-please {
    padding: 8px 15px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.no-thanks {
    background: #666;
    color: white;
}

.yes-please {
    background: black;
    color: white;
}

.no-thanks:hover,
.yes-please:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #555;
}

.footer-bottom p {
    color: white;
    margin: 0;
}

.booking-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
    transition: color 0.3s ease;
}

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

.modal-content h2 {
    margin-bottom: 2rem;
    color: #333;
}

.booking-form-modal {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #d4af37;
}

.check-rooms-btn {
    background: black;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 4px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 20px;
    min-width: 200px;
    text-align: center;
}

.check-rooms-btn:hover {
    background: transparent;
    color: black;
    border: 1px solid black;
    transform: translateY(-2px);
}

.placeholder-img {
    background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 0.9rem;
    text-align: center;
}

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

.mb-2 {
    margin-bottom: 2rem;
}

.mt-2 {
    margin-top: 2rem;
}

/* Стили для страницы с текстовым контентом */
.content-page-header {
    padding: 40px 0 60px 0;
    background: #f9f9f9;
    text-align: center;
    margin-top: 0;
}

.content-page-header h1 {
    font-size: 3rem;
    color: #333;
    font-weight: 300;
    margin: 0;
}

.content-page {
    padding: 80px 0;
    background: white;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.content-wrapper-single {
    max-width: 900px;
    margin: 0 auto;
}

/* Стили для страницы контактов */
.contacts-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contacts-info h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 2rem;
    font-weight: 300;
}

.contacts-info h3 {
    font-size: 1.5rem;
    color: #333;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.contact-details-block {
    margin-bottom: 2rem;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-detail-item i {
    font-size: 1.5rem;
    color: #d4af37;
    margin-top: 0.3rem;
    min-width: 24px;
}

.contact-detail-item h4 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.contact-detail-item p {
    color: #666;
    margin: 0;
    font-size: 1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
    font-size: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: 'Roboto', 'Open Sans', sans-serif;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #d4af37;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.3rem;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: 400;
    cursor: pointer;
    line-height: 1.5;
}

.contact-form-btn {
    background: black;
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 4px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: flex-start;
}

.contact-form-btn:hover {
    background: transparent;
    color: black;
    border: 1px solid black;
    transform: translateY(-2px);
}

.map-placeholder {
    position: sticky;
    top: 220px;
}

.map-container {
    width: 100%;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.map-container:hover {
    filter: grayscale(80%);
}

.content-article {
    line-height: 1.8;
}

.content-article h2 {
    font-size: 2rem;
    color: #333;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

.content-article h2:first-child {
    margin-top: 0;
}

.content-article h3 {
    font-size: 1.5rem;
    color: #333;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.content-article p {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
}

.content-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.content-list li {
    color: #666;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1.1rem;
    line-height: 1.8;
}

.content-list li::before {
    content: '•';
    color: #d4af37;
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -2px;
}

/* FAQ блок (спойлеры) */
.faq-section {
    max-width: 900px;
    margin: 4rem auto 0;
    padding-top: 3rem;
    border-top: 1px solid #e0e0e0;
}

.faq-title {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 2rem;
    text-align: left;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid #e8e8e8;
    overflow: hidden;
}

.faq-item:first-child {
    border-top: 1px solid #e8e8e8;
}

.faq-question {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: #333;
    padding: 1.25rem 2.5rem 1.25rem 0;
    cursor: pointer;
    list-style: none;
    position: relative;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    color: #d4af37;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
    transform: translateY(-50%) rotate(180deg);
}

.faq-question:hover {
    color: #d4af37;
}

.faq-answer {
    padding: 0 0 1.25rem 0;
}

.faq-answer p {
    margin: 0;
    color: #666;
    font-size: 1.05rem;
    line-height: 1.75;
    padding-left: 0;
}

@media (max-width: 768px) {
    .faq-title {
        font-size: 1.8rem;
    }
    .faq-question {
        font-size: 1.1rem;
        padding-right: 2rem;
    }
}

.contact-details {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.contact-details p {
    margin-bottom: 1rem;
    color: #333;
}

.contact-details p:last-child {
    margin-bottom: 0;
}

.contact-details strong {
    color: #333;
    font-weight: 500;
}

.content-image-placeholder {
    background: #f9f9f9;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    text-align: center;
    border: 1px dashed #ddd;
}

.content-image-placeholder p {
    margin: 0;
    color: #999;
    font-style: italic;
}

.content-images {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: sticky;
    top: 220px;
}

.content-image {
    margin: 0;
    text-align: center;
}

.content-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.content-divider {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 3rem 0;
}

/* Стили для секции с изображением на странице booking */
.booking-hero-section {
    position: relative;
    height: 400px;
    overflow: hidden;
    margin-top: 0;
}

.booking-hero-image {
    width: 100%;
    height: 100%;
}

.booking-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Стили для страницы content - белый фон шапки */
.content-page-body .header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(7px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.content-page-body .header .golden-ring-link {
    color: #333;
}

.content-page-body .header .logo-white {
    display: none;
}

.content-page-body .header .logo-black {
    display: block;
}

.content-page-body .header .book-btn {
    background: transparent;
    color: #333;
    border: 1px solid #333;
}

.content-page-body .header .book-btn:hover {
    background: #000000;
    color: white;
    border: 1px solid #000000;
}

.content-page-body .header .nav-menu a {
    color: #333;
}

.content-page-body .header .nav-menu a:hover {
    color: #d4af37;
}

.content-page-body .header .main-nav::before,
.content-page-body .header .main-nav::after {
    background-color: rgba(0, 0, 0, 0.2);
}

/* Стили для блоков номеров на странице nomernoy-fond-all.html */
.rooms-section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 60px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
}

.rooms-grid-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.room-card-large {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.room-card-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.room-image-large {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.room-image-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.room-card-large:hover .room-image-large img {
    transform: scale(1.05);
}

.room-content-large {
    padding: 30px;
    text-align: center;
}

.room-content-large h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 15px;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
}

.room-content-large p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    font-family: 'Roboto', sans-serif;
}

.room-details-btn {
    display: inline-block;
    background: black;
    color: white;
    text-decoration: none;
    padding: 15px 40px;
    border-radius: 4px;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 400;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 200px;
    text-align: center;
}

.room-details-btn:hover {
    background: transparent;
    color: black;
    border: 1px solid black;
    transform: translateY(-2px);
}

@media (max-width: 968px) {
    .rooms-grid-two {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .room-image-large {
        height: 300px;
    }
    
    .rooms-section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
}

/* Стили для секции бронирования на страницах номеров */
.booking-section {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid #e0e0e0;
}

.room-gallery-right .booking-section {
    margin-top: 2rem;
    padding-top: 2rem;
}

.booking-section h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
}

.room-gallery-right .booking-section h2 {
    font-size: 1.8rem;
    text-align: left;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .booking-section h2 {
        font-size: 1.8rem;
    }
}

/* SEO intro block */
.seo-intro.content-article {
    max-width: 900px;
    margin: 4rem auto 0;
    padding-top: 3rem;
    border-top: 1px solid #e0e0e0;
}

.seo-intro.content-article h2 {
    margin-top: 0;
}


/* Главная: h1 с оформлением как h2 */
.about-text h1,
.rooms h1,
.events h1,
.neighborhood h1,
.membership h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 300;
    line-height: 1.2;
}
.about-text h1 {
    margin-bottom: 2rem;
}
.rooms h1 {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}
.membership h1 {
    color: #333;
    margin-bottom: 3rem;
}


/* Главная: h1 с оформлением как h2 */
.about-text h1,
.rooms h1,
.events h1,
.neighborhood h1,
.membership h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 300;
    line-height: 1.2;
}
.about-text h1 {
    margin-bottom: 2rem;
}
.rooms h1 {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}
.membership h1 {
    color: #333;
    margin-bottom: 3rem;
}
