"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import HeroBillboardDashboard from '@/components/sections/hero/HeroBillboardDashboard';
import FeatureCardEight from '@/components/sections/feature/FeatureCardEight';
import InlineImageSplitTextAbout from '@/components/sections/about/InlineImageSplitTextAbout';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import MetricCardTwo from '@/components/sections/metrics/MetricCardTwo';
import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import { Award, Camera, Hammer, Leaf, Lightbulb, Shield, Sparkles, Star, TrendingUp, Trees } from 'lucide-react';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="mediumLarge"
      sizing="medium"
      background="blurBottom"
      cardStyle="inset"
      primaryButtonStyle="primary-glow"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          brandName="Wyatts Landscaping"
          navItems={[
            { name: "Services", id: "services" },
            { name: "Portfolio", id: "portfolio" },
            { name: "About", id: "about" },
            { name: "Testimonials", id: "testimonials" },
            { name: "Contact", id: "contact" }
          ]}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardDashboard
          title="Transform Your Outdoor Space"
          description="Expert landscaping services that turn your vision into reality. From hardscaping to garden design, we create beautiful outdoor environments."
          tag="Professional Landscaping"
          tagIcon={Leaf}
          tagAnimation="slide-up"
          buttons={[
            { text: "Get a Free Quote", href: "#contact" },
            { text: "View Our Work", href: "#portfolio" }
          ]}
          buttonAnimation="slide-up"
          background={{ variant: "radial-gradient" }}
          dashboard={{
            title: "Why Choose Wyatts",            logoIcon: Leaf,
            imageSrc: "http://img.b2bpic.net/free-photo/pensive-middle-aged-gardener-holding-small-thuja-pot-bearded-garden-worker-glasses-wearing-blue-shirt-apron-growing-evergreen-plants-greenhouse-commercial-gardening-summer-concept_74855-12936.jpg",            sidebarItems: [
              { icon: Sparkles, active: true },
              { icon: Shield },
              { icon: Award }
            ],
            buttons: [
              { text: "Schedule Consultation", href: "#contact" },
              { text: "View Portfolio", href: "#portfolio" }
            ],
            stats: [
              { title: "Projects Completed", values: [150, 200, 250], description: "Satisfied clients" },
              { title: "Experience", values: [8, 10, 12], valueSuffix: "yrs", description: "In landscaping" },
              { title: "Service Areas", values: [5, 8, 12], description: "Neighborhoods covered" }
            ],
            listTitle: "Our Specialties",            listItems: [
              { icon: Trees, title: "Garden Design", status: "Expert" },
              { icon: Hammer, title: "Hardscaping", status: "Premium" },
              { icon: Leaf, title: "Maintenance Plans", status: "Included" }
            ],
            searchPlaceholder: "What service do you need?"
          }}
        />
      </div>

      <div id="services" data-section="services">
        <FeatureCardEight
          title="Our Services"
          description="Comprehensive landscaping solutions tailored to your needs"
          tag="What We Offer"
          tagIcon={Lightbulb}
          textboxLayout="default"
          useInvertedBackground={false}
          features={[
            {
              id: 1,
              title: "Hardscaping",              description: "Professional patio installation, retaining walls, pathways, and outdoor structures designed to complement your home.",              imageSrc: "http://img.b2bpic.net/free-photo/path-way_74190-2125.jpg?_wi=1"
            },
            {
              id: 2,
              title: "Garden Design",              description: "Custom garden layouts with plantings, flower beds, and landscaping features that enhance curb appeal.",              imageSrc: "http://img.b2bpic.net/free-photo/overhead-view-male-female-gardener-pruning-watering-seedling-plants_23-2148165242.jpg"
            },
            {
              id: 3,
              title: "Lawn Maintenance",              description: "Regular care including mowing, fertilization, weed control, and seasonal landscaping services.",              imageSrc: "http://img.b2bpic.net/free-photo/female-gardener-s-hand-cutting-plant-with-secateurs_23-2148165259.jpg"
            },
            {
              id: 4,
              title: "Tree Services",              description: "Professional tree trimming, removal, and planting to maintain healthy and beautiful landscapes.",              imageSrc: "http://img.b2bpic.net/free-photo/path-way_74190-2125.jpg?_wi=2"
            }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <InlineImageSplitTextAbout
          heading={[
            { type: "text", content: "About Wyatts Landscaping" }
          ]}
          useInvertedBackground={true}
          buttons={[
            { text: "Learn More", href: "#services" }
          ]}
        />
      </div>

      <div id="portfolio" data-section="portfolio">
        <ProductCardThree
          title="Portfolio"
          description="Explore our recent landscaping projects and transformations"
          tag="Our Work"
          tagIcon={Camera}
          textboxLayout="default"
          useInvertedBackground={false}
          products={[
            {
              id: "1",              name: "Residential Backyard Transformation",              price: "View Project",              imageSrc: "http://img.b2bpic.net/free-photo/full-shot-woman-raking-outdoors_23-2149382185.jpg?_wi=1"
            },
            {
              id: "2",              name: "Commercial Property Landscaping",              price: "View Project",              imageSrc: "http://img.b2bpic.net/free-photo/covered-lifestyle-garden-with-indoor-outdoor-living_1127-3424.jpg?_wi=1"
            },
            {
              id: "3",              name: "Modern Patio & Hardscape",              price: "View Project",              imageSrc: "http://img.b2bpic.net/free-photo/terrace-with-trees-forest-cozy-outdoor-relaxation-space_169016-69565.jpg?_wi=1"
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardTwo
          title="By The Numbers"
          description="Our track record of excellence and customer satisfaction"
          tag="Proven Results"
          tagIcon={TrendingUp}
          textboxLayout="default"
          useInvertedBackground={true}
          metrics={[
            { id: "1", value: "250+", description: "Projects Completed" },
            { id: "2", value: "98%", description: "Client Satisfaction" },
            { id: "3", value: "12 Yrs", description: "Industry Experience" },
            { id: "4", value: "$2M+", description: "Total Project Value" }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFive
          title="Client Testimonials"
          description="See what our satisfied customers have to say about our landscaping services"
          tag="Real Reviews"
          tagIcon={Star}
          textboxLayout="default"
          useInvertedBackground={false}
          testimonials={[
            {
              id: "1",              name: "Sarah Johnson, Homeowner",              date: "Date: 15 November 2024",              title: "Transformed Our Backyard!",              quote: "Wyatts Landscaping completely transformed our backyard. The team was professional, punctual, and the results exceeded our expectations. We couldn't be happier with our new outdoor living space.",              tag: "Residential",              avatarSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              imageSrc: "http://img.b2bpic.net/free-photo/full-shot-woman-raking-outdoors_23-2149382185.jpg?_wi=2"
            },
            {
              id: "2",              name: "Michael Chen, Business Owner",              date: "Date: 08 November 2024",              title: "Outstanding Commercial Work",              quote: "We hired Wyatts for our commercial property landscaping. Their attention to detail and commitment to quality is unmatched. Our property now looks more professional and attracts more customers.",              tag: "Commercial",              avatarSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              imageSrc: "http://img.b2bpic.net/free-photo/covered-lifestyle-garden-with-indoor-outdoor-living_1127-3424.jpg?_wi=2"
            },
            {
              id: "3",              name: "Emily Rodriguez, Homeowner",              date: "Date: 01 November 2024",              title: "Best Decision Ever",              quote: "From design consultation to final installation, Wyatts handled everything perfectly. Their team is knowledgeable, courteous, and they made the entire process stress-free. Highly recommended!",              tag: "Residential",              avatarSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              imageSrc: "http://img.b2bpic.net/free-photo/terrace-with-trees-forest-cozy-outdoor-relaxation-space_169016-69565.jpg?_wi=2"
            },
            {
              id: "4",              name: "David Kim, Property Manager",              date: "Date: 25 October 2024",              title: "Professional and Reliable",              quote: "Wyatts provides exceptional maintenance services for our multi-property portfolio. Their crew is reliable, efficient, and always goes the extra mile. We trust them completely.",              tag: "Maintenance",              avatarSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              imageSrc: "http://img.b2bpic.net/free-photo/full-shot-woman-raking-outdoors_23-2149382185.jpg?_wi=3"
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Get Your Free Landscaping Quote"
          description="Ready to transform your outdoor space? Contact us today for a free consultation and detailed estimate."
          inputs={[
            { name: "fullName", type: "text", placeholder: "Full Name", required: true },
            { name: "email", type: "email", placeholder: "Email Address", required: true },
            { name: "phone", type: "tel", placeholder: "Phone Number", required: true },
            { name: "address", type: "text", placeholder: "Property Address", required: true }
          ]}
          textarea={{
            name: "projectDescription",            placeholder: "Tell us about your landscaping project ideas...",            rows: 5,
            required: false
          }}
          useInvertedBackground={true}
          imageSrc="http://img.b2bpic.net/free-photo/concentrated-gardeners-arranging-coniferous-plants-garden-man-woman-wearing-aprons-growing-small-thuja-greenhouse-selective-focus-commercial-gardening-activity-summer-concept_74855-12739.jpg"
          mediaPosition="right"
          mediaAnimation="slide-up"
          buttonText="Request Free Quote"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterLogoEmphasis
          logoText="Wyatts Landscaping"
          columns={[
            {
              items: [
                { label: "Services", href: "#services" },
                { label: "Portfolio", href: "#portfolio" },
                { label: "About", href: "#about" }
              ]
            },
            {
              items: [
                { label: "Testimonials", href: "#testimonials" },
                { label: "Contact", href: "#contact" },
                { label: "Free Quote", href: "#contact" }
              ]
            },
            {
              items: [
                { label: "Privacy Policy", href: "#" },
                { label: "Terms of Service", href: "#" },
                { label: "Sitemap", href: "#" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}
