@font-face {
    font-family: 'Montserrat';
    src: url('../assets/fonts/Montserrat-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../assets/fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../assets/fonts/Montserrat-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../assets/fonts/Montserrat-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../assets/fonts/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Caveat';
    src: url('../assets/fonts/Caveat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Caveat';
    src: url('../assets/fonts/Caveat-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

.residence-comfort {
    padding-bottom: 25px;
}

.residence-comfort .title {
    margin-bottom: 25px;
}

.residence-comfort__intro {
    margin: 0 auto 55px;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
}

.residence-comfort__grid {
    align-items: stretch;
}

.residence-comfort__item {
    height: 100%;
    padding: 28px 30px 24px;
    border-top: 2px solid #978667;
    background: #faf8f5;
}

.residence-comfort__item h3 {
    margin-bottom: 14px;
    font-size: 1.35rem;
}

.residence-comfort__item p {
    margin-bottom: 0;
    line-height: 1.75;
}

.residence-comfort__item i {
    font-size: 2.125rem;
    margin-right: 15px;
    color: #978667;
}

.room-gallery-section .title {
    margin-bottom: 45px;
}

.room-gallery {
    column-count: 3;
    column-gap: 18px;
}

.room-gallery__item {
    display: block;
    width: 100%;
    margin: 0 0 18px;
    padding: 0;
    overflow: hidden;
    break-inside: avoid;
    border: 0;
    border-radius: 3px;
    background: #eeeae3;
    cursor: zoom-in;
}

.room-gallery__item img {
    display: block;
    width: 100%;
    height: auto;
    transition:
        transform 0.4s ease,
        opacity 0.4s ease;
}

.room-gallery__item:hover img,
.room-gallery__item:focus-visible img {
    transform: scale(1.025);
    opacity: 0.9;
}

.room-gallery__item:focus-visible {
    outline: 3px solid #978667;
    outline-offset: 3px;
}

.room-lightbox {
    display: flex;
    width: auto;
    max-width: none;
    margin: auto;
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
}

.room-lightbox::backdrop {
    background: rgba(16, 15, 13, 0.92);
    backdrop-filter: blur(3px);
}

.room-lightbox__image {
    display: block;
    width: auto;
    height: auto;
    max-width: calc(100vw - 48px);
    max-height: calc(100vh - 48px);
    object-fit: contain;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    margin: auto;
}

.room-lightbox__close {
    position: absolute;
    z-index: 1;
    top: 10px;
    right: 10px;
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(16, 15, 13, 0.75);
    color: #fff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.room-lightbox__close:hover,
.room-lightbox__close:focus-visible {
    background: #978667;
}

.room-lightbox__navigation {
    position: absolute;
    z-index: 1;
    top: 50%;
    display: grid;
    width: 48px;
    height: 48px;
    padding: 0;
    place-items: center;
    transform: translateY(-50%);
    border: 0;
    border-radius: 50%;
    background: rgba(16, 15, 13, 0.75);
    color: #fff;
    font-size: 38px;
    line-height: 1;
    cursor: pointer;
}

.room-lightbox__previous {
    left: 12px;
}

.room-lightbox__next {
    right: 12px;
}

.room-lightbox__navigation:hover,
.room-lightbox__navigation:focus-visible {
    background: #978667;
}

body.room-lightbox-open {
    overflow: hidden;
}

.room-feature-image {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
}

.room-feature-image .item,
.room-feature-image a,
.room-feature-image img {
    display: block;
    width: 100%;
}

.room-feature-image img {
    height: auto;
    transition: transform 0.5s ease;
}

.room-feature-image a:hover img,
.room-feature-image a:focus-visible img {
    transform: scale(1.025);
}

.pinned-image__container {
    transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.pinned-image.is-visible .pinned-image__container {
    transform: scale(1.05);
}

.pinned_over_content {
    opacity: 0;
    transition: opacity 0.8s ease 0.2s;
}

.pinned-image.is-visible .pinned_over_content {
    opacity: 1;
}

.hero.jarallax {
    overflow: hidden;
}

.jarallax > .jarallax-img {
    top: -10%;
    height: 120%;
    will-change: transform;
}

[data-jarallax-element] {
    will-change: transform;
}

.footer_links li {
    transition: opacity 0.3s ease;
}

.footer_links ul:hover li {
    opacity: 0.6;
}

.footer_links ul li:hover {
    opacity: 1;
}

body.menu-open {
    overflow: hidden;
}

@media (min-width: 992px) {
    .fixed_title {
        position: sticky;
        top: 120px;
        align-self: flex-start;
    }
}

@media (min-width: 1024px) {
    body.footer-reveal-enabled main {
        position: relative;
        z-index: 2;
        margin-bottom: var(--footer-height);
        background: #fff;
    }

    body.footer-reveal-enabled footer.revealed {
        position: fixed;
        z-index: 1;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
    }
}

@media (max-width: 991px) {
    .room-gallery {
        column-count: 2;
    }
}

@media (max-width: 575px) {
    .residence-comfort__intro {
        margin-bottom: 38px;
        font-size: 1rem;
    }

    .residence-comfort__item {
        padding: 24px 22px 20px;
    }

    .room-gallery-section .title {
        margin-bottom: 30px;
    }

    .room-gallery {
        column-count: 1;
        column-gap: 12px;
    }

    .room-gallery__item {
        margin-bottom: 12px;
    }

    .room-lightbox__image {
        max-width: calc(100vw - 24px);
        max-height: calc(100vh - 24px);
    }

    .room-lightbox__navigation {
        width: 42px;
        height: 42px;
    }

    .room-lightbox__previous {
        left: 6px;
    }

    .room-lightbox__next {
        right: 6px;
    }
}

@media (max-width: 767px) {
    .hero.jarallax > .jarallax-img {
        top: 0;
        height: 100%;
        transform: none !important;
        animation: none;
        transition: none;
        will-change: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .room-gallery__item img,
    .room-feature-image img,
    .pinned-image__container,
    .pinned_over_content,
    .footer_links li {
        transition: none;
    }

    .pinned-image__container,
    .pinned-image.is-visible .pinned-image__container {
        transform: scale(1);
    }

    .pinned_over_content {
        opacity: 1;
    }

    .jarallax > .jarallax-img,
    [data-jarallax-element] {
        transform: none !important;
        will-change: auto;
    }
}

.error_page {
    height: 100vh;
}
