"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline";
import ContactCenter from "@/components/sections/contact/ContactCenter";
import FeatureCardSix from "@/components/sections/feature/FeatureCardSix";
import MetricCardTwo from "@/components/sections/metrics/MetricCardTwo";
import FooterSimple from "@/components/sections/footer/FooterSimple";
import { Rocket } from "lucide-react";

export default function ContactPage() {
  const navItems = [
    { name: "Home", id: "/" },
    { name: "Services", id: "services" },
    { name: "About", id: "about" },
    { name: "Contact", id: "contact" },
  ];

  const footerColumns = [
    {
      title: "Quick Links",      items: [
        { label: "Home", href: "/" },
        { label: "Services", href: "/services" },
        { label: "About", href: "/about" },
        { label: "Contact", href: "/contact" },
      ],
    },
    {
      title: "Services",      items: [
        { label: "Business Accounting", href: "/services" },
        { label: "Property Accounting", href: "/services" },
        { label: "Business Advisory", href: "/services" },
        { label: "Tax Planning", href: "/services" },
      ],
    },
    {
      title: "Contact",      items: [
        { label: "Phone: 09 296 0472", href: "tel:0929605472" },
        { label: "Email: karaka@sba.co.nz", href: "mailto:karaka@sba.co.nz" },
        { label: "6/75 Hingaia Road, Karaka", href: "#" },
        { label: "Mon-Fri 9am-5pm", href: "#" },
      ],
    },
    {
      title: "Legal",      items: [
        { label: "Privacy Policy", href: "#" },
        { label: "Terms of Service", href: "#" },
        { label: "Disclaimer", href: "#" },
      ],
    },
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="elastic-effect"
      defaultTextAnimation="background-highlight"
      borderRadius="soft"
      contentWidth="mediumSmall"
      sizing="mediumLarge"
      background="blurBottom"
      cardStyle="soft-shadow"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="layered"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="SBA Karaka"
          navItems={navItems}
          button={{
            text: "Book Consultation",            href: "#contact"}}
          animateOnLoad={true}
          className="shadow-lg"
          navItemClassName="font-medium text-sm"
          buttonClassName="px-6 py-2.5"
        />
      </div>

      <div id="contact-form" data-section="contact-form">
        <ContactCenter
          tag="Get in Touch"
          tagIcon={Rocket}
          tagAnimation="slide-up"
          title="Book Your Free Consultation Today"
          description="Let's discuss your accounting needs and explore how SBA Karaka can become your trusted financial partner. No obligation, just expert advice tailored to your business."
          background={{ variant: "downward-rays-static" }}
          useInvertedBackground={false}
          inputPlaceholder="Enter your email"
          buttonText="Schedule Consultation"
          termsText="We respect your privacy. We'll contact you within 24 hours to confirm your consultation time and answer any initial questions."
        />
      </div>

      <div id="contact-details" data-section="contact-details">
        <MetricCardTwo
          tag="Contact Information"
          tagAnimation="slide-up"
          title="Ways to Reach Us"
          description="Multiple ways to connect with SBA Karaka. Choose the method that works best for you."
          textboxLayout="default"
          useInvertedBackground={true}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          metrics={[
            { id: "1", value: "09 296 0472", description: "Phone us during business hours (Mon-Fri 9am-5pm)" },
            { id: "2", value: "karaka@sba.co.nz", description: "Email us anytime. We reply within 24 hours." },
            { id: "3", value: "6/75 Hingaia Road", description: "Karaka, Auckland 2113. Visit us by appointment." },
            { id: "4", value: "After Hours", description: "Emergency consultations available by prior arrangement." },
          ]}
        />
      </div>

      <div id="why-consult" data-section="why-consult">
        <FeatureCardSix
          tag="Why Consult with SBA Karaka"
          tagAnimation="slide-up"
          title="What to Expect from Your First Meeting"
          description="We take time to understand your business, goals, and challenges before recommending solutions."
          textboxLayout="default"
          useInvertedBackground={false}
          buttonAnimation="slide-up"
          features={[
            {
              id: 1,
              title: "Discovery Conversation",              description: "We listen to your story. Your industry, challenges, growth plans, and current accounting setup. This helps us understand what matters most to you.",              imageSrc: "http://img.b2bpic.net/free-photo/positive-business-colleagues-watching-presentation-pc-monitor-discussing-project-sitting-workplace-pointing-display-business-communication-concept_74855-11908.jpg"},
            {
              id: 2,
              title: "Tailored Recommendation",              description: "Based on your needs, we recommend specific services—whether it's full accounting, property advisory, or strategic tax planning. No pressure, just honest guidance.",              imageSrc: "http://img.b2bpic.net/free-photo/start-up-business-goals-strategy_53876-124798.jpg"},
            {
              id: 3,
              title: "Clear Pricing & Next Steps",              description: "We explain exactly what's involved, your fixed monthly fee, and how we'll work together. Then it's your call—no obligation.",              imageSrc: "http://img.b2bpic.net/free-photo/financial-program-user-interface-pc-screen-home-office-desk_482257-118861.jpg"},
          ]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterSimple
          columns={footerColumns}
          bottomLeftText="© 2025 SBA Small Business Accounting Karaka. All rights reserved."
          bottomRightText="Local Chartered Accountant | South Auckland"
        />
      </div>
    </ThemeProvider>
  );
}