/* Get the Roboto font from google */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
/* Start General Styles */
:root{
    --main-transition:0.3s;
    --black:#192a56;
    --green:#27ae60;
    --light-color:#666;
    --box-shadow: 0 .5rem 1.5rem rgba(0,0,0,.15);
    --section-padding: 6rem;
}
html{
    font-family: "Nuntro", sans-serif;
    /* font-size = 10px */
    font-size: 62.5%;
    overflow-x:hidden ;
    scroll-behavior: smooth;
    scroll-padding-top: 3rem;
}
*{
    padding: 0; margin: 0;
    box-sizing: border-box;
    border: none; outline: none;
    text-transform: capitalize; text-decoration: none;
    transition: all var(--main-transition) linear;
    color: black;
}
a,i,button{
    cursor: pointer;
}
section{
    padding: var(--section-padding) 0;
}
section:nth-child(even){
    background: #eee;
}
section .main-title{
    text-align: center;
    margin: 0;
}
section .main-title span{
    color: var(--green);
    text-transform: capitalize;
    font-size: 2rem;
}
section .main-title h3{
    color: var(--black);
    font-size: 3rem;
    font-weight: bolder;
    margin: 1.1rem 0 3rem;
    text-transform: uppercase;
}
.container{
    width:75%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.7rem;
}
.gen-btn{
    display: inline-block;
    background: var(--black);
    color: white;
    border-radius: .5rem;
    padding: .9rem 2.6rem;
    margin: 1rem 0;
    font-size: 1.4rem;
}
.gen-btn:hover{
    background:var(--green);
    letter-spacing: .11rem;
}
.stars{
    margin: 1rem 0;
}
.stars i{
    color: var(--green);
    font-size: 1.7rem;
}
/* End General Styles*/
/* Start Header Section */
.header{
    position: fixed;
    top:0; right:0; left: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 4.5rem;
    box-shadow: var(--box-shadow);
}
.header.active{
    background: var(--black);
    color: white;
}
.header .logo i{
    color: var(--green);
    font-size: 2rem;
}
.header .nav-bar a{
    display: inline-block;
    padding:.85rem 1.4rem;
    border-radius: .5rem;
    color:var(--light-color);
    font-size: 1.4rem;
}
.header .nav-bar a.active,
.header .nav-bar a:hover{
    background: var(--green);
    color: white;
}
.header .icons{
    display: flex;
    gap: 1.1rem;
}
.header .icons i,
.header .icons a{
    font-size: 1.55rem;
    width:3.5rem; height: 3.5rem;
    border-radius: 50%;
    background:#eee ;
    display: flex; justify-content: center; align-items: center; flex-wrap: nowrap;
}
.header .icons .fa-bars{
    display: none;
}
.header .icons i:hover,
.header .icons a:hover{
    background: var(--green);
    color: white;
}
/* End Header Section */
/* Start Search Form  */
#frm-search{
    position: fixed; top: -110%; left: 0;
    z-index: 1001;
    width: 100%; height: 100%;
    background: rgba(0,0,0,.8);
    display: flex; align-items: center; justify-content: center;
    gap: 1.3rem;
    padding: 0 1.1rem;
}
#frm-search.active{
    top: 0;
}
#frm-search #search-inp{
    width: 35rem;
    color: white;
    background: none;
    text-transform: none;
    border-bottom: .1rem solid #eee;
    padding:1rem 1.5rem;
    font-size: 1.8rem;
}
#frm-search #search-inp::placeholder{
    color: var(--light-color);
}
#frm-search .fa-magnifying-glass{
    font-size: 1.55rem;
    width:3.1rem; height: 3.1rem;
    border-radius: 50%;
    background: #eee;
    display: flex;justify-content: center;align-items: center;
}
#frm-search .fa-magnifying-glass:hover{
    background: var(--green);
    color: white;
}
#frm-search .hide-form{
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    color: white;
    font-size: 2.8rem;
    padding: .7rem;
}
#frm-search .hide-form:hover{
    background: red;

}
/* End Search Form */
/* Start Home Section */
.home{
    min-height: 100vh;
    position: relative;
}
.home .container{
    width: 100%;
}
.home  .slide{
    overflow-x: hidden;
    display: flex;align-items: center;justify-content: center;
    flex-wrap: wrap;
    gap:1.8rem;
    height: 100vh;
    max-height: 101vh;
}

