"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import Link from "next/link";
import NavbarStyleCentered from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered";
import ContactSplit from "@/components/sections/contact/ContactSplit";
import FaqDouble from "@/components/sections/faq/FaqDouble";
import FooterLogoEmphasis from "@/components/sections/footer/FooterLogoEmphasis";
import { HelpCircle } from "lucide-react";

const navItems = [
  { name: "Services", id: "services" },
  { name: "Why Us", id: "why-us" },
  { name: "Testimonials", id: "testimonials" },
  { name: "FAQ", id: "faq" },
  { name: "Contact", id: "contact" },
];

export default function ContactPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="shift-hover"
      defaultTextAnimation="background-highlight"
      borderRadius="pill"
      contentWidth="mediumLarge"
      sizing="mediumLarge"
      background="noiseDiagonalGradient"
      cardStyle="layered-gradient"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          navItems={navItems}
          button={{ text: "Call Now", href: "tel:+441392000000" }}
          brandName="Aptus"
        />
      </div>

      <div id="contact-form" data-section="contact-form">
        <ContactSplit
          tag="Get in Touch"
          title="Contact Aptus Recruitment Today"
          description="Whether you're looking to hire top talent or explore your next career opportunity, we're here to help. Reach out to discuss how we can support your goals."
          tagAnimation="opacity"
          background={{ variant: "radial-gradient" }}
          useInvertedBackground={false}
          imageSrc="/placeholders/placeholder1.webp"
          mediaAnimation="slide-up"
          mediaPosition="right"
          inputPlaceholder="your@email.com"
          buttonText="Get Started"
          termsText="We respect your privacy and will only use your information to contact you about your inquiry."
        />
      </div>

      <div id="contact-faq" data-section="contact-faq">
        <FaqDouble
          faqs={[
            {
              id: "1",
              title: "What are your office hours?",
              content:
                "We're available Monday to Friday, 9am-5pm GMT. For urgent inquiries outside these hours, please leave a message and we'll get back to you as soon as possible.",
            },
            {
              id: "2",
              title: "Can I call directly to discuss a role?",
              content:
                "Absolutely! Call us on 01392 000000. Our team is ready to discuss your specific recruitment needs or job search immediately. We pride ourselves on responsive, personal service.",
            },
            {
              id: "3",
              title: "How do I submit my CV as a candidate?",
              content:
                "You can submit your CV directly through our website or email it to candidates@aptusrecruitment.co.uk. We review all applications and typically contact promising candidates within 2-3 working days.",
            },
            {
              id: "4",
              title: "What's the best way to reach you?",
              content:
                "For fastest response, call us on 01392 000000. You can also email hello@aptusrecruitment.co.uk or use our contact form above. We typically respond within 24 hours.",
            },
            {
              id: "5",
              title: "Do you offer video consultations?",
              content:
                "Yes! We offer video consultations via Zoom or Teams for clients who prefer to discuss opportunities remotely. Just let us know your preference when you get in touch.",
            },
            {
              id: "6",
              title: "Where is your office located?",
              content:
                "We're based in central Exeter, Devon. If you'd like to visit in person or prefer a phone consultation, we're happy to arrange a meeting that works best for you.",
            },
          ]}
          title="Get Answers to Your Questions"
          description="Have questions before reaching out? Here are answers to common inquiries from both employers and candidates."
          tag="Support"
          tagIcon={HelpCircle}
          textboxLayout="default"
          useInvertedBackground={false}
          faqsAnimation="slide-up"
          tagAnimation="opacity"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterLogoEmphasis
          logoText="APTUS"
          columns={[
            {
              items: [
                { label: "About", href: "/about" },
                { label: "Services", href: "/services" },
                { label: "For Employers", href: "/employers" },
                { label: "For Candidates", href: "/candidates" },
              ],
            },
            {
              items: [
                { label: "Contact", href: "/contact" },
                { label: "FAQ", href: "#faq" },
                { label: "Privacy Policy", href: "#" },
                { label: "Terms & Conditions", href: "#" },
              ],
            },
            {
              items: [
                { label: "Email", href: "mailto:hello@aptusrecruitment.co.uk" },
                { label: "Phone", href: "tel:+441392000000" },
                { label: "Address", href: "#" },
                { label: "Exeter, Devon", href: "#" },
              ],
            },
          ]}
        />
      </div>
    </ThemeProvider>
  );
}