/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (max-width: 1200px) {
    .hero-section {
        .slider-imgs {
            .item {
                img {
                    width: 100%;
                    height: 550px;
                    object-fit: cover;
                }
            }
        }

        .banner-content {
            max-width: 70%;
            gap: 10px;
        }
    }

    .testimonial {
        .testimonial-content {
            width: 60%;

            img {
                width: 150px;
            }
        }
    }

    .ameneties {
        background-size: cover;
    }

    .cta {
        h3 {
            font-size: 40px;
        }
    }

    .contact-page {
         .contact-details {
            .main-details {
                width: 100%;
                background-color: #fff;
            }
        }
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (max-width: 992px) {

    h1 {
        font-size: 38px;
    }

    h3 {
        font-size: 40px;
    }

    header {
        .bottom-header {
            padding: 10px 0px;

            .main-bottom-header {
                align-items: center;
            }

            .primary-menu {
                flex-direction: column;
                padding: 150px 20px;
                position: fixed;
                background: #fff;
                width: 100%;
                max-width: 300px;
                right: -100%;
                top: 0px;
                transition: all .4s ease-in;
                z-index: 1;
                height: 100vh;

                transition: .5s;

                ul {
                    flex-direction: column;
                    gap: 15px;
                }

                nav {
                    text-align: center;

                    a {
                        display: block;
                        padding: 10px 0px;
                        font-size: 16px;
                    }

                    ul a {
                        color: #474747;
                    }
                }

            }

            .primary-menu.active {
                right: 0%;
                /* top: 0%; */
                z-index: 8;
            }

            .menu-icon {
                display: block;
                border: none;
                background: transparent;
                width: 40px;
                z-index: 9;
                font-size: 24px;
            }

            .fa-bars {
                color: #fff;
            }
        }

    }

    .hotel-features {
        p {
            font-size: 16px;
            color: #3b3b3b;
        }

        img {
            width: 60px;
        }

        .main-hotel-features {
            .item {
                display: flex;
                align-items: start;
                gap: 10px;
                width: 33%;
            }
        }
    }

    .about-us {
        .main-about-us {
            padding-top: 0px;

            .about-img {
                display: none;
            }

            .about-content {
                width: 100%;
            }
        }
    }

    .ameneties {
        .main-ameneties {
            flex-direction: column;
        }

        .ameneties-content {
            width: 100%;
        }

        .ameneties-items {
            width: 100%;
        }
    }

    .cta {
        .cta-shape-col {
            display: none;
        }

        .cta-content {
            width: 100%;
            padding: 60px 0px;
        }
    }

    .area-attraction {
        p {
            font-size: 14px;
        }
    }

    .testimonial {
        .testimonial-content {
            width: 70%;
        }

        p {
            font-size: 16px;
        }
    }
    footer {
         .top-footer {
            .main-top-footer {
                .box {
                    width: 40%;
                }
            }
        }
    }

    .book-page {
        .book-form {
            width: 100%;
            margin: 0px auto;
        }
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (max-width: 768px) {
    h3 {
        font-size: 30px;
    }

    p {
        font-size: 16px;
    }

    header {
        .top-header {
            .top-social {
                display: none;
            }
        }
    }

    .hero-section {
        .banner-content {
            max-width: 100%;
            gap: 10px;
            background: none;
            box-shadow: none;
            backdrop-filter: none;
        }

        .main-hero-section {
            background: #00000059;
        }


    }

    .hotel-features {
        .main-hotel-features {
            .item {
                width: 50%;
            }

            .last {
                display: none;
            }
        }
    }

    .area-attraction {
        .main-area-attraction-content {
            gap: 9px;
            flex-direction: column;
        }

        .area-attraction-heading {
            width: 100%;
        }

        .area-attraction-content {
            width: 100%;
        }
    }

    .testimonial {
        .testimonial-content {
            width: 100%;
            text-align: start;

            .author-name {
                font-size: 18px;
            }

            .testimonial-items {
                margin-top: 10px;
            }
        }
    }
    footer {
         .top-footer {
             .main-top-footer {
                .box {
                    width: 100%;
                }
            }
        }
    }

    /* ===== about us ===== */

    .about-page {
        .main-about {
            flex-direction: column;
            gap: 20px;
        }
        .about-img{
        width: 100%;
        }
        .about-content{
            width: 100%;
        }
    }

    .contact-page {
        .main-contact {
            flex-direction: column-reverse;
        }
        .contact-details {
            width: 100%;
        }
        .contact-form {
            width: 100%;
        }
    }

    .room-page {
        .room-items {
            .item {
                .container {
                    flex-direction: column;
                }

                .item-img {
                    width: 100%;
                }
                .item-content{
                    width: 100%;
                }
            }
         
            .item:nth-child(even){
                background-color: #f3ead7;
                .container{
                    flex-direction: column;
                }
            }
        }
    }
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .section-padding {
        padding: 40px 0px;
    }

    h1 {
        font-size: 30px;
    }

    header {
        .top-header {
            .top-details {
                flex-direction: column-reverse;
                align-items: start;
            }

            .top-address {
                padding: 0px;
                border: 0px;
            }

            .top-call {
                padding: 0px;
            }
        }

        .bottom-header {
            .logo {
                img {
                    max-width: 90px;
                }
            }
        }
    }

    .hero-section {
        .banner-content {
            padding: 0px;
        }

        .slider-imgs {
            .item {
                img {
                    height: 375px;
                }
            }
        }
    }

    .hotel-features {
        padding: 30px 0px;

        .main-hotel-features {
            .item {
                width: 50%;
                flex-direction: column;
            }
        }
    }

    .about-us {
        .main-about-us {
            flex-direction: column;

            .about-img {
                display: block;
                width: 100%;
                margin-top: 30px;
            }
        }
    }

    .ameneties {
        .ameneties-items {
            grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));

            .item {
                p {
                    font-size: 14px;
                    color: #313131;
                }
            }
        }
    }

    .cta {
        h3 {
            font-size: 28px;
        }
    }

    .inner-banner {
        padding: 70px 0px;
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (max-width: 450px) {

    h4 {
        font-size: 24px;
    }
    h1{
        font-size: 26px;
    }
    h3{
        font-size: 26px;
    }
    .btn-box{
    flex-direction: column;
    }


    .testimonial {
        .testimonial-content {
            padding: 15px;

            img {
                width: 120px;
            }
            .author-name {
                font-size: 16px;
            }
        }
     
        p {
            font-size: 14px;
        }
    }

    .about-us {
        .divider{
            margin-top: 10px;
        }
        .box2 {
            figure {
                margin: 0px;
            }
        }
        .img2 {
            margin: 0px 0px 0px 0px;
            transform: rotateZ(30deg);
        }
    }
    .cta {
        h3 {
            font-size: 24px;
        }
        .cta-content {
            .cta-tagline {
    
                gap: 6px;
                flex-direction: column-reverse;
            }
        }
    }
    .area-attraction {
        .main-attraction {
            margin-top: 30px;
        }
        .tagline{
            margin: 15px 0px 5px;
        }
    }
    .hotel-features {
        .main-hotel-features {
            flex-direction: column;
            .item {
                width: 100%;
            }
        }
    
    }
    footer{
        h4{
            font-size: 18px;
        }
        .top-footer {
             .main-top-footer {
                p {
                    margin-top: 10px;
                    font-size: 14px;
                }
            }
        }
        .bottom-header {
            font-size: 12px;
        }

    }

    form {
        .box {
            flex-direction: column;
        }
        h5{
            font-size: 16px;
        }
    }
    .contact-page {
        .contact-details {
             .main-details {
                h5 {
                    text-wrap: wrap;
                    font-size: 16px;
                }
                .box {
                    padding: 15px 15px;
                }
            }
        }
    }
    .room-page {
        .room-items {
            .item {
                padding: 30px 0px;
                .container {
                    gap: 20px;
                }
            }
        }
    }
}