/*
=================
    MENU HERO
=================
*/
.menu-hero {
    max-width: 900px;
    margin: 80px auto 40px;
    padding: 0 20px;
    text-align: center;
}

.menu-hero h1 {
    font-size: 2.4rem;
    color: #6B4F3B;
    margin-bottom: 14px;
    font-weight: 700;
}

.menu-hero p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #5A4636;
}

/*
=======================
    MENU NAVIGATION
=======================
*/
.menu-nav {
    text-align: center;
    margin: 30px 0 20px;
}

.menu-nav button {
    background: #F3E9DE;
    border: 1px solid rgba(196,156,108,0.3);
    color: #6B4F3B;
    padding: 10px 18px;
    margin: 6px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.menu-nav button:hover {
    background: #C49C6C;
    color: white;
}

/*
====================
    MENU SECTION
====================
*/
.menu-section {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.menu-section h2 {
    font-size: 1.8rem;
    color: #6B4F3B;
    margin-bottom: 20px;
    position: relative;
}

.menu-section h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #C49C6C;
    margin-top: 10px;
    border-radius: 2px;
}

/*
==================
    MENU ITEMS
==================
*/
.menu-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.menu-item {
    display: flex;
    flex-direction: column;
    padding: 12px 16px;
    background: #F3E9DE;
    border-radius: 8px;
    border: 1px solid rgba(196,156,108,0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.menu-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}

.menu-name {
    color: #5A4636;
    font-weight: 500;
}

.menu-price {
    color: #6B4F3B;
    font-weight: 600;
}

/*
================
    MENU ROW
================
*/
.menu-row {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.menu-name {
    white-space: nowrap;
}

.menu-price {
    white-space: nowrap;
    margin-left: 10px;
    font-weight: 600;
}

/*
=================
    MENU DOTS
=================
*/
.menu-dots {
    flex: 1;
    border-bottom: 2px dotted rgba(107,79,59,0.35);
    margin: 0 10px;
    transform: translateY(-2px);
    transition: border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.menu-row:hover .menu-dots {
    border-color: #C49C6C;
}

.menu-row:hover .menu-dots::after {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 2px;
    border-bottom: 2px dotted #C49C6C;
    animation: dotsSlide 1s linear infinite;
}

/*
====================
    MENU DETAILS
====================
*/
.menu-details {
    display: none;
    margin-top: 12px;
    padding: 12px;
    background: #FFF;
    border-radius: 8px;
    border: 1px solid rgba(196,156,108,0.25);
    gap: 14px;
    align-items: flex-start;
    flex-direction: row;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    overflow: hidden;
}

.menu-details img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
}

.menu-details p {
    margin: 0;
    font-size: 0.95rem;
    color: #5A4636;
}

.menu-item.open .menu-details {
    display: flex;
}

/*
=================
    ANIMATION
=================
*/
@keyframes dotsSlide {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/*
======================================
    RESPONSIVE CODE (SMALL MOBILE)
======================================
*/
@media (max-width: 480px) {
    .menu-hero h1 {
        font-size: 1.7rem;
    }

    .menu-nav button {
        padding: 8px 12px;
        font-size: 0.85rem;
        margin: 4px;
    }

    .menu-section h2 {
        font-size: 1.3rem;
    }

    .menu-item {
        padding: 10px 12px;
    }
}


/*
================================
    RESPONSIVE CODE (MOBILE)
================================
*/
@media (max-width: 600px) {
    .menu-hero h1 {
        font-size: 2rem;
    }
    .menu-section h2 {
        font-size: 1.5rem;
    }
    .menu-details {
        flex-direction: column;
        align-items: flex-start;
    }
    .menu-details img {
        margin-bottom: 8px;
    }
}

/*
================================
    RESPONSIVE CODE (TABLET)
================================
*/
@media (max-width: 900px) {
    .menu-hero {
        margin: 60px auto 30px;
    }
    .menu-items {
        gap: 10px;
    }
}