@import url(font.css);

:root{
    --primary-color: #8b5e3c;
    --secondary-color: #FFCC00;
    --background: #f3efeb;
    --black: #121820;
    --light: rgb(226, 226, 226)!important;
    --primary-font: 'sodosans';
    --secondary-font: 'courgette';
    --max-width: 1420px;

}

*{
    margin: 0;
    padding: 0;
    font-family: var(--primary-font), sans-serif!important;
    position: relative;
}

body{
    background: var(--background)!important;
}

@keyframes image_hover {
    from{
        top: 0;
    }

    to{
        top:100%;
    }
}

@keyframes card_hover {
    from{
        width: 20px;
        height: 20px;
        border-radius: 50%;
    }

    to{
        width: 100%;
        height: 100%;
    }
}


@keyframes product_bounce {
    0%{
        margin-top: 0px;
    }

    50%{
        margin-top: -25px;
    }

    100%{
        margin-top: 0;
    }
}

@keyframes scale {
    0%{
        transform: scale(1);
    }

    50%{
        transform: scale(1.1);
    }

    100%{
        transform: scale(1);
    }
}

a{
    text-decoration: none!important;
    font-weight: 500;
}

.primary_btn{
    padding: 15px 30px;
    border-radius: 6px;
    border:none;
    background: var(--primary-color);
    color: white!important;
    font-weight: 500;
    transform: all .5s ease-in-out;
    display: flex;
    align-items: center;
    column-gap: 5px;
    width: fit-content;
}

.primary_btn_2{
    padding: 15px 30px;
    border-radius: 6px;
    border:none;
    background: var(--primary-color);
    color: white!important;
    font-weight: 500;
    transform: all .5s ease-in-out;
    display: flex;
    align-items: center;
    column-gap: 5px;
    width: fit-content;
}

.primary_btn:hover{
    background: var(--background);
    color: var(--primary-color)!important;
}

.primary_btn_2:hover{
    background: var(--black);
    color: var(--background)!important;
}


.image::after{
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    height: 40px;  
    background: linear-gradient(0deg, rgba(255, 255, 255,   .05), rgba(255, 255, 255, 0.4), rgba(255, 255, 255, .05));  
}



/* Wrapper */
.wrapper{
    padding: 30px 1.5em;
}


/* each section */
.section{
    /* top: 30px; */
    margin-top: 30px!important;
    max-width: 1750px;
    width: 100%;
    margin: 0 auto;
    border-radius: 12px;
}  

@media (max-width: 550px) {
    .my_container{
        padding:50px 0!important;
    }
}


/* nav bar */
.nav_bar{ 
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    border-radius: 12px;
    background: white;
    padding: 0 30px;
    max-width: 1750px;
    width: 100%;
    margin: 0 auto;
}

.nav_bar .nav_logo{
    width: 120px;
}

.nav_bar .nav_logo img{
    width: 100%;
}


.nav_bar ul{
    display: flex;
    align-items: center;
    margin: 0;
}

.nav_bar ul li{
    list-style: none;
    margin: 0 10px;
    display: flex;
    align-items: center;
}

.nav_bar ul li a{
    color: var(--black);
    transition: .3s ease-in;
    font-size: 18px;
}

.nav_bar ul li a:hover{
    color: var(--primary-color);
}

.social_links{
    display: flex;
    align-items: center;
}

.social_links ul{
    margin: 0 10px 0 0;
}

.social_links li{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 5px!important;
    overflow: hidden;
}

.social_links li a{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--primary-color)!important;
}

.social_links li a:hover{
    background: var(--primary-color);
    color: white!important;
}

.social_links .shop_btn{
    padding: 15px 30px;
    border-radius: 6px;
    border:none;
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    transform: all .5s ease-in-out;
}

.button_icon{
    display: inline-block;
    transform: rotate(-45deg);
    transition: 0.3s ease;
}

.shop_btn:hover{
    background: var(--black);
    color: white;
}

.shop_btn:hover .button_icon{
    transform: rotate(0deg)!important;
}

.toggler{
    display: none;
}

.show_nav{
    left: 0!important;
}


@media (max-width: 1200px) {
    .social_links ul{
        display: none;
    }
}


