.hotel-gallery-section {
    width: 100%;
    padding: 80px 0 160px 0;
    font-family: "Monserrat", Sans-serif !important;
    overflow: hidden;
}

.hotel-gallery-container {
    position: relative;
    width: 100%;
    max-width: 1348px;
    padding: 0 80px;
    margin: 0 auto;
}

.hotel-gallery-header {
    margin-bottom: 40px;
}

.hotel-gallery-title {
    font-size: 42px;
    font-weight: 300;
    color: #2F2F2F;
    margin: 0 0 30px;
    text-transform: uppercase;
}

.hotel-gallery-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 100px;
    margin-bottom: 30px;
}

.hotel-gallery-description {
    font-size: 16px;
    font-weight: 300;
    color: #2F2F2F;
    line-height: 29px;
}

.hotel-gallery-video {
    width: 460px;
    flex-shrink: 0;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 20px;
    align-items: center;
}

.hotel-gallery-video-preview {
    width: 100%;
}

.hotel-gallery-video-info {
    display: flex;
    flex-direction: column;
}

.hotel-gallery-video-title {
    font-size: 18px;
    font-weight: 500;
    color: #2F2F2F;
    margin: 0 0 12px;
}

.hotel-gallery-video-description {
    font-size: 14px;
    font-weight: 300;
    color: #2F2F2F;
    line-height: 24px;
    margin: 0;
}

.hotel-gallery-video-wrapper {
    position: relative;
    height: 80px;
    border-right: 1px solid #0000001A;
}

.hotel-gallery-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--hotel-accent);
}

.hotel-gallery-video-play:hover {
    background: #2F2F2F;
}

.hotel-gallery-video-play:hover::after {
    color: #FFFFFF;
}

.hotel-gallery-video-play::after {
    content: '▶';
    font-size: 28px;
    color: var(--hotel-accent);
    margin-left: 3px;
    margin-bottom: 3px;
    transition: color 0.3s ease;
}

