<?php
if (!defined('ABSPATH')) exit;
return [
    'trip_booking' => ['title' => 'Trip Booking', 'description' => 'Book a trip or vacation package', 'icon' => 'airplane', 'category' => 'travel', 'fields' => [
        ['id' => 'name', 'type' => 'name', 'label' => 'Full Name', 'required' => true], ['id' => 'email', 'type' => 'email', 'label' => 'Email', 'required' => true], ['id' => 'phone', 'type' => 'phone', 'label' => 'Phone', 'required' => true],
        ['id' => 'destination', 'type' => 'text', 'label' => 'Destination', 'required' => true], ['id' => 'departure', 'type' => 'date', 'label' => 'Departure Date', 'required' => true], ['id' => 'return', 'type' => 'date', 'label' => 'Return Date', 'required' => true],
        ['id' => 'travelers', 'type' => 'number', 'label' => 'Number of Travelers', 'min' => 1], ['id' => 'budget', 'type' => 'select', 'label' => 'Budget', 'options' => [['value' => 'economy', 'label' => 'Economy'], ['value' => 'mid', 'label' => 'Mid-Range'], ['value' => 'luxury', 'label' => 'Luxury']]],
        ['id' => 'notes', 'type' => 'textarea', 'label' => 'Special Requests', 'rows' => 3],
    ]],
    'hotel_booking' => ['title' => 'Hotel Booking', 'description' => 'Reserve a hotel room', 'icon' => 'building', 'category' => 'travel', 'fields' => [
        ['id' => 'name', 'type' => 'name', 'label' => 'Guest Name', 'required' => true], ['id' => 'email', 'type' => 'email', 'label' => 'Email', 'required' => true],
        ['id' => 'checkin', 'type' => 'date', 'label' => 'Check-in', 'required' => true], ['id' => 'checkout', 'type' => 'date', 'label' => 'Check-out', 'required' => true],
        ['id' => 'room', 'type' => 'select', 'label' => 'Room Type', 'options' => [['value' => 'standard', 'label' => 'Standard'], ['value' => 'deluxe', 'label' => 'Deluxe'], ['value' => 'suite', 'label' => 'Suite']]],
        ['id' => 'guests', 'type' => 'number', 'label' => 'Guests', 'min' => 1, 'max' => 6], ['id' => 'requests', 'type' => 'textarea', 'label' => 'Special Requests', 'rows' => 2],
    ]],
    'visa_application' => ['title' => 'Visa Application', 'description' => 'Visa or travel document request', 'icon' => 'id', 'category' => 'travel', 'fields' => [
        ['id' => 'name', 'type' => 'name', 'label' => 'Full Name (as on passport)', 'required' => true], ['id' => 'dob', 'type' => 'date', 'label' => 'Date of Birth', 'required' => true],
        ['id' => 'nationality', 'type' => 'text', 'label' => 'Nationality', 'required' => true], ['id' => 'passport', 'type' => 'text', 'label' => 'Passport Number', 'required' => true],
        ['id' => 'destination', 'type' => 'text', 'label' => 'Destination Country', 'required' => true], ['id' => 'purpose', 'type' => 'select', 'label' => 'Purpose', 'options' => [['value' => 'tourist', 'label' => 'Tourist'], ['value' => 'business', 'label' => 'Business'], ['value' => 'study', 'label' => 'Study'], ['value' => 'work', 'label' => 'Work']]],
        ['id' => 'travel_date', 'type' => 'date', 'label' => 'Travel Date'], ['id' => 'docs', 'type' => 'file_upload', 'label' => 'Supporting Documents', 'accept' => '.pdf,.jpg,.png'],
    ]],
    'tour_booking' => ['title' => 'Tour Booking', 'description' => 'Book a guided tour', 'icon' => 'location-alt', 'category' => 'travel', 'fields' => [
        ['id' => 'name', 'type' => 'name', 'label' => 'Name', 'required' => true], ['id' => 'email', 'type' => 'email', 'label' => 'Email', 'required' => true],
        ['id' => 'tour', 'type' => 'select', 'label' => 'Tour', 'required' => true, 'options' => [['value' => 'city', 'label' => 'City Tour'], ['value' => 'nature', 'label' => 'Nature Tour'], ['value' => 'food', 'label' => 'Food Tour'], ['value' => 'adventure', 'label' => 'Adventure Tour']]],
        ['id' => 'date', 'type' => 'date', 'label' => 'Date', 'required' => true], ['id' => 'people', 'type' => 'number', 'label' => 'Number of People', 'min' => 1, 'max' => 15],
        ['id' => 'language', 'type' => 'select', 'label' => 'Preferred Language', 'options' => [['value' => 'en', 'label' => 'English'], ['value' => 'es', 'label' => 'Spanish'], ['value' => 'fr', 'label' => 'French'], ['value' => 'de', 'label' => 'German']]],
    ]],
    'travel_insurance' => ['title' => 'Travel Insurance', 'description' => 'Get a travel insurance quote', 'icon' => 'shield', 'category' => 'travel', 'fields' => [
        ['id' => 'name', 'type' => 'name', 'label' => 'Full Name', 'required' => true], ['id' => 'dob', 'type' => 'date', 'label' => 'Date of Birth', 'required' => true], ['id' => 'email', 'type' => 'email', 'label' => 'Email', 'required' => true],
        ['id' => 'destination', 'type' => 'text', 'label' => 'Destination', 'required' => true], ['id' => 'departure', 'type' => 'date', 'label' => 'Departure'], ['id' => 'return', 'type' => 'date', 'label' => 'Return'],
        ['id' => 'coverage', 'type' => 'checkbox', 'label' => 'Coverage', 'options' => [['value' => 'medical', 'label' => 'Medical'], ['value' => 'cancellation', 'label' => 'Trip Cancellation'], ['value' => 'baggage', 'label' => 'Lost Baggage'], ['value' => 'delay', 'label' => 'Travel Delay']]],
    ]],
    'airport_transfer' => ['title' => 'Airport Transfer', 'description' => 'Book airport pickup/dropoff', 'icon' => 'car', 'category' => 'travel', 'fields' => [
        ['id' => 'name', 'type' => 'text', 'label' => 'Passenger Name', 'required' => true], ['id' => 'phone', 'type' => 'phone', 'label' => 'Phone', 'required' => true],
        ['id' => 'type', 'type' => 'radio', 'label' => 'Service', 'required' => true, 'options' => [['value' => 'pickup', 'label' => 'Airport Pickup'], ['value' => 'dropoff', 'label' => 'Airport Dropoff']]],
        ['id' => 'flight', 'type' => 'text', 'label' => 'Flight Number'], ['id' => 'date', 'type' => 'date', 'label' => 'Date', 'required' => true], ['id' => 'time', 'type' => 'time', 'label' => 'Time', 'required' => true],
        ['id' => 'passengers', 'type' => 'number', 'label' => 'Passengers', 'min' => 1, 'max' => 8], ['id' => 'address', 'type' => 'text', 'label' => 'Pickup/Dropoff Address', 'required' => true],
    ]],
];
