﻿

.floating-button p {
    margin:0;
}

.floating-button a{
   text-decoration:none;
   color:black;
}
    .floating-button a:hover {
        color: #a38d54;
    }





#RoomsBackGround {
    display: flex;
    align-items: center;
    width: 100vw;
}
#RoomsBackGround picture{
   width:100vw;
}
#RoomBackGroundText {
    align-items: center;
    width: 100%;
    z-index: 99;
    position: absolute;
    top:35%;
    display: flex;
    flex-flow: column;
}
#RoomBackGroundText h2{
    font-weight:400;
    text-align: center;
    text-shadow: 1px 1px 2px #a1a1a1;
    font-size: 70px;
    color: white;
}
    #RoomBackGroundText h3 {
        font-weight: 400;
        text-align: center;
        text-shadow: 1px 1px 2px #a1a1a1;
        font-size: 50px;
        color: white;
    }
    #RoomsBackGroundImg {
        width: 100%;
    }



.RoomBox{
    padding:0% 10%;
    padding-top:2%;
    width:100vw;
    display:flex;
    flex-flow:row;
    justify-content:center;
    
}
.RoomBoxImg{
    width:55%;
}
.RoomPreview {
    background-color: none;
    width: 100%;
    aspect-ratio: 5/4;
}
.RoomBoxInfo {
    row-gap:20px;
    padding:0 2%;
    display:flex;
    flex-flow:column;
    width:40%;
    background-color: #e5e5e5;
}
.RoomBoxTitle {
    font-weight:400;
    padding-bottom:10%;
    margin: 0;
    margin-top: 40px;
    text-align: center;
    color: #a38d54;
    font-size: 40px;
}
.RoomBoxIcons {
    row-gap:50px;
    justify-content:center;
    display: flex;
    width: 100%;
    flex-flow: row;
    justify-items: center;
}
.IconAndValue {
    width: 30%;
    display: flex;
    flex-flow: column;
    justify-items: center;
    align-items:center;
}
.IconAndValue img{
    width:64px;
    aspect-ratio:1/1;
}
.IconAndValue p{
    font-size:20px;
    text-align:center; 
}
.RoomBoxButtons {
    padding:5% 0;
    gap:20px;
    position:relative;
    text-align: center;
    width: 100%;
    display: flex;
    flex-flow: row;
    justify-content: center;
}

.RoomMore {
    font-size: 20px;
    
}

.RoomBoxDiscription {
    padding: 0% 10%;
    width: 100vw;
    display: flex;
    flex-flow: row;
    justify-content: center;
}
.RoomText {

    padding:2%;
    background-color: #e5e5e5;
}
.RoomTitle {
    display: flex;
    flex-flow: column;
    align-items:center;
    padding: 2%;
}
.RoomTitle h1, .RoomTitle h4{
    font-weight: 300;
    text-align: center;
}
.Icons {
    row-gap: 20px;
    background-color: #f9f9f9;
    padding: 2% 2% 2% 2%;
    display: flex;
    flex-flow: column;
    width: 45%;
    justify-content: center;
}

.RoomText p {
    font-size: 20px;
}
.IconAndName {
    gap:15px;
    padding:0 2% 2% 2%;
    width: 100%;
    display: flex;
    flex-flow: row;
}
.IconAndName img{
    width:32px;
    height:32px;
}
    .IconAndName p {
        padding:1%;
        text-align: center;
        margin:0;
        font-size: 15px;
        font-weight:500;
    }

.RoomBoxFacilities {
    padding: 2% 10% 5% 10%;
    width: 100vw;
    display: flex;
    flex-flow: column;
    justify-content: center;
}
    .RoomBoxFacilities h1{
        font-weight:300;
    }
    .RoomBoxFacilitiesImg {
        display: flex;
        justify-content: center;
        width: 50%;
    }
 .RoomBoxFacilitiesImg img{
     width:100%;
     height:auto;
 }

.RoomBoxFacilitiesBox {
    display: flex;
    flex-flow: row;
    justify-content: space-between;
    overflow: hidden;
    padding-top: 1%
}


.Facilities {
    padding: 0 2% 2% 2%;
    width: 40%;
    font-size: 25px;
}
    .Facilities p {
        margin:0;
        font-size: 16px;
        font-weight: 200;
        padding: 2%;
        border-bottom: solid 1px black;
    }
    .Facilities img {
       
        margin-right:4%;
        width: 48px;
        height: 48px
    }





