"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import HeroSplitDoubleCarousel from '@/components/sections/hero/HeroSplitDoubleCarousel';
import FeatureCardEight from '@/components/sections/feature/FeatureCardEight';
import MetricCardFourteen from '@/components/sections/metrics/MetricCardFourteen';
import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix';
import MediaAbout from '@/components/sections/about/MediaAbout';
import FaqBase from '@/components/sections/faq/FaqBase';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterBase from '@/components/sections/footer/FooterBase';
import { Shield, Heart, Zap, Star, CheckCircle, Phone, HelpCircle } from 'lucide-react';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="mediumLarge"
      sizing="mediumLarge"
      background="grid"
      cardStyle="gradient-radial"
      primaryButtonStyle="shadow"
      secondaryButtonStyle="glass"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          brandName="ElderCare Pro"
          navItems={[
            { name: "Services", id: "services" },
            { name: "How It Works", id: "how-it-works" },
            { name: "Why Us", id: "why-us" },
            { name: "Testimonials", id: "testimonials" },
            { name: "Contact", id: "contact" }
          ]}
          button={{
            text: "Book Consultation",            href: "contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplitDoubleCarousel
          title="Compassionate In-Home Elder Care You Can Trust"
          description="Verified nurses, caregivers, and physiotherapists available in your city. 24/7 support for your loved ones."
          tag="Verified & Trusted"
          tagIcon={Shield}
          tagAnimation="slide-up"
          background={{ variant: "grid" }}
          leftCarouselItems={[
            {
              imageSrc: "http://img.b2bpic.net/free-photo/nurse-consulting-retired-woman-sitting-wheelchair-nursing-home-clinic-medical-assistant-doing-healthcare-checkup-with-disabled-old-patient-treatment-recovery-from-pain_482257-38191.jpg?_wi=1",              imageAlt: "Professional caregiver providing assistance"
            },
            {
              imageSrc: "http://img.b2bpic.net/free-photo/happy-doctor-listening-heartbeat-mature-patient-while-examining-his-home-visit_637285-1389.jpg",              imageAlt: "In-home nursing care service"
            },
            {
              imageSrc: "http://img.b2bpic.net/free-photo/cheerful-senior-woman-having-fun-with-her-adult-daughter-home_637285-8552.jpg",              imageAlt: "Elderly care support"
            },
            {
              imageSrc: "http://img.b2bpic.net/free-photo/physical-therapist-assisting-mature-couple-with-exercises-home_637285-7844.jpg",              imageAlt: "Physiotherapy at home"
            }
          ]}
          rightCarouselItems={[
            {
              imageSrc: "http://img.b2bpic.net/free-photo/nurse-consulting-retired-woman-sitting-wheelchair-nursing-home-clinic-medical-assistant-doing-healthcare-checkup-with-disabled-old-patient-treatment-recovery-from-pain_482257-38191.jpg?_wi=2",              imageAlt: "Post-hospital recovery care"
            },
            {
              imageSrc: "http://img.b2bpic.net/free-photo/medical-caregiver-uses-thermometer-senior-patients-check-temperature_482257-112733.jpg",              imageAlt: "Professional elderly attendant"
            },
            {
              imageSrc: "http://img.b2bpic.net/free-photo/serious-doctor-discussing-with-senior-couple-about-their-medical-documents-appointment-clinic_637285-1493.jpg?_wi=1",              imageAlt: "Long-term care planning"
            },
            {
              imageSrc: "http://img.b2bpic.net/free-photo/nurse-consulting-retired-woman-sitting-wheelchair-nursing-home-clinic-medical-assistant-doing-healthcare-checkup-with-disabled-old-patient-treatment-recovery-from-pain_482257-38191.jpg?_wi=3",              imageAlt: "Healthcare professional support"
            }
          ]}
          buttons={[
            { text: "📞 Call Now", href: "contact" },
            { text: "Request Consultation", href: "contact" }
          ]}
          buttonAnimation="slide-up"
          carouselPosition="right"
        />
      </div>

      <div id="services" data-section="services">
        <FeatureCardEight
          title="Our Services"
          description="Comprehensive elder care solutions tailored to your loved one's specific needs"
          tag="Healthcare Services"
          tagIcon={Heart}
          tagAnimation="slide-up"
          features={[
            {
              id: 1,
              title: "Nursing Care",              description: "Professional registered nurses providing medical supervision and medication management",              imageSrc: "http://img.b2bpic.net/free-photo/medical-nurses-analyzing-disease-symptoms-discussing-healthcare-treatment-working-hospital-office-teamworks-checking-pharmaceutical-medication-tablet-computer-sitting-desk_482257-28576.jpg",              imageAlt: "Nursing care services"
            },
            {
              id: 2,
              title: "Elderly Attendant",              description: "Trained caregivers for daily living assistance, personal care, and companionship",              imageSrc: "http://img.b2bpic.net/free-photo/female-caretaker-her-client-s-house-taking-care-elderly-person_23-2150216412.jpg",              imageAlt: "Elderly attendant services"
            },
            {
              id: 3,
              title: "Physiotherapy at Home",              description: "Licensed physiotherapists delivering rehabilitation and mobility exercises",              imageSrc: "http://img.b2bpic.net/free-photo/senior-man-nursing-home-with-doing-physical-therapy-with-help-from-nurse-using-dumbbells_482257-45265.jpg",              imageAlt: "Physiotherapy services"
            },
            {
              id: 4,
              title: "Post-Hospital Recovery",              description: "Specialized care for patients transitioning from hospital to home recovery",              imageSrc: "http://img.b2bpic.net/free-photo/couple-expecting-child-hospital-ward-talking-about-parenthood-while-pregnant-woman-sitting-wheelchair-preparing-delivery-child-young-parents-waiting-childbirth-maternity-clinic_482257-64285.jpg",              imageAlt: "Post-hospital recovery care"
            }
          ]}
          textboxLayout="default"
          useInvertedBackground={false}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="how-it-works" data-section="how-it-works">
        <FeatureCardEight
          title="How It Works"
          description="Simple four-step process to get your loved one the care they need"
          tag="Easy Process"
          tagIcon={Zap}
          tagAnimation="slide-up"
          features={[
            {
              id: 1,
              title: "Register & Contact",              description: "Call us or fill out our care request form with your loved one's information",              imageSrc: "http://img.b2bpic.net/free-photo/young-beautiful-female-support-phone-operator-speaking-consulting-office_176420-957.jpg",              imageAlt: "Contact and registration"
            },
            {
              id: 2,
              title: "Share Patient Details",              description: "Tell us about their medical history, current conditions, and specific care needs",              imageSrc: "http://img.b2bpic.net/free-photo/medical-report-record-form-history-patient-concept_53876-125129.jpg",              imageAlt: "Patient details sharing"
            },
            {
              id: 3,
              title: "Choose Care Plan",              description: "Select from our verified caregivers and customized service packages",              imageSrc: "http://img.b2bpic.net/free-photo/chalk-red-circle-surrounded-by-white-contoured-squares_23-2148476824.jpg",              imageAlt: "Care plan selection"
            },
            {
              id: 4,
              title: "Care Begins",              description: "Our professional caregiver arrives at your home to provide compassionate support",              imageSrc: "http://img.b2bpic.net/free-photo/happy-mature-woman-her-husband-receiving-groceries-home-coronavirus-epidemic_637285-8506.jpg",              imageAlt: "Care service delivery"
            }
          ]}
          textboxLayout="default"
          useInvertedBackground={false}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="why-us" data-section="why-us">
        <MetricCardFourteen
          title="Why families choose ElderCare Pro for their loved ones' wellbeing"
          tag="Trust & Quality"
          tagAnimation="slide-up"
          metrics={[
            {
              id: "1",              value: "100%",              description: "Verified & background-checked caregivers with professional credentials"
            },
            {
              id: "2",              value: "24/7",              description: "Round-the-clock support available with emergency escalation protocols"
            },
            {
              id: "3",              value: "Real-time",              description: "Service updates and transparent communication with family members"
            },
            {
              id: "4",              value: "Quality",              description: "Regular performance monitoring and satisfaction guarantees"
            }
          ]}
          metricsAnimation="slide-up"
          useInvertedBackground={false}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardSix
          title="What Families Say About Our Care"
          description="Real testimonials from families who trust ElderCare Pro"
          tag="Client Stories"
          tagIcon={Star}
          tagAnimation="slide-up"
          testimonials={[
            {
              id: "1",              name: "Rajesh Kumar",              handle: "Family of 78-year-old parent",              testimonial: "The caregivers from ElderCare Pro transformed our mother's life. Professional, compassionate, and always on time. We finally have peace of mind.",              imageSrc: "http://img.b2bpic.net/free-photo/closeup-portrait-smiling-friendly-senior-man_1262-1729.jpg",              imageAlt: "Rajesh Kumar"
            },
            {
              id: "2",              name: "Priya Singh",              handle: "Daughter of care recipient",              testimonial: "Excellent nursing care post-surgery. The nurses were highly trained and communicated regularly. I couldn't ask for better support.",              imageSrc: "http://img.b2bpic.net/free-photo/mature-woman-with-grey-hair-posing-with-violet-jacket_343059-55.jpg?_wi=1",              imageAlt: "Priya Singh"
            },
            {
              id: "3",              name: "Arjun Patel",              handle: "Son managing parent's care",              testimonial: "ElderCare Pro's transparency and professionalism set them apart. Our father receives personalized attention every single day.",              imageSrc: "http://img.b2bpic.net/free-photo/senior-man-looking-camera-dental-office-wainting-consultation-elderly-male-smiling-webcam-s_482257-4047.jpg",              imageAlt: "Arjun Patel"
            },
            {
              id: "4",              name: "Meera Sharma",              handle: "Family caregiver",              testimonial: "The physiotherapy team helped my mother regain mobility after her fall. Highly qualified and very encouraging throughout recovery.",              imageSrc: "http://img.b2bpic.net/free-photo/mature-woman-with-grey-hair-posing-with-violet-jacket_343059-55.jpg?_wi=2",              imageAlt: "Meera Sharma"
            },
            {
              id: "5",              name: "Vikram Desai",              handle: "Healthcare coordinator",              testimonial: "Perfect solution for post-hospital care. Seamless coordination with doctors and hospitals. Highly recommended for elder care.",              imageSrc: "http://img.b2bpic.net/free-photo/medical-specialist-with-scrubs-carrying-clipboard-papers-with-test-results_482257-122363.jpg",              imageAlt: "Vikram Desai"
            },
            {
              id: "6",              name: "Anjali Nair",              handle: "Family advocate",              testimonial: "ElderCare Pro treats our elderly relatives like their own family. The dedication and warmth shown is truly commendable.",              imageSrc: "http://img.b2bpic.net/free-photo/older-woman-with-thumb-up_1149-1162.jpg",              imageAlt: "Anjali Nair"
            }
          ]}
          animationType="slide-up"
          title="What Families Say About Our Care"
          description="Real testimonials from families who trust ElderCare Pro"
          textboxLayout="default"
          useInvertedBackground={false}
          buttonAnimation="slide-up"
          speed={40}
        />
      </div>

      <div id="verification" data-section="verification">
        <MediaAbout
          title="Caregiver Verification & Safety"
          description="Every caregiver undergoes rigorous verification to ensure your loved one receives the highest standard of care and safety"
          tag="Safety First"
          tagIcon={CheckCircle}
          tagAnimation="slide-up"
          imageSrc="http://img.b2bpic.net/free-photo/standard-quality-control-collage-concept_23-2149595827.jpg"
          imageAlt="Caregiver verification and screening process"
          useInvertedBackground={false}
          buttons={[{ text: "Learn About Our Process", href: "contact" }]}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqBase
          title="Frequently Asked Questions"
          description="Find answers to common questions about our elder care services"
          tag="Help & Support"
          tagIcon={HelpCircle}
          tagAnimation="slide-up"
          faqs={[
            {
              id: "1",              title: "Are all caregivers verified and background checked?",              content: "Yes, 100% of our caregivers undergo comprehensive background verification, medical screening, and reference checks. We prioritize your loved one's safety above all else."
            },
            {
              id: "2",              title: "Is ElderCare Pro service available in my city?",              content: "ElderCare Pro operates across major cities and metropolitan areas. Please contact us directly at 1-800-CARE-PRO or fill out our request form to check availability in your location."
            },
            {
              id: "3",              title: "How quickly can care services start?",              content: "We offer emergency care services that can begin within 24-48 hours. For planned care, we typically arrange services within 3-5 business days after verification."
            },
            {
              id: "4",              title: "What are your service charges?",              content: "Pricing varies based on service type and duration. Nursing care ranges from ₹500-800/hour, caregiver services from ₹300-500/hour, and physiotherapy from ₹800-1200/session. Custom packages available."
            },
            {
              id: "5",              title: "Is emergency service available 24/7?",              content: "Yes, we maintain 24/7 emergency support with trained coordinators on call. You can reach us anytime for urgent care needs or medical emergencies."
            },
            {
              id: "6",              title: "Can I request a specific caregiver?",              content: "Absolutely! Once you work with our team and find a caregiver you trust, we ensure continuity by assigning them to your loved one whenever possible."
            }
          ]}
          faqsAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          animationType="smooth"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplit
          tag="Get Care Assistance"
          tagIcon={Phone}
          tagAnimation="slide-up"
          title="Request Free Care Consultation"
          description="Tell us about your loved one's care needs and we'll match them with the perfect caregiver. Your information is secure and confidential."
          background={{ variant: "sparkles-gradient" }}
          useInvertedBackground={false}
          imageSrc="http://img.b2bpic.net/free-photo/serious-doctor-discussing-with-senior-couple-about-their-medical-documents-appointment-clinic_637285-1493.jpg?_wi=2"
          imageAlt="Family consultation for elder care services"
          mediaAnimation="slide-up"
          mediaPosition="right"
          inputPlaceholder="Enter your email address"
          buttonText="Request Consultation"
          termsText="Your information is secure and confidential. We respect your privacy and will only contact you regarding your care needs."
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBase
          logoText="ElderCare Pro"
          columns={[
            {
              title: "Services",              items: [
                { label: "Nursing Care", href: "services" },
                { label: "Elderly Attendant", href: "services" },
                { label: "Physiotherapy", href: "services" },
                { label: "Post-Hospital Care", href: "services" }
              ]
            },
            {
              title: "Company",              items: [
                { label: "About Us", href: "why-us" },
                { label: "How It Works", href: "how-it-works" },
                { label: "Testimonials", href: "testimonials" },
                { label: "Contact Us", href: "contact" }
              ]
            },
            {
              title: "Legal",              items: [
                { label: "Privacy Policy", href: "#" },
                { label: "Terms of Service", href: "#" },
                { label: "Healthcare Compliance", href: "#" },
                { label: "Data Security", href: "#" }
              ]
            }
          ]}
          copyrightText="© 2025 ElderCare Pro | Compassionate Elder Care Services"
        />
      </div>
    </ThemeProvider>
  );
}
