"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from "@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen";
import ContactText from "@/components/sections/contact/ContactText";
import InlineImageSplitTextAbout from "@/components/sections/about/InlineImageSplitTextAbout";
import FooterMedia from "@/components/sections/footer/FooterMedia";
import Link from "next/link";

export default function ContactPage() {
  const navItems = [
    { name: "Home", id: "/" },
    { name: "Services", id: "/services" },
    { name: "Features", id: "/features" },
    { name: "Pricing", id: "/pricing" },
    { name: "Contact", id: "/contact" },
  ];

  const footerColumns = [
    {
      title: "Product",      items: [
        { label: "Features", href: "/features" },
        { label: "Services", href: "/services" },
        { label: "Pricing", href: "/pricing" },
        { label: "Security", href: "#" },
        { label: "API", href: "#" },
      ],
    },
    {
      title: "Company",      items: [
        { label: "About", href: "/about" },
        { label: "Blog", href: "#" },
        { label: "Careers", href: "#" },
        { label: "Contact", href: "/contact" },
        { label: "Partners", href: "#" },
      ],
    },
    {
      title: "Resources",      items: [
        { label: "Documentation", href: "#" },
        { label: "Help Center", href: "#" },
        { label: "FAQ", href: "/faq" },
        { label: "Community", href: "#" },
        { label: "Status Page", href: "#" },
      ],
    },
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="smallMedium"
      sizing="largeSmall"
      background="circleGradient"
      cardStyle="solid"
      primaryButtonStyle="primary-glow"
      secondaryButtonStyle="layered"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          navItems={navItems}
          brandName="SponsorDesk"
          bottomLeftText="HR & Legal Solutions"
          bottomRightText="support@sponsordesk.com"
        />
      </div>

      <div id="contact-main" data-section="contact-main">
        <ContactText
          text="Get in touch with our team. We're here to help you streamline your employee document management and answer any questions about SponsorDesk."
          animationType="entrance-slide"
          buttons={[
            {
              text: "Send Message",              href: "mailto:support@sponsordesk.com"},
            {
              text: "Schedule Call",              href: "#"},
          ]}
          background={{
            variant: "plain"}}
          useInvertedBackground={false}
        />
      </div>

      <div id="contact-info" data-section="contact-info">
        <InlineImageSplitTextAbout
          heading={[
            {
              type: "text",              content: "Contact"},
            {
              type: "image",              src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Aev8H9mL7eFI9KHWlmK4WotoLx/modern-flat-design-icon-representing-a-d-1772966293950-8666e013.png",              alt: "Contact Icon"},
            {
              type: "text",              content: "Information"},
          ]}
          buttons={[
            {
              text: "Email Us",              href: "mailto:support@sponsordesk.com"},
            {
              text: "Back to Home",              href: "/"},
          ]}
          buttonAnimation="slide-up"
          useInvertedBackground={true}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterMedia
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Aev8H9mL7eFI9KHWlmK4WotoLx/modern-professional-footer-background-im-1772966297548-b6b1fe45.png?_wi=5"
          imageAlt="Footer background"
          columns={footerColumns}
          logoText="SponsorDesk"
          copyrightText="© 2025 SponsorDesk. All rights reserved."
        />
      </div>
    </ThemeProvider>
  );
}