"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered";
import ContactText from "@/components/sections/contact/ContactText";
import FooterSimple from "@/components/sections/footer/FooterSimple";

const navItemsForNav = [
  { name: "Home", id: "/" },
  { name: "Services", id: "/services" },
  { name: "Case Studies", id: "/" },
  { name: "About", id: "/about" },
  { name: "Contact", id: "/contact" },
];

const footerColumns = [
  {
    title: "Services",
    items: [
      { label: "Paid Ads Management", href: "/services" },
      { label: "SEO Services", href: "/services" },
      { label: "Website Design", href: "/services" },
      { label: "Social Media Marketing", href: "/services" },
    ],
  },
  {
    title: "Company",
    items: [
      { label: "About Us", href: "/about" },
      { label: "Case Studies", href: "/" },
      { label: "Team", href: "/about" },
      { label: "Blog", href: "#" },
    ],
  },
  {
    title: "Support",
    items: [
      { label: "Contact Us", href: "/contact" },
      { label: "FAQ", href: "#" },
      { label: "Resources", href: "#" },
      { label: "Documentation", href: "#" },
    ],
  },
  {
    title: "Legal",
    items: [
      { label: "Privacy Policy", href: "#" },
      { label: "Terms of Service", href: "#" },
      { label: "Cookie Policy", href: "#" },
      { label: "Disclaimer", href: "#" },
    ],
  },
];

export default function ContactPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="mediumSmall"
      sizing="mediumLarge"
      background="floatingGradient"
      cardStyle="gradient-bordered"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="glass"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          navItems={navItemsForNav}
          button={{
            text: "Get Free Strategy Call",
            href: "/contact",
          }}
          brandName="PrimeXpert"
        />
      </div>

      <div id="contact-primary" data-section="contact-primary">
        <ContactText
          text="Have questions about our digital marketing services? We'd love to hear from you. Let's schedule a free strategy call to discuss your goals and how PrimeXpert can drive growth for your business."
          animationType="entrance-slide"
          buttons={[
            { text: "Schedule Your Call", href: "/contact" },
            { text: "View Services", href: "/services" },
          ]}
          background={{ variant: "floatingGradient" }}
          useInvertedBackground={false}
        />
      </div>

      <div id="contact-secondary" data-section="contact-secondary">
        <ContactText
          text="Prefer email? Reach out to us directly with your project details, and our team will get back to you within 24 hours with a personalized response and next steps."
          animationType="reveal-blur"
          buttons={[
            { text: "Send Email", href: "mailto:hello@primexpert.com" },
            { text: "Back to Home", href: "/" },
          ]}
          background={{ variant: "floatingGradient" }}
          useInvertedBackground={false}
        />
      </div>

      <div id="contact-tertiary" data-section="contact-tertiary">
        <ContactText
          text="Ready to transform your digital marketing? Get in touch with our team today and discover how PrimeXpert can help you scale your business with data-driven strategies."
          animationType="background-highlight"
          buttons={[
            { text: "Start Your Growth Journey", href: "/contact" },
          ]}
          background={{ variant: "floatingGradient" }}
          useInvertedBackground={false}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterSimple
          columns={footerColumns}
          bottomLeftText="© 2025 PrimeXpert. All rights reserved."
          bottomRightText="Scaling Brands with Data-Driven Marketing"
        />
      </div>
    </ThemeProvider>
  );
}