"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactText from '@/components/sections/contact/ContactText';
import FeatureCardThree from '@/components/sections/feature/featureCardThree/FeatureCardThree';
import FooterCard from '@/components/sections/footer/FooterCard';
import HeroLogoBillboard from '@/components/sections/hero/HeroLogoBillboard';
import MetricCardTwo from '@/components/sections/metrics/MetricCardTwo';
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import SplitAbout from '@/components/sections/about/SplitAbout';
import TestimonialCardTwelve from '@/components/sections/testimonial/TestimonialCardTwelve';
import { Facebook, Instagram } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="bounce-effect"
        defaultTextAnimation="reveal-blur"
        borderRadius="soft"
        contentWidth="compact"
        sizing="large"
        background="fluid"
        cardStyle="inset"
        primaryButtonStyle="double-inset"
        secondaryButtonStyle="layered"
        headingFontWeight="bold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarLayoutFloatingOverlay
      navItems={[
        {
          name: "About",
          id: "about",
        },
        {
          name: "Services",
          id: "services",
        },
        {
          name: "Projects",
          id: "projects",
        },
        {
          name: "Contact",
          id: "contact",
        },
      ]}
      brandName="A D White Builders Ltd"
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroLogoBillboard
      background={{
        variant: "gradient-bars",
      }}
      logoText="Christchurch Kitchen & Bathroom Renovation Specialists"
      description="Over 20 years of qualified building experience delivering quality renovations, additions, and maintenance work across Christchurch."
      buttons={[
        {
          text: "Get a Quote",
          href: "#contact",
        },
        {
          text: "View Projects",
          href: "#projects",
        },
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/beautiful-shot-modern-house-bathroom-with-technology-art_181624-2980.jpg"
      mediaAnimation="slide-up"
    />
  </div>

  <div id="about" data-section="about">
      <SplitAbout
      textboxLayout="split"
      useInvertedBackground={false}
      title="Built on Quality & Accountability"
      description="A D White Builders Ltd is led by Allan, a qualified builder with more than 20 years in the trade. We specialize in kitchens, bathrooms, renovations, additions, and maintenance projects throughout Christchurch and surrounding areas. Every project is completed with attention to detail, clear communication, and a commitment to staying on budget and on schedule."
      bulletPoints={[
        {
          title: "No job too small",
          description: "Whether it's a minor repair or a complete home renovation.",
        },
        {
          title: "Quality workmanship guaranteed",
          description: "We take pride in our trade and provide top-tier results.",
        },
        {
          title: "Reliable communication",
          description: "Clear, honest, and transparent project management.",
        },
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/portrait-smiling-construction-worker_329181-3733.jpg"
      mediaAnimation="slide-up"
    />
  </div>

  <div id="services" data-section="services">
      <FeatureCardThree
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="four-items-2x2-equal-grid"
      useInvertedBackground={true}
      features={[
        {
          title: "Kitchen Renovations",
          description: "Custom designs and high-end cabinetry.",
          imageSrc: "http://img.b2bpic.net/free-photo/linear-kitchen-black-hob-blue-cabinetry_169016-69065.jpg",
        },
        {
          title: "Bathroom Renovations",
          description: "Full plumbing and tiling services.",
          imageSrc: "http://img.b2bpic.net/free-vector/bath-room-isometric-composition_1284-26104.jpg",
        },
        {
          title: "Home Renovations",
          description: "Complete interior and exterior remodels.",
          imageSrc: "http://img.b2bpic.net/free-vector/insurance-icons-gray-tones_1284-812.jpg",
        },
        {
          title: "Additions & Extensions",
          description: "Adding space and value to your home.",
          imageSrc: "http://img.b2bpic.net/free-photo/home-front-side_187299-39255.jpg",
        },
        {
          title: "Residential Building",
          description: "New builds and structural modifications.",
          imageSrc: "http://img.b2bpic.net/free-photo/chart-statistics-icon-left-side_187299-39620.jpg",
        },
        {
          title: "Property Maintenance",
          description: "Regular repairs and preventative care.",
          imageSrc: "http://img.b2bpic.net/free-vector/flat-design-handyman-logo_23-2149243751.jpg",
        },
      ]}
      title="Our Expert Services"
      description="Professional building solutions for your home."
    />
  </div>

  <div id="why-choose-us" data-section="why-choose-us">
      <MetricCardTwo
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="bento-grid"
      useInvertedBackground={false}
      metrics={[
        {
          id: "1",
          value: "20+",
          description: "Years Experience",
        },
        {
          id: "2",
          value: "5.0",
          description: "Average Customer Rating",
        },
        {
          id: "3",
          value: "100%",
          description: "Licensed Workmanship",
        },
        {
          id: "4",
          value: "Local",
          description: "Canterbury Based",
        },
      ]}
      title="Why Choose A D White?"
      description="20+ years of local building excellence in Christchurch."
    />
  </div>

  <div id="projects" data-section="projects">
      <ProductCardOne
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={true}
      products={[
        {
          id: "1",
          name: "Modern Kitchen",
          price: "Renovation",
          imageSrc: "http://img.b2bpic.net/free-photo/blue-kitchen-fronts-glass-chandelier-attic-light_169016-69152.jpg",
        },
        {
          id: "2",
          name: "Luxury Bathroom",
          price: "Renovation",
          imageSrc: "http://img.b2bpic.net/free-photo/modern-interior-design-interior_23-2151929569.jpg",
        },
        {
          id: "3",
          name: "Full Renovation",
          price: "Interior",
          imageSrc: "http://img.b2bpic.net/free-photo/minimalist-interior-with-wooden-accents-natural-light_23-2152016397.jpg",
        },
        {
          id: "4",
          name: "Home Addition",
          price: "Extension",
          imageSrc: "http://img.b2bpic.net/free-photo/view-modern-construction-site_23-2151317315.jpg",
        },
        {
          id: "5",
          name: "Kitchen Finish",
          price: "Modern",
          imageSrc: "http://img.b2bpic.net/free-photo/beautiful-young-woman-using-mobile-phone_171337-4161.jpg",
        },
        {
          id: "6",
          name: "Bathroom Tile",
          price: "Design",
          imageSrc: "http://img.b2bpic.net/free-photo/modern-minimalist-bathroom-interior_23-2151983216.jpg",
        },
      ]}
      title="Projects Gallery"
      description="View our recent building and renovation work."
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardTwelve
      useInvertedBackground={false}
      testimonials={[
        {
          id: "1",
          name: "Sarah J.",
          imageSrc: "http://img.b2bpic.net/free-photo/middle-age-hispanic-woman-wearing-casual-clothes-looking-confident-with-smile-face-pointing-oneself-with-fingers-proud-happy_839833-11692.jpg",
        },
        {
          id: "2",
          name: "Michael T.",
          imageSrc: "http://img.b2bpic.net/free-photo/very-good-smiling-brunette-woman-shows-ok-okay-hand-sign-looking-satisfied-recommend-great-deal-pleased-with-quality-standing-white-background_176420-46695.jpg",
        },
        {
          id: "3",
          name: "Emily R.",
          imageSrc: "http://img.b2bpic.net/free-photo/young-beautiful-brunette-woman-wearing-casual-sweater-standing-red-background-pointing-fingers-camera-with-happy-funny-face-good-energy-vibes_839833-6469.jpg",
        },
        {
          id: "4",
          name: "David K.",
          imageSrc: "http://img.b2bpic.net/free-photo/successful-young-man-stylish-hat-relaxing-alone-cozy-cafeteria-lunch-break-looking-with-happy-expression_273609-1935.jpg",
        },
        {
          id: "5",
          name: "Anna P.",
          imageSrc: "http://img.b2bpic.net/free-photo/beautiful-woman-carrying-shopping-bags_23-2148660763.jpg",
        },
      ]}
      cardTitle="Client Reviews"
      cardTag="Trusted by locals"
      cardAnimation="slide-up"
    />
  </div>

  <div id="areas" data-section="areas">
      <SocialProofOne
      textboxLayout="default"
      useInvertedBackground={true}
      names={[
        "Christchurch",
        "Banks Peninsula",
        "Selwyn",
        "Waimakariri",
      ]}
      title="Serving Canterbury"
      description="Proudly serving homeowners across these areas."
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactText
      useInvertedBackground={false}
      background={{
        variant: "rotated-rays-static",
      }}
      text="Ready to renovate your kitchen, bathroom, or home? Contact Allan today at 021 148 8222 for professional workmanship across Christchurch. Please note: A $70 site visit and quotation fee applies, which is credited back on the final project invoice."
      buttons={[
        {
          text: "Call Now",
          href: "tel:0211488222",
        },
        {
          text: "Email Us",
          href: "mailto:adwhitebuilders@icloud.com",
        },
      ]}
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterCard
      logoText="A D White Builders Ltd"
      copyrightText="© 2025 A D White Builders Ltd"
      socialLinks={[
        {
          icon: Instagram,
          href: "#",
          ariaLabel: "Instagram",
        },
        {
          icon: Facebook,
          href: "#",
          ariaLabel: "Facebook",
        },
      ]}
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
