<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;
use Illuminate\Support\Str;
use App\Models\Service;
use App\Models\Workshop;
use App\Models\Testimonial;
use App\Models\Faq;

class HolisticHealingSeeder extends Seeder
{
    public function run(): void
    {
        // ── Services ──────────────────────────────────────────────────────────
        $services = [
            [
                'title'             => 'Holistic Counselling Online',
                'icon'              => 'fas fa-heart',
                'short_description' => 'Comprehensive counselling sessions addressing emotional, mental & spiritual wellbeing from the comfort of your home.',
                'description'       => "Holistic Counselling integrates modern psychological techniques with ancient wisdom to address the complete human experience — not just isolated symptoms.\n\nIn each session, Taanya works with you on the emotional, mental, and spiritual dimensions of your challenges. Whether you are dealing with anxiety, low self-esteem, relationship difficulties, grief, or a general sense of being 'stuck', this service provides a safe, non-judgmental space to explore and heal.\n\nAll sessions are available online via Zoom or WhatsApp video, making them accessible from anywhere in India or abroad.",
            ],
            [
                'title'             => 'Chakra Healing Online',
                'icon'              => 'fas fa-dharmachakra',
                'short_description' => 'Balance and harmonise your 7 energy centres through guided online healing sessions tailored to your needs.',
                'description'       => "Your body's chakra system is an intricate network of energy centres, each governing specific aspects of your physical, emotional, and spiritual health.\n\nWhen chakras become blocked, overactive, or underactive, you may experience a range of symptoms — from physical ailments to emotional imbalances, relationship difficulties, or a disconnection from your sense of purpose.\n\nTaanya uses a combination of guided visualisation, breathwork, sound healing and energy work to identify and clear blockages in your chakra system, restoring your natural vitality and flow.",
            ],
            [
                'title'             => 'Heart Chakra Healing',
                'icon'              => 'fas fa-heart-pulse',
                'short_description' => 'Open your Anahata chakra to unlock deeper love, self-compassion, forgiveness and emotional freedom.',
                'description'       => "The Heart Chakra (Anahata) is the bridge between the lower and upper chakras — the seat of love, compassion, forgiveness, and connection.\n\nA blocked or wounded heart chakra can manifest as difficulty giving or receiving love, emotional numbness, grief that won't heal, chronic loneliness, difficulty forgiving yourself or others, or physical symptoms in the chest and upper back.\n\nThis specialised session focuses entirely on gently opening, healing and expanding the heart chakra through guided meditation, Reiki, and emotional release work.",
            ],
            [
                'title'             => 'Online Meditation Consultation',
                'icon'              => 'fas fa-om',
                'short_description' => 'Personalised meditation guidance to help you cultivate inner peace, focus and mindfulness daily.',
                'description'       => "Meditation is one of the most powerful tools available for mental wellbeing — but finding the right practice for your unique mind, body and lifestyle can be challenging without guidance.\n\nIn a personalised Meditation Consultation, Taanya assesses your current state, goals and challenges, then recommends and teaches specific meditation techniques tailored to you — whether that's breath-based mindfulness, loving-kindness meditation, body scan, visualisation, or mantra practice.\n\nYou'll leave with a clear, realistic daily practice that fits your life.",
            ],
            [
                'title'             => 'Emotional Wellbeing Online',
                'icon'              => 'fas fa-brain',
                'short_description' => 'Therapeutic support for anxiety, grief, trauma, and life transitions through an integrative holistic approach.',
                'description'       => "Emotional wellbeing is the foundation of a fulfilling, joyful life. Yet many of us carry unprocessed emotions — grief, shame, fear, anger — that quietly shape our decisions, relationships and health.\n\nThis service provides dedicated emotional support and healing for challenges including anxiety, depression, grief and loss, relationship breakdown, trauma recovery, life transitions (career change, divorce, bereavement, relocation) and burnout.\n\nTaanya draws on her dual expertise in counselling psychology and holistic healing to offer a deeply personalised approach.",
            ],
            [
                'title'             => 'Anger & Stress Management',
                'icon'              => 'fas fa-wind',
                'short_description' => 'Effective therapy to manage anger and stress, and channel energy positively.',
                'description'       => "Anger and stress are natural human responses — but when they become chronic or disproportionate, they can damage relationships, health and quality of life significantly.\n\nTaanya's approach to anger and stress management goes beyond coping strategies. She works to uncover the root causes beneath the surface reactions — often finding unmet needs, old wounds, or deeply held beliefs that are driving the pattern.\n\nUsing a combination of counselling, NLP, breathwork and mindfulness tools, you will gain practical, lasting tools to regulate your emotional responses and channel your energy constructively.",
            ],
        ];

        foreach ($services as $i => $s) {
            Service::firstOrCreate(['slug' => Str::slug($s['title'])], array_merge($s, ['is_active' => true, 'sort_order' => $i + 1]));
        }

        // ── Workshops ─────────────────────────────────────────────────────────
        $workshops = [
            [
                'title'             => 'Chakra Awakening & Balancing Workshop',
                'short_description' => 'A deep-dive into the 7 chakra system with guided meditation, breathwork and energy healing.',
                'description'       => 'Join Taanya for this powerful 2-hour online workshop dedicated to understanding and balancing your entire chakra system. You will learn to identify blocked or imbalanced chakras, and experience guided healing to restore energy flow and vitality.',
                'workshop_date'     => now()->addDays(14)->setHour(11)->setMinute(0),
                'duration'          => '2 Hours',
                'price'             => 2500.00,
                'seats_available'   => 15,
                'venue'             => 'Online – Zoom',
                'is_online'         => true,
                'is_active'         => true,
            ],
            [
                'title'             => 'Emotional Freedom – Release & Heal',
                'short_description' => 'A group healing journey to identify, express and release trapped emotions.',
                'description'       => 'This 2-hour online workshop provides a compassionate, facilitated space to acknowledge and release emotions you may have been carrying for years. Includes guided emotional release work, breathwork and group sharing.',
                'workshop_date'     => now()->addDays(7)->setHour(17)->setMinute(0),
                'duration'          => '2 Hours',
                'price'             => 1800.00,
                'seats_available'   => 12,
                'venue'             => 'Online – Zoom',
                'is_online'         => true,
                'is_active'         => true,
            ],
        ];

        foreach ($workshops as $w) {
            Workshop::firstOrCreate(['slug' => Str::slug($w['title'])], $w);
        }

        // ── Testimonials ──────────────────────────────────────────────────────
        $reviews = [
            ['name'=>'Paras Taneja','location'=>'Delhi','rating'=>5,'review'=>'I was at a very low phase in life. Taanya\'s sessions — a beautiful blend of counselling, chakra healing and hypnotherapy — gradually shifted me from a state of hopelessness to a genuinely hopeful person. I am forever grateful.','review_date'=>'2024-03-01'],
            ['name'=>'Meera Sharma','location'=>'Gurugram','rating'=>5,'review'=>'Taanya has a rare ability to hold space without judgment. Her inner child healing work was profoundly transformative. I feel lighter, more compassionate with myself, and more joyful than I have in years.','review_date'=>'2024-01-15'],
            ['name'=>'Rohan Malhotra','location'=>'Mumbai (Online)','rating'=>5,'review'=>'I had severe anxiety and couldn\'t sleep for months. After just 4 sessions of hypnotherapy and NLP with Taanya, I experienced a shift I can only describe as miraculous. Highly recommended.','review_date'=>'2023-12-10'],
            ['name'=>'Priya Kapoor','location'=>'Bengaluru (Online)','rating'=>5,'review'=>'I was sceptical about online healing but Taanya\'s presence translates perfectly through the screen. The chakra balancing work was deeply relaxing and I noticed changes in my emotional patterns within days.','review_date'=>'2024-02-20'],
            ['name'=>'Ananya Verma','location'=>'Delhi','rating'=>5,'review'=>'Taanya helped me heal a 20-year-old wound around my father through inner child work. I walked in carrying a weight I didn\'t even know I was carrying. I walked out free.','review_date'=>'2023-11-05'],
            ['name'=>'Sanjay & Riya Mehta','location'=>'Delhi','rating'=>5,'review'=>'We attended pre-marital counselling with Taanya before our wedding. It gave us communication tools and frameworks that have genuinely strengthened our relationship. Wish more couples did this.','review_date'=>'2023-10-20'],
        ];

        foreach ($reviews as $i => $r) {
            Testimonial::firstOrCreate(['name' => $r['name']], array_merge($r, ['source' => 'Google', 'is_active' => true, 'sort_order' => $i + 1]));
        }

        // ── FAQs ──────────────────────────────────────────────────────────────
        $faqs = [
            ['question'=>'What is holistic healing?','answer'=>'Holistic healing is an approach that addresses the whole person — mind, body, and spirit — rather than focusing on isolated symptoms. It integrates psychological, emotional, physical, and spiritual dimensions to create lasting wellbeing.'],
            ['question'=>'Are online sessions as effective as in-person?','answer'=>'Yes! Many clients find online sessions equally or more effective because they can engage from their own safe, comfortable space. All services — counselling, chakra healing, meditation guidance — are available online via Zoom or WhatsApp video.'],
            ['question'=>'How many sessions will I need?','answer'=>'This varies with each individual and the nature of the concern. Taanya does a thorough initial assessment and creates a personalised healing plan. Most clients notice meaningful shifts within 4–6 sessions.'],
            ['question'=>'What issues can holistic healing help with?','answer'=>'Stress, anxiety, depression, relationship challenges, grief, trauma, anger management, low self-esteem, life transitions, spiritual disconnection, and overall emotional wellbeing.'],
            ['question'=>'Is everything kept confidential?','answer'=>'Absolutely. All sessions are held in complete confidence. Your privacy and trust are our highest priority.'],
        ];

        foreach ($faqs as $i => $f) {
            Faq::firstOrCreate(['question' => $f['question']], array_merge($f, ['is_active' => true, 'sort_order' => $i + 1]));
        }

        $this->command->info('✅ Holistic Healing Centre seeded successfully!');
    }
}
