<?php

namespace Database\Seeders;

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

class ServiceSeeder extends Seeder
{
    public function run(): void
    {
        $services = [
            [
                'title' => 'Cutting Services',
                'slug' => 'cutting-services',
                'short_description' => 'Professional MDF and wood cutting services with high-end CNC machinery.',
                'description' => "H&M Timber and Hardware Limited don't just have the experience in all aspects of medium density fibreboard (MDF) sheet cutting; we also have high-end technology machinery which enables us to carry out computer controlled cutting and routing for all manner of small and large orders. When you are designing a project that requires the bespoke cutting of MDF and wooden sheets, get in touch with us with your measurements and we will handle all your cutting needs.",
                'icon' => 'heroicon-o-scissors',
                'features' => ['CNC Cutting', 'Custom Routing', 'Precision Cutting', 'Large Orders'],
                'is_active' => true,
                'order' => 1,
            ],
            [
                'title' => 'Delivery Services',
                'slug' => 'delivery-services',
                'short_description' => 'Fast and reliable delivery across all regions in Ghana.',
                'description' => 'We provide comprehensive delivery services to all 16 regions in Ghana. Our logistics team ensures your materials arrive safely and on time. We handle both small and large orders with the same level of care and professionalism.',
                'icon' => 'heroicon-o-truck',
                'features' => ['Nationwide Delivery', 'Timely Service', 'Tracked Shipping', 'Bulk Orders'],
                'is_active' => true,
                'order' => 2,
            ],
            [
                'title' => 'Technical Consultation',
                'slug' => 'technical-consultation',
                'short_description' => 'Expert advice on material selection and project planning.',
                'description' => 'Our experienced team provides technical consultation to help you choose the right materials for your project. Whether it\'s furniture manufacturing, construction, or interior design, we guide you through material specifications, applications, and best practices.',
                'icon' => 'heroicon-o-chat-bubble-left-right',
                'features' => ['Material Selection', 'Project Planning', 'Cost Optimization', 'Quality Assurance'],
                'is_active' => true,
                'order' => 3,
            ],
            [
                'title' => 'Wholesale Supply',
                'slug' => 'wholesale-supply',
                'short_description' => 'Competitive wholesale pricing for contractors and businesses.',
                'description' => 'We offer competitive wholesale pricing for contractors, furniture manufacturers, and construction companies. Our bulk supply service ensures you have consistent access to quality materials at the best prices.',
                'icon' => 'heroicon-o-building-storefront',
                'features' => ['Bulk Pricing', 'Regular Supply', 'Credit Terms', 'Dedicated Support'],
                'is_active' => true,
                'order' => 4,
            ],
        ];

        foreach ($services as $service) {
            Service::create($service);
        }
    }
}