"use client";

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

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

export default function ContactPage() {
  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="contact" data-section="contact">
        <ContactCTA
          tag="Get in Touch"
          tagIcon={Phone}
          title="Contact Peter Tavener Plumbing"
          description="Call us anytime for emergency plumbing assistance or to schedule a service. Our friendly team is ready to help with any plumbing issue, 24 hours a day, 7 days a week."
          buttons={[
            { text: "Call (07) 3394 4918", href: "tel:0733944918" },
            { text: "Email Us", href: "mailto:contact@petertavemerplumbing.com.au" },
          ]}
          background={{ variant: "plain" }}
          useInvertedBackground={false}
        />
      </div>

      <div id="contact-info" data-section="contact-info">
        <ContactCTA
          tag="Our Details"
          tagIcon={Phone}
          title="Peter Tavener Plumbing Services"
          description="9 Hamel Rd, Holland Park West QLD 4121 | (07) 3394 4918 | Available 24/7 for emergencies | Service area: Holland Park West and surrounding Brisbane suburbs"
          buttons={[
            { text: "Call Us", href: "tel:0733944918" },
            { text: "Back to Home", href: "/" },
          ]}
          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>
  );
}