"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from "@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen";
import HeroSplitDoubleCarousel from "@/components/sections/hero/HeroSplitDoubleCarousel";
import FeatureCardTwentyFive from "@/components/sections/feature/FeatureCardTwentyFive";
import AboutMetric from "@/components/sections/about/AboutMetric";
import MetricCardFourteen from "@/components/sections/metrics/MetricCardFourteen";
import TestimonialCardFive from "@/components/sections/testimonial/TestimonialCardFive";
import SocialProofOne from "@/components/sections/socialProof/SocialProofOne";
import FooterLogoEmphasis from "@/components/sections/footer/FooterLogoEmphasis";
import Link from "next/link";
import {
  CheckCircle,
  Zap,
  AlertCircle,
  Shield,
  Lightbulb,
  Award,
  Users,
} from "lucide-react";

export default function HomePage() {
  return (
    <ThemeProvider
      defaultButtonVariant="shift-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="rounded"
      contentWidth="medium"
      sizing="largeSmallSizeMediumTitles"
      background="none"
      cardStyle="soft-shadow"
      primaryButtonStyle="flat"
      secondaryButtonStyle="layered"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          navItems={[
            { name: "Home", id: "/" },
            { name: "Services", id: "/services" },
            { name: "About", id: "/about" },
            { name: "Contact", id: "/contact" },
            { name: "FAQ", id: "#faq" },
          ]}
          brandName="Local Pro Services"
          bottomLeftText="Serving Your Community"
          bottomRightText="Call: (555) 123-4567"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplitDoubleCarousel
          tag="Trusted Local Service Provider"
          tagIcon={CheckCircle}
          title="Fast, Reliable Service You Can Trust"
          description="Serving your community with professional expertise since 2012. We're committed to exceeding your expectations with dependable service, transparent pricing, and rapid response times."
          background={{ variant: "plain" }}
          buttons={[
            { text: "Call Now: (555) 123-4567", href: "tel:+15551234567" },
            { text: "Get Free Quote", href: "/contact" },
          ]}
          leftCarouselItems={[
            {
              imageSrc:
                "http://img.b2bpic.net/free-photo/young-manual-worker-presenting-new-business-strategy-company-managers-his-colleagues-factory_637285-4142.jpg",
              imageAlt: "Professional service team",
            },
            {
              imageSrc:
                "http://img.b2bpic.net/free-photo/manufacturer-teaching-new-employee-how-shape-wooden-bowl-disc-sander_482257-99053.jpg",
              imageAlt: "Quality workmanship",
            },
            {
              imageSrc:
                "http://img.b2bpic.net/free-photo/joyful-young-bald-call-center-man-wearing-headset-sitting-desk-with-work-tools-doing-ok-sign-showing-thumb-up-laptop-isolated-white_141793-84103.jpg",
              imageAlt: "Customer satisfaction",
            },
            {
              imageSrc:
                "http://img.b2bpic.net/free-vector/flat-design-patented-stamp-collection_23-2149752886.jpg",
              imageAlt: "Licensed and insured",
            },
          ]}
          rightCarouselItems={[
            {
              imageSrc:
                "http://img.b2bpic.net/free-photo/smiling-man-sitting-cafe-table-gesturing_1262-1141.jpg",
              imageAlt: "Happy customer",
            },
            {
              imageSrc:
                "http://img.b2bpic.net/free-photo/mid-adult-manager-car-mechanic-talking-while-using-computer-auto-repair-shop_637285-7570.jpg",
              imageAlt: "Service excellence",
            },
            {
              imageSrc:
                "http://img.b2bpic.net/free-photo/fighting-hunger-poverty-together_482257-84897.jpg?_wi=1",
              imageAlt: "Community trust",
            },
            {
              imageSrc:
                "http://img.b2bpic.net/free-photo/mid-adult-manager-using-digital-tablet-while-talking-car-mechanics-auto-repair-shop_637285-4225.jpg",
              imageAlt: "Professional team",
            },
          ]}
        />
      </div>

      <div id="services" data-section="services">
        <FeatureCardTwentyFive
          title="Our Services"
          description="We provide comprehensive solutions tailored to your needs. From emergency repairs to routine maintenance, we're here to help."
          tag="What We Offer"
          tagIcon={Zap}
          features={[
            {
              title: "Emergency Repairs",
              description:
                "Available 24/7 for urgent service needs. We respond quickly to minimize disruption to your business or home.",
              icon: AlertCircle,
              mediaItems: [
                {
                  imageSrc:
                    "http://img.b2bpic.net/free-photo/handsome-young-male-paramedic-talking-by-portable-radio-while-sitting-ambulance_657921-1517.jpg?_wi=1",
                  imageAlt: "Quick response team",
                },
                {
                  imageSrc:
                    "http://img.b2bpic.net/free-photo/medical-practitioner-answering-phone-calls_482257-6464.jpg?_wi=1",
                  imageAlt: "Professional technician",
                },
              ],
            },
            {
              title: "Preventive Maintenance",
              description:
                "Regular maintenance keeps systems running smoothly and prevents costly problems. Schedule your service today.",
              icon: Shield,
              mediaItems: [
                {
                  imageSrc:
                    "http://img.b2bpic.net/free-photo/senior-asian-female-homeowner-talking-maintenance-worker-kitchen_1098-17786.jpg?_wi=1",
                  imageAlt: "Routine maintenance",
                },
                {
                  imageSrc:
                    "http://img.b2bpic.net/free-photo/solar-panel-manufacturing-plant-researcher-taking-notes-files_482257-125791.jpg?_wi=1",
                  imageAlt: "System inspection",
                },
              ],
            },
            {
              title: "System Upgrades",
              description:
                "Modernize your systems with energy-efficient solutions. Save money on utility bills while improving performance.",
              icon: Zap,
              mediaItems: [
                {
                  imageSrc:
                    "http://img.b2bpic.net/free-photo/data-center-specialist-using-ai-deep-learning-algorithms-laptop_482257-125075.jpg?_wi=1",
                  imageAlt: "Modern equipment",
                },
                {
                  imageSrc:
                    "http://img.b2bpic.net/free-photo/new-technologies-factory_1098-13994.jpg?_wi=1",
                  imageAlt: "Installation process",
                },
              ],
            },
            {
              title: "Consultation & Planning",
              description:
                "Free expert consultation to assess your needs and create a tailored solution. No obligation or hidden costs.",
              icon: Lightbulb,
              mediaItems: [
                {
                  imageSrc:
                    "http://img.b2bpic.net/free-photo/broker-offering-agreement-contract-elderly-couple_482257-115634.jpg",
                  imageAlt: "Expert consultation",
                },
                {
                  imageSrc:
                    "http://img.b2bpic.net/free-photo/business-people-meeting_53876-13583.jpg",
                  imageAlt: "Planning session",
                },
              ],
            },
          ]}
          animationType="blur-reveal"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="why-us" data-section="why-us">
        <AboutMetric
          title="Why Choose Local Pro Services? We bring years of expertise, unwavering commitment to quality, and genuine care for our customers."
          metrics={[
            { icon: Award, label: "Years in Business", value: "12+" },
            { icon: Users, label: "Satisfied Customers", value: "5,000+" },
            { icon: CheckCircle, label: "Jobs Completed", value: "98%" },
            { icon: Shield, label: "Licensed & Insured", value: "Certified" },
          ]}
          metricsAnimation="slide-up"
          useInvertedBackground={false}
        />
      </div>

      <div id="process" data-section="process">
        <MetricCardFourteen
          title="Our Simple, Transparent Process"
          tag="How We Work"
          metrics={[
            {
              id: "1",
              value: "Step 1",
              description:
                "Contact us via phone or complete our online form. We'll schedule an appointment at your convenience.",
            },
            {
              id: "2",
              value: "Step 2",
              description:
                "Our experts assess your needs and provide a detailed quote with no hidden fees or obligations.",
            },
            {
              id: "3",
              value: "Step 3",
              description:
                "We execute the work with professionalism and care, keeping you informed throughout the process.",
            },
          ]}
          metricsAnimation="slide-up"
          useInvertedBackground={false}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFive
          title="What Our Customers Say"
          description="Real feedback from real customers in our community"
          tag="Customer Reviews"
          textboxLayout="default"
          useInvertedBackground={false}
          testimonials={[
            {
              id: "1",
              name: "Sarah Johnson, Homeowner",
              date: "Date: 15 November 2024",
              title: "Exceptional service and professionalism!",
              quote:
                "Local Pro Services exceeded all my expectations. They arrived on time, completed the work efficiently, and explained everything clearly. I'll definitely call them again for any future needs.",
              tag: "Verified Customer",
              avatarSrc:
                "http://img.b2bpic.net/free-photo/casual-smile-street-style-background-spring_1139-777.jpg",
              avatarAlt: "Sarah Johnson",
              imageSrc:
                "http://img.b2bpic.net/free-photo/happy-adult-son-his-mature-father-holding-hands-while-greeting-each-other-kitchen_637285-10296.jpg",
              imageAlt: "Happy homeowner",
            },
            {
              id: "2",
              name: "Michael Chen, Small Business Owner",
              date: "Date: 8 November 2024",
              title: "Reliable and trustworthy professionals",
              quote:
                "We've used Local Pro Services for over a year now. They're responsive, professional, and always deliver quality work. Their team is genuinely interested in solving problems, not just making quick money.",
              tag: "Verified Customer",
              avatarSrc:
                "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",
              avatarAlt: "Michael Chen",
              imageSrc:
                "http://img.b2bpic.net/free-photo/portrait-handsome-african-barista-standing-with-crossed-arms-counter-trendy-coffee-shop_613910-21100.jpg",
              imageAlt: "Business owner",
            },
            {
              id: "3",
              name: "Emily Rodriguez, Property Manager",
              date: "Date: 2 November 2024",
              title: "Best service provider we've worked with",
              quote:
                "Managing multiple properties, I need reliable service providers. Local Pro Services is our go-to choice. Their fast response time and commitment to quality make them invaluable to our operations.",
              tag: "Verified Customer",
              avatarSrc:
                "http://img.b2bpic.net/free-photo/successful-businesswoman-ready-challenges_1163-4336.jpg",
              avatarAlt: "Emily Rodriguez",
              imageSrc:
                "http://img.b2bpic.net/free-photo/smiling-real-estate-agent-talking-with-couple-interested-buying-new-home_637285-6081.jpg",
              imageAlt: "Property management",
            },
            {
              id: "4",
              name: "David Kim, Restaurant Owner",
              date: "Date: 25 October 2024",
              title: "Professional and efficient",
              quote:
                "When our system failed during business hours, Local Pro Services was there within hours. They fixed the problem quickly, minimizing our downtime. Their transparent pricing and professional approach set them apart.",
              tag: "Verified Customer",
              avatarSrc:
                "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",
              avatarAlt: "David Kim",
              imageSrc:
                "http://img.b2bpic.net/free-photo/woman-looking-through-menu-restaurant_23-2150520059.jpg",
              imageAlt: "Restaurant interior",
            },
            {
              id: "5",
              name: "Jennifer Martinez, Homeowner",
              date: "Date: 18 October 2024",
              title: "True community service",
              quote:
                "I appreciated how they took time to explain the work and options. They didn't push unnecessary upgrades, just honest recommendations. This is the kind of service you want to support.",
              tag: "Verified Customer",
              avatarSrc:
                "http://img.b2bpic.net/free-photo/casual-smile-street-style-background-spring_1139-777.jpg",
              avatarAlt: "Jennifer Martinez",
              imageSrc:
                "http://img.b2bpic.net/free-photo/happy-man-taking-keys-from-realtor-woman-standing-indoors_259150-58367.jpg",
              imageAlt: "Home interior",
            },
            {
              id: "6",
              name: "Robert Taylor, Senior Community Member",
              date: "Date: 10 October 2024",
              title: "Respectful and helpful",
              quote:
                "They treated my home with respect and answered all my questions patiently. The crew was courteous and left everything clean. I recommend them to all my friends.",
              tag: "Verified Customer",
              avatarSrc:
                "http://img.b2bpic.net/free-photo/senior-man-looking-camera-dental-office-wainting-consultation-elderly-male-smiling-webcam-s_482257-4047.jpg",
              avatarAlt: "Robert Taylor",
              imageSrc:
                "http://img.b2bpic.net/free-photo/fighting-hunger-poverty-together_482257-84897.jpg?_wi=2",
              imageAlt: "Community service",
            },
          ]}
        />
      </div>

      <div id="service-areas" data-section="service-areas">
        <SocialProofOne
          title="Proudly Serving Your Community"
          description="We're local, we're trusted, and we're committed to your neighborhood"
          tag="Service Areas"
          textboxLayout="default"
          useInvertedBackground={false}
          names={[
            "Downtown District",
            "Westside Neighborhoods",
            "Eastside Heights",
            "North Valley",
            "South Park Area",
            "Central Plaza",
            "Riverside Community",
            "Hill Country",
          ]}
          showCard={true}
          speed={40}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterLogoEmphasis
          logoText="Local Pro Services"
          columns={[
            {
              items: [
                { label: "Home", href: "/" },
                { label: "Services", href: "/services" },
                { label: "About Us", href: "/about" },
              ],
            },
            {
              items: [
                { label: "Contact Us", href: "/contact" },
                { label: "FAQ", href: "#faq" },
                { label: "Request Quote", href: "/contact" },
              ],
            },
            {
              items: [
                { label: "Call: (555) 123-4567", href: "tel:+15551234567" },
                {
                  label: "Email: info@localproservices.com",
                  href: "mailto:info@localproservices.com",
                },
                {
                  label: "Mon-Fri: 8am-6pm | Sat: 9am-2pm",
                  href: "#",
                },
              ],
            },
            {
              items: [
                { label: "Privacy Policy", href: "#" },
                { label: "Terms of Service", href: "#" },
                { label: "Sitemap", href: "#" },
              ],
            },
          ]}
        />
      </div>
    </ThemeProvider>
  );
}