"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import AboutMetric from '@/components/sections/about/AboutMetric';
import ContactText from '@/components/sections/contact/ContactText';
import FaqSplitText from '@/components/sections/faq/FaqSplitText';
import FeatureCardTwentySix from '@/components/sections/feature/FeatureCardTwentySix';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import HeroSplitDoubleCarousel from '@/components/sections/hero/HeroSplitDoubleCarousel';
import MetricCardOne from '@/components/sections/metrics/MetricCardOne';
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import TeamCardOne from '@/components/sections/team/TeamCardOne';
import TestimonialCardThirteen from '@/components/sections/testimonial/TestimonialCardThirteen';
import { Award, Building, Droplets, Feather, Home, Leaf, Smile, Users } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="expand-hover"
        defaultTextAnimation="reveal-blur"
        borderRadius="rounded"
        contentWidth="compact"
        sizing="large"
        background="fluid"
        cardStyle="layered-gradient"
        primaryButtonStyle="flat"
        secondaryButtonStyle="glass"
        headingFontWeight="medium"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarLayoutFloatingInline
      navItems={[
        {
          name: "Home",
          id: "home",
        },
        {
          name: "About",
          id: "about",
        },
        {
          name: "Services",
          id: "services",
        },
        {
          name: "Projects",
          id: "projects",
        },
        {
          name: "Team",
          id: "team",
        },
        {
          name: "Testimonials",
          id: "testimonials",
        },
        {
          name: "FAQ",
          id: "faq",
        },
        {
          name: "Contact",
          id: "contact",
        },
      ]}
      logoSrc="http://img.b2bpic.net/free-vector/water-leaf-colorful-logo-illustration_361591-1824.jpg"
      logoAlt="Seven Bucks Irrigation Logo"
      brandName="Seven Bucks Irrigation"
      button={{
        text: "Get a Quote",
        href: "#contact",
      }}
    />
  </div>

  <div id="home" data-section="home">
      <HeroSplitDoubleCarousel
      background={{
        variant: "downward-rays-static-grid",
      }}
      title="Innovative Irrigation Designs for a Greener Tomorrow"
      description="Seven Bucks Irrigation specializes in bespoke, efficient, and sustainable irrigation solutions for residential, commercial, and agricultural landscapes."
      leftCarouselItems={[
        {
          imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EwTH8byWMyrxQrnT3hneiXVKWk/uploaded-1781088657806-r6wcurrn.png?_wi=1",
          imageAlt: "Aerial view of an intricately designed irrigation landscape",
        },
        {
          imageSrc: "asset://home-lc-2",
          imageAlt: "Lush green landscape with modern irrigation",
        },
        {
          imageSrc: "asset://home-lc-3",
          imageAlt: "Advanced drip irrigation in a field",
        },
        {
          imageSrc: "asset://home-lc-4",
          imageAlt: "Residential garden with automated sprinkler system",
        },
        {
          imageSrc: "asset://home-lc-5",
          imageAlt: "Urban park with water-efficient irrigation",
        },
      ]}
      rightCarouselItems={[
        {
          imageSrc: "http://img.b2bpic.net/free-photo/blue-watering-can-near-plants-growing-greenhouse_23-2147948319.jpg",
          imageAlt: "Modern residential irrigation system design",
        },
        {
          imageSrc: "http://img.b2bpic.net/free-photo/aerial-scenery-view-nature_23-2148922158.jpg",
          imageAlt: "Agricultural field with drip irrigation system",
        },
        {
          imageSrc: "http://img.b2bpic.net/free-vector/ecological-system-infographic_23-2147508108.jpg",
          imageAlt: "Commercial landscape sprinkler system installation",
        },
        {
          imageSrc: "http://img.b2bpic.net/free-photo/young-woman-taking-care-her-plants_23-2149037254.jpg",
          imageAlt: "Home garden micro irrigation close up",
        },
        {
          imageSrc: "http://img.b2bpic.net/free-photo/smart-robotic-farmer-spraying-fertilizer-vegetable-green-plants_35913-2325.jpg",
          imageAlt: "Sustainable irrigation eco friendly system",
        },
        {
          imageSrc: "http://img.b2bpic.net/free-photo/metal-equipment-aids-growth-rural-farm-generated-by-ai_188544-37944.jpg",
          imageAlt: "Irrigation network pipes and valves",
        },
      ]}
      buttons={[
        {
          text: "Explore Our Services",
          href: "#services",
        },
        {
          text: "Get a Free Quote",
          href: "#contact",
        },
      ]}
      carouselPosition="right"
      avatars={[
        {
          src: "asset://home-avatar-1",
          alt: "John Doe, Lead Engineer",
        },
        {
          src: "asset://home-avatar-2",
          alt: "Jane Smith, Project Manager",
        },
        {
          src: "asset://home-avatar-3",
          alt: "David Lee, Senior Technician",
        },
        {
          src: "asset://home-avatar-4",
          alt: "Sarah Chen, Design Specialist",
        },
        {
          src: "asset://home-avatar-5",
          alt: "Michael Brown, Client Relations",
        },
      ]}
      avatarText="Trusted by 500+ satisfied clients"
      marqueeItems={[
        {
          type: "image",
          src: "asset://home-marquee-1",
          alt: "Green water drop logo",
        },
        {
          type: "image",
          src: "asset://home-marquee-2",
          alt: "Eco-friendly leaf icon",
        },
        {
          type: "image",
          src: "asset://home-marquee-3",
          alt: "Water conservation symbol",
        },
        {
          type: "image",
          src: "asset://home-marquee-4",
          alt: "Sustainable agriculture emblem",
        },
        {
          type: "image",
          src: "asset://home-marquee-5",
          alt: "Smart technology logo",
        },
      ]}
    />
  </div>

  <div id="about" data-section="about">
      <AboutMetric
      useInvertedBackground={false}
      title="Driven by Expertise, Delivering Excellence"
      metrics={[
        {
          icon: Award,
          label: "Years in Business",
          value: "15+",
        },
        {
          icon: Users,
          label: "Satisfied Clients",
          value: "500+",
        },
        {
          icon: Leaf,
          label: "Water Savings",
          value: "30% Avg.",
        },
        {
          icon: Droplets,
          label: "Projects Completed",
          value: "1200+",
        },
      ]}
      metricsAnimation="slide-up"
    />
  </div>

  <div id="features" data-section="features">
      <FeatureCardTwentySix
      textboxLayout="default"
      useInvertedBackground={true}
      features={[
        {
          title: "Custom Design & Planning",
          description: "Every project begins with a detailed, custom irrigation plan, precisely engineered for your landscape's unique requirements and soil conditions.",
          imageSrc: "http://img.b2bpic.net/free-photo/aerial-view-tweed-river-flowing-through-lush-uki-farmland_1308-189437.jpg",
          imageAlt: "Detailed irrigation blueprint design",
          buttonIcon: "PenTool",
          buttonHref: "#contact",
        },
        {
          title: "Smart Irrigation Technology",
          description: "Integrate cutting-edge smart controllers and sensors for automated watering, allowing remote management and real-time adjustments for optimal efficiency.",
          imageSrc: "http://img.b2bpic.net/free-photo/young-green-melon-cantaloupe-growing-greenhouse_1150-10087.jpg",
          imageAlt: "Smart irrigation controller device with phone app",
          buttonIcon: "Zap",
          buttonHref: "#contact",
        },
        {
          title: "Water Conservation Focus",
          description: "Our designs prioritize water efficiency, incorporating drip systems and low-flow emitters to minimize waste and maximize the health of your plants.",
          imageSrc: "http://img.b2bpic.net/free-photo/beautiful-young-woman-spraying-water-from-bottle-growing-plants_23-2147948215.jpg",
          imageAlt: "Water efficient drip irrigation system for plants",
          buttonIcon: "Droplet",
          buttonHref: "#contact",
        },
        {
          title: "Expert Installation & Support",
          description: "Beyond design, our certified technicians ensure flawless installation and provide comprehensive support to keep your system running perfectly for years.",
          imageSrc: "http://img.b2bpic.net/free-photo/female-gardener-checking-leaves-potted-plant_23-2147918579.jpg",
          imageAlt: "Professional irrigation system installation team",
          buttonIcon: "Wrench",
          buttonHref: "#contact",
        },
      ]}
      title="Why Choose Seven Bucks Irrigation?"
      description="We blend innovative technology with sustainable practices to deliver irrigation systems that are efficient, reliable, and tailored to your specific needs."
    />
  </div>

  <div id="services" data-section="services">
      <ProductCardOne
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={false}
      products={[
        {
          id: "1",
          name: "Residential Irrigation",
          price: "Custom Quote",
          imageSrc: "http://img.b2bpic.net/free-photo/crop-hand-putting-surfboard-water_23-2148021610.jpg",
          imageAlt: "Residential garden irrigation planning",
        },
        {
          id: "2",
          name: "Commercial Solutions",
          price: "Custom Quote",
          imageSrc: "http://img.b2bpic.net/free-photo/residential-houses-surrounded-by-greenery_1268-15594.jpg",
          imageAlt: "Commercial landscape irrigation large scale",
        },
        {
          id: "3",
          name: "Agricultural Systems",
          price: "Custom Quote",
          imageSrc: "http://img.b2bpic.net/free-photo/view-landscape-with-lavender-field_661209-331.jpg",
          imageAlt: "Agricultural field with smart irrigation",
        },
        {
          id: "4",
          name: "Drip Irrigation",
          price: "Custom Quote",
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-gardener-watering-succulent-plant_23-2147844312.jpg",
          imageAlt: "Drip irrigation system installation close up",
        },
        {
          id: "5",
          name: "Sprinkler Systems",
          price: "Custom Quote",
          imageSrc: "http://img.b2bpic.net/free-photo/high-angle-view-gardening-gloves-watering-can-near-fresh-flower-plants-greenhouse_23-2147948245.jpg",
          imageAlt: "Sprinkler system design for lawn coverage",
        },
        {
          id: "6",
          name: "Maintenance & Repair",
          price: "Custom Quote",
          imageSrc: "http://img.b2bpic.net/free-photo/side-view-man-washing-his-hands-outdoors_23-2148749280.jpg",
          imageAlt: "Irrigation system maintenance and repair",
        },
      ]}
      title="Our Comprehensive Irrigation Services"
      description="From residential gardens to vast agricultural lands, we offer a full spectrum of irrigation solutions designed for every scale and requirement."
    />
  </div>

  <div id="projects" data-section="projects">
      <MetricCardOne
      animationType="depth-3d"
      textboxLayout="default"
      gridVariant="uniform-all-items-equal"
      useInvertedBackground={true}
      metrics={[
        {
          id: "1",
          value: "200+",
          title: "Residential Projects",
          description: "Beautiful, sustainable gardens created for homes.",
          icon: Home,
        },
        {
          id: "2",
          value: "150+",
          title: "Commercial Sites",
          description: "Efficient irrigation for businesses and public spaces.",
          icon: Building,
        },
        {
          id: "3",
          value: "50+",
          title: "Agricultural Lands",
          description: "Optimized watering systems for maximum crop yield.",
          icon: Feather,
        },
        {
          id: "4",
          value: "98%",
          title: "Client Satisfaction",
          description: "Our dedication to client success speaks for itself.",
          icon: Smile,
        },
      ]}
      title="Transforming Landscapes, One Project at a Time"
      description="Our commitment to quality and innovation is reflected in every project we undertake, ensuring vibrant, water-efficient landscapes for our clients."
    />
  </div>

  <div id="team" data-section="team">
      <TeamCardOne
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={false}
      members={[
        {
          id: "1",
          name: "Arjun Sharma",
          role: "Lead Irrigation Designer",
          imageSrc: "http://img.b2bpic.net/free-photo/technologist-with-grey-tablet-his-hands-make-set-up-production-line-while-standing-department-dairy-factory_645730-773.jpg",
          imageAlt: "Portrait of Arjun Sharma, Lead Irrigation Designer",
        },
        {
          id: "2",
          name: "Priya Singh",
          role: "Project Manager",
          imageSrc: "http://img.b2bpic.net/free-photo/young-freelancer-is-reading-her-notes-while-sitting-her-office_613910-15038.jpg",
          imageAlt: "Portrait of Priya Singh, Project Manager",
        },
        {
          id: "3",
          name: "Rahul Kumar",
          role: "Senior Technician",
          imageSrc: "http://img.b2bpic.net/free-photo/young-farmer-taking-care-his-business_329181-15933.jpg",
          imageAlt: "Portrait of Rahul Kumar, Senior Technician",
        },
      ]}
      title="Meet the Experts Behind Your Green Spaces"
      description="Our team of dedicated professionals brings years of experience and a passion for innovative irrigation design to every project."
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardThirteen
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={true}
      testimonials={[
        {
          id: "1",
          name: "Deepak Mehta",
          handle: "@DeepakM_Homes",
          testimonial: "Seven Bucks Irrigation exceeded our expectations! Our garden has never looked healthier, and the automated system is a game-changer for water efficiency.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/man-street-using-mobile-phone_657883-744.jpg",
          imageAlt: "Deepak Mehta, homeowner",
        },
        {
          id: "2",
          name: "Anjali Sharma",
          handle: "@AnjaliS_Corp",
          testimonial: "Professional, punctual, and innovative. Their design for our corporate campus saved us significant costs on water bills while maintaining lush greenery. Highly recommend!",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/business-woman-stands-with-laptop-suit-glasses-outside-office-building-day_78492-3941.jpg",
          imageAlt: "Anjali Sharma, business owner",
        },
        {
          id: "3",
          name: "Rajesh Gupta",
          handle: "@RajeshG_Farms",
          testimonial: "The agricultural irrigation system",
          imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3EwTH8byWMyrxQrnT3hneiXVKWk/uploaded-1781088657806-r6wcurrn.png?_wi=2",
          imageAlt: "happy man in lush garden",
        },
      ]}
      showRating={true}
      title="What Our Clients Say"
      description="Hear directly from satisfied customers about how Seven Bucks Irrigation transformed their landscapes with our expert design and service."
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqSplitText
      useInvertedBackground={false}
      faqs={[
        {
          id: "1",
          title: "What types of irrigation systems do you design?",
          content: "We design a wide range of systems including drip irrigation, sprinkler systems, micro-irrigation, and smart irrigation solutions for residential, commercial, and agricultural properties.",
        },
        {
          id: "2",
          title: "How do your smart irrigation systems work?",
          content: "Our smart systems integrate weather sensors, soil moisture detectors, and programmable controllers. They automatically adjust watering schedules based on real-time conditions, saving water and optimizing plant health.",
        },
        {
          id: "3",
          title: "Is a custom design really necessary?",
          content: "Absolutely. Every landscape is unique. A custom design ensures optimal water distribution, minimizes waste, and prolongs the life of your system, leading to long-term savings and healthier plants.",
        },
        {
          id: "4",
          title: "Do you also handle installation and maintenance?",
          content: "Yes, we offer complete end-to-end services, from initial consultation and design to professional installation and ongoing maintenance plans to keep your system performing at its best.",
        },
        {
          id: "5",
          title: "What are the benefits of water-efficient irrigation?",
          content: "Benefits include significant water savings, lower utility bills, reduced plant disease from overwatering, healthier landscapes, and a positive environmental impact through conservation.",
        },
      ]}
      sideTitle="Frequently Asked Questions"
      sideDescription="Find answers to common questions about our irrigation design services, process, and technology."
      buttons={[
        {
          text: "Have More Questions?",
          href: "#contact",
        },
      ]}
      faqsAnimation="slide-up"
      textPosition="left"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactText
      useInvertedBackground={true}
      background={{
        variant: "sparkles-gradient",
      }}
      text="Ready to Transform Your Landscape? Get a Free Quote Today!"
      buttons={[
        {
          text: "Contact Us Now",
          href: "mailto:info@sevenbucksirrigation.com",
        },
        {
          text: "Call Us: 0120 431 3118",
          href: "tel:+911204313118",
        },
      ]}
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterLogoEmphasis
      logoSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=eebaop"
      logoAlt="Seven Bucks Irrigation Logo"
      columns={[
        {
          items: [
            {
              label: "Home",
              href: "#home",
            },
            {
              label: "About Us",
              href: "#about",
            },
            {
              label: "Services",
              href: "#services",
            },
            {
              label: "Projects",
              href: "#projects",
            },
          ],
        },
        {
          items: [
            {
              label: "Team",
              href: "#team",
            },
            {
              label: "Testimonials",
              href: "#testimonials",
            },
            {
              label: "FAQ",
              href: "#faq",
            },
            {
              label: "Contact",
              href: "#contact",
            },
          ],
        },
        {
          items: [
            {
              label: "Privacy Policy",
              href: "#",
            },
            {
              label: "Terms of Service",
              href: "#",
            },
            {
              label: "Sitemap",
              href: "#",
            },
          ],
        },
      ]}
      logoText="Seven Bucks Irrigation Design Services Pvt Ltd"
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
