"use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterCard from '@/components/sections/footer/FooterCard';
import { Linkedin, Twitter, Instagram } from 'lucide-react';
import Link from 'next/link';

export default function ContactPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="icon-arrow"
      defaultTextAnimation="reveal-blur"
      borderRadius="rounded"
      contentWidth="small"
      sizing="medium"
      background="none"
      cardStyle="inset"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="solid"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          navItems={[
            { name: "Services", id: "/services" },
            { name: "Portfolio", id: "/portfolio" },
            { name: "Team", id: "/team" },
            { name: "Contact", id: "/contact" }
          ]}
          brandName="Pinnacle"
          bottomLeftText="Elevate Your Brand"
          bottomRightText="hello@pinnacle.marketing"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Let's Discuss Your Marketing Goals"
          description="Ready to elevate your brand? Connect with our team to explore tailored strategies that drive results. We'll respond within 24 hours."
          useInvertedBackground="noInvert"
          imageSrc="https://img.b2bpic.net/free-photo/coworkers-team-working-brainstorming-concept_329181-12050.jpg"
          imageAlt="Professional marketing consultation"
          mediaPosition="right"
          buttonText="Send Message"
          inputs={[
            { name: "name", type: "text", placeholder: "Your Name", required: true },
            { name: "email", type: "email", placeholder: "your@email.com", required: true },
            { name: "company", type: "text", placeholder: "Company Name", required: false },
            { name: "phone", type: "tel", placeholder: "+1 (555) 000-0000", required: false }
          ]}
          textarea={{ name: "message", placeholder: "Tell us about your project and goals...", rows: 5, required: true }}
          onSubmit={(data) => console.log('Form submitted:', data)}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterCard
          logoText="Pinnacle"
          copyrightText="© 2025 Pinnacle Marketing. All rights reserved."
          socialLinks={[
            { icon: Linkedin, href: "https://linkedin.com/company/pinnacle-marketing", ariaLabel: "LinkedIn" },
            { icon: Twitter, href: "https://twitter.com/pinnacle_mkt", ariaLabel: "Twitter" },
            { icon: Instagram, href: "https://instagram.com/pinnacle.marketing", ariaLabel: "Instagram" }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}