@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
    --White: #fff;
    --Black: #000;
    --Light-Gray: #aaa;
    --Dark-Gray: #444;
    --Liberty-Green: #16a083;
    --Blue-Green: #117964;
    --Dark-Gray2: #555;
    --Dark-Gray3: #666;
    --Deep-Saffron: #ff9529;
    --Errigal-White: #f5f5f7;
    --White-Smoke: #f3f3f3;
    --Titanium-White: #e2e2e2;
    --Tundora: #414141;
    --Dark-charcoal: #333;
}

*,
*::after,
*::before {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    font-size: 62.5%;
}

body {
    font-family: "Poppins", sans-serif;
}

.btn {
    display: inline-block;
    padding: 0.5em 1.5em;
    text-decoration: none;
    border-radius: 50px;
    cursor: pointer;
    outline: none;
    margin-top: 1em;
    text-transform: uppercase;
    font-weight: small;
}

.btn-primary {
    color: var(--White);
    background: var(--Liberty-Green);
}

.container {
    max-width: 1200px;
    width: 90%;
    margin: auto;
}

.btn-primary:hover {
    background: var(--Blue-Green);
    transition: background 0.3s ease-in-out;
}

/* Navbar style*/

.nav input[type="checkbox"],
.nav .hamburger-lines {
    display: none;
}

.nav {
    box-shadow: 0px 5px 10px 0px --Light-Gray;
    position: fixed;
    width: 100%;
    background: var(--White);
    color: var(--Black);
    opacity: 0.85;
    height: 50px;
    z-index: 1;
    top: 0;
    right: 0;
    left: 0;
}

.menu {
    display: flex;
    justify-content: space-between;
    height: 42px;
    margin-right: 20px;
    margin-left: 20px;
    align-items: center;
    margin-top: 5px;
}

.menu-items {
    order: 2;
    display: flex;
}

.menu-items li {
    list-style: none;
    margin-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 15px;
}

.menu-items a {
    text-decoration: none;
    color: var(--Dark-Gray);
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

/*Home Section*/

.background-area {
    height: 50vh;
    background: linear-gradient(rgba(240, 240, 240, 0.144),
            rgba(255, 255, 255, 0.336)),
        url(./header-image2.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.background-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 2.5rem;
}

.main-title {
    text-transform: uppercase;
    margin-top: 1.5em;
}

.menu-items a:hover {
    color: var(--Blue-Green);
    transition: color 0.3s ease-in-out;
}

.logo {
    order: 1;
    font-size: 2.3rem;
    margin-bottom: 0.5rem;
}

/*About Section*/
#About {
    padding: 50px 0;
    background: var(--Errigal-White);
}

.about-wrapper {
    display: flex;
    flex-wrap: wrap;
}

#About h2 {
    font-size: 33px;
}

#About p {
    font-size: 17px;
    color: var(--Dark-Gray2);
}

#About .small {
    font-size: 25px;
    color: var(--Dark-Gray3);
    font-weight: bold;
}

.about-img {
    flex: 1 1 400px;
    padding: 30px;
    transform: translateX(150%);
    animation: about-img-animation 1s ease-in-out forwards;
}

.about-img img {
    display: block;
    height: 400px;
    max-width: 100%;
    margin: auto;
    object-fit: cover;
    object-position: right;
    border-radius: 15px;
}

.about-text {
    flex: 1 1 400px;
    padding: 30px;
    margin: auto;
    transform: translate(-150%);
    animation: about-text-animation 1s ease-in-out forwards;
}

@keyframes about-img-animation {
    100% {
        transform: translate(0);
    }
}

@keyframes about-text-animation {
    100% {
        transform: translate(0);
    }
}

/* Category Sectiom */


#Category {
    padding: 5rem 0 10rem 0;
}

#Category h2 {
    text-align: center;
    font-size: 35px;
    font-weight: bold;
    margin-bottom: 40px;
    text-transform: uppercase;
    color: var(--Dark-Gray2);
}

.food-category {
    display: flex;
    justify-content: space-between;
}

.food-category img {
    display: block;
    width: 100%;
    margin: auto;
    max-height: 300px;
    object-fit: cover;
    object-position: center;
    border-radius: 15px;
}

.img-category {
    margin: 0 1rem;
    position: relative;
}

.img-content {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    z-index: 2;
    text-align: center;
    transition: all 0.3s ease-in-out 0.1s;
}

.img-content h3 {
    color: var(--White);
    font-size: 35px;
}

.img-content a {
    font-size: 20px;
}

.img-category::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    opacity: 0;
    z-index: 1;
    transform: scaleY(0);
    transform-origin: 100% 100%;
    transition: all 0.3s ease-in-out;
}

.img-category:hover::after {
    opacity: 1;
    transform: scaleY(1);
}

.img-category:hover .img-content {
    opacity: 1;
    top: 40%;
}

/*Menu Section*/

