"use client";

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

export default function ServicesPage() {
  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="services-detail" data-section="services-detail">
        <FeatureCardSix
          tag="Our Services"
          tagAnimation="slide-up"
          title="Comprehensive Accounting Solutions for Your Business"
          description="Whether you're a startup, established business, or property investor, we have the expertise to support your financial growth."
          textboxLayout="default"
          useInvertedBackground={true}
          buttonAnimation="slide-up"
          features={[
            {
              id: 1,
              title: "Business Accounting",
              description:
                "Full bookkeeping, tax preparation, GST compliance, financial reporting, and end-of-year accounts. We handle all compliance requirements and provide regular financial insights to help you make informed decisions.",
              imageSrc:
                "http://img.b2bpic.net/free-photo/start-up-business-goals-strategy_53876-124798.jpg?_wi=3",
            },
            {
              id: 2,
              title: "Rental Property Accounting",
              description:
                "Specialist services for property investors: rental income reporting, expense tracking, depreciation schedules, mortgage interest optimization, and tax-efficient strategies to maximize returns on your investment properties.",
              imageSrc:
                "http://img.b2bpic.net/free-photo/house-loan-estate-sell-mortgage-concept_53876-125097.jpg?_wi=2",
            },
            {
              id: 3,
              title: "Business Advisory & Tax Planning",
              description:
                "Beyond compliance: strategic planning, cash flow forecasting, budgeting, tax minimization, business structure optimization, and growth strategies. We're your long-term financial partner.",
              imageSrc:
                "http://img.b2bpic.net/free-photo/financial-program-user-interface-pc-screen-home-office-desk_482257-118861.jpg?_wi=3",
            },
          ]}
        />
      </div>

      <div id="service-benefits" data-section="service-benefits">
        <MetricCardTwo
          tag="Service Benefits"
          tagAnimation="slide-up"
          title="Why Our Services Stand Out"
          description="Fixed pricing, modern technology, and personalised support—all designed for your success."
          textboxLayout="default"
          useInvertedBackground={false}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          metrics={[
            {
              id: "1",
              value: "Fixed Monthly Fees",
              description:
                "Know your costs upfront. No hidden charges. Transparent pricing.",
            },
            {
              id: "2",
              value: "Xero Cloud Integration",
              description:
                "Real-time access to your financials from anywhere. Modern, secure, automated.",
            },
            {
              id: "3",
              value: "Expert Guidance",
              description:
                "Chartered Accountant with 15+ years experience in South Auckland business.",
            },
            {
              id: "4",
              value: "Compliance Assured",
              description:
                "100% IRD compliant. Annual tax returns, GST, PAYE—all covered and optimised.",
            },
          ]}
        />
      </div>

      <div id="cta" data-section="cta">
        <ContactCenter
          tag="Ready to Get Started"
          tagIcon={Rocket}
          tagAnimation="slide-up"
          title="Book Your Free Consultation"
          description="Let's discuss which services are right for your business. No pressure, no commitment—just a conversation about how we can help you grow."
          background={{ variant: "downward-rays-static" }}
          useInvertedBackground={false}
          inputPlaceholder="Enter your email"
          buttonText="Schedule Now"
          termsText="We respect your privacy. We'll contact you to confirm your consultation time and answer any questions you have."
        />
      </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>
  );
}