"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from "@/components/navbar/NavbarStyleApple/NavbarStyleApple";
import ContactText from "@/components/sections/contact/ContactText";
import FooterLogoEmphasis from "@/components/sections/footer/FooterLogoEmphasis";
import { ChevronRight, Mail, Phone, MapPin } from "lucide-react";

export default function ContactPage() {
  const navItems = [
    { name: "Home", id: "/" },
    { name: "Services", id: "/services" },
    { name: "Portfolio", id: "/portfolio" },
    { name: "Team", id: "/team" },
    { name: "Contact", id: "/contact" },
  ];

  const footerColumns = [
    {
      items: [
        { label: "Home", href: "/" },
        { label: "Services", href: "/services" },
        { label: "Portfolio", href: "/portfolio" },
      ],
    },
    {
      items: [
        { label: "Team", href: "/team" },
        { label: "About", href: "/" },
        { label: "Contact", href: "/contact" },
      ],
    },
    {
      items: [
        { label: "Privacy Policy", href: "#" },
        { label: "Terms of Service", href: "#" },
        { label: "Cookie Policy", href: "#" },
      ],
    },
    {
      items: [
        { label: "Twitter", href: "https://twitter.com" },
        { label: "LinkedIn", href: "https://linkedin.com" },
        { label: "Instagram", href: "https://instagram.com" },
      ],
    },
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="hover-bubble"
      defaultTextAnimation="background-highlight"
      borderRadius="pill"
      contentWidth="mediumSmall"
      sizing="largeSmall"
      background="noise"
      cardStyle="gradient-bordered"
      primaryButtonStyle="radial-glow"
      secondaryButtonStyle="glass"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple brandName="Proof Digital" navItems={navItems} />
      </div>

      <div id="contact-primary" data-section="contact-primary">
        <ContactText
          text="Ready to start your next project? Get in touch with us today and let's create something extraordinary together."
          animationType="entrance-slide"
          buttons={[
            { text: "Send us a Message", href: "#" },
            { text: "Schedule a Call", href: "#" },
          ]}
          background={{ variant: "radial-gradient" }}
          useInvertedBackground={false}
        />
      </div>

      <div id="contact-info" data-section="contact-info" className="mx-auto px-4 md:px-6 py-20">
        <div className="max-w-4xl mx-auto">
          <div className="grid grid-cols-1 md:grid-cols-3 gap-8">
            <div className="text-center">
              <div className="flex justify-center mb-4">
                <Mail className="w-8 h-8 text-accent" />
              </div>
              <h3 className="text-lg font-semibold mb-2">Email</h3>
              <p className="text-foreground">hello@proofdigital.com</p>
            </div>
            <div className="text-center">
              <div className="flex justify-center mb-4">
                <Phone className="w-8 h-8 text-accent" />
              </div>
              <h3 className="text-lg font-semibold mb-2">Phone</h3>
              <p className="text-foreground">+1 (555) 123-4567</p>
            </div>
            <div className="text-center">
              <div className="flex justify-center mb-4">
                <MapPin className="w-8 h-8 text-accent" />
              </div>
              <h3 className="text-lg font-semibold mb-2">Location</h3>
              <p className="text-foreground">San Francisco, CA</p>
            </div>
          </div>
        </div>
      </div>

      <div id="contact-closing" data-section="contact-closing">
        <ContactText
          text="We typically respond to inquiries within 24 hours. Let's talk about how we can help transform your digital vision."
          animationType="entrance-slide"
          buttons={[
            { text: "Back to Home", href: "/" },
            { text: "View Our Portfolio", href: "/portfolio" },
          ]}
          background={{ variant: "sparkles-gradient" }}
          useInvertedBackground={false}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterLogoEmphasis logoText="Proof Digital" columns={footerColumns} />
      </div>
    </ThemeProvider>
  );
}