/* Start Global Rules */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Work Sans", sans-serif;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: black;
}

h1,
h2 {
    margin: 0;
}

h2::after {
    content: '';
    display: block;
    width: 25%;
    height: 3px;
    background-color: var(--footer-p-colour);
    margin: 20px auto;
    border-radius: 5px;
}

.container {
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width : 440px) {
    .container {
        width: 420px;
    }
}

/* Small */
@media (min-width: 768px) {
    .container {
        width: 750px;
    }
}

/* Medium */
@media (min-width: 992px) {
    .container {
        width: 970px;
    }
}

/* Large */
@media (min-width: 1200px) {
    .container {
        width: 1170px;
    }
}

/* End Global Rules */

/* Start Variables */
:root {
    --main-colour: #e74c3c;
    --hover-colour: #c0392b;
    --back-ground-colour: #f8f9fa;
    --text-colour: #333;
    --p-colour: #666;
    --footer-colour: #333;
    --footer-p-colour: #ccc;
    --margin-top: 170px;
}

/* End Variables */

/*Start Header */
header {
    height: 85px;
    position: sticky;
    top: 0;
    box-shadow: 0px 13px 11px -10px #00000031;
    background-color: white;
    z-index: 999;
}

header .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

/* Logo Page */
.logo-page {
    transition: .3s;
}

.logo-page a {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.logo-page a img {
    width: 85px;
    color: var(--main-colour);
    position: relative;
    top: 7px;
}

.logo-page a span {
    font-size: 30px;
    font-weight: 600;
    color: var(--text-colour);
}

.logo-page:hover {
    transform: translateY(-3px);
}

/* nav */
header nav .bars {
    display: none;
    height: 100%;
}

header nav ul {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

header nav ul li {
    margin: 0px 15px;
}

header nav ul li a {
    padding: 10px;
    font-size: 18px;
    color: var(--text-colour);
    transition: .06s;
}

header nav ul li:hover a {
    color: var(--main-colour);
    border: 2px solid var(--main-colour);
    border-radius: 5px;
}

/* responsive header */
@media (max-width: 790px) {
    .container {
        position: relative;
    }

    header nav .bars {
        display: block;
        z-index: 999;
    }

    header nav .bars:hover+ul {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        background-color: white;
        margin-top: -16px;
    }

    header nav .bars:hover {
        color: var(--main-colour);
        cursor: pointer;
    }

    header nav ul {
        display: none;
        position: absolute;
        top: 100px;
        left: 0;
        width: 100%;
    }

    header nav ul li {
        padding: 20px 0px;
        width: 100%;
        border-bottom: 1px solid #dfdcdc;
    }

    header nav ul li a {
        padding: 10px;
        font-size: 18px;
        color: var(--text-colour);
        transition: .06s;
        text-align: center;
        margin: 0 auto;
    }

    header nav ul li:hover a {
        color: var(--main-colour);
        border: 2px solid var(--main-colour);
        border-radius: 5px;
    }

    header .logo-page span {
        font-size: 20px;
    }

    header .logo-page img {
        width: 75px;
    }
}

@media (max-width: 992px) {
    header .logo-page span {
        font-size: 20px;
    }

    header .logo-page img {
        width: 80px;
    }

    header nav li {
        margin: 0px 5px;
    }
}

/*End Header */


/*Start Landing */
.landing {
    background-image: url(../images/background.png);
    background-size: cover;
    height: calc(100vh - 85px);
}

.landing .container {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;

}

/* Text Landing */
.landing .text-landing {
    position: absolute;
    top: 37%;
    width: 100%;
}

.landing .text-landing h1 {
    text-align: center;
    font-size: 50px;
    color: var(--text-colour);
}

/* Reservation Button */
.landing .reserve {
    width: fit-content;
    background-color: var(--main-colour);
    border-radius: 32px;
    padding: 20px;
    position: absolute;
    top: 80%;
    transition: .3s;
    cursor: pointer;
}

.landing .reserve a {
    font-size: 20px;
    color: white;
    font-weight: 500;
}

.landing .reserve:hover {
    background-color: var(--hover-colour);
    box-shadow: 0px 13px 11px -10px var(--main-colour);
}

/* Text Cycle */

.landing .text-cycle {
    width: 100%;
    position: absolute;
    bottom: 50%;
}

.landing .text-cycle p {
    position: absolute;
    width: 100%;
    text-align: center;
    left: 0;
    right: 0;
    opacity: 0;
    animation: two 12s ease-in-out infinite;
    color: var(--p-colour);
    white-space: normal;
    padding: 0 20px;
    font-size: 18px;
    font-weight: 400;
}

.landing .text-cycle p:first-child {
    animation-delay: 0s;
}

.landing .text-cycle p:nth-child(2) {
    animation-delay: 4s;
}

.landing .text-cycle p:last-child {
    animation-delay: 8s;
}

@keyframes two {

    0%,
    100% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    8%,
    25% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    33% {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
}

/* responsive landing */

@media (max-width: 778px) {
    .landing .text-landing h1 {
        font-size: 29px !important;
    }
}

/*End Landing */


/*Start Menu */
.menu .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-top: var(--margin-top);
}

/* Text-menu */
.menu .container h2 {
    font-size: 45px;
    font-weight: 600;
    color: var(--text-colour);
}


/* Food Card */
.menu .food-card {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 30px;
}

.menu .food {
    width: 350px;
    overflow: hidden;
    background-color: var(--back-ground-colour);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    justify-content: space-between;
    transition: .3s;
    flex-grow: 1;
}

.menu .food:hover {
    box-shadow: 0px 13px 11px -10px var(--p-colour);
    transform: scale(1.01);
}

.menu .food img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: .3s linear;
}

.menu .food img:hover {
    transform: scale(1.04);
}

.menu .food h3 {
    color: var(--text-colour);
    font-size: 26px;
    font-weight: 700;
}

.menu .food p {
    font-size: 15px;
    color: var(--p-colour);
}

.menu .food span {
    color: var(--main-colour);
    font-size: 21px;
    font-weight: 700;
}

.menu .food a {
    padding: 10px;
    background-color: white;
    border: 2px solid var(--main-colour);
    border-radius: 30px;
    color: var(--main-colour);
    text-align: center;
    cursor: pointer;
    transition: .3s;
}

.menu .food a:hover {
    background-color: var(--main-colour);
    color: white;
}
@media (max-width:790px) {
    .menu h2{
        font-size: 40px !important;
    }    
}

/*End Menu */

/*Start Reservation */
.reservation .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.reservation {
    background-color: #f8f9fa;
    margin-top: var(--margin-top);

}

.reservation .reserve {
    position: relative;
}

/* image reservation */

.reservation .image {
    width: 30%
}

.reservation .image img {
    width: 100%;
    height: 670px;
    object-fit: cover;
    border-radius: 15px;
}

/* Text Reservation */
.reservation .reserve .text {
    height: 100px;
    margin: 30px 0;
}

.reservation .reserve .text h2 {
    text-align: center;
    font-size: 40px;
    color: var(--text-colour);
}

/* Forms */
.reservation .reserve {
    width: 60%;
    flex: 1;
}

.reservation .reserve .forms {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, auto);
    row-gap: 30px;
    height: 100%;
    align-items: center;
}

