/* fonts*/
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Montserrat:wght@300;400;600;800&display=swap');

:root{
    --header-height: 5rem;

    --main-color: #f7e6df;
    --first-color: #75492b;
    --second-color: #dfd6a7;
    --white-color: #fff;
    --black-color: #151515;

    --font-cursive: 'Great Vibes', cursive;
    --font-body: 'Montserrat', sans-serif;

    --big-font-size:3rem;
    --h1-font-size:2.25rem;
    --h2-font-size:1.5rem;
    --h3-font-size:1.25rem;
    --normal-font-size:1rem;
    --small-font-size:0.813rem;
    
}

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    outline:none;
    border: none;
}

html{
    scroll-behavior: smooth;
}

body{
    background-color: var(--white-color);
    font-size: var(--normal-font-size);
    font-family: var(--font-body);
    overflow-x:hidden ;
}
/* buttons */

.btn{
    width: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--second-color);
    border-radius: 50px;
    font-size: var(--normal-font-size);
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1rem;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.4s ease;
}

.btn:hover{
    background-color: transparent;
    color:var(--first-color);
    transform: translateY(-2px);
}

.btn-outline{
    width: 280px;
    background-color: transparent;
    color: var(--first-color);
    padding: 5px 10px 5px 0;
    transition: all 0.4s ease;
    position: relative;
}

.btn-outline::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 18%;
    height: 100%;
    background-color: var(--first-color);
    border: 1px solid var(--first-color);
    border-radius: 50px;
    transition: all 0.4s ease-in-out;
}

.btn-outline i{
    margin-right: 1.5rem;
    font-size: var(--h3-font-size);
    color: var(--white-color);
    z-index: 10;
}

.btn-outline:hover::before{
    width: 100%;
    z-index: -1;
}

.btn-outline:hover{
    color:var(--white-color);
    z-index: 10;
}
.header{
    position: fixed;
    top:0;
    left:0;
    right:0;
    height:var(--header-height);
    background-color: rgba(255, 255, 255, 0.3);
    z-index:100;
    transition: all 0.4s ease;
}

