<?php

namespace Database\Seeders;

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

class CategorySeeder extends Seeder
{
    public function run()
    {
        $categories = [
            ['name' => 'Floral', 'description' => 'Perfume with floral scents', 'sort_order' => 1],
            ['name' => 'Citrus', 'description' => 'Fresh citrus fragrances', 'sort_order' => 2],
            ['name' => 'Woody', 'description' => 'Warm woody notes', 'sort_order' => 3],
            ['name' => 'Oriental', 'description' => 'Spicy and exotic oriental scents', 'sort_order' => 4],
            ['name' => 'Fruity', 'description' => 'Sweet and fresh fruity fragrances', 'sort_order' => 5],
            ['name' => 'Aquatic', 'description' => 'Light, oceanic, and fresh scents', 'sort_order' => 6],
            ['name' => 'Gourmand', 'description' => 'Edible, sweet and dessert-like scents', 'sort_order' => 7],
            ['name' => 'Green', 'description' => 'Fresh, leafy, and herbal notes', 'sort_order' => 8],
            ['name' => 'Chypre', 'description' => 'Classic blend of citrus, oakmoss, and labdanum', 'sort_order' => 9],
            ['name' => 'Musk', 'description' => 'Warm, sensual musky fragrances', 'sort_order' => 10],
        ];

        foreach ($categories as $category) {
            Category::create([
                'name' => $category['name'],
                'description' => $category['description'],
                'sort_order' => $category['sort_order'],
            ]);
        }
    }
}
