#service-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}


#service-modal.service-modal-show {
    opacity: 1;
}

.service-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    transition: transform 0.3s;
    background: var(--welsh-flint);
    padding: 40px;
    width: 75vw;
    max-width: 1400px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background-image: url(https://yar.moscow/wp-content/uploads/2025/11/Group-8-1.png), url(https://yar.moscow/wp-content/uploads/2025/11/Group-9-1.png);
    background-repeat: no-repeat;
    background-position: right top, right bottom;
}

.service-modal-content::-webkit-scrollbar {
    display: none;
}

.service-modal-content {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

#service-modal.service-modal-show .service-modal-content {
    transform: translate(-50%, -50%) scale(1);
}

.service-swiper {
    width: 100%;
    max-width: 700px;
    height: 450px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

@media (max-width: 768px) {
    .service-swiper {
        height: 300px;
        max-width: 100%;
    }
}

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

.service-swiper .swiper-button-next {
    color: var(--buttery-white);
    width: 40px;
    height: 40px;
}

.service-swiper .swiper-button-prev {
    color: var(--buttery-white);
    width: 40px;
    height: 40px;
}

@media (max-width: 768px) {
    .service-swiper .swiper-button-next {
        right: 10px;
    }
    .service-swiper .swiper-button-prev {
        left: 10px;
    }
}

.service-swiper .swiper-pagination {
    position: absolute;
    width: 100%;
}

.service-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    opacity: 0.7;
}

.service-swiper .swiper-pagination-bullet-active {
    background: var(--buttery-white);
    opacity: 1;
}

.service-modal-text {
    width: 90%;
    margin: 1rem auto 20px;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

.service-modal-text h4 {
	text-align:left;
	font-size: 20px;
}

.service-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 49px;
    height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-no-images {
    text-align: center;
    padding: 50px;
    color: #999;
    font-style: italic;
}

@media (max-width: 768px) {
    .service-modal-content {
        padding: 25px;
        width: 95vw;
    }
    .service-modal-close {
        top: 10px;
        right: 15px;
    }
    .service-modal-text {
        width: 95%;
        margin: 40px auto 20px;
    }
}

.slider-bullets {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.slider-bullets .bullet {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s;
}

.slider-bullets .bullet.active {
    background: #007cba;
}

body.service-modal-open {
    overflow: hidden;
}

.service-modal-title {
    text-align: center;
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #333;
    position: relative;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .service-modal-title {
        font-size: 24px;
        margin-bottom: 1rem;
    }
}

#room-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}

#room-modal.room-modal-show {
    opacity: 1;
}

.room-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    transition: transform 0.3s;
    background: var(--welsh-flint);
    padding: 40px;
    width: 75vw;
    max-width: 1400px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background-image: url(https://yar.moscow/wp-content/uploads/2025/11/Group-8-1.png), url(https://yar.moscow/wp-content/uploads/2025/11/Group-9-1.png);
    background-repeat: no-repeat;
    background-position: right top, right bottom;
}

.room-modal-content::-webkit-scrollbar {
    display: none;
}

.room-modal-content {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

#room-modal.room-modal-show .room-modal-content {
    transform: translate(-50%, -50%) scale(1);
}

.room-swiper {
    width: 100%;
    max-width: 700px;
    height: 450px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

@media (max-width: 768px) {
    .room-swiper {
        height: 300px;
        max-width: 100%;
    }
}

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

.room-swiper .swiper-button-next {
    color: var(--buttery-white);
    width: 40px;
    height: 40px;
}

.room-swiper .swiper-button-prev {
    color: var(--buttery-white);
    width: 40px;
    height: 40px;
}

@media (max-width: 768px) {
    .room-swiper .swiper-button-next {
        right: 10px;
    }
    .room-swiper .swiper-button-prev {
        left: 10px;
    }
}

.room-swiper .swiper-pagination {
    position: absolute;
    width: 100%;
}

.room-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    opacity: 0.7;
}

.room-swiper .swiper-pagination-bullet-active {
    background: var(--buttery-white);
    opacity: 1;
}

.room-modal-text {
    width: 90%;
    margin: 1rem auto 20px;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
}

.room-modal-text h4 {
	text-align:left;
}

.room-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 49px;
    height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.room-no-images {
    text-align: center;
    padding: 50px;
    color: #999;
    font-style: italic;
}

@media (max-width: 768px) {
    .room-modal-content {
        padding: 25px;
        width: 95vw;
    }
    .room-modal-close {
        top: 10px;
        right: 15px;
    }
    .room-modal-text {
        width: 95%;
        margin: 40px auto 20px;
    }
}

.slider-bullets {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}

.slider-bullets .bullet {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s;
}

.slider-bullets .bullet.active {
    background: #007cba;
}

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

.room-modal-title {
    text-align: center;
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #333;
    position: relative;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .room-modal-title {
        font-size: 24px;
        margin-bottom: 1rem;
    }
}