.food-title {
    text-align: center;
    font-size: 35px;
    font-weight: bold;
    margin-bottom: 40px;
    text-transform: uppercase;
    color: var(--Dark-Gray2);
}

.food-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 50px 0 30px 0;
}

.food-menu-items {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    margin-bottom: 20px;
}

.item-description {
    margin: auto 25px;
}

.item-description p {
    font-weight: bold;
    font-size: 20px;
    color: var(--Dark-Gray2);
}



.item-img img {
    border-radius: 50%;
    width: 250px;
    height: 250px;
    display: block;
    object-fit: cover;
    object-position: center;
}

.food-price {
    color: var(--Blue-Green) !important;
    font-weight: bold !important;
}

/*Testominals Section*/

#Testimonials {
    background: var(--White-Smoke);
    padding: 25px 0;
}

.test-title {
    text-align: center;
    color: var(--Dark-Gray2);
    font-weight: bold;
    font-size: 25px;
    margin-bottom: 25px;
}

.test-container {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    font-size: 20px;
    margin-bottom: 20px;
}

.test-box {
    text-align: center;
}

.customer-img img {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
    object-position: center;
}

.customer-rate,
.test-txt {
    margin: 10px;
}

span.fa.fa-star.checked {
    color: var(--Deep-Saffron);
}

/*Contact Section*/

#Contact {
    background: var(--Titanium-White);
    padding: 5rem 0;
}

.contact-contaniner {
    display: flex;
    background: var(--White);
}

.left-contact {
    width: 50%;
}

.left-contact img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.right-contact {
    width: 50%;
    padding: 5rem;
}

.right-contact h2 {
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 30px;
}

.right-contact input,
textarea {
    display: block;
    width: 100%;
    padding: 15px 0;
    border: none;
    border-bottom: 1px solid --Light-Gray;
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 400;
    color: var(--Dark-Gray);
    resize: none;
}

.right-contact a {
    font-size: 20px;
}

/* footer Section */

footer#footer {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    margin: 10px;
}

.footer-link {
    color: var(--Dark-Gray2);
    text-decoration: none;
}

.footer-link :hover {
    color: var(--Liberty-Green);
}

/* Responsive Style  */

@media (min-width: 769px) and (max-width: 1200px) {
    .img-content h3 {
        font-size: 25px;
    }

    .img-category:hover .img-content {
        top: 45%;
    }

}

@media (max-width:500px) {
    .test-container {
        flex-direction: column;
    }

    .contact-contaniner {
        flex-direction: column;
    }

    .left-contact,
    .right-contact {
        width: 100%;
    }

    .food-menu-items {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .img-category {
        margin: 1.5rem 1rem;
    }

    .food-category {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .nav {
        opacity: 0.95;
    }

    .menu input[type="checkbox"],
    .menu .hamburger-lines {
        display: block;
    }

    .menu {
        display: block;
        position: relative;
        height: 64px;
    }

    .menu input[type="checkbox"] {
        position: absolute;
        display: block;
        height: 32px;
        width: 30px;
        top: 20px;
        left: 20px;
        z-index: 5;
        opacity: 0;
    }

    .menu .hamburger-lines {
        display: block;
        height: 23px;
        width: 35px;
        position: absolute;
        top: 17px;
        left: 20px;
        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .menu .hamburger-lines .line {
        display: block;
        height: 4px;
        width: 100%;
        border-radius: 10px;
        background: var(--Dark-charcoal);
    }

    .menu .hamburger-lines .line1 {
        transform-origin: 0% 0%;
        transition: transform 0.4s ease-in-out;
    }

    .menu .hamburger-lines .line2 {
        transition: transform 0.2s ease-in-out;
    }

    .menu .hamburger-lines .line3 {
        transform-origin: 0% 100%;
        transition: transform 0.4s ease-in-out;
    }

    .menu .menu-items {
        padding-top: 100px;
        background: var(--White);
        height: 100vh;
        max-width: 300px;
        transform: translate(-150%);
        display: flex;
        flex-direction: column;
        margin-left: -40px;
        padding-left: 50px;
        transition: transform 0.5s ease-in-out;
        box-shadow: 5px 0px 10px 0px --Light-Gray;
    }

    .nav .menu-items li {
        margin-bottom: 1.5rem;
        font-size: 1.3rem;
        font-weight: 500;
    }

    .logo {
        position: absolute;
        top: 5px;
        right: 15px;
        font-size: 2rem;
    }

    .menu input[type="checkbox"]:checked~.menu-items {
        transform: translateX(0);
    }

    .menu input[type="checkbox"]:checked~.hamburger-lines .line1 {
        transform: rotate(35deg);
    }

    .menu input[type="checkbox"]:checked~.hamburger-lines .line2 {
        transform: scaleY(0);
    }

    .menu input[type="checkbox"]:checked~.hamburger-lines .line3 {
        transform: rotate(-35deg);
    }
}