/* Video Modal */
.hotel-gallery-video-modal {
    display: none;
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2147483646;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.hotel-gallery-video-modal.active {
    display: flex;
}

body.hotel-gallery-video-open {
    overflow: hidden;
}

.hotel-gallery-video-modal-content {
    position: relative;
    width: 100%;
    max-width: 1200px;
    max-height: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

@supports not (aspect-ratio: 16 / 9) {
    .hotel-gallery-video-modal-content {
        height: 0;
        padding-bottom: 56.25%;
    }
    .hotel-gallery-video-modal-content > iframe,
    .hotel-gallery-video-modal-content > video {
        position: absolute;
        inset: 0;
    }
}

.hotel-gallery-video-modal-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #FFFFFF;
    border-radius: 50%;
    color: #FFFFFF;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2147483647;
    padding: 0;
}

.hotel-gallery-video-modal-close:hover {
    background: #FFFFFF;
    color: #000000;
    transform: rotate(90deg);
}

.hotel-gallery-video-modal iframe,
.hotel-gallery-video-modal video {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    background: #000;
    object-fit: contain;
}

@media (max-width: 768px) {
    .hotel-gallery-video-modal-close {
        top: 10px;
        right: 10px;
        width: 38px;
        height: 38px;
        font-size: 20px;
    }
}

.hotel-gallery-tabs {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 40px;
    background: var(--hotel-accent-35);
    padding: 0;
    position: relative;
}

.hotel-gallery-tab {
    padding: 25px 0;
    font-size: 18px;
    font-weight: 400;
    color: #2F2F2F;
    text-decoration: none;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    margin-right: 35px;
}

.hotel-gallery-tab:hover {
    color: #000000;
    text-decoration: underline;
    background: transparent;
}

.hotel-gallery-tab:focus {
    color: #000000;
    text-decoration: underline;
    background: transparent;
}

.hotel-gallery-tab.active {
    font-weight: 500;
    text-decoration: underline;
}

.hotel-gallery-content {
    position: relative;
}

.hotel-gallery-slider-main {
    position: absolute;
    top: 70px;
    left: 80px;
    width: 720px;
    height: 365px;
    border-radius: 6px;
    background: #FFF;
    padding: 30px 50px;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    z-index: 1;
}

.hotel-gallery-slider-info {
    flex: 1;
}

.hotel-gallery-slider-title {
    font-size: 16px;
    font-weight: 500;
    color: #2F2F2F;
    margin: 0 0 5px;
}

.hotel-gallery-slider-description {
    font-size: 16px;
    font-weight: 300;
    color: #2F2F2F;
    line-height: 26px;
    margin: 0;
}

.hotel-gallery-slider-wrapper {
    position: relative;
    display: none;
    z-index: 2;
}

.hotel-gallery-slider-wrapper.active {
    display: block;
}

.hotel-gallery-slider-container {
    display: flex;
    justify-content: flex-start;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.hotel-gallery-slides-track {
    position: relative;
    left: 0;
    display: flex;
    gap: 23px;
    transition: transform 0.75s cubic-bezier(0.34, 1.35, 0.64, 1);
    justify-content: flex-start;
}

.hotel-gallery-slide {
    flex-shrink: 0;
    width: 580px;
    height: 325px;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.hotel-gallery-slide img {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
}

.hotel-gallery-slide a {
    display: block;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
}

.hotel-gallery-mobile-slide a {
    display: block;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
}

.hotel-gallery-navigation {
    display: flex;
    gap: 15px;
    align-items: center;
}

.hotel-gallery-nav-btn {
    height: 60px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
    padding: 0;
}

.hotel-gallery-nav-btn:hover,
.hotel-gallery-nav-btn:focus {
    background-color: transparent !important;
}

.hotel-gallery-nav-btn img {
    height: 36px;
    width: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.hotel-gallery-nav-btn:hover img,
.hotel-gallery-nav-btn:focus img {
    opacity: 0.6;
}

.hotel-gallery-nav-btn--inactive {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

@media (max-width: 992px) {
    .hotel-gallery-top {
        flex-direction: column;
        gap: 40px;
    }

    .hotel-gallery-video {
        width: 100%;
        max-width: 600px;
        grid-template-columns: 160px 1fr;
        gap: 15px;
    }

    .hotel-gallery-video-wrapper {
        height: 120px;
    }

    .hotel-gallery-slider-container {
        left: 0;
        padding: 0 20px;
    }

    .hotel-gallery-slide {
        width: 450px;
        height: 250px;
    }

    .hotel-gallery-slider-main {
        width: 90%;
        height: auto;
        min-height: 280px;
        left: 5%;
        padding: 20px;
    }

    .hotel-gallery-tabs {
        overflow-x: auto;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
    }
}

@media (min-width: 769px) {
    .hotel-gallery-slider-mobile {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .hotel-gallery-slider-wrapper {
        display: none !important;
    }

    .hotel-gallery-slider-mobile {
        display: block !important;
        width: 100%;
        overflow: hidden;
    }

    .hotel-gallery-slider-mobile:not(.active) {
        display: none !important;
    }

    .hotel-gallery-mobile-container {
        width: 100%;
        overflow: hidden;
    }

    .hotel-gallery-mobile-track {
        display: flex;
        flex-wrap: nowrap;
        transition: transform 0.3s ease;
    }

    .hotel-gallery-mobile-slide {
        flex: 0 0 100%;
        width: 100%;
        min-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .hotel-gallery-mobile-slide img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: cover;
        object-position: center;
    }

    .hotel-gallery-slides-track {
        padding: 0;
    }

    .hotel-gallery-section {
        padding: 40px 0;
    }

    .hotel-gallery-container {
        padding: 0 30px;
    }

    .hotel-gallery-video-title {
        font-size: 16px;
        color: #000000;
    }

    .hotel-gallery-video-description {
        font-size: 16px;
    }

    .hotel-gallery-video {
        display: none;
    }

    .hotel-gallery-slider-main {
        min-height: unset;
        padding: 36px 5px 20px 20px;
        align-items: flex-start;
    }

    .hotel-gallery-nav-btn {
        height: 34px;
        width: 34px;
    }

    .hotel-gallery-content {
        display: flex;
        flex-direction: column-reverse;
    }

    .hotel-gallery-title {
        font-size: 30px;
        margin-bottom: 25px;
        text-align: center;
    }

    .hotel-gallery-description {
        text-align: center;
    }

    .hotel-gallery-video-wrapper {
        height: 200px;
    }

    .hotel-gallery-tabs {
        margin-bottom: 0;
    }
    .hotel-gallery-slide {
        width: 100%;
        height: auto;
    }

    .hotel-gallery-slider-main {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        margin-bottom: 30px;
    }

    .hotel-gallery-content {
        overflow-x: hidden;
    }

    .hotel-gallery-tab {
        padding: 15px 0;
        font-size: 16px;
        margin-right: 25px;
    }
}
