<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;
use App\Models\Department;

class DepartmentSeeder extends Seeder
{
    public function run(): void
    {
        $departments = [
            [
                'name' => 'Children Ministry',
                'slug' => 'children-ministry',
                'description' => 'Nurturing the faith of our children through biblical teaching, worship, and fellowship.',
                'activities' => 'Sunday School, Vacation Bible School, Children\'s Choir, Youth Camps',
                'age' => 'Ages 3-12',
                'meeting' => 'Sundays at 9:00 AM',
                'image' => 'children_ministry.jpeg',
                'is_active' => true
            ],
            [
                'name' => 'Youth Ministry',
                'slug' => 'youth-ministry',
                'description' => 'Empowering young people to become leaders in their communities and churches.',
                'activities' => 'Youth Fellowship, Bible Study, Sports Activities, Leadership Training',
                'age' => 'Ages 13-35',
                'meeting' => 'Fridays at 6:00 PM',
                'image' => 'youth_ministry.jpeg',
                'is_active' => true
            ],
            [
                'name' => 'Women Ministry',
                'slug' => 'women-ministry',
                'description' => 'Building a community of faithful women who support each other in faith and service.',
                'activities' => 'Women Fellowship, Prayer Meetings, Skills Training, Outreach Programs',
                'age' => 'Women 18+',
                'meeting' => 'First Saturday of each month',
                'image' => 'women_ministry.jpeg',
                'is_active' => true
            ],
            [
                'name' => 'Men Ministry',
                'slug' => 'men-ministry',
                'description' => 'Equipping men to lead their families and communities with godly character.',
                'activities' => 'Men Fellowship, Bible Study, Discipleship Training, Community Service',
                'age' => 'Men 18+',
                'meeting' => 'Third Saturday of each month',
                'image' => 'men_fel.jpeg',
                'is_active' => true
            ],
            [
                'name' => 'Choir Ministry',
                'slug' => 'choir-ministry',
                'description' => 'Leading the congregation in worship through inspirational music and songs.',
                'activities' => 'Choir Practice, Special Music Presentations, Recording Sessions',
                'age' => 'All Ages',
                'meeting' => 'Wednesdays at 5:00 PM',
                'image' => 'ch_fel.jpeg',
                'is_active' => true
            ],
            [
                'name' => 'Prayer Ministry',
                'slug' => 'prayer-ministry',
                'description' => 'Interceding for the church, nation, and world through dedicated prayer sessions.',
                'activities' => 'Prayer Meetings, Fasting Sessions, Deliverance Ministry, Intercession',
                'age' => 'All Ages',
                'meeting' => 'Fridays at 5:00 PM',
                'image' => 'faith_home.jpeg',
                'is_active' => true
            ],
            [
                'name' => 'Evangelism Ministry',
                'slug' => 'evangelism-ministry',
                'description' => 'Reaching the lost with the gospel of Jesus Christ through various outreach programs.',
                'activities' => 'Street Preaching, Hospital Visits, Prison Outreach, Community Evangelism',
                'age' => 'All Ages',
                'meeting' => 'As scheduled',
                'image' => 'christian_edu.jpeg',
                'is_active' => true
            ],
            [
                'name' => 'Welfare Ministry',
                'slug' => 'welfare-ministry',
                'description' => 'Caring for the physical needs of church members and the wider community.',
                'activities' => 'Food Distribution, Financial Assistance, Medical Outreach, Housing Support',
                'age' => 'All Ages',
                'meeting' => 'As scheduled',
                'image' => 'gifts.jpeg',
                'is_active' => true
            ],
            [
                'name' => 'Technical Department',
                'slug' => 'technical-department',
                'description' => 'Managing all technical aspects of church operations including sound, media, and IT.',
                'activities' => 'Sound Management, Video Production, Live Streaming, Website Maintenance',
                'age' => 'All Ages',
                'meeting' => 'As scheduled',
                'image' => 'tech_team.jpeg',
                'is_active' => true
            ],
            [
                'name' => 'Security Department',
                'slug' => 'security-department',
                'description' => 'Ensuring the safety and security of all church members during services and events.',
                'activities' => 'Security Patrol, Event Safety, Emergency Response, Crowd Control',
                'age' => 'Adults 25+',
                'meeting' => 'As scheduled',
                'image' => 'edu_ministry.jpeg',
                'is_active' => true
            ]
        ];

        foreach ($departments as $department) {
            Department::create($department);
        }
    }
}
