<?php
if (!defined('ABSPATH')) exit;
return [
    'prayer_request' => ['title' => 'Prayer Request', 'description' => 'Submit a prayer request', 'icon' => 'heart', 'category' => 'church', 'fields' => [
        ['id' => 'name', 'type' => 'text', 'label' => 'Name'], ['id' => 'email', 'type' => 'email', 'label' => 'Email'],
        ['id' => 'request', 'type' => 'textarea', 'label' => 'Prayer Request', 'required' => true, 'rows' => 5],
        ['id' => 'public', 'type' => 'radio', 'label' => 'Share publicly?', 'options' => [['value' => 'yes', 'label' => 'Yes'], ['value' => 'private', 'label' => 'Keep Private']]],
    ]],
    'church_membership' => ['title' => 'Church Membership', 'description' => 'Apply for church membership', 'icon' => 'groups', 'category' => 'church', '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' => 'address', 'type' => 'address', 'label' => 'Address'], ['id' => 'dob', 'type' => 'date', 'label' => 'Date of Birth'],
        ['id' => 'baptized', 'type' => 'radio', 'label' => 'Baptized?', 'options' => [['value' => 'yes', 'label' => 'Yes'], ['value' => 'no', 'label' => 'No']]],
        ['id' => 'interests', 'type' => 'checkbox', 'label' => 'Ministry Interests', 'options' => [['value' => 'worship', 'label' => 'Worship'], ['value' => 'children', 'label' => 'Children'], ['value' => 'youth', 'label' => 'Youth'], ['value' => 'outreach', 'label' => 'Outreach']]],
    ]],
    'event_signup_church' => ['title' => 'Church Event Signup', 'description' => 'Register for church events', 'icon' => 'calendar-alt', 'category' => 'church', 'fields' => [
        ['id' => 'name', 'type' => 'name', 'label' => 'Name', 'required' => true], ['id' => 'email', 'type' => 'email', 'label' => 'Email', 'required' => true],
        ['id' => 'event', 'type' => 'text', 'label' => 'Event Name', 'required' => true], ['id' => 'attendees', 'type' => 'number', 'label' => 'Number Attending', 'min' => 1],
        ['id' => 'childcare', 'type' => 'radio', 'label' => 'Childcare Needed?', 'options' => [['value' => 'yes', 'label' => 'Yes'], ['value' => 'no', 'label' => 'No']]],
        ['id' => 'dietary', 'type' => 'text', 'label' => 'Dietary Restrictions'],
    ]],
    'tithe_offering' => ['title' => 'Tithe / Offering', 'description' => 'Online giving and tithes', 'icon' => 'money-alt', 'category' => 'church', 'fields' => [
        ['id' => 'name', 'type' => 'name', 'label' => 'Name', 'required' => true], ['id' => 'email', 'type' => 'email', 'label' => 'Email', 'required' => true],
        ['id' => 'type', 'type' => 'radio', 'label' => 'Type', 'required' => true, 'options' => [['value' => 'tithe', 'label' => 'Tithe'], ['value' => 'offering', 'label' => 'Offering'], ['value' => 'mission', 'label' => 'Missions'], ['value' => 'building', 'label' => 'Building Fund']]],
        ['id' => 'amount', 'type' => 'number', 'label' => 'Amount ($)', 'required' => true],
        ['id' => 'recurring', 'type' => 'radio', 'label' => 'Frequency', 'options' => [['value' => 'once', 'label' => 'One-time'], ['value' => 'weekly', 'label' => 'Weekly'], ['value' => 'monthly', 'label' => 'Monthly']]],
    ]],
    'visitor_card' => ['title' => 'Visitor Card', 'description' => 'First-time visitor welcome card', 'icon' => 'welcome-view-site', 'category' => 'church', 'fields' => [
        ['id' => 'name', 'type' => 'name', 'label' => 'Name', 'required' => true], ['id' => 'email', 'type' => 'email', 'label' => 'Email'], ['id' => 'phone', 'type' => 'phone', 'label' => 'Phone'],
        ['id' => 'how', 'type' => 'select', 'label' => 'How did you hear about us?', 'options' => [['value' => 'friend', 'label' => 'Friend/Family'], ['value' => 'online', 'label' => 'Online Search'], ['value' => 'social', 'label' => 'Social Media'], ['value' => 'drove-by', 'label' => 'Drove By']]],
        ['id' => 'interests', 'type' => 'checkbox', 'label' => 'I would like to learn about', 'options' => [['value' => 'membership', 'label' => 'Membership'], ['value' => 'groups', 'label' => 'Small Groups'], ['value' => 'volunteer', 'label' => 'Volunteering']]],
        ['id' => 'comments', 'type' => 'textarea', 'label' => 'Comments/Questions', 'rows' => 3],
    ]],
];
