"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered";
import HeroSplit from "@/components/sections/hero/HeroSplit";
import ContactCenter from "@/components/sections/contact/ContactCenter";
import FooterBaseReveal from "@/components/sections/footer/FooterBaseReveal";
import { Rocket } from "lucide-react";

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

  const footerColumns = [
    {
      title: "Product",
      items: [
        { label: "Services", href: "/services" },
        { label: "Portfolio", href: "/portfolio" },
        { label: "Pricing", href: "#" },
      ],
    },
    {
      title: "Company",
      items: [
        { label: "About Us", href: "/about" },
        { label: "Contact", href: "/contact" },
        { label: "Blog", href: "#" },
      ],
    },
    {
      title: "Legal",
      items: [
        { label: "Privacy Policy", href: "#" },
        { label: "Terms of Service", href: "#" },
        { label: "Cookie Policy", href: "#" },
      ],
    },
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="shift-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="compact"
      sizing="mediumSizeLargeTitles"
      background="noise"
      cardStyle="gradient-bordered"
      primaryButtonStyle="flat"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          navItems={navItems}
          button={{
            text: "Book a Free Consultation",
            href: "/contact",
          }}
          brandName="Noventis"
        />
      </div>

      <div id="contact-hero" data-section="contact-hero">
        <HeroSplit
          title="Let's Discuss Your Web Project"
          description="Ready to transform your online presence? Get in touch with our team. We'll discuss your goals, timeline, and budget to create the perfect solution for your business."
          tag="Get In Touch"
          tagIcon={Rocket}
          tagAnimation="slide-up"
          background={{ variant: "glowing-orb" }}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3APnA5s66TMDvrFY10op8PHqLQP/a-professional-team-of-web-designers-and-1772502996001-cbd6cd35.png?_wi=3"
          imageAlt="Contact our team"
          imagePosition="right"
          buttons={[
            { text: "Schedule Consultation", href: "#contact-form" },
            { text: "View Our Work", href: "/portfolio" },
          ]}
          buttonAnimation="slide-up"
          mediaAnimation="blur-reveal"
        />
      </div>

      <div id="contact-form" data-section="contact-form">
        <ContactCenter
          tag="Ready to Grow?"
          tagIcon={Rocket}
          title="Book Your Free Consultation Today"
          description="Our team will reach out within 24 hours to discuss your project, answer your questions, and create a personalized strategy for your website's success."
          background={{ variant: "rotated-rays-animated" }}
          useInvertedBackground={true}
          inputPlaceholder="Enter your email"
          buttonText="Book My Free Consultation"
          termsText="We respect your privacy. We'll only contact you about your project. We typically respond within 24 business hours."
          tagAnimation="slide-up"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseReveal
          columns={footerColumns}
          copyrightText="© 2025 Noventis. All rights reserved."
        />
      </div>
    </ThemeProvider>
  );
}