/* start main content  */
html,
body {
    overflow-x: hidden;
}

section {
    padding: 20px;
    margin-top: 10px;
    margin-bottom: 10px;

}

.mainContent {
    display: flex;
    flex-direction: column;
    gap: 35px;


    .headerContent {
        display: flex;
        justify-content: space-between;
        gap: 30px;



        h4 {
            background-color: var(--primaryColor);
            padding: 10px 10px;
            color: white;
            border-radius: 5px;
            font-weight: normal;

            span {
                text-decoration: underline;
            }

            @media(max-width :768px) {
                &.contact {

                    display: none;

                }


            }
        }
    }

    .contentContainer {
        display: flex;
        gap: 40px;

        @media(max-width :1400px) {
            & {
                flex-direction: column;
                align-items: center;


            }


        }






        .leftContent {
            --borderRadius: 6px;


            display: flex;
            flex-direction: column;
            gap: 20px;
            width: 35%;
            min-width: 270px;

            @media(max-width :1400px) {
                & {
                    width: 100%;
                    padding: 0 5px;
                    flex-direction: row;
                    justify-content: space-between;


                }


            }

            @media(max-width :768px) {
                & {

                    flex-direction: column;
                    font-size: 0.8em;

                    --borderRadius: 5px;

                }


            }




            /* start form container  */
            >div {
                border-radius: var(--borderRadius);
            }

            .formContainer {
                background-color: rgba(255, 255, 255, 0.72);
                box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.067);
                backdrop-filter: blur(12px);

                @media(max-width :1400px) {
                    & {
                        width: 100%;



                    }


                }

                >h1 {
                    text-align: center;
                    padding-top: 10px;
                    padding-bottom: 10px;
                    border-bottom: 1px solid rgba(0, 0, 0, 0.245);
                }

                form {

                    display: flex;


                    padding: 20px;
                    padding-right: 40px;


                    flex-direction: column;
                    gap: 10px;


                    .form-group {

                        flex-grow: 1;
                        margin-bottom: 15px;

                    }

                    .form-group label {
                        display: block;
                        margin-bottom: 5px;
                        color: #555;
                    }

                    .form-group input[type="date"] {
                        width: 100%;
                        padding: 10px;
                        border: 1px solid #ddd;
                        border-radius: 5px;
                        font-size: 16px;
                        box-sizing: border-box;


                    }

                    .form-group span {
                        display: inline-block;
                        width: 40px;
                        text-align: center;
                        font-size: 16px;
                    }

                    button {
                        padding: 10px 15px;
                        border: none;
                        background: var(--primaryColor);
                        color: white;
                        font-size: 16px;
                        cursor: pointer;
                        border-radius: 5px;
                        transition: background 0.3s;
                    }

                    button#searchBtn {
                        padding: 17px 15px;

                    }




                    #childrenAges select {
                        display: block;
                        margin-bottom: 10px;
                        width: 100%;
                        padding: 10px;
                        border: 1px solid #ddd;
                        border-radius: 5px;
                        font-size: 16px;
                    }


                }
            }

            /* end form container  */
            /* start services container  */
            .customerServices {
                border: 2px solid rgba(201, 197, 197, 0.804);
                padding: 10px;
                display: flex;
                flex-direction: column;
                gap: 20px;

                .serviceBox {
                    padding-left: 10px;

                    h4 {
                        img {
                            width: 20px;

                        }
                    }

                    p {
                        padding-left: 20px;
                    }

                }

            }

            /* end services container  */

        }

        .rightContent {
            --borderRadius: 8px;

            width: 65%;

            display: flex;
            flex-direction: column;
            gap: 20px;

            @media(max-width :1400px) {
                & {
                    width: 90%;



                }


            }

            @media(max-width :768px) {
                & {

                    width: 100%;
                    font-size: 0.8em;

                    --borderRadius: 3px;



                }


            }

            @media(max-width :768px) {
                & {


                    font-size: 0.7em;




                }


            }





            .gallery {
                display: flex;
                flex-direction: column;
                overflow: hidden;

                .header {

                    padding: 10px;
                    background-color: var(--primaryColor);
                    border-radius: var(--borderRadius) var(--borderRadius) 0 0;
                    color: white;

                    h3 {

                        font-weight: normal;
                        display: flex;
                        gap: 20px;

                        @media(max-width :452px) {
                            & {


                                font-size: 0.7em;




                            }


                        }

                    }
                }

                #modal {

                    position: relative;
                    display: flex;
                    align-items: center;
                    justify-content: space-between;



                    .leftIconContainer,
                    .rightIconContainer {
                        position: absolute;
                    }

                    .leftIconContainer {
                        left: 10px;
                    }

                    .rightIconContainer {
                        right: 10px;
                    }

                    .leftIconContainer img,
                    .rightIconContainer img {
                        width: 75px;

                        filter: contrast(0%) brightness(200%);

                        @media(max-width :768px) {
                            & {


                                width: 40px;





                            }


                        }
                    }

                    #caption {

                        img {
                            width: 100%;


                        }
                    }


                }


                .imgsContainer {
                    display: flex;
                    max-width: 88vw;
                    padding-top: 5px;
                    gap: 5px;
                    background-color: var(--thirdlyColor);
                    overflow: auto;
                    -ms-overflow-style: none;
                    /* Hide scrollbar in Internet Explorer and Edge */
                    scrollbar-width: none;

                    /* Hide scrollbar in Firefox */
                    ::-webkit-scrollbar {
                        display: none;
                        /* Hide scrollbar in Chrome, Safari, and Opera */
                    }

                    .gallery-item {


                        background-color: inherit;

                        img {
                            width: 100px;
                            height: 80px;

                            &.currentItem {
                                border: 2px solid black;
                            }

                            @media(max-width :768px) {
                                & {


                                    width: 80px;
                                    height: 60px;




                                }


                            }
                        }

                    }

                }

            }

            article.description {

                p {
                    font-size: 1.1em;
                }
            }




        }

    }


}

