<?php

namespace Database\Seeders;

use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;

class SettingsSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        $settings = [
            'site_name' => 'SmartGrocery SaaS',
            'site_description' => 'Premium organic groceries with ultra-fast delivery and concierge support.',
            'contact_email' => 'concierge@smartgrocery.com',
            'currency_symbol' => '$',
            'currency_code' => 'USD',
            'tax_percentage' => '5.00',
            'default_language' => 'English',
            'total_sales' => '18K+',
            'review_avg' => '4.9/5.0',
            'facebook_link' => 'https://facebook.com/smartgrocery',
            'twitter_link' => 'https://twitter.com/smartgrocery',
            'instagram_link' => 'https://instagram.com/smartgrocery',
            'youtube_link' => 'https://youtube.com/@smartgrocery',

            // Hero Section
            'hero_badge1_label' => 'Organic',
            'hero_badge1_value' => '100%',
            'hero_badge2_label' => 'Delivery',
            'hero_badge2_value' => 'Fast',
            'hero_title1' => 'Premium',
            'hero_title2' => 'Organic',
            'hero_title3' => 'Groceries',
            'hero_description' => 'Experience the finest selection of hand-picked organic produce delivered directly to your doorstep with elite care and unmatched freshness.',
            'hero_cta_text' => 'START SHOPPING',
            'hero_video_text' => 'Watch Story',
            'hero_emoji' => '🥗',
            'hero_stat1_label' => 'Happy Clients',
            'hero_stat1_value' => '14K+',
            'hero_stat2_label' => 'Organic Products',
            'hero_stat2_value' => '2.5K+',
            'hero_stat3_label' => 'Store Locations',
            'hero_stat3_value' => '120+',

            // Homepage Sections
            'new_arrivals_badge' => 'Trending Now',
            'new_arrivals_view_all' => 'View All Products',
            'new_arrivals_title1' => 'Fresh',
            'new_arrivals_title2' => 'Weekly',
            'new_arrivals_title3' => 'Arrivals',

            'category_section_badge' => 'Shop by category',
            'category_section_view_all' => 'Explore Categories',
            'category_section_title1' => 'Curated',
            'category_section_title2' => 'Freshness',
            'category_section_title3' => 'For Your Kitchen',

            'coupon_section_badge' => 'Exclusive Offers',
            'coupon_section_title1' => 'Save Big with',
            'coupon_section_title2' => 'Premium Coupons',
            'coupon_section_description' => 'Use these exclusive discount codes at checkout to enjoy premium savings on your favorite organic groceries.',

            // Sale & Social Proof
            'flash_sale_badge' => 'Flash Sale Ending Soon',
            'flash_sale_title1' => 'Fresh',
            'flash_sale_title2' => 'Deals',

            'review_section_badge' => 'Happy Customers',
            'review_section_title1' => 'What Our',
            'review_section_title2' => 'Elite',
            'review_section_title3' => 'Family Says',
            'homepage_reviews_mode' => 'curated',
            'homepage_review_ids' => '',
            'featured_products_badge' => 'Editor’s Picks',
            'featured_products_view_all' => 'View All Picks',
            'featured_products_title1' => 'Premium',
            'featured_products_title2' => 'Selections',
            'featured_brands' => 'NatureFresh,GreenLeaf,BioPure,EarthKind',
            'featured_brands_label' => 'Featured Brands',
            'testimonial1_name' => 'Ava Thompson',
            'testimonial1_role' => 'Verified Buyer',
            'testimonial1_avatar' => '👩‍🍳',
            'testimonial1_content' => 'Ultra-fresh veggies and fruits every time. Packaging and timing are always on point.',
            'testimonial1_rating' => '5',
            'testimonial2_name' => 'Noah Williams',
            'testimonial2_role' => 'Healthy Living Enthusiast',
            'testimonial2_avatar' => '🥗',
            'testimonial2_content' => 'The premium products and flash deals save me both time and money. Highly recommended.',
            'testimonial2_rating' => '5',
            'testimonial3_name' => 'Sophia Martinez',
            'testimonial3_role' => 'Busy Professional',
            'testimonial3_avatar' => '💼',
            'testimonial3_content' => 'Checkout was smooth and delivery was fast. Great experience overall.',
            'testimonial3_rating' => '5',

            // Mobile & Testimonials
            'mobile_badge' => 'Coming Soon',
            'mobile_title1' => 'Grocery in',
            'mobile_title2' => 'Your Pocket',
            'mobile_description' => 'Download our upcoming mobile app for a seamless shopping experience and exclusive app-only rewards.',
            'play_store_link' => 'https://play.google.com/store/apps/details?id=com.nestorganic',
            'app_store_link' => 'https://apps.apple.com/app/id0000000000',
            'play_store_btn_text' => 'Get it on Google Play',
            'app_store_btn_text' => 'Download on the App Store',

            'testimonial_badge' => 'Wall of Love',
            'testimonial_title1' => 'Trusted by',
            'testimonial_title2' => 'Thousands',
            'testimonial_title3' => 'of Happy Customers',

            // Trust Badges & Features
            'feature1_icon' => '🚀',
            'feature1_title' => 'Ultra Fast Delivery',
            'feature1_desc' => 'Under 30 mins guarantee',
            'feature2_icon' => '🛡️',
            'feature2_title' => 'Bank Grade Security',
            'feature2_desc' => '100% encrypted payments',
            'feature3_icon' => '💎',
            'feature3_title' => 'Elite 24/7 Support',
            'feature3_desc' => 'Dedicated concierge team',
            'feature4_icon' => '🌿',
            'feature4_title' => 'Organic Certified',
            'feature4_desc' => '100% farm fresh products',

            // Footer & Contact
            'footer_newsletter_title' => 'Stay Connected',
            'footer_newsletter_placeholder' => 'Enter your premium email',
            'footer_phone' => '+1 (888) NEST-GROC',
            'footer_email' => 'concierge@nest.com',
            'footer_address' => '712 Fifth Avenue, New York, NY 10019',
            'working_hours' => 'Mon - Sun: 8am - 10pm',
            'footer_nav_title' => 'Company',
            'footer_cat_title' => 'Categories',
            'about_us_label' => 'About Us',
            'premium_shop_label' => 'Premium Shop',
            'order_tracking_label' => 'Order Tracking',
            'privacy_policy_label' => 'Privacy Policy',
            'terms_of_service_label' => 'Terms of Service',
            'footer_copyright' => '© 2026 SmartGrocery SaaS. Elevating your daily essentials.',

            // Email
            'mail_mailer' => 'smtp',
            'mail_host' => 'smtp.mailtrap.io',
            'mail_port' => '2525',
            'mail_username' => '',
            'mail_password' => '',
            'mail_encryption' => 'tls',
            'mail_from_address' => 'hello@smartgrocery.com',
            'mail_from_name' => 'SmartGrocery SaaS',
        ];

        foreach ($settings as $key => $value) {
            \App\Models\Setting::updateOrCreate(
                ['key' => $key],
                ['value' => $value]
            );
        }
    }
}
