@import "rooms.css";

.gallery {
    position: relative;
    width: 100%;
    height: 554px;
    margin-bottom: 86px;
}

.gallery::after {
    content: '';
    display: block;
    position: absolute;
    max-width: 1096px;
    width: 100%;
    height: 4px;
    background: #DFAA5B;
    bottom: -74px;
    left: 50%;
    transform: translateX(-50%);
}

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

.swiper {
    width: 100%;
    height: 100%;
}

.arrows {
    display: flex;
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    gap: 12px;
    z-index: 100;
}

.slide-arrow {
    border: none;
    cursor: pointer;
    color: #000;
    position: relative;
}

.room-info {
    position: absolute;
    bottom: 0;
    width: 100%;
    font-size: 20px;
    font-family: 'Roboto', sans-serif;
    z-index: 1;
}

.room-info__container {
    max-width: 1395px;
    margin: 0 auto;
    width: 100%;
    padding: 23px 45px;
    display: flex;
    background: rgba(0,0,0,0.7);
    justify-content: space-between;
    border-radius: 12px;
    transform: translateY(50%);
}

.room-info__price {
    padding: 12px 16px;
    background: #FFFFFF;
    border-radius: 10px;
    max-width: 416px;
    width: 100%;
}

.room-info__price-title {
    color: #957554;
}

.room-info__check-btn {
    margin: 0;
    font-size: 20px;
}

@media screen and (max-width: 1180px) {
    .room-info__container {
        column-gap: 12px;
    }
}

@media screen and (max-width: 940px) {
    .room-info__container {
        column-gap: 12px;
    }

    .room-info {
        font-size: 16px;
    }
}

@media screen and (max-width: 600px) {
    .room-info__price {
        padding: 8px 12px;
    }
}

@media screen and (max-width: 502px) {
    .arrows {
        bottom: 178px;
    }

    .room-info {
        bottom: 10%;
    }

    .room-info__container {
        flex-direction: column;
        row-gap: 12px;
    }
}