/* end main content  */

/* start rooms content  */
section.roomsContent {

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 35px;

    .header {
        text-align: center;
        color: var(--primaryColor);

        .title {
            position: relative;


            &::after,
            &::before {
                content: "";
                position: absolute;
                width: 45%;

                height: 3px;
                background-color: var(--primaryColor);

                top: 50%;
                transform: translateY(-50%);
            }

            &::before {
                left: 0;
            }

            &::after {
                transform: translateX(6px) translateY(-50%);
            }
        }

        p {
            font-weight: bold;
        }

    }

    .content {
        display: flex;
        justify-content: space-between;
        gap: 5px;

        @media(max-width :992px) {
            flex-direction: column;

        }



        .leftContainer {
            font-size: 0.9em;
            display: flex;
            width: 90%;
            padding-top: 10px;
            gap: 20px;


            @media(max-width :1400px) {
                flex-direction: column-reverse;
                width: 100%;

            }

            @media(max-width :992px) {
                flex-direction: column;
                width: 100%;

            }



            justify-content: space-between;

            .infoContainer {

                display: flex;
                flex-direction: column;
                gap: 10px;




                span:not(.descriptionSpan) {
                    font-weight: bold;
                    color: black;
                }

                p {
                    color: #878383;
                }

                .partialContainer {
                    display: flex;
                    flex-direction: column;
                    gap: 10px;
                    padding: 10px;

                    .imgContainer {



                        img {
                            width: 70%;
                            max-width: 600px;
                            border-radius: 6px;
                        }

                        h4 {
                            color: var(--primaryColor);
                        }
                    }

                    .description {
                        display: flex;
                        flex-direction: column;
                        gap: 5px;

                        span.descriptionSpan {
                            opacity: 0.6;

                        }
                    }

                    .roomInfo {
                        display: flex;
                        flex-direction: column;

                        gap: 5px;

                        .infoBox {
                            display: flex;
                            align-items: baseline;
                            gap: 5px;

                            img {
                                width: 20px;
                            }
                        }

                    }





                }

            }

            #roomOptionsContainer {

                width: calc(80% - 5px);
                display: flex;
                flex-direction: column;
                gap: 460px;
                margin-top: 40px;
                padding: 0 20px;



                @media(max-width :1400px) {
                    gap: 10px;
                    margin-top: 0;
                    padding-left: 0;
                    flex-direction: row;

                    overflow-x: auto;
                    max-height: unset;
                    width: 100%;



                    font-size: 0.9em;
                }

                @media(max-width :992px) {
                    flex-wrap: wrap;
                    justify-content: center;
                    max-height: 100vh;

                }



                .roomOption {
                    width: 80%;
                    display: flex;


                    gap: 7px;
                    flex-direction: column;



                    padding: 10px;
                    padding-top: 0;

                    @media(max-width :992px) {
                        width: 300px;
                    }

                    img {
                        width: 100%;
                        border-radius: 2px;

                    }

                    p {
                        span {
                            font-weight: bold;
                        }

                        text-wrap: nowrap;

                    }

                    select {
                        padding: 8px 10px;
                        border-radius: 6px;

                        option {
                            padding: 8px 5px;

                        }
                    }

                    button {
                        &.SelectRoomOptionBtn {
                            padding: 10px 15px;
                            margin-top: 5px;
                            border: none;
                            background: var(--primaryColor);
                            color: white;
                            font-size: 16px;
                            cursor: pointer;
                            border-radius: 5px;
                            transition: background 0.3s;
                        }
                    }
                }
            }

        }

        .rightContainer {
            width: 20%;
            background-color: var(--primaryColor);
            padding: 20px 10px;
            @media(max-width :992px) {
                width: 100%;
            }
            .rightContent {
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 18px;
                position: relative;
                padding: 10px;
                min-width: 150px;
                color: white;
                text-align: center;

            

                >div {
                    display: flex;
                    flex-direction: column;
                    gap: 4px;
                }

                .confirmContainer {
                    align-items: center;
                    margin-top: 10px;

                    button {

                        padding: 10px 15px;
                        margin-top: 5px;
                        border: none;
                        background: var(--secondaryColor);
                        color: black;

                        font-size: 16px;
                        cursor: pointer;
                        border-radius: 5px;
                        transition: background 0.3s;

                    }

                }



            }

        }
    }

}

/* end rooms content  */