<?php

namespace Modules\Section\Database\Seeders;

use Illuminate\Database\Seeder;
use Modules\Section\Models\Section;

class SectionDatabaseSeeder extends Seeder
{
    public function run(): void
    {
        Section::create([
            'key' => 'hero',
            'title' => 'Fresh From Local Farmers',
            'subtitle' => 'Summer Seasonal',
            'description' => 'Direct delivery to your doorstep within 3 hours. Sustainability meets premium quality.',
            'button_text' => 'Shop Harvest',
            'button_link' => '/categories',
            'badge_text' => 'Summer Seasonal',
            'sort_order' => 1,
            'is_active' => true,
        ]);

        Section::create([
            'key' => 'save-the-food',
            'title' => 'Save the Food',
            'description' => 'Perfectly fine items at reduced prices. Fight food waste while saving up to 50% on your daily essentials.',
            'button_text' => 'Browse Deals',
            'button_link' => '/save-the-food',
            'sort_order' => 2,
            'is_active' => true,
        ]);

        Section::create([
            'key' => 'trending',
            'title' => 'Trending Today',
            'description' => 'Our customers\' favorites right now',
            'button_text' => 'View All',
            'button_link' => '/categories',
            'sort_order' => 3,
            'is_active' => true,
        ]);
    }
}
