
/* ********************************* */
/* header section  */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fdf2e9;
    height: 9.6rem;
    padding: 0 4.8rem;
    position: relative;

}

.logo {
    height: 2.2rem;
}
.btn-mobile-nav{
    border: none;
    background-color: none;
    cursor: pointer;
        display: none;
}
.icon-mobile-nav{
    font-size: 4.8rem;
    cursor: pointer;
}
.icon-mobile-nav[name="close-outline"]{
    display: none;
}

/* navigation */

.main-nav-list {
    display: flex;
    list-style: none;
    gap: 4.8rem;
    align-items: center;

}

.main-nav-links:link,
.main-nav-links:visited {
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 500;
    color: #343a40;
    transition: 0.5s;
    display: inline-block;
  

}

.main-nav-links:hover,
.main-nav-links:active {
    color: #cf711f;

}

.main-nav-links.nav-cta:link,
.main-nav-links.nav-cta:visited {

    display: inline-block;
    padding: 1.2rem 2.4rem;
    border-radius: 9px;
    background-color: #e67e22;
    color: white;
}

.main-nav-links.nav-cta:hover,
.main-nav-links.nav-cta:active {

    background-color: #cf711f;

}

.sticky .header{
    height: 8rem;
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.973) ;
    z-index: 999 ;
   
    box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.07);
    padding-top: 0;
    padding-bottom: 0;
}
.sticky .section-hero {
    margin-top: 9.6rem;
}

/* ************************************ */
/* fetured in section  */
/* ************************************ */
.section-featured{
    padding: 4.8rem 0 3.2rem 0;
}
.heading-featured-in{
    font-size: 1.4rem;
    text-transform: uppercase;
    text-align: center;
    font-weight: 500;
    margin-bottom: 2.4rem;
    letter-spacing: 0.75px;
    color: #888;
}
.logos{
    display: flex;
    justify-content: space-around;
}
.logos img{
    height: 3.2rem;
    filter: brightness(0);
    opacity: 50%;
}

/* ********************************* */
/* hero section  */
/* ---------------------------------- */

.section-hero {
    padding: 4.8rem 0 9.6rem ;
    background-color: #fdf2e9;
}

.hero {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 130rem;
    margin: 0 auto;
    padding: 0 3.2rem;
    align-items: center;
   gap: 9.6rem;

}


.hero-description {
    font-size: 2rem;
    margin-bottom: 4.8rem;
    line-height: 1.6;
}

.delivered-meals {
    display: flex;
    margin-top: 8rem;
    align-items: center;
    gap: 1.6rem;
}

.delivered-faces {
    display: flex;
}

.delivered-faces img {
    height: 4.4rem;
    width: 4.4rem;
    border-radius: 100px;
    margin-right: -1.6rem;
    border: 3px solid #fdf2e9;
}

.delivered-faces img:last-child {
    margin: 0;
}

.delivered-text {
    font-size: 1.8rem;
    line-height: 1.6;
    font-weight: 600;
}

.delivered-text span {
    color: #cf711f;
    font-weight: 700;
}
.hero-img {
    max-width: 100%;
}



/* ************************** */
/* how it's works section  */
/* ************************** */

.section-how {
    padding: 9.6rem 0;

}

.step-number{
    font-size: 8.6rem;
    font-weight: 600;
    color: #ddd;
    margin-bottom: 1.2rem;
}
.step-description{
    font-size: 1.8rem;
    line-height: 1.8;
}

.step-img-box{
    position: relative;
    display: flex;
    justify-content: center;
    /* align-items: default-stretch;  if we didn't use it then my img will be streched since we use this we don't have to worry about stretching*/
    align-items: center;
}
.step-img-box::after,
.step-img-box::before{
    content: "";
    border-radius: 50%;
    position: absolute;

}
.step-img-box::before{
    width: 60%;
  
    z-index: -2;
    padding-bottom: 60%;
    background-color: #fdf2e9;

    /* here we don't have to specify this because our element now is an absoulute element and our parent element i mean step-img-box element is specifiyed align-items: center as well as justify content center;; */
    /* top: 50%;
    left: 50%;
    transform: translate(-50%,-50%); */
}
.step-img-box::after{
    content: "";
    width: 45%;
    padding-bottom: 45%;
    background-color:#fae5d3;
    z-index: -1;

}
.step-img {
    width: 35%;
}
/* *********************
meal Section
************************* */

