@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,500;0,600;0,700;1,400&family=Poppins:wght@200;300;400;500;600;700;800&display=swap');

* ,*::after ,*::before{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html{
    font-family: 'Poppins', sans-serif;
}
body{
    font-size: 62.5%;
}

/* --------------------- UTILITY CLASS ------------------------- */
.container{
    max-width: 1200px;
    width: 90%;
    margin: auto;
}

.btn{
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    padding: 1rem 2rem;
    outline: none;
    border-radius: 50px;
    margin-top: 1rem;
    text-transform: uppercase;
    font-weight: 500;
}
.btn-primary{
    background-color: #117964;
    color: #fff;
}

.btn-primary:hover{
    background-color: #0d614f;
}

/* ----------------- NAVBAR STYLING  --------------------- */

/*  --------------- Dekstop mode ----------------------- */

.navbar input[type="checkbox"] , 
.navbar .hamburger-lines{
    display: none;
}

.navbar{
    position: fixed;
    width: 100%;
    box-shadow: 0px 5px 10px 0 #aaa;
    background: #eee;
    color: black;
    opacity: 0.85;
    z-index: 999;
}

.navbar-container{
    display: flex;
    justify-content: space-between;
    height: 4.6rem;
    align-items: center;

}
.logo{
    order: 1;
    font-size: 2.7rem;
}
.menu-items{
    order: 2;
    display: flex;
    
}
.menu-items li a{
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
}

.menu-items li a:hover{
    color: #117964;
    border-bottom: 0.15em solid #117964;
}
.menu-items li{
    list-style: none;
    font-size: 1.2rem;
    margin: 1rem 0.8rem;
}

 /* ------------------- Showcase area -----------------------*/

.showcase-area{
     height: 60vh;
     background: linear-gradient(rgba(244,244,244,0.15),rgba(244,244,244,0.15)),url(./images/header-image2.jpg);
     background-size: cover;
     background-repeat: no-repeat;
     background-position: center;
 }

.showcase-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    font-size: 1.2rem;
}
.main-title{
    text-transform: uppercase ;
}


/* ------------------ ABOUT SECTION  ----------------- */

#about{
    padding: 50px 0;
    background-color: #f5f5f7;
}

.about-container{
    display: flex;
    flex-wrap: wrap;
}
.about-container h2{
    font-size: 2rem;
}
.about-container p{
    font-size: 1.1rem;
    color: #444;
}
.about-container .small{
    font-size: 1rem;
    font-weight: 600;
    color: #555;
}


.about-text{
    flex: 1 1 400px;
    padding: 2rem 3rem;
    margin: auto;
    transform: translateX(-150%);
    animation: about-text-animate 1s ease-in-out forwards;
}
@keyframes about-text-animate {
    100%{
        transform: translate(0);
    }
}
.about-img{
    flex: 1 1 400px;
    padding: 2rem 3rem;
    transform: translateX(150%);
    animation: about-img-animate 1s ease-in-out forwards;
}
@keyframes about-img-animate {
    100%{
        transform: translate(0);
    }
}

.about-img img{
    display: block;
    height: 400px;
    max-width: 100%;
    margin: auto;
    object-fit: cover;
    object-position: right;
}


/*  ---------------- Types of Food ------------------ */
#food{
    padding: 5rem 0 10rem 0;
}

#food h2{
    text-align: center;
    text-transform: uppercase;
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 4rem;
    color: #555;
}

.food-container{
    display: flex;
    justify-content: space-between;
}
.food-container img{
    display: block;
    max-width: 100%;
    margin: auto;
    max-height: 300px;
    object-fit: cover;
    object-position: center;
    box-shadow: 0px 0px 10px 0px #aaaaaa;
}

.img-container{
    margin: 0 0.6rem;
    position: relative;
}

.overlay-content{
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%,-50%);
    opacity: 0;
    z-index: 2;
    text-align: center;
    transition: all 0.3s ease-in-out 0.1s;
}

.overlay-content h3{
    color: #fff;
    font-size: 2rem;
}
.overlay-content a{
    font-size: 1rem;
}

.img-container::after{
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.871);
    /* opacity: 0; */
    z-index: 1;
    transform: scaleY(0);
    transform-origin: 100% 100%;
    transition: all 0.3s ease-in-out;
}

.img-container:hover::after{
    opacity: 1;
    transform: scaleY(1);
}

.img-container:hover .overlay-content{
    opacity: 1;
    top: 40%;
}


/* ----------------------- Food menu section -------------------------- */


.food-menu-heading{
    text-align: center;
    text-transform: uppercase;
    font-size: 2.2rem;
    font-weight: 400;
    color: #555;
}

.food-menu-container{
    display: flex;
    flex-wrap: wrap;
    padding: 55px 0px 30px 0px;
}
.food-menu-item img{
    display: block;
    width:  235px;
    height: 235px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}
.food-menu-item{
    display: flex;
    flex: 1 1 600px;
    justify-content: space-evenly;
    margin-bottom: 3rem;
}
.food-description{
    margin: auto 1.5rem;
}

.food-title{
    font-size: 1.75rem;
    font-weight: 400;
    color: #444;
}
.food-description p{
    font-size: 1rem;
    color: #555;
    font-weight: 500;
}
.food-description .food-price{
    color: #117964;
    font-weight: 700;
}



/* -------------------------Testinomials section ------------------------- */

