"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FaqSplitText from '@/components/sections/faq/FaqSplitText';
import FeatureHoverPattern from '@/components/sections/feature/featureHoverPattern/FeatureHoverPattern';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import HeroSplitDoubleCarousel from '@/components/sections/hero/HeroSplitDoubleCarousel';
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import ProductCardFour from '@/components/sections/product/ProductCardFour';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import SplitAbout from '@/components/sections/about/SplitAbout';
import TestimonialCardThirteen from '@/components/sections/testimonial/TestimonialCardThirteen';
import { Droplets, Leaf, Sparkles, Star, Tool } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="icon-arrow"
        defaultTextAnimation="entrance-slide"
        borderRadius="pill"
        contentWidth="compact"
        sizing="mediumLargeSizeMediumTitles"
        background="none"
        cardStyle="glass-depth"
        primaryButtonStyle="radial-glow"
        secondaryButtonStyle="solid"
        headingFontWeight="bold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleApple
      navItems={[
        {
          name: "Home",
          id: "#home",
        },
        {
          name: "About",
          id: "#about",
        },
        {
          name: "Services",
          id: "#services",
        },
        {
          name: "Projects",
          id: "#projects",
        },
        {
          name: "Testimonials",
          id: "#testimonials",
        },
        {
          name: "FAQ",
          id: "#faq",
        },
        {
          name: "Contact",
          id: "#contact",
        },
      ]}
      brandName="Life Is Green"
    />
  </div>

  <div id="home" data-section="home">
      <HeroSplitDoubleCarousel
      background={{
        variant: "plain",
      }}
      title="Life Is Green: Your Vision, Our Expertise"
      description="Transforming outdoor spaces with exceptional lawn care, creative landscaping, and sustainable solutions. Let's cultivate beauty together."
      leftCarouselItems={[
        {
          imageSrc: "http://img.b2bpic.net/free-photo/suburban-housing-garden_53876-30332.jpg",
          imageAlt: "Lush green lawn with a residential house",
        },
        {
          imageSrc: "http://img.b2bpic.net/free-photo/beautiful-pink-white-violet-hydrangeas_7502-9101.jpg",
          imageAlt: "Modern backyard garden design with diverse plants",
        },
        {
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-gardener-watering-succulent-plant_23-2147844312.jpg",
          imageAlt: "Professional gardener trimming hedges in a garden",
        },
        {
          imageSrc: "http://img.b2bpic.net/free-photo/shot-female-with-child-walking-path-park-sunny-day_181624-31779.jpg",
          imageAlt: "Well-maintained commercial property with manicured lawns",
        },
        {
          imageSrc: "http://img.b2bpic.net/free-photo/creative-flat-lay-gardening-concept_23-2148195481.jpg",
          imageAlt: "Close-up of gardening tools and healthy plants",
        },
        {
          imageSrc: "http://img.b2bpic.net/free-photo/city-park-with-lake_1127-4150.jpg",
          imageAlt: "Aerial view of a stunning landscaped estate",
        },
      ]}
      rightCarouselItems={[
        {
          imageSrc: "http://img.b2bpic.net/free-photo/closeup-hole-green-zlati-gric-golf-course-slovenia-with-golfer_181624-33332.jpg",
          imageAlt: "Well-maintained commercial property with manicured lawns",
        },
        {
          imageSrc: "http://img.b2bpic.net/free-photo/focus-effect-lush-natural-growth_1136-383.jpg",
          imageAlt: "Close-up of gardening tools and healthy plants",
        },
        {
          imageSrc: "http://img.b2bpic.net/free-photo/contrasting-outdoor-texture-design_23-2149756529.jpg",
          imageAlt: "Aerial view of a stunning landscaped estate",
        },
        {
          imageSrc: "http://img.b2bpic.net/free-photo/flowers-park_1127-3024.jpg",
          imageAlt: "Lush green lawn with a residential house",
        },
        {
          imageSrc: "http://img.b2bpic.net/free-photo/aerial-shot-beautiful-skatepark-daytime_181624-21255.jpg",
          imageAlt: "Modern backyard garden design with diverse plants",
        },
        {
          imageSrc: "http://img.b2bpic.net/free-photo/senior-man-working-field-with-vegetables_329181-12488.jpg",
          imageAlt: "Professional gardener trimming hedges in a garden",
        },
      ]}
      buttons={[
        {
          text: "Get a Free Quote",
          href: "#contact",
        },
        {
          text: "Explore Services",
          href: "#services",
        },
      ]}
      buttonAnimation="slide-up"
      carouselPosition="right"
      avatars={[
        {
          src: "http://img.b2bpic.net/free-photo/view-robot-tending-maintaining-gardens_23-2151803967.jpg",
          alt: "Customer avatar 1",
        },
        {
          src: "http://img.b2bpic.net/free-photo/photorealistic-house-with-wooden-architecture-timber-structure_23-2151302734.jpg",
          alt: "Customer avatar 2",
        },
        {
          src: "http://img.b2bpic.net/free-photo/full-shot-father-kid-playing-outdoors_23-2148504004.jpg",
          alt: "Customer avatar 3",
        },
        {
          src: "http://img.b2bpic.net/free-photo/residential-brick-house_1388-229.jpg",
          alt: "Customer avatar 4",
        },
        {
          src: "http://img.b2bpic.net/free-photo/close-up-leptecophylla-plant_23-2147920620.jpg",
          alt: "Customer avatar 5",
        },
      ]}
      avatarText="+1,000 Happy Clients"
      marqueeItems={[
        {
          type: "image",
          src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=zxp4qx",
          alt: "Green Acres Estates Logo",
        },
        {
          type: "image",
          src: "http://img.b2bpic.net/free-vector/hand-drawn-gardening-work-labels-template_23-2149750390.jpg",
          alt: "Bloom & Grow Nurseries Logo",
        },
        {
          type: "image",
          src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=w3uh2s",
          alt: "City Greens Commercial Logo",
        },
        {
          type: "image",
          src: "http://img.b2bpic.net/free-vector/labor-day-badge-collection_23-2148094628.jpg",
          alt: "Community Gardens HOA Logo",
        },
        {
          type: "image",
          src: "http://img.b2bpic.net/free-photo/researchers-looking-alternative-energy-souces_23-2149311461.jpg",
          alt: "Eco-Scape Solutions Logo",
        },
      ]}
      marqueeSpeed={30}
      showMarqueeCard={true}
    />
  </div>

  <div id="about" data-section="about">
      <SplitAbout
      textboxLayout="default"
      useInvertedBackground={true}
      title="Bringing Life To Your Outdoors"
      description="At Life Is Green, we're passionate about creating and maintaining beautiful, healthy outdoor environments. With years of experience, our certified team delivers personalized solutions for every landscape."
      bulletPoints={[
        {
          title: "Experienced Professionals",
          description: "Our team consists of highly skilled and dedicated landscaping experts.",
        },
        {
          title: "Customized Solutions",
          description: "We tailor our services to meet your specific needs and aesthetic preferences.",
        },
        {
          title: "Sustainable Practices",
          description: "Committed to eco-friendly methods for a healthier planet and thriving landscapes.",
        },
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/handsome-adult-male-posing-outdoors_23-2148577336.jpg"
      imageAlt="Life Is Green team proudly standing in a beautifully landscaped garden"
      mediaAnimation="slide-up"
    />
  </div>

  <div id="services" data-section="services">
      <FeatureHoverPattern
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      features={[
        {
          icon: Sparkles,
          title: "Expert Lawn Mowing",
          description: "Precision cuts, edging, and blowing for a pristine lawn every time.",
        },
        {
          icon: Leaf,
          title: "Tree & Shrub Care",
          description: "Pruning, trimming, and health management to ensure vibrant growth.",
        },
        {
          icon: Star,
          title: "Garden Design & Planting",
          description: "Creating beautiful, sustainable gardens with a selection of native plants.",
        },
        {
          icon: Leaf,
          title: "Seasonal Cleanups",
          description: "Efficient leaf removal, debris clearing, and bed preparation for all seasons.",
        },
        {
          icon: Droplets,
          title: "Irrigation Systems",
          description: "Installation and maintenance of smart watering systems for optimal hydration.",
        },
        {
          icon: Tool,
          title: "Fertilization & Pest Control",
          description: "Organic and effective treatments to nourish your lawn and protect from pests.",
        },
      ]}
      title="Comprehensive Landscaping Services"
      description="From routine lawn care to elaborate garden designs, we offer a full spectrum of services to keep your property looking its best year-round."
    />
  </div>

  <div id="projects" data-section="projects">
      <ProductCardFour
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="bento-grid"
      useInvertedBackground={true}
      carouselMode="buttons"
      products={[
        {
          id: "1",
          name: "Lawn Renovation",
          price: "Starting at $750",
          variant: "Residential",
          imageSrc: "http://img.b2bpic.net/free-photo/professional-gardener-trimming-hedge-yard_342744-537.jpg",
          imageAlt: "Before and after of a lawn renovation showing lush green grass",
        },
        {
          id: "2",
          name: "Custom Garden Beds",
          price: "Starting at $500",
          variant: "Bespoke Design",
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-view-colorful-calla-lilies-hydrangea-flowers_1308-189531.jpg",
          imageAlt: "Custom designed garden bed with colorful flowers and shrubs",
        },
        {
          id: "3",
          name: "Elegant Hedge Trimming",
          price: "Starting at $150",
          variant: "Detail Oriented",
          imageSrc: "http://img.b2bpic.net/free-photo/cropped-view-gardening-worker-wearing-protective-gloves-while-trimming-plants_344912-2288.jpg",
          imageAlt: "A perfectly trimmed hedge in a residential garden",
        },
        {
          id: "4",
          name: "Outdoor Living Spaces",
          price: "Custom Quote",
          variant: "Design & Build",
          imageSrc: "http://img.b2bpic.net/free-photo/outdoor-dreamy-barefooted-lady-with-long-curly-hair-sitting-wooden-bench-park-looking-away-romantic-girl-straw-hat-white-dress-posing-front-flowerbed_197531-3979.jpg",
          imageAlt: "A beautifully designed patio with outdoor furniture and plants",
        },
        {
          id: "5",
          name: "Tree Planting & Care",
          price: "Starting at $200",
          variant: "Arbor Services",
          imageSrc: "http://img.b2bpic.net/free-photo/environmental-conservation-garden-children_1150-15279.jpg",
          imageAlt: "Newly planted tree with fresh mulch around its base",
        },
        {
          id: "6",
          name: "Sustainable Water Features",
          price: "Custom Quote",
          variant: "Eco-Friendly",
          imageSrc: "http://img.b2bpic.net/free-photo/radish-microgreens-with-seeds-roots-germination-seeds-home_169016-34933.jpg",
          imageAlt: "A small, natural-looking rock waterfall in a garden",
        },
      ]}
      title="Our Signature Projects"
      description="Browse a selection of our recent landscaping and lawn service transformations that bring dreams to life."
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardThirteen
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      testimonials={[
        {
          id: "1",
          name: "Sarah P.",
          handle: "@sarah_p",
          testimonial: "Life Is Green transformed our overgrown yard into a vibrant outdoor sanctuary. Their attention to detail and professional team exceeded all our expectations!",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/mature-couple-have-leisure-days-working-paint-together-park_146671-16114.jpg",
          imageAlt: "Portrait of Sarah P.",
        },
        {
          id: "2",
          name: "Mark T.",
          handle: "@markt_biz",
          testimonial: "Reliable, efficient, and always a beautiful result. Life Is Green handles our commercial property with unmatched care. Highly recommended for any business!.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/businesspeople-standing-outside-office-building-holding-document-hands_23-2147972822.jpg",
          imageAlt: "Portrait of Mark T.",
        },
        {
          id: "3",
          name: "Emily R.",
          handle: "@emilyreads",
          testimonial: "Our garden has never looked better! The design team understood our vision perfectly and brought it to life with incredible artistry and professionalism.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/teenage-girl-taking-care-flowers-working-as-shop-assistant-greenhouse-store-looking-camera-smiling_197531-22367.jpg",
          imageAlt: "Portrait of Emily R.",
        },
        {
          id: "4",
          name: "David L.",
          handle: "@lawnlover",
          testimonial: "From regular mowing to seasonal plantings, Life Is Green makes lawn care effortless. Our neighbors constantly compliment our curb appeal!",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-smiley-people-nature_23-2149181976.jpg",
          imageAlt: "Portrait of David L.",
        },
        {
          id: "5",
          name: "Jessica M.",
          handle: "@jessm_home",
          testimonial: "I appreciate their commitment to sustainable practices. My lawn is not only gorgeous but also healthy and eco-friendly. Thank you, Life Is Green!",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/senior-couple-garden-with-dog_23-2148256664.jpg",
          imageAlt: "Portrait of Jessica M.",
        },
      ]}
      showRating={true}
      title="What Our Clients Say"
      description="Hear directly from homeowners and businesses who have experienced the Life Is Green difference."
    />
  </div>

  <div id="social-proof" data-section="social-proof">
      <SocialProofOne
      textboxLayout="default"
      useInvertedBackground={true}
      names={[
        "Green Acres Estates",
        "Bloom & Grow Nurseries",
        "City Greens Commercial",
        "Community Gardens HOA",
        "Eco-Scape Solutions",
        "Parkside Resorts",
        "Urban Oasis Developers",
      ]}
      title="Trusted by Homeowners & Businesses"
      description="We're proud to partner with leading local organizations and serve countless satisfied residents."
      showCard={false}
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqSplitText
      useInvertedBackground={false}
      faqs={[
        {
          id: "1",
          title: "What areas do you serve?",
          content: "We proudly serve residential and commercial clients within a 30-mile radius of our main office. Please contact us to confirm service availability in your specific location.",
        },
        {
          id: "2",
          title: "Are your services eco-friendly?",
          content: "Yes, we prioritize sustainable and environmentally friendly practices. We use organic fertilizers, water-efficient irrigation methods, and integrated pest management to minimize environmental impact.",
        },
        {
          id: "3",
          title: "How often do you recommend lawn mowing?",
          content: "For optimal lawn health and appearance, we generally recommend weekly mowing during the peak growing season (spring and summer) and bi-weekly during slower growth periods.",
        },
        {
          id: "4",
          title: "Do you offer custom landscaping designs?",
          content: "Absolutely! Our experienced designers work closely with you to create personalized landscaping plans that reflect your vision, lifestyle, and property's unique characteristics. From consultation to installation, we manage the entire process.",
        },
        {
          id: "5",
          title: "What payment methods do you accept?",
          content: "We accept all major credit cards, bank transfers, and checks. Payment plans are available for larger projects. Please speak with our team for more details.",
        },
      ]}
      sideTitle="Questions About Our Services?"
      sideDescription="Find quick answers to the most common inquiries regarding our lawn care and landscaping services."
      faqsAnimation="slide-up"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactSplit
      useInvertedBackground={true}
      background={{
        variant: "plain",
      }}
      tag="Contact Us"
      title="Ready for a Greener Space?"
      description="Connect with Life Is Green today to discuss your lawn care or landscaping project. We offer free consultations and personalized quotes."
      imageSrc="http://img.b2bpic.net/free-photo/beautiful-couple-works-garden_1157-24608.jpg"
      imageAlt="Gardener working in a lush green garden with various tools"
      mediaAnimation="slide-up"
      mediaPosition="right"
      inputPlaceholder="Enter your email"
      buttonText="Get Your Free Quote"
      termsText="By clicking 'Get Your Free Quote', you agree to our Terms and Conditions and Privacy Policy."
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterLogoEmphasis
      columns={[
        {
          items: [
            {
              label: "Home",
              href: "#home",
            },
            {
              label: "About Us",
              href: "#about",
            },
            {
              label: "Services",
              href: "#services",
            },
            {
              label: "Projects",
              href: "#projects",
            },
          ],
        },
        {
          items: [
            {
              label: "Testimonials",
              href: "#testimonials",
            },
            {
              label: "FAQ",
              href: "#faq",
            },
            {
              label: "Contact",
              href: "#contact",
            },
          ],
        },
        {
          items: [
            {
              label: "Privacy Policy",
              href: "#",
            },
            {
              label: "Terms of Service",
              href: "#",
            },
          ],
        },
      ]}
      logoText="Life Is Green"
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
