<?php

namespace Database\Seeders;

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

class ExerciseSeeder extends Seeder
{
    public function run(): void
    {
        $exercises = [
            [
                'title' => 'Deep Breathing',
                'description' => 'A simple breathing exercise to calm your mind.',
                'content' => 'Sit comfortably. Inhale deeply through your nose for 4 seconds, hold for 4, exhale through mouth for 6. Repeat 5 times.',
                'category' => 'breathing',
                'duration' => 5,
                'is_premium' => false,
            ],
            [
                'title' => 'Gratitude Journal',
                'description' => 'Write down three things you are grateful for today.',
                'content' => 'Take a few minutes to reflect and write down three specific things you appreciate.',
                'category' => 'gratitude',
                'duration' => 10,
                'is_premium' => false,
            ],
            [
                'title' => 'Body Scan Meditation',
                'description' => 'A guided meditation to release tension.',
                'content' => 'Lie down and slowly bring attention to each part of your body from toes to head.',
                'category' => 'mindfulness',
                'duration' => 15,
                'is_premium' => true,
            ],
        ];

        foreach ($exercises as $ex) {
            Exercise::create($ex);
        }
    }
}