#testimonials{
    background: #dedede;
    min-height: 100%;
    padding: 2rem;
}
.testimonial-heading{
    text-align: center;
    text-transform: uppercase;
    font-size: 2rem;
    font-weight: 400;
    color: #555;
    margin-bottom: 1.3rem;
}
.testimonial-container{
    display: flex;
    font-size: 0.9rem;
}
.testimonial-container .checked{
    color: #ff9529;
}
.testimonial-box{
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
}
.testimonial-box img{
    display: block;
    height: 125px;
    width: 125px;
    border-radius: 50%;
}
.testimonial-text{
    padding: 0.4rem;
    margin: 0.8rem;
    color: #444;
}
.customer-name{
    font-size: 1rem;
    color: #333;
    margin: 0.75rem 0;
}


/* ---------------------------contact section ---------------------- */

#contact{
    padding: 5rem 0;
    background: #efefef;
}

.contact-container{
    display: flex;
    background-color: #fff;

}
.contact-image{
    width: 50%;
}
.contact-image img{
    display: block;
    min-height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center;

}

.form-container{
    padding: 1rem;
    width: 50%;
    margin: auto;

}

.form-container input{
    display: block;
    width: 100%;
    border: none;
    border-bottom: 2px solid #ddd;
    padding: 0.7rem 0;
    outline: none;
    box-shadow: none;
    margin-bottom: 0.7rem;
    color: #555;
    font-weight: 500;
}
.form-container textarea{
    display: block;
    width: 100%;
    border: none;
    border-bottom: 2px solid #ddd;
    padding: 1rem 0;

}

.form-container h2{
    font-size: 2rem;
    font-weight: 400;
    color: #444;
    margin-bottom: 0.4rem;
}
.form-container a{
    font-size: 1rem;
}


/* --------------------footer section----------------- */

#footer h2{
    text-align: center;
    font-size: 1.2rem;
    word-spacing: 0.24rem;
    letter-spacing: 0.1rem;
    font-weight: 500;
    padding: 1.8rem;
    color: #fff;
    background: rgb(65, 65, 65);
}


/* ----------------media queries--------------- */

@media (max-width: 768px){
    .navbar{
        opacity: 0.95;
    }
    .navbar-container input[type='checkbox'],
    .navbar-container .hamburger-lines{
        display: block;
    }
    .navbar-container{
        display: block;
        position: relative;
        height: 55px;
    }
    .navbar-container input[type='checkbox']{
        position: absolute;
        display: block;
        height: 28px;
        width: 40px;
        top: 20px;
        left: 20px;
        z-index: 5;
        opacity: 0;
    }
    .navbar-container .hamburger-lines{
        display: block;
        height: 32px;
        width: 40px;
        position: absolute;
        top: 20px;
        left: 20px;
        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .navbar-container.hamburger-lines .line{
        display: block;
        height: 4px;
        width: 100%;
        border-radius: 10px;
        background-color: #333;
    }
    .navbar-container .hamburger-lines .line1{
        transform-origin: 0% 0%;
        transition: transform 0.4s ease-in-out;
    }
    .navbar-container .hamburger-lines .line2{
        transition: transform 0.4s ease-in-out;
    }
    .navbar-container .hamburger-lines .line3{
        transform-origin: 0% 100%;
        transition: transform 0.4s ease-in-out;
    }

    .navbar .menu-items{
        padding-top: 100px;
        background: #fff;
        height: 100vh;
        max-width: 300px;
        transform: translateX(-150%);
        display: flex;
        flex-direction: column;
        margin-left: -40px;
        padding-left: 50px;
        transition: transform 0.5s ease-in-out;
        box-shadow: 5px 0px 10px 0px #aaa;
    }
    .navbar .menu-items li{
        margin-bottom: 3rem;
        font-size: 2rem;
        font-weight: 500;
    }
    .logo{
        position: absolute;
        top: 10px;
        right: 15px;
        font-size: 2.2rem;
    }

    .navbar-container input[type='checkbox']:checked ~ .menu-items{
        transform: translateX(0);
    }
    .navbar-container input[type='checkbox']:checked ~ .hamburger-lines .line1{
        transform: rotate(45deg);
    }
    .navbar-container input[type='checkbox']:checked ~ .hamburger-lines .line2{
        transform: scaleY(0);
    }
    .navbar-container input[type='checkbox']:checked ~ .hamburger-lines .line3{
        transform: rotate(-45);
    }
    
    /* ------ food category ---------- */
    
    .food-container{
        flex-direction: column;
        align-items: stretch;
    }
    .food-type:not(:last-child){
        margin-bottom: 2.5rem;
    }
    .food-type{
        box-shadow: 5px 5px 10px 0px #aaa;
    }
    .img-container{
        margin: 0;
    }

}


/* ------ small screen */
@media(max-width: 500px){
    html{
        font-size : 50%;
    }
    .testimonial-container{
        flex-direction: column;
        text-align: center;
    }
    .food-menu-item{
        flex-direction: column;
        text-align: center;
    }
    .food-menu-container img{
        margin: auto;
    };
    .form-container{
        width: 90%;
    }
    .contact-container{
        display: flex;
        flex-direction: column;
    }
    .contact-image{
        width: 90%;
        margin: 3rem auto;
    }
}



/* --------------- landscape mode--------- */

@media(orientation: landscape) and (max-height: 500px){
    .showcase-area{
        height: 50vmax;
    }
}