<?php

namespace Database\Seeders;

use App\Models\Service;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class ServiceSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        DB::table('services')->truncate();

        $services = [
            [
                'title' => 'UX / UI Design',
                'slug' => 'ux-ui-design',
                'icon' => 'airplay',
                'is_active' => 1,
                'details' => '<p>We design clean, conversion-focused interfaces that make every support workflow easier for your users and your internal team. From first interaction to final resolution, each screen is planned with clarity and speed in mind.</p><h3>What is included</h3><ul><li>User journey mapping and flow optimization</li><li>Wireframes and high-fidelity UI screens</li><li>Design system and reusable component patterns</li><li>Accessibility and responsive behavior review</li></ul><p>This service is ideal for teams that want a polished experience across web and mobile support touchpoints.</p>',
            ],
            [
                'title' => 'IOS App Designer',
                'slug' => 'ios-app-designer',
                'icon' => 'compass',
                'is_active' => 1,
                'details' => '<p>Our iOS design service helps you create a native, intuitive mobile support experience aligned with Apple design guidelines. We focus on usability, performance, and visual consistency to maximize user trust.</p><h3>Deliverables</h3><ul><li>iOS-first navigation and information architecture</li><li>Screen-by-screen UI design for core support flows</li><li>Interaction states and motion recommendations</li><li>Developer-ready handoff with component specs</li></ul><p>Perfect for businesses launching or redesigning a customer support app on iPhone and iPad.</p>',
            ],
            [
                'title' => 'Photography',
                'slug' => 'photography',
                'icon' => 'camera',
                'is_active' => 1,
                'details' => '<p>High-quality visuals improve trust, engagement, and brand presence. Our photography service covers product, team, and campaign shoots designed for digital channels and support content.</p><h3>Scope options</h3><ul><li>Product and feature showcase photography</li><li>Team and workplace brand photography</li><li>Event and campaign image coverage</li><li>Post-production and web-ready optimization</li></ul><p>Use these assets across your website, knowledge base, announcements, and social media.</p>',
            ],
            [
                'title' => 'Graphic Designer',
                'slug' => 'graphic-designer',
                'icon' => 'aperture',
                'is_active' => 1,
                'details' => '<p>We create cohesive visual assets that strengthen your brand and improve communication quality. From support banners to product marketing creatives, every design is crafted for clarity and impact.</p><h3>Design services</h3><ul><li>Marketing banners and campaign creatives</li><li>Brand identity extensions and templates</li><li>Support documentation graphics and visuals</li><li>Social media and presentation assets</li></ul><p>This service ensures your visual communication remains consistent and professional across all channels.</p>',
            ],
            [
                'title' => 'Web Security',
                'slug' => 'web-security',
                'icon' => 'security',
                'is_active' => 1,
                'details' => '<p>Protect your platform and customer data with proactive web security hardening. We review your current setup, identify vulnerabilities, and implement practical safeguards across application and infrastructure layers.</p><h3>Security coverage</h3><ul><li>Authentication and authorization review</li><li>Configuration hardening and secure defaults</li><li>Input validation and common exploit prevention</li><li>Monitoring, backup, and incident readiness guidance</li></ul><p>Designed for teams that want stronger protection without slowing development velocity.</p>',
            ],
            [
                'title' => '24/7 Support',
                'slug' => '24-7-support',
                'icon' => 'palette',
                'is_active' => 1,
                'details' => '<p>Provide uninterrupted assistance with our round-the-clock support service. We help your team stay available, responsive, and organized across time zones, ensuring customer issues are handled without delay.</p><h3>Support model</h3><ul><li>24/7 ticket monitoring and triage support</li><li>Escalation handling with clear response timelines</li><li>Priority-based workflow and queue balancing</li><li>Performance reporting and continuous improvement</li></ul><p>Best suited for businesses that serve global users and need dependable support availability.</p>',
            ],
        ];

        foreach ($services as $service) {
            Service::create([
                'title' => $service['title'],
                'slug' => $service['slug'],
                'icon' => $service['icon'],
                'is_active' => $service['is_active'],
                'details' => $service['details'],
                'author_id' => null,
                'image' => null,
            ]);
        }
    }
}
