"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import HeroBillboardRotatedCarousel from '@/components/sections/hero/HeroBillboardRotatedCarousel';
import MetricCardTen from '@/components/sections/metrics/MetricCardTen';
import FeatureCardThree from '@/components/sections/feature/featureCardThree/FeatureCardThree';
import SplitAbout from '@/components/sections/about/SplitAbout';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import TestimonialCardThirteen from '@/components/sections/testimonial/TestimonialCardThirteen';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import { Award, Check, CheckCircle, DollarSign, Leaf, MapPin, Phone, Sparkles, Star, Users } from 'lucide-react';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="directional-hover"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="medium"
      sizing="mediumLargeSizeMediumTitles"
      background="noise"
      cardStyle="gradient-mesh"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="glass"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="Tennessee Turf"
          navItems={[
            { name: "Services", id: "services" },
            { name: "Why Us", id: "why-us" },
            { name: "Reviews", id: "reviews" },
            { name: "Contact", id: "contact" }
          ]}
          button={{ text: "Call Now: 615-946-7337", href: "tel:+16159467337" }}
          className="sticky top-0 z-50"
          buttonClassName="bg-primary-cta hover:bg-opacity-90 text-primary-cta-text font-bold"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardRotatedCarousel
          title="Professional Lawn Care You Can Trust"
          description="Expert lawn maintenance, mowing, and yard care for Tennessee families and homeowners. Fast response times, honest pricing, and beautiful results guaranteed."
          tag="Trusted Local Service"
          tagIcon={CheckCircle}
          tagAnimation="slide-up"
          buttons={[
            { text: "Call Now for Free Estimate", href: "tel:+16159467337" },
            { text: "Request a Quote", href: "#contact" }
          ]}
          buttonAnimation="slide-up"
          background={{ variant: "noise" }}
          carouselItems={[
            {
              id: "carousel-1",              imageSrc: "http://img.b2bpic.net/free-photo/people-helping-neighbors-with-grass-lawn_23-2149139731.jpg?_wi=1",              imageAlt: "Beautiful green lawn after professional care"
            },
            {
              id: "carousel-2",              imageSrc: "http://img.b2bpic.net/free-photo/woman-mowing-yard-close-up_23-2148579933.jpg?_wi=1",              imageAlt: "Professional lawn mowing service"
            },
            {
              id: "carousel-3",              imageSrc: "http://img.b2bpic.net/free-photo/lawn-mower-man-working-backyard-with-sons_1157-37439.jpg?_wi=1",              imageAlt: "Lawn maintenance and yard care"
            },
            {
              id: "carousel-4",              imageSrc: "http://img.b2bpic.net/free-photo/father-with-little-son-are-planting-tree-yard_1157-26744.jpg?_wi=1",              imageAlt: "Seasonal yard cleanup service"
            },
            {
              id: "carousel-5",              imageSrc: "http://img.b2bpic.net/free-photo/view-robot-tending-maintaining-gardens_23-2151803969.jpg?_wi=1",              imageAlt: "Before and after lawn transformation"
            },
            {
              id: "carousel-6",              imageSrc: "http://img.b2bpic.net/free-photo/crop-hand-digging-grass_23-2147714902.jpg?_wi=1",              imageAlt: "Professional lawn restoration results"
            }
          ]}
          autoPlay={true}
          autoPlayInterval={5000}
          ariaLabel="Professional lawn care hero section with carousel"
          titleClassName="text-5xl md:text-6xl font-extrabold text-foreground"
          descriptionClassName="text-lg md:text-xl text-foreground/80"
          buttonClassName="px-6 py-3 rounded-pill font-semibold transition-all"
        />
      </div>

      <div id="trust-signals" data-section="trust-signals">
        <MetricCardTen
          title="Why Tennessee Families Trust Us"
          description="Backed by years of professional service, honest pricing, and a dedicated crew committed to your satisfaction."
          tag="Trusted Partner"
          tagIcon={Award}
          textboxLayout="default"
          useInvertedBackground={false}
          animationType="slide-up"
          metrics={[
            {
              id: "rating",              title: "4.7 Star Rating",              subtitle: "Rated by our satisfied customers on Google",              category: "Customer Reviews",              value: "9 Reviews"
            },
            {
              id: "service",              title: "Professional Crew",              subtitle: "Respectful, friendly, and highly trained team members",              category: "Service Quality",              value: "Always Courteous"
            },
            {
              id: "pricing",              title: "Honest Pricing",              subtitle: "Transparent rates with no hidden fees or surprises",              category: "Trust Factor",              value: "Always Fair"
            },
            {
              id: "response",              title: "Quick Response",              subtitle: "Fast callbacks and rapid scheduling for your needs",              category: "Reliability",              value: "Same Day"
            }
          ]}
          carouselMode="buttons"
          uniformGridCustomHeightClasses="min-h-64"
          titleClassName="text-4xl md:text-5xl font-extrabold text-foreground"
          descriptionClassName="text-lg text-foreground/70"
        />
      </div>

      <div id="services" data-section="services">
        <FeatureCardThree
          title="Complete Lawn Care Services"
          description="From routine maintenance to seasonal cleanup, we handle all your lawn care needs with professional expertise."
          tag="Our Services"
          tagIcon={Leaf}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          features={[
            {
              id: "01",              title: "Lawn Mowing",              description: "Weekly or bi-weekly professional mowing with sharp blades, clean edges, and perfect height precision.",              imageSrc: "http://img.b2bpic.net/free-photo/woman-mowing-yard-close-up_23-2148579933.jpg?_wi=2",              imageAlt: "Professional lawn mowing service"
            },
            {
              id: "02",              title: "Lawn Maintenance",              description: "Comprehensive care including trimming, edging, blowing, and mulching for that polished look.",              imageSrc: "http://img.b2bpic.net/free-photo/lawn-mower-man-working-backyard-with-sons_1157-37439.jpg?_wi=2",              imageAlt: "Lawn maintenance and yard care"
            },
            {
              id: "03",              title: "Seasonal Cleanup",              description: "Spring and fall cleanup services including leaf removal, debris cleanup, and yard preparation.",              imageSrc: "http://img.b2bpic.net/free-photo/father-with-little-son-are-planting-tree-yard_1157-26744.jpg?_wi=2",              imageAlt: "Seasonal yard cleanup service"
            },
            {
              id: "04",              title: "Turf Management",              description: "Professional turf care including aeration, seeding, and treatments for healthy, vibrant grass.",              imageSrc: "http://img.b2bpic.net/free-photo/people-helping-neighbors-with-grass-lawn_23-2149139731.jpg?_wi=2",              imageAlt: "Professional turf management service"
            }
          ]}
          animationType="slide-up"
          gridVariant="bento-grid"
          carouselMode="buttons"
          titleClassName="text-4xl md:text-5xl font-extrabold text-foreground"
          descriptionClassName="text-lg text-foreground/70"
        />
      </div>

      <div id="why-us" data-section="why-us">
        <SplitAbout
          title="Why Choose Tennessee Turf Lawncare"
          description="Owned and operated by Shane, Tennessee Turf brings years of expertise, genuine care for your property, and a commitment to being the most reliable lawn service in the area."
          tag="Our Story"
          tagIcon={Users}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
          bulletPoints={[
            {
              title: "Honest Pricing",              description: "No hidden fees, no surprises. Just fair, transparent pricing for quality lawn care services.",              icon: DollarSign
            },
            {
              title: "Professional Crew",              description: "Our respectful, friendly team treats your property like it's their own. Every job is done right.",              icon: Users
            },
            {
              title: "Reliable Service",              description: "Fast response times, consistent scheduling, and follow-through on every commitment we make.",              icon: Check
            },
            {
              title: "Local Business",              description: "We're part of the Tennessee community, invested in your satisfaction and your beautiful yards.",              icon: MapPin
            }
          ]}
          imageSrc="http://img.b2bpic.net/free-photo/people-helping-neighbors-with-grass-lawn_23-2149139731.jpg?_wi=3"
          imageAlt="Professional lawn care team"
          imagePosition="right"
          mediaAnimation="slide-up"
          titleClassName="text-4xl md:text-5xl font-extrabold text-foreground"
          descriptionClassName="text-lg text-foreground/70"
        />
      </div>

      <div id="transformations" data-section="transformations">
        <ProductCardOne
          title="Before & After: Real Results"
          description="See the transformation our professional lawn care services deliver for Tennessee homeowners and families."
          tag="Transformations"
          tagIcon={Sparkles}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          animationType="slide-up"
          gridVariant="bento-grid"
          products={[
            {
              id: "transform-1",              name: "Overgrown to Manicured",              price: "Residential",              imageSrc: "http://img.b2bpic.net/free-photo/view-robot-tending-maintaining-gardens_23-2151803969.jpg?_wi=2",              imageAlt: "Lawn transformation: before and after"
            },
            {
              id: "transform-2",              name: "Spring Restoration",              price: "Seasonal Service",              imageSrc: "http://img.b2bpic.net/free-photo/crop-hand-digging-grass_23-2147714902.jpg?_wi=2",              imageAlt: "Spring lawn restoration result"
            },
            {
              id: "transform-3",              name: "Summer Maintenance",              price: "Regular Service",              imageSrc: "http://img.b2bpic.net/free-photo/mom-with-baby-neck-dad-daughter-lawn_259150-59395.jpg",              imageAlt: "Summer lawn maintenance success"
            },
            {
              id: "transform-4",              name: "Curb Appeal Boost",              price: "Front Yard",              imageSrc: "http://img.b2bpic.net/free-photo/green-grass_181624-12702.jpg",              imageAlt: "Front yard enhancement project"
            },
            {
              id: "transform-5",              name: "Full Property Care",              price: "Comprehensive",              imageSrc: "http://img.b2bpic.net/free-photo/full-shot-friends-playing-petanque-outdoors_23-2149530378.jpg",              imageAlt: "Complete property lawn care"
            },
            {
              id: "transform-6",              name: "Long-Term Beauty",              price: "Ongoing Service",              imageSrc: "http://img.b2bpic.net/free-photo/overhead-view-man-s-hand-digging-soil-with-hoe_23-2148165180.jpg",              imageAlt: "Long-term maintained lawn"
            }
          ]}
          carouselMode="buttons"
          uniformGridCustomHeightClasses="min-h-80"
          titleClassName="text-4xl md:text-5xl font-extrabold text-foreground"
          descriptionClassName="text-lg text-foreground/70"
        />
      </div>

      <div id="reviews" data-section="reviews">
        <TestimonialCardThirteen
          title="What Our Customers Say"
          description="Real testimonials from Tennessee homeowners who trust Tennessee Turf Lawncare with their properties."
          tag="Customer Reviews"
          tagIcon={Star}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          animationType="slide-up"
          showRating={true}
          testimonials={[
            {
              id: "1",              name: "Michael Johnson",              handle: "@mjohnson_tn",              testimonial: "Outstanding service! Shane and his crew are professional, respectful, and honest about pricing. My lawn has never looked better. Highly recommend!",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/corporate-workers-brainstorming-together_23-2148804575.jpg",              imageAlt: "Michael Johnson testimonial"
            },
            {
              id: "2",              name: "Sarah Williams",              handle: "@sarah_williams",              testimonial: "They make my yard look like a million bucks every time. Very professional and easy to work with. Best lawn service in Tennessee!",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/people-having-dinner-luxurious-restaurants_23-2151081911.jpg",              imageAlt: "Sarah Williams testimonial"
            },
            {
              id: "3",              name: "Robert Davis",              handle: "@rdavis_lawn",              testimonial: "Quick response, fair pricing, and excellent work. The crew is always friendly and gets the job done right. Can't ask for better service.",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/older-woman-with-thumb-up_1149-1162.jpg",              imageAlt: "Robert Davis testimonial"
            },
            {
              id: "4",              name: "Jennifer Martinez",              handle: "@jmartinez_home",              testimonial: "Finally found a reliable lawn care company! They're affordable, professional, and truly care about customer satisfaction. We use them monthly.",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/cheerful-bearded-man-busines-clothes-showing-thumb-up-looking-camera-gray_171337-11351.jpg",              imageAlt: "Jennifer Martinez testimonial"
            },
            {
              id: "5",              name: "James Anderson",              handle: "@j_anderson",              testimonial: "Honest pricing with no hidden fees. The team is respectful and does excellent work. Recommended them to all my neighbors!",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/happy-young-handsome-man-sitting-cafe-table_1262-975.jpg",              imageAlt: "James Anderson testimonial"
            },
            {
              id: "6",              name: "Lisa Thompson",              handle: "@lisathompson_tn",              testimonial: "Exceptional attention to detail and customer service. They arrived on time, communicated clearly, and exceeded my expectations. Will definitely use again!",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/woman-showing-ok-sign_23-2148990150.jpg",              imageAlt: "Lisa Thompson testimonial"
            }
          ]}
          carouselMode="buttons"
          uniformGridCustomHeightClasses="min-h-96"
          titleClassName="text-4xl md:text-5xl font-extrabold text-foreground"
          descriptionClassName="text-lg text-foreground/70"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCenter
          tag="Get Started"
          title="Ready for Beautiful Lawn Care?"
          description="Contact Tennessee Turf Lawncare today for your free estimate. Call or submit the form below—we respond quickly and always provide honest pricing."
          tagIcon={Phone}
          tagAnimation="slide-up"
          background={{ variant: "rotated-rays-static" }}
          useInvertedBackground={false}
          inputPlaceholder="your@email.com"
          buttonText="Request Quote"
          termsText="We respect your privacy. We'll only use your information to contact you about your lawn care needs."
          titleClassName="text-4xl md:text-5xl font-extrabold text-foreground"
          descriptionClassName="text-lg text-foreground/70"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseCard
          logoText="Tennessee Turf"
          copyrightText="© 2025 Tennessee Turf Lawncare Services, Inc. All rights reserved."
          columns={[
            {
              title: "Services",              items: [
                { label: "Lawn Mowing", href: "#services" },
                { label: "Lawn Maintenance", href: "#services" },
                { label: "Seasonal Cleanup", href: "#services" },
                { label: "Turf Management", href: "#services" }
              ]
            },
            {
              title: "Company",              items: [
                { label: "About Us", href: "#why-us" },
                { label: "Customer Reviews", href: "#reviews" },
                { label: "Contact", href: "#contact" },
                { label: "Service Areas", href: "#services" }
              ]
            },
            {
              title: "Contact",              items: [
                { label: "Call: 615-946-7337", href: "tel:+16159467337" },
                { label: "Get Free Estimate", href: "#contact" },
                { label: "Request a Quote", href: "#contact" }
              ]
            },
            {
              title: "Legal",              items: [
                { label: "Privacy Policy", href: "#" },
                { label: "Terms of Service", href: "#" },
                { label: "Service Agreement", href: "#" }
              ]
            }
          ]}
          logoTextClassName="text-3xl font-extrabold text-primary-cta"
          columnTitleClassName="text-lg font-bold text-foreground mb-3"
          columnItemClassName="text-foreground/70 hover:text-primary-cta transition-colors"
        />
      </div>
    </ThemeProvider>
  );
}