.custom-slider-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.custom-slider {
    display: flex;
    transition: none;
}
    .custom-slider img {
        width: 98%;
    }

/* Каждый слайд занимает одну треть ширины контейнера */
.custom-slide {
    display: flex;
    justify-content: center;
    min-width: calc(100% / 3);
    text-align: center;
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

    .custom-slide.hidden {
        opacity: 0;
    }

.custom-btn {
    position: absolute;
    top: 25%;
    background-color: rgba(207, 181, 58, 0.6);
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    color: white;
}

/* Расположение кнопок можно скорректировать под дизайн */
#customPrevBtn {
    top:45%;
    left: 35px;
}

#customNextBtn {
    top: 45%;
    right: 35px;
}

.custom-btn svg {
    fill: white;
    width: 20px;
    height: 80px;
}

.fade-in {
    animation: fadeIn 0.3s ease-in-out forwards;
}

.fade-out {
    animation: fadeOut 0.3s ease-in-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: 0;
        transform: scale(0.95);
    }
}





















.TextBoxDescription {
    display: flex;
    justify-content: flex-start;
    flex: 75%;
    align-items: center;
    width: 100%;
}

.TextBox p {
    margin: 0;
    padding: 0 40px;
    text-align: justify;
    font-size: 20px;
    line-height: 200%;
}

.Title {
    text-shadow: 1px 1px 2px #a1a1a1;
    margin: 0;
    margin-top: 40px;
    text-align: center;
    color: #a38d54;
    font-family: 'Quicksand', sans-serif;
    font-size: 40px;
}

/*///////////////////////////////////////////////////////*/
#RoomBoxTop {
    margin-top: 100px;
}

/* Стили для всех экранов ноутбуков и ниже */
@media only screen and (max-width: 1440px) {
    .RoomBoxTitle {
        margin-top: 20px;
        font-size: 28px;
        padding-bottom: 20px;
    }

    .IconAndValue img {
        width: 48px;
    }

    .IconAndValue p {
        font-size: 14px;
    }

    .floating-button {
        margin: 0;
        font-size: 20px;
    }

    .RoomBoxButtons {
        padding-top: 0;
    }
}




























@media only screen and (max-width: 768px) {
    .floating-button p {
        font-size: 15px;
    }



    .custom-slide {
        min-width: 100%;
    }
    .custom-slider img {
        width: 100%;
    }
    #customPrevBtn {
        top: 45%;
        left: 5px;
    }

    #customNextBtn {
        top: 45%;
        right: 5px;
    }

    #RoomsBackGround{
        padding-top:100px;
    }
    #RoomBackGroundText{
        top:18%;
    }
    #RoomBackGroundText h2{
        font-size:30px;
    }
    #RoomBackGroundText h3 {
        font-size: 25px;
    }
    .RoomBox {
        padding:0 5% 4% 5%;
        flex-flow: column;
    }

    .RoomBoxInfo {
        width: 100%;
    }

    .RoomBoxImg {
        width:100%;
    }
        .RoomPreview {
        background-color: #e5e5e5;
        width: 100%;
    }

    .RoomBoxTitle{
        margin-top:20px;
        font-size:30px;
    }
    .RoomTitle h1{
        font-size:24px;
    }
    .RoomTitle h4 {
        width:80%;
        font-size: 18px;
    }
    .RoomText p {
        line-height: 1.6;
        font-size: 15px;
    }


    .RoomBoxDiscription{
        padding:0 5%;
        flex-flow:column;
    }
    .Icons {
        padding: 4% 2%;
        width: 100%;
    }

    .IconAndValue img {
        width: 40px;
    }
    .IconAndValue p{
        font-size:16px;
    }
    .RoomBoxFacilities{
        padding-top:5%;
    }
    .RoomBoxFacilitiesBox {
        flex-flow: column;
    }
    .RoomBoxFacilitiesImg{
        width:100%;
    }
    .Facilities{
        width:100%;
    }
    .RoomBoxFacilities h1{
        font-size:24px;
    }
    .floating-button{
        margin:0 !important;
    }
    .RoomBoxButtons {
        padding-bottom:15px;
    }
    .IconAndName p{
        font-weight:400;
    }
}


