<?php

namespace Database\Seeders;

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

class SliderSeeder extends Seeder
{
    public function run(): void
    {
        $sliders = [
            [
                'title' => 'Paket Pengadaan Terbuka',
                'description' => 'Ikuti proses lelang paket pekerjaan dengan transparansi dan akuntabilitas tinggi',
                'image' => null,
                'button_text' => 'Lihat Paket',
                'button_link' => '#',
                'category' => 'Semua',
                'icon' => 'fa-file-contract',
                'color' => 'from-blue-700 to-blue-900',
                'order' => 1,
                'is_active' => true,
            ],
            [
                'title' => 'E-Tendering & Lelang',
                'description' => 'Sistem pengadaan barang/jasa secara elektronik sesuai regulasi LPSE',
                'image' => null,
                'button_text' => 'Lihat Lelang',
                'button_link' => '#',
                'category' => 'Konstruksi',
                'icon' => 'fa-gavel',
                'color' => 'from-green-700 to-green-900',
                'order' => 2,
                'is_active' => true,
            ],
            [
                'title' => 'Paket Konstruksi Papua',
                'description' => 'Pembangunan infrastruktur untuk kemajuan tanah Papua',
                'image' => null,
                'button_text' => 'Lihat Paket Konstruksi',
                'button_link' => '#',
                'category' => 'Konstruksi',
                'icon' => 'fa-building',
                'color' => 'from-orange-700 to-orange-900',
                'order' => 3,
                'is_active' => true,
            ],
            [
                'title' => 'E-Katalog Papua',
                'description' => 'Katalog elektronik penyedia barang/jasa terpercaya di Papua',
                'image' => null,
                'button_text' => 'Lihat E-Katalog',
                'button_link' => '#',
                'category' => 'TI',
                'icon' => 'fa-database',
                'color' => 'from-purple-700 to-purple-900',
                'order' => 4,
                'is_active' => true,
            ],
            [
                'title' => 'Konsultasi Pengadaan',
                'description' => 'Konsultasi dan pendampingan proses pengadaan barang/jasa',
                'image' => null,
                'button_text' => 'Lihat Konsultasi',
                'button_link' => '#',
                'category' => 'Konsultasi',
                'icon' => 'fa-handshake',
                'color' => 'from-teal-700 to-teal-900',
                'order' => 5,
                'is_active' => true,
            ],
        ];

        foreach ($sliders as $slider) {
            Slider::create($slider);
        }
    }
}