@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700&display=swap');

:root{
    --main-color:#d3ad7f; /*color light brown*/
    --black:#13131a;
    --bg:#010103; /*dark shade color*/
    --border:.1rem solid rgba(255,255,255,.3); /*border style*/
}

* { /*all elements*/
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration:none;
    text-transform: capitalize;
    transition: .2s linear; /*This create a smoother visual experience when styles change due to user interactions.*/
}

tr{
    color: white;
    font-size: 2rem;
}
html {
    font-size: 62.5%;
    overflow-x: hidden; /*hide horizontal scrolling*/
    scroll-padding-top: 9rem;
    scroll-behavior: smooth; /*When user clicks on the link that points to an anchor within the same page, the page will smoothly scroll to that target, providing a more visually appealing transition.*/
}

html::-webkit-scrollbar{ /*customise apperance of the scrollbars*/
    width: .8rem;
}


body{
    background: var(--bg);
}

section{
    padding:3rem 2rem;
    margin: 0 auto;
    max-width: 1200px;
}

.heading{
    text-align: center;
    color:#fff;
    text-transform: uppercase;
    padding-bottom: 3.5rem;
    font-size:5rem;/* size of the main headings */
}

.heading span{
    color:var(--main-color);
    text-transform: uppercase;/*make the heading uppercase eg:about us etc...*/
}

.btn{
    margin-top: 1rem;
    display: inline-block;
    padding:.9rem 3rem;
    font-size: 1.7rem;
    color:#fff;
    background: var(--main-color);
    cursor: pointer;/*curser edite make to a hand that pointe when click on button*/
}

.btn:hover{
    letter-spacing: .2rem;/*space of letter when click on the button get yours now*/
}

.header{
    position: fixed;/*a fixed position it stay in place*/
    top:0; left: 0; right: 0;
    border-bottom: var(--border);
    background: var(--bg);
}

.header .flex{
    display: flex;/*display each beside each other*/
    align-items: center;
    justify-content: space-between;
    position: relative;/*position items almost middle*/
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.header .logo img{
    height: 12rem;/*small logo at the top*/
}

.header .navbar a{
    margin:0 1rem;
    font-size: 1.8rem;
    color:#fff;
}

.header .navbar a:hover{
    color:var(--main-color);
    border-bottom: .1rem solid var(--main-color);
    padding-bottom: .5rem;/*padding is the border of the page*/
}
.header .icons div {
        color: #fff;
        cursor: pointer;
        font-size: 2.5rem;
        margin-left: 2rem;

}

.header .icons div:hover {
            color: var(--main-color);
}

#menu-btn{
    display: none;
}

.home-container{
    background:url(../images/home-img.jpg) no-repeat; /*homepage image here*/
    background-size: cover;
    background-position: center;
}

.home{
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.home .content{
    max-width: 60rem;
}

.home .content h3{
    font-size: 6rem;
    text-transform: uppercase;
    color:#fff;
}

.home .content p{
    font-size: 2rem;
    font-weight: lighter;
    line-height: 1.8;
    padding:1rem 0;
    color:#eee;
}

.about .row{
    display: flex;
    align-items: center;
    background:var(--black);
    flex-wrap: wrap;
    gap: 1.5rem;
}

.about .row .image{
    flex:1 1 45rem;
}

.about .row .image img{
    width: 100%;
}
.about .row .content{
    flex:1 1 45rem;
    padding:2rem;
}

.about .row .content h3{
    font-size: 3rem;
    color:#fff;
}

.about .row .content p{
    font-size: 1.6rem;
    color:#ccc;
    padding:1rem 0;
    line-height: 1.8;
}

.menu .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap:1.5rem;
}

.menu .box-container .box{
    padding:5rem;
    text-align: center;
    border:var(--border);    
}

.menu .box-container .box img{
    height: 10rem;
}

.menu .box-container .box h3{
    color: #fff;
    font-size: 2rem;
    padding:1rem 0;
}

.menu .box-container .box .price{
    color:rgb(241, 240, 240);
    font-size: 2.5rem;
    padding:.5rem 0;
}

