#menu-section {
    padding: 50px 0;
    background-color: #f8f8f8;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns for desktop */
    gap: 20px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.menu-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.menu-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.5s ease;
}

/* Optional: Add a slight zoom on hover for desktop users */
.menu-item:hover img {
    transform: scale(1.1); /* Slight zoom on hover */
}

.menu-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Transparent overlay */
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 1; /* Always visible */
    transition: opacity 0.3s ease;
}

.menu-overlay span {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.menu-btn {
    background-color: #ffc107;
    color: #000;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.menu-btn:hover {
    background-color: #e0a800; /* Darker yellow on hover */
}

/* Make sure overlay is visible all the time on mobile */
@media (max-width: 768px) {
    .menu-grid {
        grid-template-columns: 1fr; /* Switch to a single column layout on smaller screens */
    }

    .menu-overlay span {
        font-size: 1.2rem; /* Slightly smaller font size on mobile */
    }

    .menu-btn {
        font-size: 0.9rem; /* Slightly smaller button for mobile */
        padding: 8px 15px;
    }
}
