@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

:root{
    --beige: #f3f1ea;
    --dark: #1b274d;
    --yellow: #fab254;
}

*{
    background-color: #f3f1ea;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    outline: none;
    border: none;
    transition: all 0.2s linear;
}

html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 5.5rem;
    scroll-behavior: smooth;
}

section{
    padding: 2rem 9%;
}

/* header */
header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--beige);
    padding: 1.5rem 7% 1.5rem 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
    border-bottom: .2rem solid var(--dark);
}

header .navbar a{
    font-weight: 600;
    font-size: 1.7rem;
    border-radius: 0.5rem;
    padding: .5rem 4rem;
    color: var(--dark);
}

header .navbar a.active {
    border: 2px solid var(--dark);
    border-radius: 0.5rem;
    cursor: pointer;
}

header .navbar a:hover{
    background: var(--yellow);
    color: var(--dark);
}

header .icons a{
    cursor: pointer;
    margin-left: 2rem;
}

header .container{
    margin-left: 3rem;
    margin-bottom: 0.3rem;
    display: inline-block;
}
header .menu-bar{
    display: none;
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    position: relative;
    transition: all 0.4s;
}

header .menu-bar::after{
    bottom:9px;
}

header .menu-bar::before{
    bottom:18px;
}

header .menu-bar::before, header .icons .menu-bar::after{
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    transition: all 0.4s;
}

/* home section */
.home {
    padding-top: 6rem;
    padding-bottom: 10rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home .image img{
    max-width: 100%;
    height: auto;
    padding-top: 10rem;
    display: block;
    text-align: center;
}

.home .content{
    text-align: center;
    display: block;
    padding: 5rem 2rem;
    margin-top: 2rem;
    align-items: center;
}

.home .content h2{
    color: var(--yellow);
    font-weight: 800;
    font-size: 7rem;
}

.home .content h3{
    color: var(--dark);
    padding-top: 1rem;
    text-decoration: underline;
    font-weight: 500;
    font-size: 2.5rem;
}

.home .content p{
    color: var(--dark);
    font-size: 2rem;
    padding: 2rem 0 5rem;
    line-height: 1.5;
}

.home .scroll-down {
    left: 50%;
    bottom: 10px;
    display: block;
    text-align: center;
    font-size: 30px;
    z-index: 100;
    text-decoration: none;
    text-shadow: 0;
    width: 30px;
    height: 30px;
    border-bottom: 3px solid #1b274d;
    border-right: 3px solid #1b274d;
    -webkit-transform: translate(-50%, 0%) rotate(45deg);
    -moz-transform: translate(-50%, 0%) rotate(45deg);
    transform: translate(-50%, 0%) rotate(45deg);
    -webkit-animation: fade_move_down 4s ease-in-out infinite;
    -moz-animation:    fade_move_down 4s ease-in-out infinite;
    animation:         fade_move_down 4s ease-in-out infinite;
  }
  
  
  /*animated scroll arrow animation*/
  @-webkit-keyframes fade_move_down {
    0%   { -webkit-transform:translate(0,-10px) rotate(45deg); opacity: 0;  }
    50%  { opacity: 1;  }
    100% { -webkit-transform:translate(0,10px) rotate(45deg); opacity: 0; }
  }
  @-moz-keyframes fade_move_down {
    0%   { -moz-transform:translate(0,-10px) rotate(45deg); opacity: 0;  }
    50%  { opacity: 1;  }
    100% { -moz-transform:translate(0,10px) rotate(45deg); opacity: 0; }
  }
  @keyframes fade_move_down {
    0%   { transform:translate(0,-10px) rotate(45deg); opacity: 0;  }
    50%  { opacity: 1;  }
    100% { transform:translate(0,10px) rotate(45deg); opacity: 0; }
  }

.home span {
    white-space: nowrap;
}

/* intro section */
.intro{
    padding-bottom: 5rem;
}
.intro .row {
    display: flex;
    flex-wrap: wrap;
}

.intro .row .image{
    padding-right: 4rem;
    flex: 1 1 50%;
}

.intro .row .image img{
    max-width: 100%;
    height: auto;
}

.intro .row .content{
    padding-left: 2rem;
    flex: 1 1 50%;
}

.intro .row .content h3{
    padding: 0 2rem 1rem 2rem;
    text-align: center;
    text-decoration: underline;
    color: var(--dark);
    font-weight: 500;
    font-size: 3rem;
}

.intro .row .content p{
    color: var(--dark);
    font-size: 1.6rem;
    line-height: 1.5;
    padding: 1rem 0;
}
.intro .btn-container{
    display: flex;
    gap: 1rem;
}
.intro .btn {
    margin-top: 2.3rem;
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--dark);
    border: 2px solid var(--dark);
    border-radius: 0.5rem;
    cursor: pointer;
    padding: 1rem 2rem;
}

.intro .btn:hover, .reservation-form .reserve-btn input:hover{
    background: var(--yellow);
    color: var(--dark);
}

/* reservation section */

.reservation{
    position: fixed;
    width: 70%;
    top: 10%;
    left: 65%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    z-index: 1000;
    padding: 0;
    display: none;
}