.menu .box-container .box:hover{
    background:#fff;
}

.menu .box-container .box:hover > *{
    color:var(--black);
}
.card-container {
    background-image: url(../images/menucard.jpg);
   /*no repetition of image when decreasing size of web*/
    background-position: top 50%;
    background-size: 100% 540px;
}

h1, h2, p {
    text-align: center;
    color: #d3ad7f;
    font-size: x-large;
}

.established {
    font-style: italic;
}

.item p {
    display: inline-block;
    text-align: right;
    margin: 5px 0;
    font-size: 18px;
}

.flavor, .dessert {
    width: 50%;
    text-align: left;
    color: #fff;
}



hr {
    height: 2px;
    background-color: rgb(252, 251, 251);
    border-color: rgb(246, 246, 246);
}

a {
    color: rgb(250, 245, 245);
}

.review .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap:1.5rem;
}

.review .box-container .box{
    border:var(--border);
    text-align: center;
    padding:3rem 2rem;
}

.review .box-container .box p{
    font-size: 1.5rem;
    line-height: 1.8;/*espace entre sak al line*/
    color:#ccc;
    padding:2rem 0;
}

.review .box-container .box .user{
    height: 7rem;
    width: 7rem;
    border-radius: 50%;
    object-fit: cover;
}

.review .box-container .box h3{
    padding:1rem 0;
    font-size: 2rem;
    color:#fff;
}

.review .box-container .box .stars i{
    font-size: 1.5rem;
    color:var(--main-color);
}
/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Add some basic styling */
body {
    font-family: Arial, sans-serif;
}

/* Style for form container */
.contact form {
    display: flex;
    flex-direction: column;
    max-width: 400px;
    margin: 0 auto;
}

/* Style for input boxes */
.inputBox {
    position: relative;
    margin-bottom: 20px;
}

/* Style for error messages */
.error {
    color: red;
    font-size: 12px;
    margin-top: 5px;
}

/* Style for success messages */
.success {
    color: green;
    font-size: 12px;
    margin-top: 5px;
}

/* ... Your other styles ... */


.contact .row{

    display: flex;/*display all at the right of the page and one beside each other*/
    background:var(--black);
    flex-wrap:wrap ;
    gap:1rem;/*space between the form*/
}
.contact .row .image img{
    
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.contact .row form{
    flex:1 1 45rem;/*can be also remove*/
    padding:5rem 2rem;
    text-align:center ;
}

.contact .row form h3{
    text-transform: uppercase;
    font-size: 3.5rem;
    color:#fff;
}

.contact .row form .inputBox{
    display: flex;
    align-items: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
    background:var(--bg);
    border:var(--border);
}

.contact .row form .inputBox span{
    color:#fff;
    font-size: 2rem;
    padding-left: 2rem;
}

.contact .row form .inputBox input{
    width: 100%;
    padding:2rem;
    font-size: 1.7rem;
    color:#fff;
    text-transform: none;
    background:none;
}


/* Style for the error message */
.error-message {
    color: red;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

/* Style for the success message */
.success-message {
    color: green;
    font-size: 14px;
    margin-top: 5px;
    display: block;
}

.booking .row{
    
    display: flex;
    background:var(--black);
    flex-wrap: wrap;
    gap:1rem;
}

.booking .row .image img{
    
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.booking .row form{
    flex:1 1 45rem;
    padding:5rem 2rem;
    text-align: center;
}

.booking .row form h3{
    text-transform: uppercase;
    font-size: 3.5rem;
    color:#fff;
}

.booking .row form .inputBox{
    display: flex;/*1 a coT lot*/
    align-items: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
    background:var(--bg);
    border:var(--border);
}

.booking .row form .inputBox span{
    color:#fff;
    font-size: 2rem;
    padding-left: 2rem;
}

.booking .row form .inputBox input{
    width: 100%;
    padding:2rem;
    font-size: 1.7rem;
    color:#fff;
    text-transform: none;/*like a normal text*/
    background:none;
}
_________
.login .row{
    
    display: flex;
    background:var(--black);
    flex-wrap: wrap;
    gap:1rem;
}

.login .row .image img{
    
    width: 50%;
    height: 100%;
    object-fit: cover;
}

.login .row form{
    flex:1 1 45rem;
    padding:5rem 2rem;
    text-align: center;
}

.login .row form h3{
    text-transform: uppercase;
    font-size: 3.5rem;
    color:#fff;
}

.login.row form .inputBox{
    display: flex;/*1 a coT lot*/
    align-items: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
    background:var(--bg);
    border:var(--border);
}

.login .row form .inputBox span{
    color:#fff;
    font-size: 2rem;
    padding-left: 2rem;
}

.login .row form .inputBox input{
    width: 100%;
    padding:2rem;
    font-size: 1.7rem;
    color:#fff;
    text-transform: none;/*like a normal text*/
    background:none;
}

.blogs .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));/*use to creat responsive grid layout which adapt to different size of screen*/
    gap:1.5rem;
}

