"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import Link from "next/link";
import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline";
import SplitAbout from "@/components/sections/about/SplitAbout";
import ContactCTA from "@/components/sections/contact/ContactCTA";
import FooterCard from "@/components/sections/footer/FooterCard";
import {
  MapPin,
  Heart,
  Clock,
  Phone,
} from "lucide-react";

const navItems = [
  { name: "Home", id: "/" },
  { name: "Services", id: "/services" },
  { name: "About", id: "/about" },
  { name: "Reviews", id: "/reviews" },
];

export default function AboutPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="entrance-slide"
      borderRadius="rounded"
      contentWidth="mediumSmall"
      sizing="mediumLargeSizeMediumTitles"
      background="none"
      cardStyle="layered-gradient"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="solid"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="Peter Tavener"
          navItems={navItems}
          button={{
            text: "Call Now",            href: "tel:0733944918"}}
          animateOnLoad={true}
        />
      </div>

      <div id="about" data-section="about">
        <SplitAbout
          title="About Peter Tavener Plumbing"
          description="For over a decade, we've been serving Holland Park West and surrounding Brisbane suburbs with honest, reliable plumbing services. Our commitment to excellence and customer satisfaction sets us apart."
          textboxLayout="default"
          useInvertedBackground={false}
          bulletPoints={[
            {
              title: "Local Expertise",              description: "Serving Holland Park West and surrounding Brisbane areas with deep local knowledge. We know our community and understand local plumbing challenges.",              icon: MapPin,
            },
            {
              title: "Professional Team",              description: "Experienced, fully licensed plumbers committed to quality workmanship. All our technicians are trained, insured, and dedicated to your satisfaction.",              icon: Heart,
            },
            {
              title: "Honest Pricing",              description: "Transparent, competitive pricing with no hidden fees. We provide upfront quotes and respect your budget while delivering exceptional value.",              icon: Heart,
            },
            {
              title: "24/7 Availability",              description: "Always available when you need us, day or night, weekends and public holidays. Emergency service is our priority and passion.",              icon: Clock,
            },
          ]}
          imagePosition="right"
          imageSrc="http://img.b2bpic.net/free-photo/plumber-with-his-tools_1368-956.jpg?_wi=3"
          imageAlt="Peter Tavener Plumbing Team"
          mediaAnimation="none"
        />
      </div>

      <div id="about-cta" data-section="about-cta">
        <ContactCTA
          tag="Work With Us"
          tagIcon={Phone}
          title="Experience the Peter Tavener Difference"
          description="When you call Peter Tavener Plumbing, you're choosing a trusted partner committed to solving your plumbing challenges with integrity and expertise."
          buttons={[
            { text: "Call (07) 3394 4918", href: "tel:0733944918" },
            { text: "Learn About Our Services", href: "/services" },
          ]}
          background={{ variant: "plain" }}
          useInvertedBackground={false}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterCard
          logoText="Peter Tavener Plumbing"
          copyrightText="© 2025 Peter Tavener Plumbing Services Pty Ltd. 9 Hamel Rd, Holland Park West QLD 4121. All rights reserved."
        />
      </div>
    </ThemeProvider>
  );
}