<?php

namespace Database\Seeders;

use App\Models\Destination;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;

class DestinationSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        $destinations = [
            [
                'name' => 'United States',
                'flag' => '🇺🇸',
                'description' => 'Home to world-renowned universities and cutting-edge research facilities. Experience diverse academic programs and vibrant campus life.',
                'universities_count' => 4000,
                'country_code' => 'USA',
                'is_active' => true,
                'sort_order' => 1,
            ],
            [
                'name' => 'United Kingdom',
                'flag' => '🇬🇧',
                'description' => 'Discover centuries of academic excellence in historic institutions. Benefit from shorter degree programs and rich cultural heritage.',
                'universities_count' => 130,
                'country_code' => 'GBR',
                'is_active' => true,
                'sort_order' => 2,
            ],
            [
                'name' => 'Canada',
                'flag' => '🇨🇦',
                'description' => 'Study in a welcoming, multicultural environment with excellent post-graduation work opportunities and pathway to permanent residency.',
                'universities_count' => 100,
                'country_code' => 'CAN',
                'is_active' => true,
                'sort_order' => 3,
            ],
            [
                'name' => 'Australia',
                'flag' => '🇦🇺',
                'description' => 'Experience high-quality education in a beautiful country with excellent weather, friendly people, and strong job prospects.',
                'universities_count' => 43,
                'country_code' => 'AUS',
                'is_active' => true,
                'sort_order' => 4,
            ],
            [
                'name' => 'Germany',
                'flag' => '🇩🇪',
                'description' => 'Access world-class education with low or no tuition fees. Benefit from strong engineering programs and excellent career opportunities.',
                'universities_count' => 400,
                'country_code' => 'DEU',
                'is_active' => true,
                'sort_order' => 5,
            ],
            [
                'name' => 'France',
                'flag' => '🇫🇷',
                'description' => 'Immerse yourself in rich culture and history while studying at prestigious institutions known for arts, business, and sciences.',
                'universities_count' => 250,
                'country_code' => 'FRA',
                'is_active' => true,
                'sort_order' => 6,
            ],
            [
                'name' => 'Netherlands',
                'flag' => '🇳🇱',
                'description' => 'Study in English-taught programs in one of Europe\'s most international countries with innovative teaching methods.',
                'universities_count' => 14,
                'country_code' => 'NLD',
                'is_active' => true,
                'sort_order' => 7,
            ],
            [
                'name' => 'New Zealand',
                'flag' => '🇳🇿',
                'description' => 'Experience personalized education in stunning natural surroundings with excellent student support and work opportunities.',
                'universities_count' => 8,
                'country_code' => 'NZL',
                'is_active' => true,
                'sort_order' => 8,
            ],
        ];

        foreach ($destinations as $destination) {
            Destination::create($destination);
        }
    }
}