.reservation .reserve label {
    font-size: 18px;
}

.reservation .reserve .form input,
select {
    padding: 11px;
    border-radius: 10px;
    background-color: white;
    border: 2px solid #eee;
    margin-top: 15px;
    width: 80%;
    outline: none;
    font-size: 16px;
    transition: .3s;
}

.reservation .reserve .form input:focus,
select:focus {
    border: 2px solid var(--main-colour);
}

.reservation .reserve .area textarea {
    padding: 11px;
    border-radius: 10px;
    background-color: white;
    border: 2px solid #eee;
    margin-top: 15px;
    width: 90%;
    outline: none;
    font-size: 16px;
    transition: .3s;
    resize: vertical;
}

.reservation .reserve .area {
    width: 200%;
}

.reservation .reserve .area textarea:focus{
    border: 2px solid var(--main-colour);
}

/* buttom */
.reservation .reserve button {
    width: 250px;
    background-color: var(--main-colour);
    border-radius: 35px;
    padding: 19px;
    transition: .3s;
    cursor: pointer;
    border: 0;
    margin-top: 10px;
    font-size: 18px;
    color: white;
}

.reservation .reserve button:hover {
    background-color: var(--hover-colour);
    box-shadow: 0px 13px 11px -10px var(--main-colour);
}

/* Respansive Reservation */

@media (max-width:790px) {
    .reservation .image img {
        display: none;
    }

    .reservation .container {
        display: block;
    }

    .reservation .container .reserve {
        width: 100%;
    }
}

/*End Reservation */
/* Start Footer */
footer {
    background-color: var(--footer-colour);
    margin-top: var(--margin-top);
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

footer .foot1 {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    margin: 30px 0;
    padding: 13px 0;
    border-bottom: 1px solid #555555;
}


footer .foot1 .links {
    display: flex;
    flex-direction: column;
}


footer .foot1 .text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: calc(100%/3);
}

footer .foot2 {
    margin-bottom: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
}

footer .foot2 .links2{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

footer .foot2 a {
    padding: 0px 20px;
}

footer .foot2 a:not(:nth-child(1)) {

    border-left: 1px solid #666666;
}

footer h4 {
    color: var(--main-colour);
    font-size: 19px;
    font-weight: 500;
    padding-bottom: 25px;
}

footer p:not(#special),
a {
    color: var(--footer-p-colour);
    font-size: 18px;
    text-align: center;
    line-height: 30px;
    transition: .3s;
}

footer #special {
    color: white;
    font-size: 16px;
    text-align: center;
    margin: 30px 0;
}

footer a:hover{
    color: var(--main-colour);
}

/* Respansive Footer */


@media (max-width:790px) {
    footer .foot1 {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        gap: 25px;
    }

    footer .foot1 .text {
        width: auto;
    }

    footer .foot2 .links2 {
        display: flex;
        flex-wrap: wrap;
    }
    footer .foot2 a{
        padding: 0 10px;
    }
}


/* End Footer */