"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactCTA from '@/components/sections/contact/ContactCTA';
import FaqDouble from '@/components/sections/faq/FaqDouble';
import FeatureCardTwentySix from '@/components/sections/feature/FeatureCardTwentySix';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import HeroBillboardScroll from '@/components/sections/hero/HeroBillboardScroll';
import MetricCardThree from '@/components/sections/metrics/MetricCardThree';
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import SplitAbout from '@/components/sections/about/SplitAbout';
import TestimonialCardTwo from '@/components/sections/testimonial/TestimonialCardTwo';
import { CheckCircle, Trophy, Users, Wrench, Thermometer, Droplet } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="expand-hover"
        defaultTextAnimation="reveal-blur"
        borderRadius="rounded"
        contentWidth="small"
        sizing="medium"
        background="noiseDiagonalGradient"
        cardStyle="subtle-shadow"
        primaryButtonStyle="double-inset"
        secondaryButtonStyle="layered"
        headingFontWeight="semibold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleApple
      navItems={[
        {
          name: "Home",          id: "#home"},
        {
          name: "About",          id: "#about"},
        {
          name: "Services",          id: "#services"},
        {
          name: "Testimonials",          id: "#testimonials"},
        {
          name: "FAQs",          id: "#faqs"},
        {
          name: "Contact",          id: "#contact"},
      ]}
      brandName="Dunwoody Plumbing"
    />
  </div>

  <div id="home" data-section="home">
      <HeroBillboardScroll
      background={{
        variant: "plain"}}
      title="Expert Plumbing & Drainage Solutions, Flawlessly Delivered."
      description="Experience unparalleled service and lasting peace of mind with Dunwoody's trusted professionals."
      tag="Your Trusted Experts"
      tagAnimation="opacity"
      buttons={[
        {
          text: "Schedule Service",          href: "#contact"},
      ]}
      buttonAnimation="slide-up"
      imageSrc="https://img.b2bpic.net/free-photo/male-plumber-working-fix-problems-client-s-house_23-2150990697.jpg?id=94957524"
      imageAlt="Luxurious plumbing tools on a dark background"
    />
  </div>

  <div id="about" data-section="about">
      <SplitAbout
      textboxLayout="default"
      useInvertedBackground={false}
      title="Dunwoody's Premier Plumbing & Drainage Agency"
      description="With a commitment to excellence and unparalleled expertise, Dunwoody Plumbing & Drainage Clean delivers top-tier services tailored to your specific needs. We ensure seamless operations and long-lasting solutions."
      bulletPoints={[
        {
          title: "24/7 Emergency Service",          description: "Our team is always on call for urgent plumbing and drainage issues, providing rapid response and effective solutions day or night."},
        {
          title: "Certified Professionals",          description: "All our technicians are highly trained, licensed, and insured, ensuring quality workmanship and adherence to the highest industry standards."},
        {
          title: "Advanced Diagnostics",          description: "We utilize cutting-edge video inspection and leak detection technology to accurately identify problems and prevent future complications."},
        {
          title: "Sustainable Solutions",          description: "Committed to eco-friendly practices, we offer solutions that minimize water waste and promote environmental responsibility."},
      ]}
      imageSrc="https://img.b2bpic.net/free-photo/male-plumber-working-fix-problems-client-s-house_23-2150990698.jpg?id=94957525"
      imageAlt="Dunwoody Plumbing service van"
      mediaAnimation="opacity"
    />
  </div>

  <div id="services" data-section="services">
      <FeatureCardTwentySix
      textboxLayout="default"
      useInvertedBackground={true}
      features={[
        {
          title: "Drain Cleaning",          description: "Expert solutions for clogged drains, including hydro-jetting and root removal for lasting relief.",          imageSrc: "http://img.b2bpic.net/free-photo/worker-putting-protective-gloves_23-2148773452.jpg",          imageAlt: "High pressure drain cleaning tools",          buttonIcon: Wrench
        },
        {
          title: "Faucet Installation & Repair",          description: "Professional installation and repair of all types of faucets, ensuring leak-free performance and aesthetic appeal.",          imageSrc: "http://img.b2bpic.net/free-photo/side-view-man-working-as-plumber_23-2150746318.jpg",          imageAlt: "Plumber installing a modern kitchen faucet",          buttonIcon: Droplet
        },
        {
          title: "Water Heater Services",          description: "Installation, repair, and maintenance for tankless and traditional water heaters, guaranteeing reliable hot water.",          imageSrc: "http://img.b2bpic.net/free-photo/view-person-creating-digital-diy-craft-content_23-2151515893.jpg",          imageAlt: "Technician repairing a water heater",          buttonIcon: Thermometer
        },
        {
          title: "Plumbing Leak Detection",          description: "Utilizing advanced technology to accurately pinpoint leaks, preventing costly water damage and wastage.",          imageSrc: "http://img.b2bpic.net/free-photo/service-maintenance-worker-repairing_23-2149176720.jpg",          imageAlt: "Plumber using leak detection equipment",          buttonIcon: Droplet
        }
      ]}
      title="Our Premium Plumbing Services"
      description="From routine maintenance to complex emergencies, our comprehensive range of services ensures your plumbing systems are always in optimal condition."
    />
  </div>

  <div id="metrics" data-section="metrics">
      <MetricCardThree
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      metrics={[
        {
          id: "m1",          icon: Users,
          title: "Happy Clients",          value: "1000+"},
        {
          id: "m2",          icon: Trophy,
          title: "Years of Service",          value: "15+"},
        {
          id: "m3",          icon: CheckCircle,
          title: "Projects Completed",          value: "2500+"},
      ]}
      title="Our Impact & Excellence"
      description="Dedicated to delivering outstanding results, our achievements reflect our unwavering commitment to client satisfaction and operational excellence."
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardTwo
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={true}
      testimonials={[
        {
          id: "1",          name: "Sarah Johnson",          role: "Homeowner",          testimonial: "Great experience with their service! The team was professional, prompt, and solved our complex drainage issue quickly.",          imageSrc: "http://img.b2bpic.net/free-photo/side-view-smiley-drag-queen-indoors_23-2149556820.jpg"},
        {
          id: "2",          name: "Michael Chen",          role: "Property Manager",          testimonial: "The sink and faucet were expertly fixed, and now everything is working great. Their attention to detail is truly impressive.",          imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-businesswoman-against-gray-background_23-2147943800.jpg"},
        {
          id: "3",          name: "Emily Rodriguez",          role: "Business Owner",          testimonial: "Dunwoody Plumbing provided exceptional service for our commercial property. Fast, efficient, and highly skilled technicians.",          imageSrc: "http://img.b2bpic.net/free-photo/happy-mid-adult-businessman-working-computer-reading-email-office_637285-6752.jpg"},
        {
          id: "4",          name: "David Kim",          role: "Local Resident",          testimonial: "Reliable and trustworthy. They fixed our water heater issue on a Saturday, preventing a major disaster. Highly recommend!",          imageSrc: "http://img.b2bpic.net/free-photo/young-loader-holding-mini-clipboard-with-phone-gesture-uniform-front-view_176474-21363.jpg"},
        {
          id: "5",          name: "Jessica Lee",          role: "Contractor",          testimonial: "Partnering with Dunwoody Plumbing for our new construction projects has been a seamless experience. Professionalism at its best.",          imageSrc: "http://img.b2bpic.net/free-photo/womens-happy-about-success_23-2148461402.jpg"},
      ]}
      title="What Our Clients Say"
      description="Hear directly from our satisfied customers about the quality and reliability of Dunwoody Plumbing & Drainage Clean."
    />
  </div>

  <div id="social-proof" data-section="social-proof">
      <SocialProofOne
      textboxLayout="default"
      useInvertedBackground={false}
      title="Our Certifications & Affiliations"
      description="We are proud to be recognized and affiliated with leading industry organizations, ensuring the highest standards of quality and service."
      names={[]}
      showCard={false}
    />
  </div>

  <div id="faqs" data-section="faqs">
      <FaqDouble
      textboxLayout="default"
      useInvertedBackground={true}
      faqs={[
        {
          id: "faq1",          title: "What are your operating hours?",          content: "We offer 24-hour emergency plumbing and drainage services. Our standard business hours for non-emergency appointments are Monday to Friday, 8 AM to 5 PM."},
        {
          id: "faq2",          title: "Do you provide free estimates?",          content: "Yes, we offer free, no-obligation estimates for most of our plumbing and drainage services. Contact us to schedule an appointment."},
        {
          id: "faq3",          title: "Are your technicians licensed and insured?",          content: "Absolutely. All our technicians are fully licensed, certified, and insured, ensuring professional and reliable service every time."},
        {
          id: "faq4",          title: "What payment methods do you accept?",          content: "We accept all major credit cards, debit cards, and bank transfers. Payment plans may be available for larger projects."},
        {
          id: "faq5",          title: "How quickly can you respond to an emergency?",          content: "Our emergency response team aims to be on-site within 60-90 minutes, depending on your location and traffic conditions."},
        {
          id: "faq6",          title: "Do you offer warranty on your services?",          content: "Yes, we stand behind our work. All our repair and installation services come with a comprehensive warranty for your peace of mind."},
      ]}
      title="Frequently Asked Questions"
      description="Find quick answers to common questions about our services, pricing, and operational practices."
      faqsAnimation="slide-up"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactCTA
      useInvertedBackground={false}
      background={{
        variant: "plain"}}
      tag="Contact Us"
      title="Ready for Premium Service?"
      description="Get in touch with Dunwoody Plumbing & Drainage Clean today for expert solutions and unparalleled customer care."
      buttons={[
        {
          text: "Call Us: (770) 407-6487",          href: "tel:7704076487"},
        {
          text: "Get a Free Estimate",          href: "#"},
      ]}
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterLogoEmphasis
      logoSrc="http://img.b2bpic.net/free-vector/number-0-colorful-logo-design_474888-2246.jpg"
      logoAlt="Dunwoody Plumbing & Drainage Clean Logo"
      columns={[
        {
          items: [
            {
              label: "About Us",              href: "#about"},
            {
              label: "Services",              href: "#services"},
            {
              label: "Testimonials",              href: "#testimonials"},
          ]
        },
        {
          items: [
            {
              label: "FAQs",              href: "#faqs"},
            {
              label: "Contact",              href: "#contact"},
            {
              label: "Emergency Service",              href: "tel:7704076487"},
          ]
        },
        {
          items: [
            {
              label: "Privacy Policy",              href: "#"},
            {
              label: "Terms of Service",              href: "#"},
            {
              label: "Location",              href: "https://www.google.com/maps/dir/?api=1&destination=5591+Chamblee+Dunwoody+Rd+%23505,+Dunwoody,+GA+30338"},
          ]
        }
      ]}
      logoText=""
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
