<?php

namespace Database\Seeders;

use App\Models\BlogCategory;
use Illuminate\Database\Seeder;
use Illuminate\Support\Str;

class BlogCategorySeeder extends Seeder
{
    public function run()
    {
        $categories = [
            [
                'name' => 'Cooking Tips',
                'slug' => 'cooking-tips',
                'description' => 'Kitchen hacks and cooking techniques',
            ],
            [
                'name' => 'Meal Planning',
                'slug' => 'meal-planning',
                'description' => 'Guides for effective meal planning and prep',
            ],
            [
                'name' => 'Product Reviews',
                'slug' => 'product-reviews',
                'description' => 'Reviews of grocery products and ingredients',
            ],
            [
                'name' => 'Budget Shopping',
                'slug' => 'budget-shopping',
                'description' => 'Tips for saving money on groceries',
            ],
            [
                'name' => 'Technology',
                'slug' => 'technology',
                'description' => 'Latest tech news and innovations',
            ],
            [
                'name' => 'Fashion & Style',
                'slug' => 'fashion-style',
                'description' => 'Fashion trends and style guides',
            ],
            [
                'name' => 'Health & Wellness',
                'slug' => 'health-wellness',
                'description' => 'Health tips and wellness advice',
            ],
            [
                'name' => 'Food & Recipes',
                'slug' => 'food-recipes',
                'description' => 'Delicious recipes and cooking tips',
            ],
            [
                'name' => 'Travel & Adventure',
                'slug' => 'travel-adventure',
                'description' => 'Travel guides and adventure stories',
            ],
        ];

        foreach ($categories as $category) {
            BlogCategory::create($category);
        }
    }
}