/* Menu section on homepage */
#menu {
    background: #f9f9f9;
}

.menu-links-container {
    max-width: 1200px;
    margin: 0 auto;
}

.menu-links-container h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.menu-intro {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: #666;
    max-width: 100%;
}

.menu-link-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.menu-link-box {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
}

.menu-link-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.menu-link-box:hover img {
    transform: scale(1.1);
}

.menu-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
}

.menu-link-box:hover .menu-link-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.menu-link-overlay h2 {
    color: white;
    font-size: 2rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* Menu page specific styles */
.menu-page-section {
    min-height: auto;
    padding: 4rem 2rem;
}

#menu-hero {
    background: #f5f5f5;
    padding-top: 6rem;
}

#menu-hero h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.menu-container {
    max-width: 1200px;
    margin: 2rem auto 0;
}

.section-teasers {
    display: flex;
    gap: 3.5rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 4rem;
    margin-top: 1rem;
    margin-left: auto;
    margin-right: auto;
}

.teaser-image {
    width: 140px;
    height: 140px;
    flex: none;
    overflow: hidden;
    transform: rotate(45deg);
}

.teaser-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: rotate(-45deg) scale(1.415);
}

.menu-category {
    margin-bottom: 4rem;
}


.category-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.menu-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem 3rem;
}

.menu-item {
    padding: 1rem 0;
    border-bottom: 1px solid #ddd;
    max-width: 500px;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
    gap: 1rem;
}

.item-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #202020;
    margin: 0;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.spice-icons {
    display: inline-flex;
    align-items: center;
}

.chili-icon {
    width: 20px;
    height: 20px;
    margin-left: -8px;
    display: block;
}

.chili-icon:first-child {
    margin-left: 0;
}

.gf-icon {
    width: 20px;
    height: 20px;
    display: block;
    margin-left: 4px;
}

.pineapple-icon {
    width: 20px;
    height: 20px;
    display: block;
    margin-left: 4px;
}

.sushi-legend {
    padding: 0 1rem 2rem;
}

.item-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #616161;
    white-space: nowrap;
    text-align: right;
}

.item-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    text-align: left;
    margin: 0;
}

/* Menu mobile adjustments */
@media (max-width: 768px) {
    /* Homepage menu section */
    .menu-links-container h1 {
        font-size: 2rem;
    }

    .menu-intro {
        font-size: 1rem;
    }

    .menu-link-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .menu-link-overlay h2 {
        font-size: 1.75rem;
    }

    /* Menu page */
    #menu-hero {
        padding-top: 5rem;
    }

    .menu-page-section {
        padding: 3rem 1.5rem;
    }

    .category-title {
        font-size: 1.75rem;
    }

    .menu-items {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .teaser-image {
        width: 75px;
        height: 75px;
    }

    .section-teasers {
        gap: 2rem;
    }
}

/* Icon legend */
.menu-icon-legend {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem 0;
    color: #666;
    font-size: 0.9rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}