/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #fff8e8;
    color: #664635;
}


/* =========================
   HERO
========================= */

.hero {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #f8efe0;
}

.hero img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
}

/* =========================
   CATEGORY SECTION
========================= */

.categories {
    width: 100%;
    background: #f6f0e2;
    padding: 22px 15px;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #d6c0a1;
    box-shadow: 0 3px 12px rgba(74, 48, 34, 0.08);
}

.category-container {
    max-width: 1200px;
    margin: auto;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;

    overflow-x: auto;
    scrollbar-width: none;
}

.category-container::-webkit-scrollbar {
    display: none;
}


/* =========================
   CATEGORY BUTTONS
========================= */

.category-btn {
    text-decoration: none;
    color: #5a3827;
    background: #fffaf0;

    border: 1px solid #9a6b49;
    border-radius: 30px;

    padding: 10px 22px;

    font-size: 14px;
    font-weight: 500;

    white-space: nowrap;

    transition: all 0.3s ease;
}

.category-btn:hover {
    background: #5a3827;
    color: #fffaf0;
    border-color: #5a3827;
    transform: translateY(-2px);
}


/* =========================
   MENU SECTION
========================= */

.menu-section {
    max-width: 1200px;
    margin: auto;
    padding: 55px 25px 35px;
    scroll-margin-top: 85px;
}


/* =========================
   SECTION TITLE
========================= */

.menu-section h2 {
    text-align: center;

    font-family: 'Cinzel', serif;
    font-size: 30px;
    font-weight: 600;

    color: #5a3827;

    margin-bottom: 35px;

    position: relative;
}


/* Decorative line */

.menu-section h2::after {
    content: "";
    display: block;

    width: 55px;
    height: 2px;

    background: #9a6b49;

    margin: 12px auto 0;
}


/* =========================
   MENU GRID
========================= */

.menu-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 28px;
}


/* =========================
   MENU CARD
========================= */

.menu-card {
    background: #fffaf0;

    border-radius: 14px;

    overflow: hidden;

    border: 1px solid #e1cfb4;

    box-shadow: 0 6px 20px rgba(74, 48, 34, 0.10);

    transition: all 0.3s ease;
}

.menu-card:hover {
    transform: translateY(-6px);

    box-shadow: 0 12px 28px rgba(74, 48, 34, 0.16);
}


/* =========================
   FOOD IMAGE
========================= */

.menu-card img {
    width: 100%;
    height: 230px;

    object-fit: cover;

    display: block;

    background: #eadcc6;
}


/* =========================
   MENU INFO
========================= */

.menu-info {
    padding: 17px 18px 19px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 10px;
}


.menu-info h3 {
    font-family: 'Cinzel', serif;

    font-size: 17px;
    font-weight: 600;

    color: #4a3022;

    line-height: 1.3;
}


.menu-info p {
    color: #8a5b3c;

    font-size: 15px;

    font-weight: 600;

    white-space: nowrap;
}


/* =========================
   FOOTER
========================= */

footer {
    margin-top: 40px;

    background: #6f4c3a;

    color: #f8f0df;

    text-align: center;

    padding: 25px 15px;

    font-size: 17px;
}


/* =========================
   TABLET
========================= */

@media (max-width: 900px) {

    .hero {
        height: 380px;
    }

    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-container {
        justify-content: flex-start;
    }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    .hero {
         height: auto !important;
    }

 

    .categories {
        padding: 12px 10px;
    }

    .category-container {
        justify-content: flex-start;

        gap: 8px;

        overflow-x: auto;

        touch-action: pan-x;

        -webkit-overflow-scrolling: touch;
    }

    .category-btn {
        flex: 0 0 auto;

        padding: 8px 16px;

        font-size: 12px;
    }
}

    .menu-section {
        padding: 42px 14px 25px;
    }

    .menu-section h2 {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .menu-card {
        border-radius: 10px;
    }

    .menu-card img {
        height: 150px;
    }

    .menu-info {
        padding: 12px 10px 13px;

        display: block;
    }

    .menu-info h3 {
        font-size: 13px;
        margin-bottom: 5px;
    }

    .menu-info p {
        font-size: 13px;
    }



/* =========================
   SMALL MOBILE
========================= */

@media (max-width: 380px) {

    .hero {
        height: 230px;
    }

    .menu-grid {
        gap: 10px;
    }

    .menu-card img {
        height: 135px;
    }

    .menu-info h3 {
        font-size: 12px;
    }

    .menu-info p {
        font-size: 12px;
    }
}
/* LAPTOP / DESKTOP */
@media (min-width: 901px) {
    .menu-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* TABLET */
@media (max-width: 900px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

/* MOBILE */
@media (max-width: 600px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}
/* MOBILE HERO FIX */
@media (max-width: 600px) {

    .hero {
        height: auto !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .hero img {
        width: 100%;
        height: auto !important;
        display: block;
    }

}