"use client";

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

export default function ContactPage() {
  const navItems = [
    { name: "Home", id: "/" },
    { name: "Start Here", id: "/start-here" },
    { name: "Challenge", id: "/7-day-challenge" },
    { name: "About", id: "/about" },
    { name: "Contact", id: "/contact" },
  ];

  const footerColumns = [
    {
      title: "Platform",
      items: [
        { label: "Start Here", href: "/start-here" },
        { label: "7-Day Challenge", href: "/7-day-challenge" },
        { label: "Blog", href: "/blog" },
        { label: "Resources", href: "/resources" },
      ],
    },
    {
      title: "Community",
      items: [
        { label: "Discord", href: "https://discord.com" },
        { label: "Twitter", href: "https://twitter.com" },
        { label: "YouTube", href: "https://youtube.com" },
        { label: "Newsletter", href: "/7-day-challenge" },
      ],
    },
    {
      title: "Company",
      items: [
        { label: "About", href: "/about" },
        { label: "Contact", href: "/contact" },
        { label: "Privacy Policy", href: "#" },
        { label: "Terms of Service", href: "#" },
      ],
    },
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="hover-bubble"
      defaultTextAnimation="reveal-blur"
      borderRadius="rounded"
      contentWidth="mediumSmall"
      sizing="medium"
      background="aurora"
      cardStyle="soft-shadow"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          navItems={navItems}
          button={{ text: "Join The List", href: "/7-day-challenge" }}
          brandName="Peak Mindset"
        />
      </div>

      <div id="contact-cta" data-section="contact-cta">
        <ContactText
          text="Have questions? Want to collaborate? Ready to share your discipline story? Reach out directly. We read every message and respond to builders serious about their journey."
          animationType="reveal-blur"
          background={{ variant: "aurora" }}
          buttons={[
            { text: "Email Us", href: "mailto:hello@peakmindset.com" },
            { text: "Join Discord", href: "https://discord.com" },
          ]}
          useInvertedBackground={true}
        />
      </div>

      <div id="contact-faq" data-section="contact-faq">
        <FaqSplitText
          sideTitle="Support & Questions"
          sideDescription="Find answers to common questions or reach out directly."
          faqs={[
            {
              id: "1",
              title: "How can I contact Peak Mindset?",
              content: "Email us at hello@peakmindset.com or join our Discord community for direct conversations with our team and other builders.",
            },
            {
              id: "2",
              title: "Do you offer coaching or consulting?",
              content: "Yes. We offer 1-on-1 accountability partnerships, group coaching, and customized discipline strategies. Email us to discuss your needs.",
            },
            {
              id: "3",
              title: "Can I partner with Peak Mindset?",
              content: "Absolutely. We're always interested in collaborating with like-minded communities, creators, and brands. Reach out at partnerships@peakmindset.com.",
            },
            {
              id: "4",
              title: "What's the best way to get involved?",
              content: "Start with the 7-Day Challenge to experience the community. From there, explore premium programs, join Discord, and connect with other disciplined builders.",
            },
          ]}
          textPosition="left"
          useInvertedBackground={false}
          animationType="smooth"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterMedia
          imageSrc="http://img.b2bpic.net/free-photo/business-executives-with-hand-stacked_1170-1782.jpg?_wi=5"
          imageAlt="Peak Mindset Community"
          columns={footerColumns}
          logoText="Peak Mindset"
          copyrightText="© 2025 Peak Mindset | Discipline Over Motivation"
        />
      </div>
    </ThemeProvider>
  );
}