/* Restaurant Menu Widget Styles */
.restaurant-menu-widget {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--bg-color) 0%, #f8f9fa 100%);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    margin: 0 auto;
}

/* Menu Header */
.menu-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.menu-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    letter-spacing: 4px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.menu-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    border-radius: 2px;
}

/* Category Tabs */
.menu-categories {
    margin-bottom: 40px;
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.category-tab {
    padding: 12px 30px;
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    color: white;
    font-weight: 600;
    font-size: 16px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(127, 140, 141, 0.3);
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.category-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color), #d35400);
    transition: left 0.3s ease;
    z-index: -1;
}

.category-tab.active::before,
.category-tab:hover::before {
    left: 0;
}

.category-tab.active {
    background: linear-gradient(135deg, var(--accent-color), #d35400);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.5);
    transform: translateY(-2px);
}

.category-tab:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}

/* Animation for items */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Menu Items Grid */
.menu-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.menu-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
}

.item-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    text-align: center;
}

.item-icon {
    font-size: 36px;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
}

.item-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.item-image:hover {
    transform: scale(1.1);
}

.item-name {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.item-prices {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.price-badge {
    background: linear-gradient(135deg, var(--accent-color), #d35400);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 18px;
    box-shadow: 0 3px 10px rgba(230, 126, 34, 0.3);
}

.item-addon {
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 10px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    border-left: 3px solid var(--accent-color);
}

.addon-price {
    color: var(--accent-color);
    font-weight: 700;
    margin-left: 8px;
}

/* Tablet Responsive (max-width: 768px) */
@media screen and (max-width: 768px) {
    .restaurant-menu-widget {
        padding: 30px 20px;
    }

    .menu-title {
        font-size: 36px;
        letter-spacing: 2px;
    }

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

    .menu-item {
        padding: 25px;
    }

    .item-name {
        font-size: 24px;
    }

    .item-icon {
        font-size: 32px;
    }

    .item-image {
        width: 100%;
        height: auto;
    }

    .category-tabs {
        gap: 12px;
    }

    .category-tab {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Mobile Responsive (max-width: 480px) */
@media screen and (max-width: 480px) {
    .restaurant-menu-widget {
        padding: 20px 15px;
        border-radius: 15px;
    }

    .menu-title {
        font-size: 28px;
        letter-spacing: 1px;
    }

    .menu-title::after {
        width: 60px;
        height: 3px;
        bottom: -10px;
    }

    .menu-categories {
        margin-bottom: 25px;
    }

    .category-tabs {
        gap: 10px;
    }

    .category-tab {
        padding: 8px 16px;
        font-size: 13px;
        letter-spacing: 0.5px;
    }

    .menu-items-grid {
        gap: 15px;
        margin-bottom: 25px;
    }

    .menu-item {
        padding: 20px;
    }

    .item-header {
        gap: 12px;
        margin-bottom: 15px;
    }

    .item-icon {
        font-size: 28px;
    }

    .item-image {
        width: 100%;
        height: auto;
    }

    .item-name {
        font-size: 20px;
    }

    .item-prices {
        gap: 10px;
        margin-bottom: 12px;
    }

    .price-badge {
        padding: 6px 16px;
        font-size: 16px;
    }

    .item-addon {
        padding: 8px 12px;
        font-size: 13px;
    }
}

/* Extra Small Mobile (max-width: 360px) */
@media screen and (max-width: 360px) {
    .restaurant-menu-widget {
        padding: 15px 10px;
    }

    .menu-title {
        font-size: 24px;
    }

    .category-tab {
        padding: 6px 12px;
        font-size: 12px;
    }

    .item-name {
        font-size: 18px;
    }

    .price-badge {
        font-size: 14px;
        padding: 5px 12px;
    }
}
