"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay";
import HeroBillboardTestimonial from "@/components/sections/hero/HeroBillboardTestimonial";
import AboutMetric from "@/components/sections/about/AboutMetric";
import FeatureBento from "@/components/sections/feature/FeatureBento";
import MetricCardEleven from "@/components/sections/metrics/MetricCardEleven";
import TestimonialCardTwo from "@/components/sections/testimonial/TestimonialCardTwo";
import SocialProofOne from "@/components/sections/socialProof/SocialProofOne";
import FaqSplitText from "@/components/sections/faq/FaqSplitText";
import ContactText from "@/components/sections/contact/ContactText";
import FooterMedia from "@/components/sections/footer/FooterMedia";
import { Award, Users, MapPin, CheckCircle, Sprout, Leaf, Scissors, Zap, Palette, Wrench, Droplet, Shield, Wind, Trash2, Box, Hammer, Calendar, DollarSign, TrendingUp, Star, Heart } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-shift"
      defaultTextAnimation="reveal-blur"
      borderRadius="soft"
      contentWidth="mediumLarge"
      sizing="mediumSizeLargeTitles"
      background="aurora"
      cardStyle="gradient-mesh"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="glass"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="TN Lawn Care Pros"
          navItems={[
            { name: "Services", id: "services" },
            { name: "About", id: "about" },
            { name: "Service Areas", id: "areas" },
            { name: "Contact", id: "contact" }
          ]}
          button={{ text: "Call Now", href: "tel:+1-615-555-0123" }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardTestimonial
          title="Professional Lawn Care for Tennessee Homes"
          description="Expert landscaping and lawn maintenance services that transform your outdoor space. We deliver beautiful, healthy lawns with reliable, trustworthy service every time."
          background={{ variant: "radial-gradient" }}
          tag="Local Service Leader"
          tagIcon={Sprout}
          tagAnimation="slide-up"
          buttons={[
            { text: "Call Now: (615) 555-0123", href: "tel:+1-615-555-0123" },
            { text: "Request Free Quote" }
          ]}
          buttonAnimation="slide-up"
          testimonials={[
            {
              name: "Michael Thompson",              handle: "@m_thompson",              testimonial: "Best lawn service in Tennessee. Professional, reliable, and my yard looks incredible every season.",              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=rzzhty",              imageAlt: "happy family backyard green lawn"
            },
            {
              name: "Sarah Johnson",              handle: "@sarahjohnson_tn",              testimonial: "They show up on time, do excellent work, and actually care about the quality. Highly recommend!",              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=l02hxm",              imageAlt: "professional portrait businessman outdoor"
            },
            {
              name: "David Martinez",              handle: "@davidmartinez",              testimonial: "Professional team with attention to detail. My property has never looked better since using their service.",              rating: 5,
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=xr9zwb",              imageAlt: "woman homeowner garden portrait smiling"
            }
          ]}
          testimonialRotationInterval={5000}
          useInvertedBackground={false}
          mediaAnimation="blur-reveal"
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=k1d3z8"
          imageAlt="Professional lawn care landscaping service"
        />
      </div>

      <div id="about" data-section="about">
        <AboutMetric
          title="Why Choose TN Lawn Care Pros"
          metrics={[
            { icon: Award, label: "Years of Excellence", value: "15+" },
            { icon: Users, label: "Satisfied Customers", value: "2,000+" },
            { icon: MapPin, label: "Service Areas", value: "50+ Towns" },
            { icon: CheckCircle, label: "Quality Guarantee", value: "100%" }
          ]}
          metricsAnimation="slide-up"
          useInvertedBackground={true}
        />
      </div>

      <div id="services" data-section="services">
        <FeatureBento
          title="Complete Lawn & Landscape Services"
          description="From routine maintenance to specialized treatments, we provide comprehensive lawn care solutions tailored to Tennessee's climate and your property's needs."
          tag="Full Service"
          tagIcon={Leaf}
          tagAnimation="slide-up"
          buttons={[{ text: "View Service Details" }]}
          buttonAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          animationType="slide-up"
          carouselMode="buttons"
          features={[
            {
              title: "Professional Lawn Mowing",              description: "Weekly or bi-weekly mowing with commercial-grade equipment. Precision cutting, edging, and debris removal for that perfect finish.",              bentoComponent: "icon-info-cards",              items: [
                { icon: Scissors, label: "Weekly Service", value: "Custom Schedule" },
                { icon: Zap, label: "Fast & Efficient", value: "Professional Grade" }
              ]
            },
            {
              title: "Landscaping Design",              description: "Transform your outdoor space with expert design and installation. Trees, shrubs, mulch, and hardscaping to enhance curb appeal.",              bentoComponent: "icon-info-cards",              items: [
                { icon: Palette, label: "Custom Design", value: "Your Vision" },
                { icon: Wrench, label: "Expert Install", value: "Quality Materials" }
              ]
            },
            {
              title: "Lawn Treatment & Health",              description: "Specialized treatments including aeration, seeding, fertilization, and weed control. Keep your lawn healthy and vibrant year-round.",              bentoComponent: "icon-info-cards",              items: [
                { icon: Droplet, label: "Fertilization", value: "Seasonal Plans" },
                { icon: Shield, label: "Weed Control", value: "Safe & Effective" }
              ]
            },
            {
              title: "Spring & Fall Cleanup",              description: "Seasonal property maintenance including debris removal, leaf collection, and yard preparation for the changing seasons.",              bentoComponent: "icon-info-cards",              items: [
                { icon: Wind, label: "Leaf Cleanup", value: "Seasonal Service" },
                { icon: Trash2, label: "Debris Removal", value: "Complete Cleanup" }
              ]
            },
            {
              title: "Mulch Installation",              description: "Fresh mulch delivery and installation for flower beds and landscaping. Improves appearance, retains moisture, and regulates soil temperature.",              bentoComponent: "icon-info-cards",              items: [
                { icon: Box, label: "Bulk Mulch", value: "Quality Materials" },
                { icon: Hammer, label: "Professional Install", value: "Expert Service" }
              ]
            },
            {
              title: "Yard Maintenance Plans",              description: "Customized service packages that fit your needs and budget. Regular maintenance keeps your property looking its absolute best.",              bentoComponent: "icon-info-cards",              items: [
                { icon: Calendar, label: "Flexible Scheduling", value: "Your Timeline" },
                { icon: DollarSign, label: "Affordable Plans", value: "Great Value" }
              ]
            }
          ]}
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardEleven
          title="Our Impact in Tennessee"
          description="Real results from real customers. These numbers reflect our commitment to quality service and customer satisfaction."
          tag="By The Numbers"
          tagIcon={TrendingUp}
          tagAnimation="slide-up"
          buttonAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
          animationType="slide-up"
          metrics={[
            {
              id: "customers",              value: "2,000+",              title: "Happy Customers",              description: "Trusted by homeowners and businesses across Tennessee for over 15 years.",              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=rzzhty",              imageAlt: "happy family backyard green lawn"
            },
            {
              id: "properties",              value: "50+",              title: "Service Towns",              description: "We maintain properties in more than 50 communities throughout Tennessee.",              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=l02hxm",              imageAlt: "professional portrait businessman outdoor"
            },
            {
              id: "rating",              value: "4.9/5",              title: "Customer Rating",              description: "Consistently rated as the top local lawn care service in our service area.",              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=xr9zwb",              imageAlt: "woman homeowner garden portrait smiling"
            },
            {
              id: "reliability",              value: "98%",              title: "On-Time Service",              description: "Professional scheduling and reliable service delivery, rain or shine.",              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=7cwzmz",              imageAlt: "man customer testimonial garden portrait"
            }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwo
          title="What Our Customers Say"
          description="Don't just take our word for it. Hear from satisfied customers who trust TN Lawn Care Pros with their properties."
          tag="Customer Reviews"
          tagIcon={Star}
          tagAnimation="slide-up"
          buttonAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          animationType="slide-up"
          carouselMode="buttons"
          testimonials={[
            {
              id: "1",              name: "Michael Thompson",              role: "Homeowner",              testimonial: "Best lawn service in Tennessee. Professional, reliable, and my yard looks incredible every season. They show up when they say they will and do excellent work.",              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=rzzhty",              icon: Heart
            },
            {
              id: "2",              name: "Sarah Johnson",              role: "Business Owner",              testimonial: "Our commercial property has never looked better. The team is professional, efficient, and truly cares about quality. Highly recommend for both residential and commercial properties.",              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=l02hxm",              icon: Heart
            },
            {
              id: "3",              name: "David Martinez",              role: "Property Manager",              testimonial: "Professional team with attention to detail. They handle all our landscape maintenance needs seamlessly. Great communication and reliable service every time.",              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=xr9zwb",              icon: Heart
            },
            {
              id: "4",              name: "Jennifer Davis",              role: "Homeowner",              testimonial: "Switched from another company and couldn't be happier. Better quality, competitive pricing, and actually responsive to customer needs. Five stars!",              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=7cwzmz",              icon: Heart
            }
          ]}
        />
      </div>

      <div id="service-areas" data-section="service-areas">
        <SocialProofOne
          title="Serving Across Tennessee"
          description="We proudly maintain properties in 50+ towns and communities throughout Tennessee. Wherever you are, we're ready to serve."
          tag="Service Coverage"
          tagIcon={MapPin}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
          names={[
            "Nashville",            "Franklin",            "Murfreesboro",            "Clarksville",            "Knoxville",            "Brentwood",            "Gallatin",            "Mount Juliet",            "Spring Hill",            "Hermitage",            "Madison",            "Antioch",            "Smyrna",            "Hendersonville",            "Goodlettsville"
          ]}
          speed={40}
          showCard={true}
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqSplitText
          sideTitle="Common Questions"
          sideDescription="Find answers to frequently asked questions about our lawn care services. Can't find what you need? Contact us directly."
          buttons={[{ text: "Contact Our Team", href: "tel:+1-615-555-0123" }]}
          buttonAnimation="slide-up"
          faqsAnimation="slide-up"
          useInvertedBackground={false}
          textPosition="left"
          faqs={[
            {
              id: "1",              title: "What areas of Tennessee do you service?",              content: "We provide lawn care and landscaping services to 50+ towns and communities throughout Tennessee, including Nashville, Franklin, Murfreesboro, Clarksville, Knoxville, and many surrounding areas. Call us to confirm service availability in your specific location."
            },
            {
              id: "2",              title: "How often should I schedule lawn mowing?",              content: "For optimal results, we recommend weekly mowing during the growing season (spring through fall). However, schedules can be customized based on grass growth rate and your preferences. We also offer bi-weekly service options for maintenance."
            },
            {
              id: "3",              title: "What is included in your maintenance plans?",              content: "Our customizable maintenance plans typically include regular mowing, edging, debris removal, and seasonal treatments. We can tailor a plan that meets your specific needs and budget, whether you need basic upkeep or comprehensive landscaping service."
            },
            {
              id: "4",              title: "Do you offer landscape design services?",              content: "Yes! We provide professional landscape design and installation services. Our team can transform your outdoor space with thoughtful plant selections, hardscaping, mulch installation, and creative design solutions."
            },
            {
              id: "5",              title: "Are your lawn treatments safe for pets and children?",              content: "Safety is our priority. We use environmentally responsible treatments and can recommend pet-safe and child-friendly options. Always inform us of any specific concerns so we can adjust our approach accordingly."
            },
            {
              id: "6",              title: "How do I request a free quote?",              content: "Simply call us at (615) 555-0123 or fill out our online form. We'll schedule a convenient time to visit your property, assess your needs, and provide a detailed, no-obligation quote for our services."
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactText
          text="Ready to transform your outdoor space? Contact TN Lawn Care Pros today for a free consultation and custom quote. Our professional team is ready to help."
          background={{ variant: "radial-gradient" }}
          useInvertedBackground={false}
          buttons={[
            { text: "Call Now: (615) 555-0123", href: "tel:+1-615-555-0123" },
            { text: "Request Free Quote" }
          ]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterMedia
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=fxv6jh"
          imageAlt="sunset beautiful landscaped garden"
          logoText="TN Lawn Care Pros"
          copyrightText="© 2025 TN Lawn Care Pros. All rights reserved."
          columns={[
            {
              title: "Services",              items: [
                { label: "Lawn Mowing", href: "#services" },
                { label: "Landscaping Design", href: "#services" },
                { label: "Lawn Treatment", href: "#services" },
                { label: "Seasonal Cleanup", href: "#services" },
                { label: "Mulch Installation", href: "#services" }
              ]
            },
            {
              title: "Company",              items: [
                { label: "About Us", href: "#about" },
                { label: "Service Areas", href: "#areas" },
                { label: "Testimonials", href: "#testimonials" },
                { label: "FAQ", href: "#faq" },
                { label: "Contact", href: "#contact" }
              ]
            },
            {
              title: "Contact",              items: [
                { label: "Call: (615) 555-0123", href: "tel:+1-615-555-0123" },
                { label: "Email: info@tnlawncare.com", href: "mailto:info@tnlawncare.com" },
                { label: "Request Quote", href: "#contact" },
                { label: "Service Areas", href: "#areas" }
              ]
            },
            {
              title: "Legal",              items: [
                { label: "Privacy Policy", href: "#" },
                { label: "Terms of Service", href: "#" },
                { label: "Service Agreement", href: "#" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}