@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
    --primary-color: #0096FF;
    --primary-color-dark: #4169E1;
    --text-dark: #0c0a09;
    --text-light: #78716c;
    --white: #ffffff;
    --max-width: 1200px;
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}


* {   
    padding: 0%;
    margin: 0%;
    box-sizing: border-box;
}

.section_container {
    max-width: var(--max-width);
    margin: auto;
    padding: 5rem 1rem;
}

.section_subheader {
    margin-bottom: .5rem;
    position: relative;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--text-dark);
}

.section_subheader ::after {
    position: absolute;
    content: ;
    top: 50%;
    transform: translate(1rem -50%);
    height: 2px;
    width: 4rem;
    background-color: var(--primary-color);
    
}

.section_header {
    max-width: 600px;
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 3rem;
    color: var(--text-dark);
    
}


.section_description {
    max-width: 600px;
    margin-bottom: 1rem;
    color: var(--text-light);
}


.input_group .btn:hover {
    background-color: var(--primary-color-dark);
    color:var(--text-dark);
    scale: 1;
    width: 55%;
    letter-spacing: 0.1rem;
    transition: 0.5s;
}


img {
    width: 100%;
    display: flex;   
}


a {
    text-decoration: none;
}

.logo img {
    
    max-width:250px;
    border-radius: 50%;
}

html,
body {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
}


.image_item {
    position: absolute;
    top: 25%;
    right: 13%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    bottom: 2rem;
}


.image_item img {
    width: 120px;
    height: 90px;
    margin: 10px;
    transition: 0.5s;
    border: solid white 2px;
    border-radius: 2px;
    overflow: hidden;
    
}

.image_item :active {
    border-color: var(--primary-color);
    scale: 103%;
    transition: 0.3s;    
}   
 

.image img {
    position:absolute;  
    top: 0%;
    left: 0%;
    z-index: -1;
    width: 100%;
    height: 100%;
}


nav {
    position: fixed;
    isolation: isolate;
    top: 0;
    width: 100%;
    max-width: var(--max-width);
    margin: auto;
    z-index: 9;
    border-bottom: groove;
}

.nav_bar {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background-color: var(--primary-color);
    
}

.nav_menu_btn {
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
}

.nav_links {
    list-style: none;
    position: absolute;
    width: 100%;
    padding: 2rem;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 2rem;
    background-color:rgba(0,109,176,0.9);
    transform: translateY(-140%);
    transition: 0.5s;
    z-index: -1;
}

.nav_links.open {
    transform: translateY(0);
}

.nav_links a {
    position: relative;
    isolation: isolate;
    padding-bottom: 8px;
    color: var(--white);
    transition: 0.3s;
}


.nav_btn {
    display: none;
}