.section-center{
    position: absolute;
    border: 7px solid var(--dark);
}

.reservation-form{
    position: relative;
    margin: auto;
    padding: 3rem;
    padding-top: 1rem;
    overflow: hidden;
    border-radius: 0.5rem;
}

.reservation-form::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.reservation-form .form-header{
    position: relative;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.reservation-form .form-header h1{
    text-align: center;
    color: var(--dark);
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0px;
}
.close-btn{
    display: flex;
    justify-content: flex-end;
    padding: 3rem 3rem 1rem 0;
    cursor: pointer;
}
.close-btn img{
    width: 2.5rem;
}

.reservation-form form{
    padding: 1.5rem;
    margin: 0 auto;
}

.reservation-form .inputBox{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 5rem 1.5rem 0;
}

.reservation-form .inputBox label{
    display: block;
    color: var(--dark);
    padding: 0.5rem 0;
    font-size: 2rem;
    font-weight: 500;
}

.reservation-form .inputBox input, select{
    border: 1px solid var(--dark);
    width: 100%;
    padding: 1rem;
    font-size: 1.7rem;
}

.reservation-form .reserve-btn{
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

.reservation-form .reserve-btn input{
    font-size: 2rem;
    font-weight: 600;
    color: var(--dark);
    border: 2px solid var(--dark);
    border-radius: 0.5rem;
    padding: 1rem 2rem;
    cursor: pointer;
}

/* footer section */
.footer{
    background-color: var(--dark);
    padding-top: 0;
}
.footer .box-container{
    background-color: var(--dark);
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 1rem;
}

.footer .box-container .box{
    background-color: var(--dark);
    padding: 0.5rem 0;
    font-size: 1.3rem;
    color: var(--beige);
}

.footer .box-container .quick_links, .footer .box-container .contact{
    padding: 2rem;
}

.footer .box-container .box h3{
    background-color: var(--dark);
    font-size: 1.7rem;
    font-weight: 600;
    padding-bottom: 1rem;
}

.footer .box-container .box a, .footer .box-container .box span{
    display: block;
    color: var(--beige);
    background-color: var(--dark);
    padding: 0.5rem 0;
    width: 100%;
}

.footer .box-container .box a:hover{
    color: var(--yellow);
}

.footer .box-container .box .email{
    text-decoration: underline;
}

.footer .box-container .logo_social{
    text-align: center;
}

.footer .box-container .restaurant_logo{
    width: 10%;
    background-color: var(--dark);
}

.footer .box-container .social_logo{
    width: 4%;
    background-color: var(--dark);
}
/* media querries */
@media (max-width:1200px) {
    html{
        font-size: 75%;
    }
    .home {
        padding-top: 10rem;
        padding-bottom: 20rem;
    }

    header .navbar a{
        padding: .5rem 1.3rem;

    }

    .reservation{
        top: 3%;
        left: 55%;
    }
    .footer .box-container .logo_social{
        padding-top: 1.2rem;
    }
    .footer .box-container .restaurant_logo{
        width: 20%;
    }
    
    .footer .box-container .social_logo{
        width: 10%;
    }
}

@media (max-width:991px) {
    header {
        padding: 1rem 2rem;
    }

    html{
        font-size: 60%;
    }

    .home {
        padding-top: 20rem;
        padding-bottom: 15rem;
    }

    .intro .row {
        flex-direction: column;
        align-items: center;
    }

    .intro .row .image{
        padding-left: 5rem;
        padding-bottom: 2rem;
    }

    .reservation{
        top: 20%;
        left: 60%;
    }
}

@media (max-width:768px) {
    header .icons .menu-bar{
        display:block;
    }

    html{
        font-size: 45%;
    }

    header .navbar{
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--beige);
        border-top: .3rem solid var(--dark);
        border-bottom: .3rem solid var(--dark);
        padding: 1rem;
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }

    header .navbar.active{
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    header .navbar a{
        display: block;
        padding: 1.5rem;
        margin: 1rem;
        font-size: 2rem;
        text-align: center;
        font-weight: 700;
    }

    header .navbar a.active {
        border: none;
    }

    header .container.active {
        margin-bottom: 0rem;
    }
    header .container.active .menu-bar::after{
        transform: rotateZ(45deg) translate(-3.1px, -3.1px);
    }
    
    header .container.active .menu-bar::before{
        transform: rotateZ(-45deg) translate(-3.1px, 3.1px);
    }
    
    header .container.active .menu-bar{
        background-color: transparent;
    }

    .home .image img{
        padding-top: 10rem;
    }

    .home .content{
        padding: 2rem 2rem 7rem 2rem;
    }

    .home .content h2{
        font-size: 5rem;
    }

    .home .content h3{
        padding-top: 2rem;
        font-size: 2.3rem;
    }

    .home .content p{
        padding-top: 2rem;
        font-size: 1.5rem;
    }

    .home {
        padding-bottom: 35rem;
    }

    .reservation{
        left: 45%;
    }
    .footer .box-container .logo_social{
        padding-top: 1.2rem;
    }
    .footer .box-container .restaurant_logo{
        width: 70%;
    }
    
    .footer .box-container .social_logo{
        width: 40%;
    }
}