.scroll-header{
    background-color: var(--white-color);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display:flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.nav-menu .nav-list{
    display:flex;
}

.nav-menu li{
margin-right: 2rem;
}

.nav-list li{
    margin-top: -70px;
}

.nav-link{
    font-size: var(--normal-font-size);
    color: var(--black-color);
    font-weight: bold;
    text-transform: capitalize;
    position: relative;
    transition: all 0.4s ease;
}

.nav-link::before{
    content:'';
    position: absolute;
    width: 0;
    left:0;
    bottom: 0;
    height: 2px;
    background-color: var(--first-color);
    transition: all 0.4s ease-in-out;
}

.nav-link:hover::before{
    width: 100%;
}

.nav-link:hover,
.nav-link.active{
    color:var(--first-color);
}

.nav-toggle{
    font-size:var(--h1-font-size);
    padding: 5px 5px 0;
    border: 2px solid transparent;
    cursor: pointer;
    z-index: 100;
    display: none;
}

.nav-toggle:hover{
    color: var(--first-color);
    border: 2px solid var(--first-color);
}

/* start home section */

.home{
    width: 100%;
    height: 100vh;
    background-color: var(--main-color);
    border-radius:0 0 300px 0 ;
}

.container{
    max-width:1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}

.home .home-img img{
    max-width: 100%;
    height: 100%;
}

.home .home-content{
    width: 40%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top:-1100px;
    margin-left: 580px;
}

.home-content h1{
    font-family: var(--font-cursive);
    font-size: 4rem;
    line-height: 3.5rem;
    letter-spacing: 4px;
    color:var(--first-color);
    margin-bottom: 1.5rem;
}

.home-content p{
    font-weight: 400; 
    line-height: 1.5rem;
    letter-spacing: 2px;
    color:#fff;
    margin-bottom: 1.5rem;
}

/* about section */

.about{
    width: 100%;
    padding: 7rem 0;
    background-image: url(pink-background-with-white-background-flowers-foreground_1000124-119615.avif);
    background-repeat: no-repeat;
    background-position: bottom center;
    z-index: -1;
    object-fit: cover;
    background-size: cover;
    margin-top: 80px;
}

.about .container{
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
}

.section-title{
    align-items: center;
    justify-content: center;
    margin-left:500px;
}

.section-title h1{
    font-family: var(--font-cursive);
    font-size: var(--big-font-size);
    font-weight: 100px;
    line-height: 3rem;
    color: var(--first-color);
}

.section-title span{
    font-weight: 300;
    font-size: var(--h2-font-size);
    line-height: 1.5rem;
    color: var(--black-color);
}
.about-detail{
    width: 100%;
    padding: 2rem;
    align-items: center;
    justify-content: center;
}

.about-img img{
    width: 100%;
    border-radius: 30px;
    filter: drop-shadow(16px 16px 16px rgba(0,0,0,0.25));
}

.about-description{
    position: relative;
    padding: 2rem;
}

.about-description::before{
    content:'';
    position: absolute;
    width: 100%;
    height: 110%;
    top:-10%;
    left: 0;
    background-color: var(--main-color);
    border-radius: 30px;
    box-shadow: 4px 8px 16px rgba(0,0,0,0.25);
    z-index: -1;
}

.about-description p{
    font-weight: 400;
    line-height: 2rem;
    color: var(--black-color);
}

.about-detail-content{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap:1rem;
    align-items: center;
    border: 2px solid var(--first-color);
    border-radius: 30px;
    padding: 1rem;
    margin-top: 180px;
}



/* services section */

.services-body{
    background-image: url(FreevectorLuxury-Beige-BackgroundAS0821_generated.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 60px;
    margin-top: 80px;
    margin-left: -50px;
    
}

.services-container{
    position: relative;
    display: flex;
    padding: 80px 40px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 80px;
}

.services-container h1{
    text-align: center;
    font-family:var(--font-cursive) ;
    font-size: 80px;
    color: #75492b;
    justify-content: center;
    margin-left: 120px;
}

.card{
    position: relative;
    width: 350px;
    height: 180px;
    background: #292929;
    transition: 0.5s;
    display: flex;
    flex-direction: ;
}

.card:hover{
    height: 450px;
}

.card .lines{
    position: absolute;
    inset: 0;
    background: #292929;
    overflow: hidden;
}

.card .lines:before{
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 120px;
    background: linear-gradient(transparent, #f8d4bc, #f8d4bc, #f8d4bc, transparent);
    animation: animate 4s linear infinite;
    animation-play-state: paused;
}

.card:hover .lines::before{
    animation-play-state: running;
}

.card .lines::after{
    content:'';
    position:absolute;
    inset: 3px;
    background: #292929;
}

.card .imgBx{
    position: relative;
    top: -60px;
    width: 150px;
    background: #292929;
    transform: translateX(-50%);
    transition: 0.5s;
    z-index: 10;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    left: 170px;
}

.card:hover .imgBx{
    top: 25px;
    width: 200px;
    height: 200px;

}

.card .imgBx::before{
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 500px;
    height: 150px;
    transform: translate(-50%, -50%);
    
    animation: animate2 6s linear infinite;
    animation-play-state: paused;
}

.card:hover .imgBx::before{
    animation-play-state: running;
}

.card .imgBx::after{
    content: '';
    position: absolute;
    inset: 3px;
    background: rgba(0, 0, 0, 0.2);
}

.card .imgBx img{
    
    z-index: 1;
   opacity: 0.5;
   transition: 0.5s;

}

.card:hover .imgBx img{
    opacity: 1;
}

.card .content1{
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items:flex-end;
    overflow:hidden;
    z-index: 10;
    text-align: center;

}



.card .content1 .details h2{
    font-size: 1.5em;
    font-weight: 500;
    color: #fff;
    line-height: 1.5em;
    z-index: -1;
    margin-top: 120px;
}

.card .content1 .details a{
    display: inline-block;
    padding: 8px 15px;
    background: #f8d4bc;
    color: #75492b;
    font-weight: 500;
    text-decoration: none;
    margin-top: 15px;
    transition: 0.5s;
    border: none;
}

.card .content1 .details a:hover{
    background: var(--main-color);
    transform: translateY(-2px);
}
@keyframes animate2{
    0%{
        transform: translate(-50%, -50%) rotate(360deg);
    }

    100%{
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

@keyframes animate{
    0%{
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100%{
        transform: translate(-50%, -50%) rotate(360deg);
    }

}

.container2{
    display: flex;
    height: 50%;
    justify-content: center;
    align-items: center;
    gap: 3em;
    flex-grow: 1;
    padding: 0 40px;
}

.div1, .div2, .div3{
    width: 21em;
    height: 28em;
    background-color: #fff;
    box-shadow: 5px 5px 25px #0000005f;
    padding: 10px 30px;
    border-radius: 15px;
}

.container2 h1, h2{
    color: #75492b;
    text-align: center;
    margin-left: -15px;
}

.div1, .div2, .div3, h1{
    text-align: center;
   margin: 15px;
   padding: 20px;
   font-weight: bold;
    
}

/*start gallery */



.gallery-container{
    position: relative;
    min-height: 100vh;
    background: #f8d4bc;
    margin-top: 55px ;
}

.gallery-container h1{
    font-size: 100px;
    font-family: var(--font-cursive);
    font-weight: 220px;
    padding: 25px;
    color: #75492b;
    text-align: center;
    text-transform: capitalize;
}

.gallery-container .img-container{
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    padding: 10px;
}

.gallery-container .img-container .image{
    height: 280px;
    width: 380px;
    border: 2px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    cursor: pointer;
}

.gallery-container .img-container .image img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: .2s linear;
}

.gallery-container .img-container .image:hover img{
    transform: scale(1.1);
}

.gallery-container .popup-image{
    position: fixed;
    top:0; 
    left: 0;
    background:rgba(0, 0, 0, .9);
    height: 100%;
    width: 100%;
    z-index: 100;
    display: none;
}

.gallery-container .popup-image span{
    position: absolute;
    top:0;
    right: 10px;
    font-size: 60px;
    font-weight: bolder;
    color: #fff;
    cursor: pointer;
    z-index: 100;
}

.gallery-container .popup-image img{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 5px solid #fff;
    border-radius: 5px;
    width: 750px;
    object-fit: cover;
}

.gallery-btn a{
    display: inline-block;
    align-items: center;
    padding: 8px 15px;
    justify-content: center;
    margin-left: 150px;
    background: #75492b;
    color: #f7e6df;
    font-weight: 500;
    text-decoration: none;
    margin-top: 10px;
    transition: 0.5s;
}

.gallery-btn a:hover{
    background: azure;
    color: #151515;
    transform: translateY(-2px);
}

/*contact section */
.contact-container{
    background-color: #f3f4f6;
    padding: 15px;
    margin-top: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 900px;
    margin-left: 180px;
    background: url(pngtree-high-resolution-textured-beige-smoke-wallpaper-for-background-image_13752642.png);
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
}

.contact-card{
    display: flex;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.05);
    height: 450px;
    width: 1050px;
    overflow: hidden;
}

.form-section{
    flex:1;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-header{
    margin-bottom: 25px;
}

.form-header h2{
    font-size: 25px;
    color: #75492b;
    margin-bottom:10px ;
}

.form-group{
    margin-bottom: 15px;
}

.form-group label{
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 15px;
    
}

.form-control{
    width: 100%;
    padding: 8px 15px;
    border: 1px solid #f8d4bc;
    border-radius: 6px;
    font-size: 15px;
}

.submit-btn{
    background: #75492b;
    color: #f8d4bc;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.2s;
}

.submit-btn:hover{
background: var(--black-color);
transform: translateY(-2px);
}

.info-section{
    flex:1;
    padding: 25px;
    background: linear-gradient(135deg, #dfd6a7, #f8d4bc);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-header{
    margin-bottom: 25px;
}

.info-header h2{
    font-size: 25px;
    margin-bottom: 10px;
}

.info-header p{
    font-size: 16px;
}

.contact2{
    margin-bottom: 10px;
}

.contact-item{
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 15px;
}

.contact-icon{
    margin-right: 15px;
    color: #fff;
}

.contact-details a{
color: #fff;
text-decoration: none;
transition: all 0.2s;
}

.contact-details a:hover{
    text-decoration: underline;
}

.social-link{
    display: flex;
    gap:8px;
}

.social-link i{
    color: #75492b;
    padding: 2px;
    font-size: 25px;
}
.social-link i:hover{
    transform: translateY(-2px);
    color: palevioletred;
}
/* footer section */

.footer-list{
    width: 100%;
    max-width: 1200px;
    margin:0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: center;
    padding: 7rem 0;
    border-bottom: 1px solid var(--first-color);
}

.footer-data{
    text-align: center;
    margin-bottom: 1rem;
}

.footer-data-social{
    margin-top: 1rem;
}

.footer-data-social i{
    color: var(--first-color);
    font-size: var(--h2-font-size);
}

.footer-data-social i:hover{
color:palevioletred;
transform: translateY(-3px);
}

.footer-data h2{
    font-weight: bold;
    font-size: var(--h2-font-size);
    line-height: 1.5rem;
    color:var(--first-color);
    margin-bottom: 1rem;
    text-transform: capitalize;
}



.footer-data p{
    font-weight: 400;
    line-height: 1.5rem;
    text-align: center;
}

.footer .copy{
    text-align: center;
    padding: 1rem 0;
}

.footer .copy p{
    font-weight: bold;
    line-height: 1.5rem;
}

.footer .copy span{
    font-size: var(--small-font-size);
    line-height: 1rem;
}

.booking{
    width: 1300px;
    height: 900px;
}

@media (max-width:768px){
    .gallery-container .popup-image img{
        width: 95%;
    }
}

@media (max-width:920px){
    .nav-menu{
        position: absolute;
        top: 0;
        right: 0;
        width: 0;
        height: 100vh;
        background-color: var(--main-color);
        font-size: var(--h2-font-size);
        text-align: center;
        text-transform: capitalize;
        padding-top: var(--header-height);
        box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
        transition: all 0.4s ease-in-out;
    }
    .show-nav{
        width: 60%;
    }

    .section-title span
    {
        align-items: center;
        margin-top: -120px;
        margin-left: -360px;
    }

    .section-title h1{
        align-items: center;
        margin-left: -550px;
        margin-top: 220px;
    }

    .nav-menu .nav-list{
        display: block;
    }

    .nav-menu li{
        padding: 15px 0;
    }

    .nav-link{
        font-size: var(--h3-font-size);
    }

    .nav-list li{
        margin-top: auto;
    }

    .nav-toggle{
        display: block;
    }

    .home .home-content{
        width: 100%;
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: -650px;
        right:220px;
    }

    .home-content h1{
        font-size: var(--big-font-size);
        align-items: center;
        margin-left: -990px;
        color: peru;
        margin-top: 455px;
    }

    .home-content p{
        padding: 0 2rem;
        margin-top: ;
        margin-left: -1100px;
        color: palevioletred;
    }

    .home-img{
        height: 80%;
    }

    .btn-outline i{
        margin-left: -1080px;
    }

    .about-detail-content{
        grid-template-columns: unset;
    }

    .card .content1{
        grid-template-columns: repeat(1, 1fr);
        display: revert;
    }

    .footer-list{
        grid-template-columns: repeat(2, 1fr);
    }

    .container2{
        height: 100%;
        flex-direction: column;
    }

    .div1, .div2, .div3{
       max-width: 90%; 
        padding: 40px;
        box-sizing: 60px;
    }

    .div1, .div2, .div3 h1 {
        text-align:right;
        overflow: hidden;
        

    }

    .div1, .div2, .div3 p{
        text-align: center;
        overflow: hidden;
    }

    

    .contact-card{
        height: auto;
        flex-direction: column;
        align-items: center;
    }

    .card .content1 .details a{
        margin-top: -30px;
    }

    .submit-btn{
        margin-left: -450px;
    }

    .submit-btn{
        background: #75492b;
        color: #f8d4bc;
        border: none;
        padding: 6px 12px;
        border-radius: 6px;
        font-size: 14px;
        cursor: pointer;
        margin-top: 10px;
        transition: all 0.2s;
    }
    
    .submit-btn:hover{
    background: var(--black-color);
    transform: translateY(-2px);
    }

    .booking{
        position: revert;
        align-items: center;
        width: 440px;
        display: revert;
    }
}