.home .content{
    flex: 1 1 35rem;
}
.home .image{
    flex: 1 1 40rem;
}
.home .image img{
    width: 100%;
    background: white;
}
.home .content span{
    text-transform: capitalize;
    color: var(--green);
    font-size: 2.1rem;
}
.home .content h3{
    color: var(--black);
    font-size: 3.1rem;
    margin: 1.1rem 0;
    font-weight: bolder;
}
.home .content p{
    line-height: 1.8;
    letter-spacing: .7;
    font-size: 1.7rem;
}
.home .trans{
    position: absolute;
    bottom: 3rem;
   left: 50%; transform: translateX(-50%);
    display: flex;
    gap: 1.2rem;
}
.home .trans span{
    width:2rem;
    height:2rem;
    border-radius: 50%;
    border: 0.11rem solid #777;
    background: #EEE;
    cursor: pointer;
}
.home .trans span.active{
    background: var(--green);
    border: none;
}
/* End Home Section */
/* Start Dishes Section */
.dishes .container{
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(26.5rem,1fr));
    gap: 1.5rem;
}
.dishes .container .box{
    background-color: #fff;
    position: relative;
    text-align: center;
    overflow: hidden;
}
.dishes .container .box i.fa-heart,
.dishes .container .box i.fa-eye{
    position: absolute;
    top: 2rem;
    font-size: 1.7rem;
    background-color: #CCC;
    color: var(--black);
    border-radius: 50%;
    width:3.2rem;
    height: 3.2rem;
    line-height: 3.2rem;
}
.dishes .container .box i.fa-heart{
    right:-5rem ;
}
.dishes .container .box:hover i.fa-heart{
    right: 2rem;
}
.dishes .container .box i.fa-eye{
    left:-5rem ;
}
.dishes .container .box:hover i.fa-eye{
    left: 2rem;
}
.dishes .container .box i.fa-heart:hover,
.dishes .container .box i.fa-eye:hover{
    background-color: var(--green);
}
.dishes .container .box img{
    width:65%;
}
.dishes .container .box h3{
    font-size: 2.4rem;
}
.dishes .container .box span{
    font-size: 1.7rem;
    color: var(--green);
    margin-right: .8rem;
}
.dishes .container .box a{
    margin: 1.5rem 0;
}
/* End Dishes Section */
/* Start About Section */
.about .container{
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}
.about .container .image{
    flex:1 1 35rem;
    text-align: center;
}
.about .container .image img{
    max-width: 100%;
    height: 55rem;
}
.about .container .content{
    flex:1 1 50rem;
}
.about .container .content h3{
    text-transform: uppercase;
    font-size: 3rem;
    color: var(--black);
    margin: 2rem 0;
}
.about .container .content p{
    color: var(--light-color);
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    line-height: 1.8;
}
.about .container .content .icons-wrapper{
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    padding: 1rem 0;
}
.about .content .icons-wrapper .box{
    flex:1 1 7rem;
    background: #CCC;
    display: flex;
    justify-content: center;
    align-items: center;
    gap : .8rem;
    padding: 1.1rem .8rem;
    border-radius: .5rem;
    border:solid .1rem rgba(0,0,0,.2);
    cursor: pointer;
    position: relative;
}
.about .content .icons-wrapper .box:hover{
    background: #777;
    top:-.18rem
}
.about .content .icons-wrapper .box i{
    color: var(--green);
    font-size: 2rem;
    font-weight: bolder;
}
.about .content .icons-wrapper .box span{
    font-size: 1.3rem;
}
/* End About Section */
/* Start Menu Section */
.menu .container{
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(29rem,1fr));
    gap:1.2rem;
}
.menu .container .box{
    padding:1.2rem;
    background: white;
    position: relative;
    border: .1rem solid rgba(0,0,0,.1);
    border-radius: .5rem;
}
.menu .container .box i.fa-heart{
    position: absolute;
    top:3rem; right: 2rem;
    font-size: 1.7rem;
    background-color: white;
    color: var(--black);
    border-radius: 50%;
    width:3.2rem;
    height: 3.2rem;
    display: flex;justify-content: center;align-items: center;
}
.menu .container .box i.fa-heart:hover{
    background: var(--green);
    color: white;
}
.menu .container .box img{
    width: 100%;
    height: auto;
    border-radius: .5rem;
}
.menu .container .box h3{
    color: var(--black);
    font-size: 2.1rem;
}
.menu .container .box p{
    color: var(--light-color);
    font-size: 1.4rem;
    letter-spacing: -.5px;
    margin:.8rem;
    line-height: 1.6;
}
.menu .container .box span{
    font-size: 1.9rem;
    color: var(--green);
    margin-left: .8rem;
}
/* End Menu Section */
/* Start Review Section */
.review .container .swiper-wrapper{
    text-align: center;
}
.review .container {
    width: 100%;
    padding: 0;
    margin: auto;
    max-width: 1200px; /* أو أي قيمة تناسبك */
    margin: auto;
    overflow: hidden; /* عشان تمنع أي مشاكل في العرض */
  }