.blogs .box-container .box{
    border:var(--border);    
}

.blogs .box-container .box .image{
    height: 25rem;
    overflow:hidden;/*the image in the blog in stay inside*/
    width: 100%;
}

.blogs .box-container .box .image img{
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.blogs .box-container .box:hover .image img{
    transform: scale(1.2);/*the zooming of the imag*/
}

.blogs .box-container .box .content{
    padding:2rem;/*the wording place at center*/
}

.blogs .box-container .box .content .title{
    font-size: 2.5rem;
    line-height: 1.5;
    color:#fff;
}

.blogs .box-container .box .content .title:hover{
    color:var(--main-color);
}

.blogs .box-container .box .content span{
    color:var(--main-color);
    display: block;
    padding-top: 1rem;/*place the wording on top*/
    font-size: 2rem;
}

.blogs .box-container .box .content p{
    font-size: 1.6rem;
    line-height: 1.8;/*space between the prases in blog the description*/
    color:#ccc;
    padding:1rem 0;/*place the wording center*/
}

.footer{
    /* background:var(--black); */
    text-align: center;
}

.footer .share{
    padding:1rem 0;
}

.footer .share a{
    height: 5rem;
    width: 5rem;
    line-height: 5rem;
    font-size: 2rem;
    color:#fff;
    border:var(--border);
    margin:.3rem;
    border-radius: 50%;
}

.footer .share a:hover{
    background-color: var(--main-color);
}

.footer .links{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding:2rem 0;
    gap:1rem;
}

.footer .links a{
    padding:.7rem 2rem;
    color:#fff;
    border:var(--border);
    font-size: 2rem;
}

.footer .links a:hover{
    background:var(--main-color);
}

.footer .credit{
    font-size: 2rem;
    color:#fff;
    font-weight: lighter;
    padding:1.5rem;
}

.footer .credit span{
    color:var(--main-color);
}
.signup{
    padding-left:67%;
    color:#ccc
}
.signup a{
    color:#d3ad7f;
}

/* media queries how it display on tablet laptop and mobile */
@media (max-width:991px){

    html{
        font-size: 55%;
    }

    .header{
        padding:1.5rem 2rem;
    }

    section{
        padding:2rem;
    }

}
/*how it will diplay size on mobile phone*/
@media (max-width:768px){

    #menu-btn{
        display: inline-block;
    }

    .header .navbar{
        position: absolute;
        top:100%; right: -100%;
        background: #fff;
        width: 30rem;
        height: calc(100vh - 9.5rem);
    }

    .header .navbar.active{
        right:0;
    }

    .header .navbar a{
        color:var(--black);
        display: block;
        margin:1.5rem;
        padding:.5rem;
        font-size: 2rem;
    }

    .header .search-form{
        width: 90%;
        right: 2rem;
    }

    .home{
        background-position: left;
        justify-content: center;
        text-align: center;
    }

    .home .content h3{
        font-size: 4.5rem;
    }

    .home .content p{
        font-size: 1.5rem;
    }

}

@media (max-width:450px){

    html{
        font-size: 50%;
    }

}