<?php
if (!defined('ABSPATH')) exit;

return [
    'restaurant_reservation' => ['title' => 'Restaurant Reservation', 'description' => 'Book a table at your restaurant', 'icon' => 'food', 'category' => 'restaurant', 'fields' => [
        ['id' => 'name', 'type' => 'name', 'label' => 'Name', 'required' => true], ['id' => 'phone', 'type' => 'phone', 'label' => 'Phone', 'required' => true], ['id' => 'email', 'type' => 'email', 'label' => 'Email'],
        ['id' => 'date', 'type' => 'date', 'label' => 'Date', 'required' => true], ['id' => 'time', 'type' => 'time', 'label' => 'Time', 'required' => true],
        ['id' => 'guests', 'type' => 'number', 'label' => 'Number of Guests', 'required' => true, 'min' => 1, 'max' => 20],
        ['id' => 'occasion', 'type' => 'select', 'label' => 'Occasion', 'options' => [['value' => 'none', 'label' => 'None'], ['value' => 'birthday', 'label' => 'Birthday'], ['value' => 'anniversary', 'label' => 'Anniversary'], ['value' => 'business', 'label' => 'Business Dinner']]],
        ['id' => 'requests', 'type' => 'textarea', 'label' => 'Special Requests', 'rows' => 3],
    ]],
    'catering_order' => ['title' => 'Catering Order', 'description' => 'Order catering for events', 'icon' => 'carrot', 'category' => 'restaurant', 'fields' => [
        ['id' => 'name', 'type' => 'name', 'label' => 'Contact Name', 'required' => true], ['id' => 'email', 'type' => 'email', 'label' => 'Email', 'required' => true], ['id' => 'phone', 'type' => 'phone', 'label' => 'Phone', 'required' => true],
        ['id' => 'event_date', 'type' => 'date', 'label' => 'Event Date', 'required' => true], ['id' => 'guests', 'type' => 'number', 'label' => 'Guest Count', 'required' => true, 'min' => 10],
        ['id' => 'menu_type', 'type' => 'select', 'label' => 'Menu Type', 'options' => [['value' => 'buffet', 'label' => 'Buffet'], ['value' => 'plated', 'label' => 'Plated'], ['value' => 'cocktail', 'label' => 'Cocktail'], ['value' => 'custom', 'label' => 'Custom']]],
        ['id' => 'dietary', 'type' => 'checkbox', 'label' => 'Dietary Needs', 'options' => [['value' => 'vegetarian', 'label' => 'Vegetarian'], ['value' => 'vegan', 'label' => 'Vegan'], ['value' => 'gluten-free', 'label' => 'Gluten-Free'], ['value' => 'halal', 'label' => 'Halal'], ['value' => 'kosher', 'label' => 'Kosher']]],
        ['id' => 'budget', 'type' => 'select', 'label' => 'Budget per Person', 'options' => [['value' => '<25', 'label' => 'Under $25'], ['value' => '25-50', 'label' => '$25-$50'], ['value' => '50-100', 'label' => '$50-$100'], ['value' => '100+', 'label' => '$100+']]],
        ['id' => 'notes', 'type' => 'textarea', 'label' => 'Additional Notes', 'rows' => 3],
    ]],
    'food_order' => ['title' => 'Food Order / Takeout', 'description' => 'Online food ordering form', 'icon' => 'cart', 'category' => 'restaurant', 'fields' => [
        ['id' => 'name', 'type' => 'text', 'label' => 'Name', 'required' => true], ['id' => 'phone', 'type' => 'phone', 'label' => 'Phone', 'required' => true],
        ['id' => 'order_type', 'type' => 'radio', 'label' => 'Order Type', 'required' => true, 'options' => [['value' => 'pickup', 'label' => 'Pickup'], ['value' => 'delivery', 'label' => 'Delivery']]],
        ['id' => 'items', 'type' => 'textarea', 'label' => 'Order Items', 'required' => true, 'rows' => 5],
        ['id' => 'time', 'type' => 'time', 'label' => 'Preferred Time'],
        ['id' => 'notes', 'type' => 'textarea', 'label' => 'Special Instructions', 'rows' => 2],
    ]],
    'menu_feedback' => ['title' => 'Menu Feedback', 'description' => 'Get feedback on menu items', 'icon' => 'star-filled', 'category' => 'restaurant', 'fields' => [
        ['id' => 'dish', 'type' => 'text', 'label' => 'Dish Name', 'required' => true],
        ['id' => 'taste', 'type' => 'rating', 'label' => 'Taste', 'max_stars' => 5], ['id' => 'presentation', 'type' => 'rating', 'label' => 'Presentation', 'max_stars' => 5],
        ['id' => 'portion', 'type' => 'rating', 'label' => 'Portion Size', 'max_stars' => 5], ['id' => 'value', 'type' => 'rating', 'label' => 'Value', 'max_stars' => 5],
        ['id' => 'comments', 'type' => 'textarea', 'label' => 'Comments', 'rows' => 3],
    ]],
    'private_dining' => ['title' => 'Private Dining Request', 'description' => 'Book a private dining room', 'icon' => 'groups', 'category' => 'restaurant', 'fields' => [
        ['id' => 'name', 'type' => 'name', 'label' => 'Name', 'required' => true], ['id' => 'email', 'type' => 'email', 'label' => 'Email', 'required' => true], ['id' => 'phone', 'type' => 'phone', 'label' => 'Phone', 'required' => true],
        ['id' => 'date', 'type' => 'date', 'label' => 'Date', 'required' => true], ['id' => 'guests', 'type' => 'number', 'label' => 'Guests', 'required' => true, 'min' => 6, 'max' => 50],
        ['id' => 'occasion', 'type' => 'text', 'label' => 'Occasion'], ['id' => 'budget', 'type' => 'number', 'label' => 'Budget ($)'],
        ['id' => 'menu_pref', 'type' => 'textarea', 'label' => 'Menu Preferences', 'rows' => 3],
    ]],
    'gift_card_restaurant' => ['title' => 'Gift Card Purchase', 'description' => 'Buy a restaurant gift card', 'icon' => 'money-alt', 'category' => 'restaurant', 'fields' => [
        ['id' => 'sender', 'type' => 'text', 'label' => 'Your Name', 'required' => true], ['id' => 'sender_email', 'type' => 'email', 'label' => 'Your Email', 'required' => true],
        ['id' => 'recipient', 'type' => 'text', 'label' => 'Recipient Name', 'required' => true],
        ['id' => 'amount', 'type' => 'radio', 'label' => 'Amount', 'required' => true, 'options' => [['value' => '25', 'label' => '$25'], ['value' => '50', 'label' => '$50'], ['value' => '100', 'label' => '$100'], ['value' => '200', 'label' => '$200']]],
        ['id' => 'message', 'type' => 'textarea', 'label' => 'Personal Message', 'rows' => 3],
    ]],
];
