"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import HeroSplitTestimonial from '@/components/sections/hero/HeroSplitTestimonial';
import FeatureCardNine from '@/components/sections/feature/FeatureCardNine';
import InlineImageSplitTextAbout from '@/components/sections/about/InlineImageSplitTextAbout';
import TestimonialCardThirteen from '@/components/sections/testimonial/TestimonialCardThirteen';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterSimple from '@/components/sections/footer/FooterSimple';
import { Sparkles, Zap, Star, Phone } from 'lucide-react';

export default function LandingPage() {
  const handleCallClick = () => {
    window.location.href = 'tel:559-400-9003';
  };

  return (
    <ThemeProvider
      defaultButtonVariant="shift-hover"
      defaultTextAnimation="reveal-blur"
      borderRadius="rounded"
      contentWidth="medium"
      sizing="largeSmallSizeLargeTitles"
      background="circleGradient"
      cardStyle="glass-depth"
      primaryButtonStyle="shadow"
      secondaryButtonStyle="glass"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          navItems={[
            { name: "Services", id: "services" },
            { name: "Why Us", id: "why-us" },
            { name: "Reviews", id: "testimonials" },
            { name: "Contact", id: "contact" },
            { name: "Call Now", id: "tel:559-400-9003" }
          ]}
          brandName="Jack's Pressure Washing"
          bottomLeftText="Happy to serve my neighbors"
          bottomRightText="559-400-9003"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplitTestimonial
          title="Jack's Pressure Washing"
          description="Driveways • Patios • Trash Cans • Car Wash • & More"
          tag="Happy to serve my neighbors"
          tagIcon={Sparkles}
          tagAnimation="slide-up"
          background={{ variant: "glowing-orb" }}
          useInvertedBackground={false}
          imageSrc="http://img.b2bpic.net/free-photo/factory-worker-standing-metal-platform-industrial-storage-tanks-looking-up-visual-inspection-silos-food-production_342744-450.jpg?_wi=1"
          imageAlt="Professional pressure washing in action"
          imagePosition="right"
          mediaAnimation="slide-up"
          testimonials={[
            {
              name: "Mike Johnson",              handle: "Local Homeowner",              testimonial: "Quality work and affordable pricing. Jack was fast, friendly, and my driveway looks brand new!",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/smiling-millennial-man-looking-camera-cafe-headshot-portrait_1163-5163.jpg?_wi=1",              imageAlt: "professional portrait adult male smiling"
            },
            {
              name: "Sarah Chen",              handle: "Verified Customer",              testimonial: "Best pressure washing service in town. Highly recommended to all my neighbors!",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/portrait-business-woman-smiling_23-2148352574.jpg?_wi=1",              imageAlt: "professional portrait adult female smiling"
            },
            {
              name: "Robert Martinez",              handle: "5-Star Review",              testimonial: "Professional, reliable, and the attention to detail is incredible. Will definitely call again!",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/portrait-adult-male-posing_23-2148729642.jpg?_wi=1",              imageAlt: "professional portrait diverse adult smiling"
            }
          ]}
          testimonialRotationInterval={5000}
          buttons={[
            { text: "CALL OR TEXT FOR A QUOTE", href: "tel:559-400-9003" },
            { text: "Get a Free Quote", href: "#contact" }
          ]}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="services" data-section="services">
        <FeatureCardNine
          title="Our Pressure Washing Services"
          description="Quality & Affordable Service for Your Home"
          tag="Services"
          tagIcon={Zap}
          tagAnimation="slide-up"
          useInvertedBackground={false}
          textboxLayout="default"
          animationType="slide-up"
          showStepNumbers={false}
          features={[
            {
              id: 1,
              title: "Driveway Washing",              description: "Professional driveway cleaning to remove dirt, stains, and buildup. Makes your entrance look fresh and clean.",              phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/plant-park-spring-nature-beautiful_1122-1741.jpg?_wi=1", imageAlt: "clean driveway concrete after pressure washing" },
              phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/old-cement-wall_1150-8030.jpg", imageAlt: "dirty driveway before professional cleaning" }
            },
            {
              id: 2,
              title: "Patio Cleaning",              description: "Transform your outdoor living space. We clean patios, decks, and outdoor furniture to like-new condition.",              phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/woman-watering-plants-hothouse_23-2147778863.jpg?_wi=1", imageAlt: "outdoor patio furniture clean pressure wash" },
              phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/plant-park-spring-nature-beautiful_1122-1741.jpg?_wi=2", imageAlt: "clean driveway concrete after pressure washing" }
            },
            {
              id: 3,
              title: "Trash Can Washing",              description: "Keep your garbage cans clean and sanitary. Regular washing prevents odors and keeps pests away.",              phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/close-up-trash-bags-filled-with-trash-after-cleaning-environment_169016-11808.jpg?_wi=1", imageAlt: "garbage trash can bin cleaning wash" },
              phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/woman-watering-plants-hothouse_23-2147778863.jpg?_wi=2", imageAlt: "outdoor patio furniture clean pressure wash" }
            },
            {
              id: 4,
              title: "Car Wash",              description: "Professional car washing service to keep your vehicle clean and protected. Quick, efficient, and affordable.",              phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/close-up-car-care-process_23-2149193168.jpg", imageAlt: "car vehicle pressure washing clean detail" },
              phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/close-up-trash-bags-filled-with-trash-after-cleaning-environment_169016-11808.jpg?_wi=2", imageAlt: "garbage trash can bin cleaning wash" }
            }
          ]}
        />
      </div>

      <div id="why-us" data-section="why-us">
        <InlineImageSplitTextAbout
          heading={[
            { type: "text", content: "Why Choose Jack's Pressure Washing" }
          ]}
          useInvertedBackground={false}
          buttons={[
            { text: "Call Now: 559-400-9003", href: "tel:559-400-9003" },
            { text: "Request Quote", href: "#contact" }
          ]}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardThirteen
          title="What Our Customers Are Saying"
          description="Real reviews from local homeowners we've helped"
          tag="Testimonials"
          tagIcon={Star}
          tagAnimation="slide-up"
          useInvertedBackground={false}
          textboxLayout="default"
          animationType="slide-up"
          showRating={true}
          testimonials={[
            {
              id: "1",              name: "Mike Johnson",              handle: "Local Homeowner",              testimonial: "Jack was professional, friendly, and did an amazing job. My driveway looks brand new. Will definitely call again!",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/smiling-millennial-man-looking-camera-cafe-headshot-portrait_1163-5163.jpg?_wi=2",              imageAlt: "professional portrait adult male smiling"
            },
            {
              id: "2",              name: "Sarah Chen",              handle: "Verified Customer",              testimonial: "Best pressure washing service in the area. Great price, fast service, and excellent results. Highly recommend!",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/portrait-business-woman-smiling_23-2148352574.jpg?_wi=2",              imageAlt: "professional portrait adult female smiling"
            },
            {
              id: "3",              name: "Robert Martinez",              handle: "5-Star Review",              testimonial: "Attention to detail is incredible. Jack cleaned our entire exterior and everything looks fantastic. Best investment!",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/portrait-adult-male-posing_23-2148729642.jpg?_wi=2",              imageAlt: "professional portrait diverse adult smiling"
            },
            {
              id: "4",              name: "Jennifer Wong",              handle: "Happy Customer",              testimonial: "Professional, reliable, and honest pricing. Jack is happy to serve neighbors with quality work. Fantastic service!",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/expressive-senior-female-posing-indoor_344912-1369.jpg",              imageAlt: "professional adult portrait smiling headshot"
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplit
          tag="Ready to Get Started?"
          tagIcon={Zap}
          tagAnimation="slide-up"
          title="Make Your Home Look New Again"
          description="Call 559-400-9003 today for a free quote. We're happy to serve our neighbors with quality and affordable service. You can also fill out the form below and we'll get back to you right away."
          background={{ variant: "sparkles-gradient" }}
          useInvertedBackground={false}
          imageSrc="http://img.b2bpic.net/free-photo/factory-worker-standing-metal-platform-industrial-storage-tanks-looking-up-visual-inspection-silos-food-production_342744-450.jpg?_wi=2"
          imageAlt="Jack's Pressure Washing"
          mediaPosition="right"
          mediaAnimation="slide-up"
          inputPlaceholder="Your email address"
          buttonText="Call for Free Quote"
          termsText="We respect your privacy. We'll only use your information to send you a quote. You can unsubscribe at any time."
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterSimple
          columns={[
            {
              title: "Services",              items: [
                { label: "Driveway Washing", href: "#services" },
                { label: "Patio Cleaning", href: "#services" },
                { label: "Trash Can Washing", href: "#services" },
                { label: "Car Wash", href: "#services" }
              ]
            },
            {
              title: "Company",              items: [
                { label: "About Us", href: "#why-us" },
                { label: "Reviews", href: "#testimonials" },
                { label: "Contact", href: "#contact" }
              ]
            },
            {
              title: "Contact",              items: [
                { label: "Call: 559-400-9003", href: "tel:559-400-9003" },
                { label: "Text for Quote", href: "sms:559-400-9003" },
                { label: "Get Free Quote", href: "#contact" }
              ]
            }
          ]}
          bottomLeftText="© 2025 Jack's Pressure Washing. All rights reserved."
          bottomRightText="Quality & Affordable Pressure Washing Service"
        />
      </div>
    </ThemeProvider>
  );
}