@media (width < 768px) {
    .image_item {
      width: 100%;
      padding-left: 75%;
      top: 220px;
      cursor: none;

    }   
    .amenities .amenities_content {
        font-size: 9px;
        width: 92%;
        right: 5%;
        left: 4%;
        height: 650px;
        top: -9%;
        
        
    }

    .amenities .amenities_content p {
        font-size: 20px;
    }

    .amenities .amenities_content h2{
        font-size: 30px;

    }


    .activity .activity_content {
        font-size: 9px;
        width: 92%;
        height: 550px;
        right: 5%;
        left: 4%;
        top: -7%;
    }

    .activity .activity_content p {
        top: 2%;
        font-size: 20px;
    }

    .activity .activity_content h2 {
        top: 1%;
        font-size: 30px;
    }

    .activity .content_icon i {
        line-height: 5vh;
    }
    html,
    body {
        width:100%;
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    .nav_bar {
        opacity: 0.8;
    }
}

.header {
    background-image: url(assets/pool2.jpg);
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    
}

.header_container {
    padding-block: 10rem 15rem;
}


.header_container p {
    margin-bottom: 1rem;
    font-size: 1.25rem;
    color: var(--white);    
}

.header_container h1 {
    font-size: 3.50rem;
    font-weight: 500;
    line-height: 4.5rem;
    color: var(--white);
    padding-right: 10rem;
    letter-spacing: 0.2rem;
}

.ri-user-3-fill {
    position: relative;
    padding-left: 30px;
}

/*------about------*/

.about_container {
    overflow: hidden;
    display: grid;
    gap: 2rem;
    margin-top: 15%;
}

.about_image img {
    max-width: 450px;
    margin: auto;
    border-radius: 5px;
    box-shadow: 3px 3px 20px rgb(0, 75, 155);
    border-top: groove;
    border-left: groove;
    border-bottom: groove;    
}

.abtimg {
    position: absolute;
    width: 325px;
    height: 200px;
    bottom: 5px;
    z-index: 2;
    left: 35%;
}


.btn {
    border-radius: 8px;
    height: 40px;
    width: 22%;
    font-weight: 700;
    border: none;
    color: var(--white);
    background-color: var(--primary-color);
    box-shadow: 3px 3px 10px rgba(0,0,0,0.3);
    cursor: pointer;
    text-align: center;
}

.btn:hover {
    background-color: var(--primary-color-dark);
    color:var(--text-dark);
    width: 23%;
    scale: 1.07;
    letter-spacing: 0.01rem;
    transition: 0.5s;
}


.about_content {
    position: relative;
    
}

.about_content h4::after {
    position: absolute;
    top: 10px;
    content: '';
    width: 90px;
    height: 4px;
    background:var(--primary-color);
    margin-left: 2%;
}

/*-----about-----*/

/*----amenities----*/

.amenities {

    background-image: url(assets/beachfront1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 550px;
    position: relative;
    margin-top: 10%;
    margin-bottom: 5%;
    background-position: left center;
}

.amenities_content {
    background: var(--primary-color);
    padding: 50px;  
    height: 700px;
    position: absolute;
    top: -11%;
    right: 10%;
    color: var(--white);
    border-radius: 4px;
    border: groove;
    overflow: hidden;
}

.amenities .content_icon {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-row-gap: 30px;
    justify-content: space-evenly;    
}

.amenities i {
    margin: 5px 15px 0 0;
}


.amenities .section_header {
    color: var(--white);
}

.amenities .section_subheader {
    color: var(--white);
}

/*----amenities----*/

/*-----rooms-----*/

.room_content {
    position: relative;
}

.room_content p::after {
    position: absolute;
    top: 10px;
    content: '';
    width: 90px;
    height: 4px;
    background:var(--primary-color);
    margin-left: 2%;
    
}

.room_grid {
    margin-top: 4rem;
    display: grid;
    gap: 1rem;
}

.room_card {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.3);
}

.room_card_image {
    position: relative;
    isolation: isolate;
}

.room_card_details {
    padding: 1rem;
}

.room_card h4 {
    margin-bottom: .5rem;
    font-size: 1.2rem;
    font-weight: 500;
    columns: var(--text-dark);
}

.room_card p {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.room_card h5 {
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
}

.room_card h5 span {
    font-size: 1.1rem;
    color: var(--text-dark);
}


@media (width > 576px) {
    .room_grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer_container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/*-----rooms-----*/

@media (width > 768px){
    nav{
        padding: 2rem 1rem;
        position: static;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .nav_bar {
        padding: 0;
        background-color: transparent;
    }

    .nav_menu_btn {
        display: none;
    }

    .nav_links {
        padding: 0;
        width: unset;
        position: static;
        transform: none;
        flex-direction: row;
        background-color: transparent;
    }

    .nav_btn {
        display: block;
    }

    .nav_links a::after {
        position: absolute;
        content: "";
        left: 0;
        bottom: 0;
        height: 2px;
        width: 0;
        background-color: var(--primary-color);
        transition: 0.3s;
        transform-origin: left;
    }

    .nav_links a:hover ::after {
        width: 100%;
    }

    .about_container {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }

    .room_grid {
        grid-template-columns: repeat(3 ,1fr);
    }

    .footer_container {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (width > 1024px) {
    .room_grid {
        gap: 2rem;
    }
}

/*----booking-----*/

.booking_container {
    padding-block: 0%;

}

.booking_form {
    padding: 2rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    background-color:var(--white);
    border-radius: 10px;
    transform: translateY(-50%);
    box-shadow: 5px 5px 20px rgba(0,0,0,0.3);
}

.input_group {
    flex: 1 1 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.input_group span{
    font-size: 1.75rem;
    color: var(--primary-color);
}

.input_group label {
    font-weight: 500;
    color: var(--text-dark);
}

.input_group input {
    display: block;
    width: 100%;
    max-width: 150px;
    padding-block: 5px;
    color: var(--text-dark);
    font-size: 0.9rem;
    outline: none;
    border: none;
}

.input_group input ::placeholder {
    color: var(--text-light);
}

.input_group button {
    border-radius: 8px;
    height: 40px;
    width: 50%;
    padding-block: 5px;
    font-weight: 700;
    border-top: none;
    border-left: none;
    border-right: groove;
    border-bottom: groove;
    color: var(--white);
    background-color: var(--primary-color);
    box-shadow: 3px 3px 10px rgba(0,0,0,0.3);
    cursor: pointer;
}

/*----booking-----*/

/*-----activity----*/

.activity {
    background-image: url(assets/beachfront8.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 480px;
    position: relative;
    margin-top: 10%;
    margin-bottom: 5%;
    background-position: right center;
}

.activity_content {
    background: var(--primary-color);
    padding: 50px;
    width: 40%;
    position: absolute;
    top: -12%;
    height: 600px;
    left: 10%;
    line-height: 35px;
    padding-top: 10%;
    color: var(--white);
    border-radius: 4px;
    border: groove;
    overflow: hidden;
}

.activity i {
        margin: 5px 15px 0 0;
    }

.activity .section_header {
    color: var(--white);
    position: relative;
    top: -40px;
}

.activity .section_subheader {
    color: var(--white);
    top: -50px;

}

.activity p {
    margin: 20px 0 50p 0;
    line-height: 30px;
    margin-bottom: 15px;
    top: -50px;
    position: relative;
}

/*-----activity------*/


/*-----gallery-----*/

.gallery img {
    width: 300px;
    height: 350px;
    box-shadow: 5px 5px 5px rgba(0,0,0,0.5);
}

.gallery {
    margin-top: 15%;    
}

.gallery h2 {
    line-height: 3.70rem;
}

.heading p::after {
    position: absolute;
    top: 12px;
    content: '';
    width: 90px;
    height: 4px;
    background:var(--primary-color);
    margin-left: 1%;
}

.owl-carousel .owl-next,
.owl-carousel .owl-prev {
    height: 50px;
    position: absolute;
    width: 50px;
    cursor: pointer;
    top: 40%;
    background: white !important;
    transition: 0.5s;
    opacity: 0.7;
    
}

.owl-carousel .owl-prev {
    left: 10px;
}

.owl-carousel .owl-next {
    right: 10px;
}

.owl-carousel .owl-next:hover,
.owl-carousel .owl-prev:hover {
    background: #0096FF !important;
}

/*-----gallery-----*/

/*-----footer-----*/

.footer {
    background-color: #343434   ;
}

.footer_container {
    display: grid;
    gap: 4rem 2rem;
}

.footer_col .section_description {
    margin-block: 2rem;
}

.footer_col h4 {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    font-weight: 500;
    color: white;
}

.footer_links {
    list-style: none;
    display: grid;
    gap: 1rem;
}

.footer_contact {
    list-style: none;
    color: var(--text-light);
}

.footer_links a {
    color: var(--text-light);
    transition: 0.3s;
}

.footer_links a:hover {
    color: var(--white);
}

.footer_follow {
    list-style: none;
}

.footer_socials {
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer_socials img {
    max-width: 25px;
    opacity: .8;
    transition: 0.3s;
}

.footer_socials img:hover {
    opacity: 1;
}

.footer_bar {
    padding: 1rem;
    font-size: .9rem;
    color: var(--text-light);
    text-align: center;
    background-color: var(--primary-color);
    
}

.footer .btn {
    width: 30%;
}

/*-----footer-----*/