"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';

export default function ContactPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="shift-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="soft"
      contentWidth="small"
      sizing="largeSmallSizeMediumTitles"
      background="circleGradient"
      cardStyle="solid"
      primaryButtonStyle="radial-glow"
      secondaryButtonStyle="solid"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple 
          brandName="Heras Administrative Solutions"
          navItems={[
            { name: "Home", id: "/" },
            { name: "Services", id: "/services" },
            { name: "About", id: "/about" },
            { name: "FAQ", id: "/faq" },
            { name: "Contact", id: "/contact" }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Get in Touch"
          description="Ready to file? Schedule your consultation or contact us with any questions. We're here to help."
          inputs={[
            { name: "name", type: "text", placeholder: "Your Full Name", required: true },
            { name: "email", type: "email", placeholder: "Your Email Address", required: true },
            { name: "phone", type: "tel", placeholder: "(619) 319-0228", required: true },
            { name: "service", type: "text", placeholder: "Service Needed (e.g., Individual Tax Return, 1099 Support)", required: false }
          ]}
          textarea={{
            name: "message",
            placeholder: "Tell us about your tax situation or preferred appointment time...",
            rows: 5,
            required: false
          }}
          useInvertedBackground="noInvert"
          imageSrc="https://img.b2bpic.net/free-photo/empty-meeting-office-space-enterprise-used-workers-attend-conferences_482257-115920.jpg"
          imageAlt="Professional office workspace"
          mediaPosition="right"
          buttonText="Request Appointment"
        />
      </div>

      <FooterBaseReveal
        columns={[
          {
            title: "Services",
            items: [
              { label: "Individual Tax Returns", href: "/services" },
              { label: "Self-Employed Support", href: "/services" },
              { label: "Small Business Taxes", href: "/services" },
              { label: "IRS Assistance", href: "/services" }
            ]
          },
          {
            title: "Company",
            items: [
              { label: "About Us", href: "/about" },
              { label: "Contact", href: "/contact" },
              { label: "FAQ", href: "/faq" }
            ]
          },
          {
            title: "Contact Info",
            items: [
              { label: "Phone: (619) 319-0228", href: "tel:+16193190228" },
              { label: "Address: 7079 Mission Gorge Rd Unit G, San Diego, CA 92120", href: "https://goo.gl/maps/heras-san-diego" },
              { label: "Email: info@herasadmin.com", href: "mailto:info@herasadmin.com" }
            ]
          }
        ]}
        copyrightText="© 2025 Heras Administrative Solutions. All rights reserved."
      />
    </ThemeProvider>
  );
}