"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterSimple from '@/components/sections/footer/FooterSimple';
import HeroBillboardRotatedCarousel from '@/components/sections/hero/HeroBillboardRotatedCarousel';
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import SplitAbout from '@/components/sections/about/SplitAbout';
import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne';
import { CalendarCheck, Clock, ListChecks, Search, Smile, Sparkles, Users } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="hover-bubble"
        defaultTextAnimation="reveal-blur"
        borderRadius="rounded"
        contentWidth="small"
        sizing="mediumLargeSizeLargeTitles"
        background="none"
        cardStyle="inset"
        primaryButtonStyle="gradient"
        secondaryButtonStyle="glass"
        headingFontWeight="bold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleCentered
      navItems={[
        {
          name: "Home",          id: "#hero"},
        {
          name: "Services",          id: "#services"},
        {
          name: "Why Choose Us",          id: "#why-choose-us"},
        {
          name: "Reviews",          id: "#reviews"},
        {
          name: "Service Area",          id: "#service-area"},
        {
          name: "Process",          id: "#process"},
        {
          name: "Realtors",          id: "#realtors"},
        {
          name: "Contact",          id: "#contact"},
      ]}
      button={{
        text: "GET FREE INSPECTION",        href: "#contact"}}
      topBarButton={{
        text: "CALL NOW (562) 462-1644",        href: "tel:+15624621644"}}
      logoSrc="http://img.b2bpic.net/free-photo/biohazard-sign-ai-generated_268835-18721.jpg"
      logoAlt="Enriquez Termite & Pest Control Logo"
      brandName="Enriquez Termite & Pest Control"
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroBillboardRotatedCarousel
      background={{
        variant: "rotated-rays-animated-grid"}}
      title="Protecting Homes & Businesses From Termites and Pests"
      description="Trusted termite inspections and pest control solutions for homeowners, real estate professionals, and businesses throughout Norwalk and surrounding communities."
      tag="★★★★★ 5.0 Star Rated  •  Fast Response Times  •  Local Family-Owned Business  •  Professional Termite Inspections"
      tagIcon={Sparkles}
      tagAnimation="blur-reveal"
      buttons={[
        {
          text: "GET FREE INSPECTION",          href: "#contact"},
        {
          text: "CALL NOW (562) 462-1644",          href: "tel:+15624621644"},
      ]}
      buttonAnimation="slide-up"
      carouselItems={[
        {
          id: "hero-carousel-1",          imageSrc: "http://img.b2bpic.net/free-photo/male-doctor-protective-suit_176474-23782.jpg",          imageAlt: "Professional pest control technician inspecting a beautiful Southern California home"},
        {
          id: "hero-carousel-2",          imageSrc: "http://img.b2bpic.net/free-photo/people-disinfecting-biohazard-area_23-2148848552.jpg",          imageAlt: "Pest control team treating a house attic"},
        {
          id: "hero-carousel-3",          imageSrc: "http://img.b2bpic.net/free-photo/people-wearing-prevention-suits-against-bio-hazard_23-2148849813.jpg",          imageAlt: "Technician inspecting a commercial building for pests"},
        {
          id: "hero-carousel-4",          imageSrc: "http://img.b2bpic.net/free-photo/monochromatic-urban-minimal-landscape_23-2151011500.jpg",          imageAlt: "Family enjoying a clean, pest-free home"},
        {
          id: "hero-carousel-5",          imageSrc: "http://img.b2bpic.net/free-photo/disinfectant-worker-spraying-inside-public-bus-due-coronavirus-pandemic_637285-7918.jpg",          imageAlt: "Pest control professional with tools and equipment"},
        {
          id: "hero-carousel-6",          imageSrc: "http://img.b2bpic.net/free-photo/redhead-woman-taking-care-her-plants-greenhouse_23-2149037290.jpg",          imageAlt: "Pest control technician inspecting a residential garden"},
      ]}
      autoPlay={true}
      autoPlayInterval={4000}
    />
  </div>

  <div id="social-proof" data-section="social-proof">
      <SocialProofOne
      textboxLayout="default"
      useInvertedBackground={false}
      names={[
        "★★★★★ 5.0 Rating",        "6 Verified Reviews",        "Years of Experience",        "Norwalk",        "Cerritos",        "Downey",        "Bellflower",        "Lakewood",        "Whittier",        "Santa Fe Springs",        "La Mirada"]}
      title="Trusted by Homeowners, Realtors & Businesses"
      description="Enriquez Termite & Pest Control has earned a 5.0-star rating across 6 verified reviews, reflecting years of dedicated service to our community."
      speed={40}
      showCard={false}
    />
  </div>

  <div id="services" data-section="services">
      <ProductCardThree
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={true}
      carouselMode="buttons"
      products={[
        {
          id: "service-1",          name: "Termite Inspections",          price: "Free Estimate",          imageSrc: "http://img.b2bpic.net/free-photo/purple-magnifying-data-search-research-looking-buy-icon-ecommerce-business-icon-online-shopping-concept-3d-illustration_56104-2111.jpg",          imageAlt: "Termite inspection icon"},
        {
          id: "service-2",          name: "Termite Treatment",          price: "Custom Quote",          imageSrc: "http://img.b2bpic.net/free-vector/round-buttons-with-insects_1308-86304.jpg",          imageAlt: "Termite treatment icon"},
        {
          id: "service-3",          name: "General Pest Control",          price: "Starting at $XX",          imageSrc: "http://img.b2bpic.net/free-vector/coronavirus-prevention-infographic_23-2148532672.jpg",          imageAlt: "General pest control icon"},
        {
          id: "service-4",          name: "Rodent Control",          price: "Custom Quote",          imageSrc: "http://img.b2bpic.net/free-vector/exterminator-pest-control-flat-icons-set_98292-2225.jpg",          imageAlt: "Rodent control icon"},
        {
          id: "service-5",          name: "Ant Control",          price: "Starting at $XX",          imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=pa2wj0",          imageAlt: "Ant control icon"},
        {
          id: "service-6",          name: "Spider Control",          price: "Starting at $XX",          imageSrc: "http://img.b2bpic.net/free-photo/mexican-redknee-tarantula-crawling-open-human-palm_1308-189431.jpg",          imageAlt: "Spider control icon"},
        {
          id: "service-7",          name: "Commercial Pest Management",          price: "Custom Quote",          imageSrc: "http://img.b2bpic.net/free-photo/person-wearing-prevention-suit-against-bio-hazard_23-2148849821.jpg",          imageAlt: "Commercial pest management icon"},
      ]}
      title="Comprehensive Pest Control Services"
      description="Offering professional and effective solutions to protect your home and business from unwanted pests."
    />
  </div>

  <div id="why-choose-us" data-section="why-choose-us">
      <SplitAbout
      textboxLayout="default"
      useInvertedBackground={false}
      imagePosition="right"
      title="Why Choose Enriquez Termite & Pest Control?"
      description="Experience the difference of a local, family-owned business dedicated to your peace of mind and long-term home protection."
      bulletPoints={[
        {
          title: "Experienced Professionals",          description: "Our certified technicians bring years of expertise to every job, ensuring thorough and effective pest control solutions.",          icon: Users,
        },
        {
          title: "Reliable Service",          description: "We are punctual, efficient, and committed to delivering consistent, high-quality service you can count on.",          icon: CalendarCheck,
        },
        {
          title: "Honest Recommendations",          description: "We provide transparent assessments and practical solutions tailored to your specific needs, never overselling.",          icon: ListChecks,
        },
        {
          title: "Fast Scheduling",          description: "We understand the urgency of pest problems and offer flexible, rapid scheduling to address your concerns quickly.",          icon: Clock,
        },
        {
          title: "Attention To Detail",          description: "From inspection to treatment, we focus on every detail to ensure complete eradication and prevention.",          icon: Search,
        },
        {
          title: "Customer Satisfaction Focused",          description: "Your satisfaction is our priority. We go above and beyond to ensure a pest-free environment and a positive experience.",          icon: Smile,
        },
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/people-working-together-donation-facility_23-2148687355.jpg"
      imageAlt="Smiling pest control technician or family-owned business team"
      mediaAnimation="slide-up"
    />
  </div>

  <div id="reviews" data-section="reviews">
      <TestimonialCardOne
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={true}
      carouselMode="auto"
      testimonials={[
        {
          id: "review-1",          name: "Carla J.",          role: "Realtor",          company: "North Orange County",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/happy-beautiful-blonde-woman-wearing-white-shirt-standing-co-working-space-leaning-desk_74855-15151.jpg",          imageAlt: "Carla J. avatar"},
        {
          id: "review-2",          name: "Julio T.",          role: "Homeowner",          company: "Norwalk, CA",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/young-handsome-man-grey-shirt-looking-aside-smiling-confident-with-arms-crossed-chest_141793-55366.jpg",          imageAlt: "Julio T. avatar"},
        {
          id: "review-3",          name: "Mike E.",          role: "Business Owner",          company: "Lakewood, CA",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/happy-smiling-guy-glasses-sits-cafe-shows-peace-sign-laptop-camera-video-chats-connects_1258-314853.jpg",          imageAlt: "Mike E. avatar"},
        {
          id: "review-4",          name: "Christina L.",          role: "Homeowner",          company: "Cerritos, CA",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/teen-age-youth-style-self-expression-concept-portrait-positive-happy-teenage-girl-with-bob-pinkish-hairstyle-facial-piercing-relaxing-indoors_343059-3781.jpg",          imageAlt: "Christina L. avatar"},
        {
          id: "review-5",          name: "Cameron A.",          role: "Property Manager",          company: "Downey, CA",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/handsome-man-outdoors-portrait_158595-3552.jpg",          imageAlt: "Cameron A. avatar"},
      ]}
      title="What Our Clients Say"
      description="Real feedback from satisfied homeowners, real estate professionals, and businesses across Southern California."
    />
  </div>

  <div id="service-area" data-section="service-area">
      <SplitAbout
      textboxLayout="default"
      useInvertedBackground={false}
      imagePosition="left"
      title="Proudly Serving Southeast Los Angeles County"
      description="We extend our expert termite and pest control services to Norwalk, Cerritos, Downey, Bellflower, Lakewood, Whittier, Santa Fe Springs, La Mirada, and all surrounding communities. No matter where you are in our service area, we're ready to help protect your property."
      bulletPoints={[
        {
          title: "Norwalk, CA",          description: "Expert services for homes and businesses."},
        {
          title: "Cerritos, CA",          description: "Comprehensive pest solutions for modern living."},
        {
          title: "Downey, CA",          description: "Reliable and fast response times for all pest needs."},
        {
          title: "Bellflower, CA",          description: "Dedicated service ensuring pest-free environments."},
        {
          title: "Lakewood, CA",          description: "Trusted by homeowners for effective pest management."},
        {
          title: "Whittier, CA",          description: "Your local experts for termite and general pest control."},
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/kansas-state-seen-from-magnifying-glass_23-2148232488.jpg"
      imageAlt="Map of Southeast Los Angeles County service areas"
      mediaAnimation="opacity"
    />
  </div>

  <div id="process" data-section="process">
      <SplitAbout
      textboxLayout="default"
      useInvertedBackground={true}
      imagePosition="right"
      title="Our Effective Pest Control Process"
      description="Our streamlined approach ensures thorough and lasting pest elimination, from initial assessment to ongoing protection."
      bulletPoints={[
        {
          title: "Step 1: Schedule Your Inspection",          description: "Contact us to arrange a convenient time for a detailed property inspection by our certified technicians."},
        {
          title: "Step 2: Property Evaluation & Plan",          description: "We conduct a comprehensive assessment to identify pest issues, then develop a customized treatment and prevention plan."},
        {
          title: "Step 3: Treatment & Ongoing Protection",          description: "Our experts apply targeted treatments and advise on preventative measures for long-term protection against future infestations."},
      ]}
      imageSrc="http://img.b2bpic.net/free-vector/pest-control-infographics_1284-15470.jpg"
      imageAlt="Animated timeline graphic representing 3 steps of pest control process"
      mediaAnimation="slide-up"
    />
  </div>

  <div id="realtors" data-section="realtors">
      <SplitAbout
      textboxLayout="default"
      useInvertedBackground={false}
      imagePosition="left"
      title="Trusted By Realtors Throughout Southern California"
      description="We understand the importance of timely termite inspections and clear reporting for real estate transactions. Realtors rely on Enriquez Termite & Pest Control for professionalism, responsiveness, and expertise."
      buttons={[
        {
          text: "Partner With Us",          href: "#contact"},
      ]}
      bulletPoints={[]}
      imageSrc="http://img.b2bpic.net/free-photo/two-doctors-protective-suit-gloves-holding-house-model-looking-cheerful_176474-23911.jpg"
      imageAlt="Realtor shaking hands with a pest control technician"
      mediaAnimation="opacity"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactSplitForm
      useInvertedBackground={true}
      title="Think You Have Termites or a Pest Problem? Schedule Your Free Inspection Today!"
      description="The sooner the issue is identified, the easier and more affordable it is to address. Contact Enriquez Termite & Pest Control for professional services in Southern California."
      inputs={[
        {
          name: "name",          type: "text",          placeholder: "Your Name",          required: true,
        },
        {
          name: "phone",          type: "tel",          placeholder: "Phone Number",          required: true,
        },
        {
          name: "email",          type: "email",          placeholder: "Email Address",          required: true,
        },
        {
          name: "propertyAddress",          type: "text",          placeholder: "Property Address",          required: true,
        },
        {
          name: "serviceNeeded",          type: "text",          placeholder: "Service Needed (e.g., Termite Inspection, Rodent Control)",          required: false,
        },
      ]}
      textarea={{
        name: "message",        placeholder: "Your Message",        rows: 4,
        required: false,
      }}
      imageSrc="http://img.b2bpic.net/free-photo/bucharest-romania-july-30th-2024-businessman-relaxes-with-netflix-office_482257-123031.jpg"
      imageAlt="Google Map showing Enriquez Termite & Pest Control address in Norwalk, CA"
      mediaAnimation="opacity"
      mediaPosition="left"
      buttonText="Request Inspection"
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterSimple
      columns={[
        {
          title: "Quick Links",          items: [
            {
              label: "Home",              href: "#hero"},
            {
              label: "Services",              href: "#services"},
            {
              label: "Why Choose Us",              href: "#why-choose-us"},
            {
              label: "Reviews",              href: "#reviews"},
          ],
        },
        {
          title: "Services",          items: [
            {
              label: "Termite Inspections",              href: "#services"},
            {
              label: "Termite Treatment",              href: "#services"},
            {
              label: "General Pest Control",              href: "#services"},
            {
              label: "Rodent Control",              href: "#services"},
            {
              label: "Ant Control",              href: "#services"},
            {
              label: "Spider Control",              href: "#services"},
            {
              label: "Commercial Pest Management",              href: "#services"},
          ],
        },
        {
          title: "Contact Information",          items: [
            {
              label: "Phone: (562) 462-1644",              href: "tel:+15624621644"},
            {
              label: "Address: 12348 Front St, Norwalk, CA 90650",              href: "https://maps.app.goo.gl/example"},
          ],
        },
        {
          title: "Service Areas",          items: [
            {
              label: "Norwalk",              href: "#service-area"},
            {
              label: "Cerritos",              href: "#service-area"},
            {
              label: "Downey",              href: "#service-area"},
            {
              label: "Bellflower",              href: "#service-area"},
            {
              label: "Lakewood",              href: "#service-area"},
            {
              label: "Whittier",              href: "#service-area"},
          ],
        },
      ]}
      bottomLeftText="© 2024 Enriquez Termite & Pest Control. All rights reserved."
      bottomRightText="Made with ❤️ by Webild"
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