.review .box{
    position: relative;
    border: .1rem solid rgba(0,0,0,.2);
    padding: 1rem;
    border-radius: .5rem;
    box-shadow: var(--box-shadow);
    width: 33%;
}
.review .box .fa-quote-right{
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 5rem;
    color: var(--light-color);
}
.review .box .user{
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.review .box .user img{
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 50%;
    object-fit: cover;
}
.review .box .user .user-info h3{
    color: var(--black);
    font-size:1.7rem;
}
.review .box .user .user-info .stars{
    margin:.5rem 0
}
.review .box .user .user-info .stars i{
    font-size: 1.4rem;
}
.review .box p{
    color: var(--light-color);
    line-height: 1.7;
    font-size: 1.4rem;
}
/* End Review Section */
/* Start Order Section */
.order .container{
    padding: 1.7rem 1.5rem;
    background: white;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: .4rem;
    box-shadow: var(--box-shadow);

}
.order form{
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.order form .box{
    flex: 1 1 38rem;
}
.order form .box .input{
    margin-bottom: 1.3rem;
}
.order form .box .input label{
    display: inline-block;
    margin-bottom: .5rem;
    font-size: 1.4rem;
}
.order form .box .input input,
.order form .box .input textarea{
    width: 100%;
    background: #CCC;
    border-radius: .8rem;
    padding: 1rem .5rem;
    transition: all .2s;
}
.order form .box .input input:focus,
.order form .box .input textarea:focus{
    border: .1rem  solid var(--green);
}
.order form .box .input textarea{
    height: 21rem;
    resize: none;
}
.order a{
    margin:0;
}
/* End Order Section */
/* Start Contact Section */
.contact .container{
    display: flex;
    flex-wrap: wrap;
    gap:1rem;
}
.contact .container .box{
    flex: 1 1 21rem;
    padding:  0 1.5rem;
}
.contact .container .box h3{
    color: var(--black);
    font-size: 2rem;
}
.contact .container .box a{
    font-size: 1.2rem;
    color: var(--light-color);
    margin: 1.2rem 0;
    display: block;
}
.contact .container .box a:hover{
    text-decoration: underline;
}
/* End Contact Section */
/* Start Footer */
footer h3{
    color: var(--light-color);
    font-size: 1.3rem;
    padding:1.8rem 1.2rem;
    border-top: .1rem solid rgba(0,0,0,.2);
    text-align: center;
}
footer h3 span{
    font-size: 1.5rem;
    color: var(--green);
}
/* End Footer */





/* Media Queries */
@media(max-width:991px){
    html{
        font-size: 55%;
    }
    .container{
        width: 750px;
        margin: 0 auto;
        padding: 0 2rem;
    }
    .header{ 
        padding: 1.1rem 3.5rem;
    }
}
@media(max-width:767px){
    html{
        /* font-size = 8.8px */
        font-size: 50%;
    }
    .container{
        width:100%;
    }
    /* Header Section */
    .header{ 
        padding: 1.1rem 3.5rem;
    }
    .header .nav-bar{
        position: absolute;
        top: 100%; left: 0; right: 0;
        z-index: 999;
        border-bottom: 1px solid rgba(0,0,0,.15);
        clip-path: polygon(0 100%,100% 100%,100% 100%,0 100%);
        background-color: #fff;
    }
    .header .nav-bar.active{
        clip-path: polygon(0 0,100% 0, 100% 100%,0 100%);
    }
    .header .nav-bar a{
        display: block;
        padding:1.8rem 1.2rem;
        background: #eee;
        margin:1rem 0.7rem;
        font-size: 1.7rem;
    }
    .header .icons .fa-bars{
        display: flex;
    }
    #frm-search #search-inp{
       width: 75%;
    }
    .home  {
        padding: calc(var(--section-padding)) 0;
    }
}
@media(max-width:495px){
    .container{
        width:100%;
    }
    .header{ 
        padding: 0.8rem 2.5rem;
    }
    #frm-search #search-inp{
        width: 90%;
    }
    .dishes .container .box img{
        width: 100%;
    }
}