@media (max-width: 890px) {
    .nav_bar .nav_link{
        display: flex;
        position: absolute;
        width: 100%;
        top: 105px;
        background: white;
        border-radius: 12px;
        height: calc(100vh - 120px);
        padding: 30px 0;
        left: -110%;
        transition: .5s ease-in-out;
        z-index: 1000;
    }

    .nav_bar .nav_link ul{
        display: flex;
        flex-direction: column;
        align-items: start;
        width: 100%;
    }

    .nav_bar .nav_link ul li{
        margin: 0px 0;
        padding: 20px 20px;
        width: 100%;
    }

    .nav_bar .nav_link ul li:hover{
        background-color: var(--primary-color);
        color: white;
    }

    .nav_bar .nav_link ul li:hover a{
        color: white;
    }

    .nav_bar .nav_link ul li a{
        font-size: 1.2em;
        width: 100%;
    }

    .social_links{
        display: none;
    }

    .toggler{
        display: flex;
    }

    .toggler span{
        width: 35px;
        height: 35px;
        background: var(--primary-color);
        color: white;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 20px;
        border-radius: 4px;
        cursor: pointer;
    }

}


@media (max-width: 550px) {
    .wrapper{
        padding: 15px .5em;
    }

    .nav_bar{
        height: 80px;
    }

    .nav_bar .nav_logo{
        width: 80px;
    }

    .nav_bar .nav_link{
        top: 85px;
    }
}



@media (max-width: 550px) {
    .section {
        top: 20px;
    }
}

.hero{
    background: url('../images/hero-image.jpg');
    background-size: cover;
    background-position-y: center;
    height: calc(100vh - 250px);
    overflow: hidden;
    /* border-radius: 12px; */
}

.overlay{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: rgba(0, 12, 22, 0.75);
}

.hero .overlay{
    justify-content: end;
    /* align-items: center; */
    row-gap: 10px;
    /* text-align: center; */
    padding: 0 0 50px 50px;
}

.hero h1{
    font-size: 4em;
    color: var(--background);
    font-weight: 500;
}

.hero p{
    max-width: 750px;
    width: 100%;
    color: white;
    font-size: 20px;
}

@media (max-width: 890px){
    .hero .overlay{
        justify-content: center;
        align-items: center;
        row-gap: 10px;
        text-align: center;
        padding: 0 50px 50px 50px;
        /* padding: 0 0 50px 50px; */
    }
    .hero h1{
        font-size: 3.5em;
        color: var(--background);
        font-weight: 500;
    }    
}




@media (max-width: 550px){
    .hero h1{
        font-size: 2.5em;
    }

    .hero p{
        font-size: 16px;
    }

    .hero .overlay{
        justify-content: end;
        align-items: start;
        row-gap: 10px;
        text-align: left;
       padding: 0 20px 50px 20px;
    }
}




/* About section */
.section .my_container{
    padding: 100px 0!important;
}

.my_container .small-text, .small-text{
    font-family: var(--secondary-font)!important;
    font-size: 20px;
}

.my_container h1{
    font-weight: 600;
    font-size: 2.2rem;
}

h1 span{
    font-family: var(--secondary-font)!important;
    font-weight: 300;
}

.about .section-para{
    font-size: 18px;
    font-weight: thin;
}

.about .check-icon{
    display: flex;
    justify-content: space-between;
}

.about .icon-contents{
    column-gap: 5px;
}

.about .icon-contents i{
    color: var(--primary-color);
}

.about .about-image{
    display: flex;
    column-gap: 10px;
}

.about .about-image .img{
    width: 50%;
    border-radius: 12px;
    overflow: hidden;
    height: 500px;
}

.about .about-image .img::after{
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    height: 40px;  
    background: linear-gradient(0deg, rgba(255, 255, 255,   .05), rgba(255, 255, 255, 0.4), rgba(255, 255, 255, .05));
        
}

.about .about-image .img:hover::after{
    animation: image_hover 2s ease 1;
}

.about .about-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}


@media (max-width: 890px) {
    .section .my_container{
        padding: 80px 50px!important;
    }
}

@media (max-width: 550px) {
    .about .about-image .img{
        height: 300px;
    }

    .about .check-icon{
        flex-direction: column;
        row-gap: 5px;
    }

    .section .my_container{
        padding: 80px 25px!important;
    }
}


/* Services */
.services_card{
    width: 100%;
    min-height: 230px;
    background: var(--background);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    padding: 40px 20px 20px 20px;
    overflow: hidden;
}

.services_card .card_body{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 180px;
    transition: all .5s ease-in;
}

.services_card h5{
    font-weight: 600!important;
}

.services_card .card_footer{
    display: flex;
    flex-direction: column;
}

.services_card .card_footer a{
    color: var(--primary-color);
    font-weight: 600;
    transition: all .5s ease-in;
}

.services_card::before{
    content: '';
    background: var(--primary-color);
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.services_card:hover::before{
    animation: card_hover 1s ease forwards alternate 1;
}

.services_card:hover .card_body, .services_card:hover .card_footer a{
    color: var(--background);
}

.why-us .why_icon{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--background);
    font-size: 20px;
}

