"use client";

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

export default function ContactPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="smallMedium"
      sizing="large"
      background="radialGradient"
      cardStyle="gradient-radial"
      primaryButtonStyle="inset-glow"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleMinimal
          brandName="Boot Networks"
          button={{
            text: "Get Support",
            href: "#contact"
          }}
        />
      </div>

      <div id="contact" data-section="contact" className="mx-auto px-4 md:px-6">
        <ContactSplitForm
          title="Get Your Free IT Assessment"
          description="Let Boot Networks evaluate your current IT infrastructure and provide recommendations for optimization. Fill out the form below and we'll contact you within 24 hours."
          inputs={[
            {
              name: "name",
              type: "text", 
              placeholder: "Your Full Name",
              required: true
            },
            {
              name: "email",
              type: "email",
              placeholder: "Business Email Address",
              required: true
            },
            {
              name: "company",
              type: "text",
              placeholder: "Company Name",
              required: false
            },
            {
              name: "phone",
              type: "tel",
              placeholder: "Phone Number (760-444-0849 to call)",
              required: true
            }
          ]}
          textarea={{
            name: "message",
            placeholder: "Tell us about your IT challenges and what services interest you most...",
            rows: 5,
            required: true
          }}
          useInvertedBackground="noInvert"
          mediaPosition="right"
          imageSrc="https://img.b2bpic.net/free-photo/young-beautiful-female-support-phone-operator-speaking-consulting-office_176420-957.jpg"
          imageAlt="IT support and customer service"
          buttonText="Request Assessment"
        />
      </div>

      <FooterLogoReveal
        logoText="Boot Networks"
        logoLineHeight={1.2}
        ariaLabel="Boot Networks - IT Services Footer"
      />
    </ThemeProvider>
  );
}