.section-meal{
    padding: 9.6rem 0;
}
.meal-content{
    padding: 3.2rem 4.8rem 4.8rem 4.8rem;
}
.meal{
    box-shadow: 0 2.4rem 4.4rem rgba(0, 0, 0, 0.073);
    border-radius: 1.4rem;
    overflow: hidden;
    transition: 0.4s;
}
.meal:hover{
    transform: translateY(-10px);
    box-shadow: 0 3.2rem 6.2rem rgba(0, 0, 0, 0.068);
    /* transform: scale(1.04); */
}
.meal-tags{
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}
.tag{
    display: inline-block;
    font-size: 1.2rem;
    text-align: center;
    text-transform: uppercase;
    color:#333 ;
    padding: 0.4rem 0.8rem;
    border-radius: 100px;
    font-weight: 600;
}
.tag--vegetarian{
    background-color: #51cf66;
}
.tag--vegan{
    background-color: #94d82d;
}
.tag--paleo{
    background-color: #f59f00;
}
.meal-title{
    font-size: 2.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 2.4rem;
}
.meal-img{
    
    width: 100%;
}
.meal-attributes{
    list-style: none;
    display:flex;
    flex-direction: column;
    gap: 2rem;
}
.meal-attribute{
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.meal-icon{
    font-size: 2.4rem;
    color: #e67e22;
}

.list{
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}
.list-icon{
    font-size: 3rem;
    color: #e67e22;
}
.list-item{
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 1.6rem;
    line-height: 1.3;
}
.all-recipes{
    font-size: 1.8rem;
    text-align: center;
  
}
.link:link,
.link:visited{
    color: #e67e22;
    text-decoration: none;
    padding: 2px;
    cursor: pointer;
    border-bottom: 1px solid currentColor;
    transition: all 0.5s;
}
.link:hover,
.link:active{
    color: #cf711f;
    border-bottom:1px solid transparent ;
}

/* ****************** */
/* Testimonial */
/* ************************* */


.testimonial-container{
    padding: 9.6rem;
}
.section-testimonial{
    background-color: #fae5d3;
    display: grid;
    /* grid-template-columns: 55fr 45fr (in 100fr or percenige 55 alloted for left container and 45 alloted for right container); */
    grid-template-columns: 55fr 45fr;
    align-items: center;
}
.testimonials{
    row-gap: 4.8rem !important;
    column-gap: 8rem !important;
}
.testimonial-img{
    width: 6.4rem;
    border-radius: 50%;
    margin-bottom: 1.2rem;
}
.testimonial-text{
    font-size: 1.8rem;
    line-height: 1.8;
    margin-bottom: 1.6rem;
}
.testimonial-name{
    font-size: 1.6rem;
    color: #6F6F6F;
    
}
.gallery{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1.6rem;
    padding: 1.6rem;
    
}
.gallery-img{
    display: block;
    width: 100%;
    transition:0.5s;
    /* using display: block on img that remove white spaces around the img  */
}
.gallery-item{
    overflow: hidden;
}
.gallery-img:hover,
.gallery-img:active{
    transform: scale(1.1);
}
/* ************** */
/* section-pricing */
/* ********************** */
.section-pricing{
    padding: 9.6rem 0;
}
.pricing-plan{

    border-radius: 1.1rem;
   
    justify-content: center;
    width: 75%;

}
.plan-align-starter{
    justify-self: end;
    border: 2px solid #fdf2e9 ;
    padding: 4.6rem;
}
.pricing-card-complete{
    background-color: #fdf2e9;
    padding: 4.8rem;
    position: relative;
    overflow: hidden;
}
.pricing-card-complete::after {
    content: "Best Value";
    position: absolute;
    font-size: 1.4rem;
    background-color: rgb(255 212 59);
    text-transform: uppercase;
    font-weight: 700;
    top: 6%;
    right: -18%;
    transform: rotate(45deg);
    padding: 0.8rem 8rem;
    color: rgb(51 51 51);
}
.plan-name{
    font-size: 2rem;
    color: #cf711f;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    margin-bottom: 3.2rem;
}
.plan-price{
    font-size: 6.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.6rem;
}
.plan-price span{
    font-size: 3rem;
    font-weight: 500;
    margin-right: 0.8rem;
}
.plan-text{
font-size: 1.6rem;
color: #6F6F6F;
line-height: 2rem;
}
.plan-sign-up {
    margin-top: 4.8rem;
}
.plan-details{
    font-size: 1.6rem;
    line-height: 1.6;
       color: #888;
       
  
}

.margin-bottom{
    margin-bottom: 4.8rem !important;
}
/*  ******************** */
/* features */
/* **************** */
.features-icon{
    color: #cf711f;
    font-size: 3rem;
    padding: 1.6rem;
    border-radius: 50%;
    background-color: #fdf2e9;
    margin-bottom: 3.2rem;
}
.features-title{
    font-size: 2.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.6rem;
    

}
.features-text{
    font-size: 1.8rem;
    line-height: 1.8;

}
/* **************** */
/* section-cta */
/* ***************** */

.section-cta{
    padding:4.8rem 0 12.8rem ;
}
.cta{
    display: grid;
    grid-template-columns: 2fr 1fr;
    /* background-color: #e67e22; */
    background-image: linear-gradient(90deg,#eb984e,#e67e22);
    box-shadow:0 2.4rem 4.8rem rgba(0, 0, 0, 0.15);
    border-radius:20px;

    /* temp  */
    overflow: hidden;
   
}
.cta-text-box{
    padding: 6.8rem;
    padding-top: 4.8rem;
    color: #45260a;
}
.cta .heading-secondary{
    color: #45260a;
    margin-bottom: 3.2rem;


}
.cta-text{
    font-size: 1.8rem;
    line-height: 1.8;
    margin-bottom: 4.8rem;
}
.cta-img-box{
    background-image:linear-gradient(rgba(235, 151, 78, 0.35),rgba(230, 125, 34, 0.35)),url("/img/eating.jpg") ;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.cta-form{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    column-gap: 3.2rem;
    row-gap: 2.4rem;
}
.cta-form label{
    display: block;
        font-size: 1.6rem;
        font-weight: 500;
        margin-bottom: 1.2rem;
}
.cta-form input,
.cta-form select{
    padding: 1.2rem;
    width: 100%;
    font-size: 1.6rem;
    font-family: inherit;
    border: none;
    background-color: #fdf2e9;
    border-radius: 9px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    color: inherit;
}

.cta-form input::placeholder{
    color: #aaa;
}


.btn-form{
    background-color:#45260a ;
    color: #fdf2e9;
    font-weight: 600;
    padding: 1.2rem !important;
    align-self: end;
    cursor: pointer;
    font-family: inherit;
    
    transition: 0.5s;
}
.btn-form:hover,
.btn-form:active{
    background-color:#683000 ;
    color: rgb(255, 247, 247);
}
.cta *:focus{
    transition: 0.1s;
    /* outline: none;
    outline: 5px solid orangered;
    outline-offset: 10px; */
    box-shadow:0  0 0 0.8rem #fdf2e96e;
}
/* footer ||| */
.footer{
    padding: 12.8rem 0;
    border-top: 1px solid #e7e5e5;
}
.grid-footer{
    grid-template-columns: 1.5fr 1.5fr 1fr 1fr 1fr;
}
.logos-col{
    display: flex;
    flex-direction: column;
}

.footer-heading{
    margin-bottom: 4rem;
    font-size: 1.8rem;
    font-weight: 500;
}
.footer-logo{
display: block;
margin-bottom: 3.2rem;
}
.social-links{
   
    display: flex;
    gap: 2.4rem;
}
.social-icon{
font-size: 2.4rem;
}
.copyright{
    font-size: 1.4rem;
    line-height: 1.6;
    color: #aaa;
    margin-top: auto;
}
.contacts{
    font-style: normal;
    font-size: 1.6rem;
    line-height: 1.6;
}
.adress{
    margin-bottom: 2.4rem   ;
}

.footer-nav{
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}
.footer-link:link,
.footer-link:visited{
    text-decoration: none;
    font-size: 1.6rem;
    color: #6F6F6F;
    transition: 0.3s;
}
footer li {
    list-style: none;
}
 li:hover .footer-link{
    color: rgb(59, 59, 59);
}