@font-face {
    font-family: "Ray";
    src: url("/fonts/Ray.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}


@font-face {
    font-family: "Ray-ExtraBold";
    src: url("/fonts/Ray-ExtraBold.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Ray", Tahoma, Arial, sans-serif;
}


body {
    font-family: "Ray", Tahoma, Arial, sans-serif;

    background: #99AD7A;

    color: #252525;

    min-height: 100vh;
}



.header {

    height: 150px;

    background: #546B41;

    color: white;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 20px 6%;

    position: relative;

    border-bottom: 3px solid #99AD7A;

    direction: ltr;
}



.header-info {

    display: flex;

    align-items: center;

    gap: 12px;

    width: 30%;
}


.welcome {
    justify-content: flex-end;
}


.working-hours {
    justify-content: flex-start;
}


.info-icon {

    font-size: 25px;

}


.header-info div {

    display: flex;

    flex-direction: column;

    gap: 5px;

}


.info-title {

    font-size: 18px;

    font-weight: bold;

    color: #ffffff;
}


.info-value {

    font-size: 14px;

    color: #eeeeee;
}



.logo-container {

    position: absolute;

    left: 50%;

    top: 50%;

    transform: translate(-50%, -50%);

    width: 105px;

    height: 105px;

    border-radius: 50%;

    background: #99AD7A;

    border: 3px solid #ffffff;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;
}


.logo-container img {

    width: 100%;

    height: 100%;

    object-fit: contain;
}



.main-container {

    max-width: 1400px;

    margin: 0 auto;

    padding: 40px 35px;

}



.categories {

    width: 100%;

    background: #546B41;

    border-radius: 14px;

    padding: 10px 15px;

    margin-bottom: 25px;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.10);

}


.category-list {

    display: flex;

    align-items: center;

    gap: 37px;

    overflow-x: auto;

    font-family: "Ray-ExtraBold";

    padding: 2px;

}



.category-list::-webkit-scrollbar {
    display: none;
}


.category-list {
    scrollbar-width: none;
}



.category-list button {

    border: none;

    background: transparent;

    padding: 11px 18px;

    border-radius: 9px;

    cursor: pointer;

    white-space: nowrap;

    font-family: inherit;

    font-size: 15px;

    color: #ffffff;

    transition: all 0.2s ease;

}


.category-list button:hover {

    background: #99AD7A;

    color: #ffffff;

}


.category-list button.active {

    background: #99AD7A;

    color: #ffffff;

    font-weight: bold;

}



.menu-section {

    width: 100%;

    background: #99AD7A;
    
    padding: 5px 0 20px;

}


.menu-heading {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 20px;

    margin-bottom: 30px;

    text-align: center;
}


.menu-heading h1 {

    font-size: 28px;

    color: #ffffff;

    margin-bottom: 7px;
}


.menu-heading p {

    color: #f2f2f2;

    font-size: 14px;
}


.heading-line {

    width: 70px;

    height: 1px;

    background: #ffffff;
}



.food-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;
}



.food-card {

    background: white;

    border-radius: 13px;

    overflow: hidden;

    box-shadow:
        0 4px 25px rgba(0, 0, 0, 0.12);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.food-card:hover {

    transform: translateY(-4px);

    box-shadow:
        0 9px 22px rgba(0, 0, 0, 0.18);
}


.food-image {

    width: 100%;

    height: 170px;

    object-fit: cover;

    display: block;
}


.food-info {

    padding: 15px;
}


.food-title-row {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 10px;

    margin-bottom: 7px;
}


.food-title {

    font-size: 17px;

    color: #222;
}


.food-description {

    color: #777;

    font-size: 13px;

    line-height: 1.8;

    min-height: 45px;

    margin-bottom: 10px;
}


.food-price {

    display: block;

    color: #546B41;

    font-size: 15px;

    font-weight: bold;

}



.empty-menu {

    text-align: center;

    padding: 60px 20px;

    color: #777;

    background: white;

    border-radius: 13px;
}


@media (max-width: 800px) {

    .header {

        height: auto;

        min-height: 190px;

        padding: 25px 20px;

        flex-direction: column;

        gap: 20px;
    }


    .logo-container {

        position: static;

        transform: none;

        order: -1;

        width: 85px;

        height: 85px;
    }


    .working-hours {
    order: 3;
    }


    .logo-container {
        order: 1;
    }

    
    .welcome {
        order: 2;
    }


    .header-info {

        width: 100%;

        text-align: center;

        justify-content: center;


    }


    .main-container {

        padding: 20px 15px;
    }


    .categories {

        padding: 9px;

        margin-bottom: 18px;

        border-radius: 11px;
    }


    .category-list {

        gap: 6px;
    }


    .category-list button {

        padding: 9px 14px;

        font-size: 14px;
    }


    .food-grid {

        grid-template-columns: 1fr;

        gap: 16px;
    }


    .food-image {

        height: 200px;
    }

    .food-info {

        padding: 14px;
    }

    .food-title { 

        font-size: 17px;     
    }

}