:root {

    --primary: #6F4E37;
    --secondary: #C8A27A;
    --bg: #F8F6F2;
    --white: #fff;
    --text: #2D2D2D;
    --border: #E5E5E5;

    --radius: 18px;

}

::-webkit-scrollbar {
    width: 5px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(111, 78, 55, .5);
    border-radius: 50px;
}


body {

    margin: 0;

    font-family: "Poppins", sans-serif;

    background: var(--bg);

    color: var(--text);

}

.container {

    width: min(1200px, 90%);
    margin: auto;

}


.menu-table-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.menu-card {
    width: min(100%, 50rem);
    /* maksimal 800px */
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .12);
    transition: .3s ease;
}

.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .18);
}

.menu-card img {
    display: block;
    width: 100%;
    height: auto;
}

.mehero {

    padding: 90px 0 60px;

    text-align: center;

}

.melabel {

    display: inline-block;

    padding: 8px 18px;

    background: #efe7df;

    border-radius: 50px;

    color: var(--primary);

    font-size: .9rem;

    font-weight: 600;

}

.mehero h1 {

    margin: 20px 0;

    font-size: 3rem;

    font-family: "Playfair Display", serif;

}

.mehero p {

    max-width: 650px;

    margin: auto;

    color: #666;

}

.layout {
    width: 95%;
    margin: 30px auto;
}

.nav-wrapper {
    display: flex;
    justify-content: center;
}

.nav {
    display: flex;
    gap: 10px;
    width: fit-content;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.nav::-webkit-scrollbar {
    display: none;
}


.menu-card img {
    width: 100%;
    display: block;
    transition: opacity .2s ease;
}
.nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 18px;
    border-radius: 999px;

    text-decoration: none;
    color: #333;
    background: #f5f5f5;

    font-weight: 500;
    transition: .3s;
}

.nav a:hover {
    background: #6F4E37;
    color: white;
}

.nav a.active {
    background: #6F4E37;
    color: white;
}
.nav a.active {
    background: #6F4E37;
    color: #fff;
}


.menu {
    width: min(1400px, 92%);
    margin: 3rem auto;

    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
}


.menu-content {

    background: #fff;

    border-radius: 20px;

    padding: 2.5rem;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .05);

}

.menu-section {

    display: none;

    animation: fade .35s ease;

}

.menu-section.active {

    display: block;

}

.button-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.button-wrapper a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    min-width: 180px;
    background: #8d2514;
    color: #fff;
    border: none;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all .3s ease;
}

.button-wrapper a:hover {
    background: #6f1d10;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(141, 37, 20, 0.25);
}

.button-wrapper a:active {
    transform: translateY(0);
}


footer {
    background: #1d1d1d;
    color: white;
    padding: 70px 8% 30px;
}

.footer-container {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(220px, 1fr));

    gap: 40px;
}

footer h3 {
    margin-bottom: 15px;
    color: #A97945;
}

footer p {
    line-height: 1.8;
    opacity: .85;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-brand img {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

.footer-brand h3 {
    margin-bottom: 5px;
}

.tagline {
    margin-top: 15px;
    max-width: 300px;
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

.social-icons a {
    color: white;
    font-size: 1.6rem;
    transition: .3s;
}

.social-icons a:hover {
    color: var(--coffee-light);
    transform: translateY(-4px);
}



footer hr {
    margin: 40px 0 20px;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.copyright {
    text-align: center;
}

@keyframes fade {

    from {

        opacity: 0;
        transform: translateY(12px);

    }

    to {

        opacity: 1;
        transform: translateY(0);

    }

}

.menu-section h2 {

    font-family: "Playfair Display", serif;

    font-size: 2.3rem;

    margin-bottom: .5rem;

}

.menu-section p {

    color: #777;

    margin-bottom: 2rem;

}

@media(max-width:2266px) {

    .menu {

        grid-template-columns: 1fr;
        gap: 1.5rem;

    }

    .menu-content {

        padding: 1.5rem;

    }

    .menu-section h2 {

        font-size: 1.8rem;

    }



    .menu-sidebar nav::-webkit-scrollbar {

        display: none;


    }

    .menu-btn {

        flex: none;

        white-space: nowrap;

        padding: 12px 18px;

        border-radius: 999px;

    }



    .layout {
        width: 95%;
        margin: 30px auto;
    }

    .nav-wrapper {

        position: relative;

    }

    .nav {
        overflow-x: auto;
        display: flex;
        gap: 10px;
        position: relative;
    }

    .nav::after {
        content: "";
        position: absolute;
        right: 0;
        top: 0;
        width: 35px;
        height: 100%;
        pointer-events: none;

        background: linear-gradient(to right,
                rgba(248, 245, 241, 0),
                #F8F5F1);
    }

    .nav::-webkit-scrollbar {
        display: none;
    }

    .nav a.active {
        background: #8d2514;
        color: #fff;
    }

    .nav a {

        flex: 0 0 auto;

        white-space: nowrap;

        font-size: .9rem;

        padding: 10px 16px;

        border-radius: 999px;

    }



}