.why-us .why-us-img{
    width: 100%;
    height: 620px;
    border-radius: 12px;
    overflow: hidden;
}

.why-us .why-us-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-us .why-us-img:hover::after{
    animation: image_hover 2s ease 1;
}


@media (max-width: 550px) {
    .why-us .why-us-img{
        width: 100%;
        height: 420px;
        border-radius: 12px;
        overflow: hidden;
    }
}


.features .feature-background{
    background: url('../images/feature.jpeg');
    background-size: cover;
    background-position: fixed;
    height: 100%;
    border-radius: 14px;
    overflow: hidden;
    color: var(--background);
}


.features .overlay{
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px 80px;
}


.features .feature_card{
    display: flex;
    flex-direction: column;
    padding: 20px;
    align-items: center;
    text-align: center;
    background: var(--background);
    min-height: 220px;
    height: 250px;
    border-radius: 12px;
}

.feature_card .feature_icon{
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    background: var(--primary-color);
    color: var(--background);
    margin-bottom: 25px;
}

.feature_card h5{
    font-weight: 600;
}

.feature_card:hover .feature_icon{
    background-color: var(--black);
}

@media (max-width: 890px) {
    .features .overlay{
        padding: 40px 50px;
    }
}

@media (max-width: 550px) {
    .features .overlay{
        padding: 40px 20px;
    }

    .features h1{
        font-size: 2em!important;
    }
}



/* Our products */
.product_card {
    display: flex;
    flex-direction: column;
    min-height: 300px;
    background: var(--background);
    border-radius: 12px;
    padding: 20px;
}

.product_card .product_img{
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.product_img img{
    animation: product_bounce 3s ease infinite
}

.product_card .product_name{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.product_name h5{
    font-weight: 600;
    color: var(--primary-color);
}


/* How it works */
.steps{
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.steps img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .5s ease-in;
}

.steps .steps_content{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px;
    justify-content: flex-end;
    background: linear-gradient(180deg, rgba(0,0,0, .1), rgba(0, 0, 0, .8));
}

.steps:hover img{
    transform: scale(1.1);
}


/* gallery */
.gallery{
    padding: 100px 50px;
}

.gallery .gallery_card{
    height: 450px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.gallery .gallery_card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: scale 8s infinite;
}


@media (max-width:550px) {
    .gallery{
        padding: 50px 20px;
    }
}



/* testimonial */
.testimony{
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    color: var(--background);
}

.testimony .testimony_text{
    font-size: 20px;
}

.testimony_text::before{

    content: '”';
    position: absolute;
    right: 20px;
    top: 0;
    font-size: 10rem;
    color: var(--background);
    opacity: 0.4;
}

.testimony .testimony_sender{
    display: flex;
    align-items: center;
    column-gap: 20px;
}

.testimony_sender .profile_pics{
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden
}

.testimony_sender .profile_pics img{
    width: 100%;
}


.testimonial-photo{
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-radius: 12px;
}

.testimonial-photo img{
    width: 100%;
}



/* blog */

.blog .blog_card{
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 350px;
}

.blog .blog-picture{
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
}

.blog .blog-picture img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog .blog-title{
    display: flex;
    flex-direction: column;
    padding: 20px 0;
}

.blog-title h1{
    font-weight: 600!important;
}


/* footer */
.footer_logo{
    width: 100px;
}

.footer_logo img{
    width: 100%;
}

.footer_link{
    display: flex;
    flex-direction: column;
}

.footer_link ul{
    display: flex;
    align-items: center;
    margin: 0;
}

.footer_link ul li{
    margin: 0 30px 0 0;
    list-style: none;
}

.footer_link ul li a{
    text-decoration: none;
    color: var(--background);
    transition: all .4s ease;
}


.footer_link ul li a:hover{
    color: var(--primary-color);
}

.admin-details{
    display: flex;
    flex-direction: column;
    row-gap: 5px;
    color: var(--background);
}


.news_letter{
    display: flex;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #1c2430;
    height: 55px;
}

.news_letter input{
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 0 15px;
    color: var(--background);
}

.news_letter button{
    background: var(--primary-color);
    color: var(--background);
    border: none;
    outline: none;
    padding: 0 25px;
    cursor: pointer;
}

.news_letter button:focus, .news_letter button:active{
    outline: none;
}

.icons span{
    margin: 0 10px;
}

.icons span a{
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--background);
    color: var(--black);
    border-radius: 50%;
    text-decoration: none;
    font-size: 20px;
}

.footer hr{
    background: var(--background);
}

@media (max-width: 550px) {
    .footer_logo{
        margin: 0 auto!important;
    }
}


