"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from "@/components/navbar/NavbarStyleApple/NavbarStyleApple";
import HeroSplit from "@/components/sections/hero/HeroSplit";
import TestimonialAboutCard from "@/components/sections/about/TestimonialAboutCard";
import TestimonialCardTen from "@/components/sections/testimonial/TestimonialCardTen";
import FeatureCardTwentySeven from "@/components/sections/feature/FeatureCardTwentySeven";
import MetricCardFourteen from "@/components/sections/metrics/MetricCardFourteen";
import ContactCenter from "@/components/sections/contact/ContactCenter";
import FooterBase from "@/components/sections/footer/FooterBase";
import { Heart, Star, CheckCircle, Users, Briefcase, MessageSquare, Send } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="icon-arrow"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="mediumLarge"
      sizing="largeSmallSizeMediumTitles"
      background="aurora"
      cardStyle="outline"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="glass"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          brandName="Quality Care"
          navItems={[
            { name: "About", id: "about" },
            { name: "Services", id: "services" },
            { name: "Why Us", id: "why-us" },
            { name: "Testimonials", id: "testimonials" },
            { name: "Contact", id: "contact-cta" },
          ]}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplit
          title="Compassionate Care. Peace of Mind at Home."
          description="Trusted, reliable in-home care tailored to your family's needs — because your loved ones deserve the very best."
          background={{ variant: "plain" }}
          tag="In-Home Care"
          tagIcon={Heart}
          tagAnimation="slide-up"
          buttons={[
            { text: "Schedule a Free Consultation", href: "contact-cta" },
            { text: "Call Us Today", href: "#" },
          ]}
          buttonAnimation="slide-up"
          imageSrc="http://img.b2bpic.net/free-photo/happy-nurse-holding-laughing-elderly-man-hand-wheelchair-garden-nursing-home_554837-115.jpg"
          imageAlt="Caregiver assisting elderly woman at home"
          mediaAnimation="slide-up"
          imagePosition="right"
        />
      </div>

      <div id="trust" data-section="trust">
        <TestimonialAboutCard
          tag="Trusted by Families"
          tagIcon={Star}
          tagAnimation="slide-up"
          title="Maira listened to all of our needs and gave us the best aides. She put all our worries at ease."
          description="Real Family Experience"
          subdescription="⭐⭐⭐⭐⭐ 5-Star Rated"
          icon={CheckCircle}
          imageSrc="http://img.b2bpic.net/free-photo/beautiful-doctor-uniform-hospital_23-2148733955.jpg"
          imageAlt="Happy family with caregiver"
          mediaAnimation="slide-up"
          useInvertedBackground={false}
        />
      </div>

      <div id="about" data-section="about">
        <TestimonialCardTen
          testimonials={[
            {
              id: "1",              title: "Our Mission",              quote: "To provide exceptional care that allows seniors to live safely, comfortably, and independently at home.",              name: "Quality Care",              role: "Commitment to Excellence",              imageSrc: "http://img.b2bpic.net/free-photo/serious-doctor-discussing-with-senior-couple-about-their-medical-documents-appointment-clinic_637285-1493.jpg",              imageAlt: "Care team in action"},
          ]}
          title="A Team That Treats You Like Family"
          description="At Quality Care Home Care LLC, we understand that inviting someone into your home is a big decision. That's why we focus on listening first. Maira and our dedicated team take the time to understand your concerns, your loved one's needs, and your family's goals. Whether it's your first experience with home care or you're transitioning from another provider, we ensure the process feels simple, reassuring, and supportive."
          tag="Our Story"
          tagIcon={Users}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="services" data-section="services">
        <FeatureCardTwentySeven
          features={[
            {
              id: "1",              title: "Companion Care",              description: "Social engagement, conversation, and companionship to reduce isolation and improve emotional well-being.",              imageSrc: "http://img.b2bpic.net/free-photo/happy-woman-embracing-her-senior-father-home_637285-8556.jpg",              imageAlt: "Companion care services"},
            {
              id: "2",              title: "Personal Care Assistance",              description: "Help with bathing, grooming, dressing, and other activities of daily living with dignity and respect.",              imageSrc: "http://img.b2bpic.net/free-photo/medical-caregiver-uses-thermometer-senior-patients-check-temperature_482257-112733.jpg",              imageAlt: "Personal care assistance"},
            {
              id: "3",              title: "Medication Reminders",              description: "Careful tracking and reminders to ensure medications are taken on schedule for optimal health outcomes.",              imageSrc: "http://img.b2bpic.net/free-photo/happy-woman-embracing-her-senior-father-home_637285-8556.jpg",              imageAlt: "Medication management"},
            {
              id: "4",              title: "Mobility Support",              description: "Assistance with walking, transfers, and physical activities to maintain independence and safety.",              imageSrc: "http://img.b2bpic.net/free-photo/old-woman-nursing-home-walking-with-crutches-with-help-from-female-nurse_482257-45331.jpg",              imageAlt: "Mobility and physical support"},
            {
              id: "5",              title: "Light Housekeeping",              description: "Help with cleaning, laundry, and household organization to maintain a safe, comfortable home.",              imageSrc: "http://img.b2bpic.net/free-photo/happy-woman-embracing-her-senior-father-home_637285-8556.jpg",              imageAlt: "Housekeeping services"},
            {
              id: "6",              title: "Meal Preparation",              description: "Nutritious, home-cooked meals tailored to dietary preferences and health needs.",              imageSrc: "http://img.b2bpic.net/free-photo/happy-woman-embracing-her-senior-father-home_637285-8556.jpg",              imageAlt: "Meal preparation"},
            {
              id: "7",              title: "Respite Care",              description: "Temporary care allowing family caregivers time for rest and personal needs without worry.",              imageSrc: "http://img.b2bpic.net/free-photo/medical-caregiver-uses-thermometer-senior-patients-check-temperature_482257-112733.jpg",              imageAlt: "Respite care services"},
            {
              id: "8",              title: "Care Planning",              description: "Personalized care plans developed through listening to your family's unique needs and goals.",              imageSrc: "http://img.b2bpic.net/free-photo/happy-woman-embracing-her-senior-father-home_637285-8556.jpg",              imageAlt: "Care planning"},
          ]}
          title="Personalized In-Home Care Services"
          description="We offer a comprehensive range of care services tailored to your loved one's unique needs and lifestyle."
          tag="Our Services"
          tagIcon={Briefcase}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          gridVariant="uniform-4-items"
          animationType="slide-up"
          buttons={[{ text: "Create a Care Plan Today", href: "contact-cta" }]}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="why-us" data-section="why-us">
        <MetricCardFourteen
          title="Why Families Trust Quality Care Home Care LLC"
          tag="Our Difference"
          tagAnimation="slide-up"
          metrics={[
            {
              id: "1",              value: "✓",              description: "We Listen First — Understanding your concerns and goals before anything else."},
            {
              id: "2",              value: "✓",              description: "Carefully Matched Caregivers — Perfect pairing of caregiver and loved one for trust and comfort."},
            {
              id: "3",              value: "✓",              description: "Compassionate & Courteous Staff — Professional caregivers who treat your family like their own."},
            {
              id: "4",              value: "✓",              description: "Reliable & Responsible Service — Dependable care you can count on, every single day."},
          ]}
          metricsAnimation="slide-up"
          useInvertedBackground={false}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTen
          testimonials={[
            {
              id: "1",              title: "Exceptional Service and Peace of Mind",              quote: "My family and I have had a great experience with Quality Care Homecare. Maira is so helpful and has put all our worries at ease since this is our first experience with aides. We would highly recommend Quality Care Homecare.",              name: "Maira",              role: "Family Care Coordinator",              imageSrc: "http://img.b2bpic.net/free-photo/beautiful-doctor-uniform-hospital_23-2148733955.jpg",              imageAlt: "Maira, care coordinator"},
            {
              id: "2",              title: "Professional and Courteous",              quote: "Excellent service. Responsible and courteous staff. Highly recommended!",              name: "Family Member",              role: "Satisfied Client",              imageSrc: "http://img.b2bpic.net/free-photo/beautiful-doctor-uniform-hospital_23-2148733955.jpg",              imageAlt: "Happy family testimonial"},
            {
              id: "3",              title: "Caring and Dependable",              quote: "Quality Care provided us with caregivers who truly cared about our loved one's well-being. Their attention to detail and compassion made all the difference.",              name: "Adult Child",              role: "Primary Decision Maker",              imageSrc: "http://img.b2bpic.net/free-photo/serious-doctor-discussing-with-senior-couple-about-their-medical-documents-appointment-clinic_637285-1493.jpg",              imageAlt: "Family with caregiver"},
            {
              id: "4",              title: "Peace of Mind for Our Family",              quote: "We knew our mother was in good hands. The caregivers were responsible, kind, and professional. We couldn't ask for better.",              name: "Family Group",              role: "Multi-Generational Care",              imageSrc: "http://img.b2bpic.net/free-photo/serious-doctor-discussing-with-senior-couple-about-their-medical-documents-appointment-clinic_637285-1493.jpg",              imageAlt: "Multi-generational family care"},
          ]}
          title="Trusted by Families"
          description="Hear from families who have experienced the Quality Care difference."
          tag="Client Stories"
          tagIcon={MessageSquare}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="contact-cta" data-section="contact-cta">
        <ContactCenter
          tag="Ready to Start?"
          tagIcon={Send}
          tagAnimation="slide-up"
          title="Let's Create the Right Care Plan for Your Family"
          description="Book a free consultation today and discover how simple and comforting home care can be. Our team is ready to listen and help."
          background={{ variant: "plain" }}
          useInvertedBackground={false}
          inputPlaceholder="Enter your email"
          buttonText="Schedule Consultation"
          termsText="We respect your privacy. We'll only use your information to help create your personalized care plan."
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBase
          logoText="Quality Care Home Care LLC"
          copyrightText="© 2025 Quality Care Home Care LLC. All rights reserved."
          columns={[
            {
              title: "Company",              items: [
                { label: "About", href: "#about" },
                { label: "Services", href: "#services" },
                { label: "Why Us", href: "#why-us" },
              ],
            },
            {
              title: "Support",              items: [
                { label: "Contact", href: "#contact-cta" },
                { label: "Testimonials", href: "#testimonials" },
                { label: "FAQ", href: "#" },
              ],
            },
            {
              title: "Legal",              items: [
                { label: "Privacy Policy", href: "#" },
                { label: "Terms of Service", href: "#" },
              ],
            },
          ]}
        />
      </div>
    </ThemeProvider>
  );
}
