"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleMinimal from '@/components/navbar/NavbarStyleMinimal';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import { Rocket } from "lucide-react";

export default function ContactPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="mediumLarge"
      sizing="largeSmallSizeLargeTitles"
      background="floatingGradient"
      cardStyle="gradient-bordered"
      primaryButtonStyle="inset-glow"
      secondaryButtonStyle="layered"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleMinimal 
          brandName="NEXUS DIGITAL"
          button={{
            text: "Start Project",
            href: "/contact"
          }}
          className="backdrop-blur-md bg-opacity-80"
          buttonClassName="px-6 py-2 rounded-full font-semibold"
          buttonTextClassName="text-sm font-medium"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplit 
          tag="Get In Touch"
          title="Start Your Digital Transformation"
          description="Let's explore how NEXUS Digital can elevate your brand and drive measurable growth. Our team is ready to discuss your vision and craft a custom strategy that delivers exceptional results."
          useInvertedBackground="noInvert"
          imageSrc="https://img.b2bpic.net/free-photo/close-up-young-colleagues-having-meeting_23-2149060239.jpg"
          imageAlt="NEXUS Digital team collaboration"
          mediaPosition="right"
          tagIcon={Rocket}
          inputPlaceholder="your@email.com"
          buttonText="Schedule Consultation"
          termsText="We respect your privacy. Expect a response within 24 hours. Unsubscribe anytime."
          onSubmit={(email) => {
            console.log('Email submitted:', email);
            alert('Thank you! We will be in touch within 24 hours.');
          }}
          className="py-16 md:py-24"
          containerClassName="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8"
          contentClassName="grid grid-cols-1 lg:grid-cols-2 gap-12 items-center"
          contactFormClassName="space-y-6"
          tagClassName="inline-flex items-center gap-2 px-4 py-2 rounded-full bg-gradient-to-r from-cyan-500/20 to-magenta-500/20"
          titleClassName="text-4xl md:text-5xl font-bold"
          descriptionClassName="text-base opacity-80 leading-relaxed"
          formClassName="space-y-4"
          inputClassName="w-full px-4 py-3 rounded-full bg-white/10 backdrop-blur-sm border border-white/20 focus:border-cyan-400"
          buttonClassName="w-full px-6 py-3 rounded-full font-semibold bg-gradient-to-r from-cyan-500 to-magenta-500 hover:shadow-lg transition-all"
          termsClassName="text-xs opacity-60"
        />
      </div>

      <FooterLogoEmphasis 
        logoText="NEXUS DIGITAL"
        columns={[
          {
            items: [
              { label: "Services", href: "/services" },
              { label: "Portfolio", href: "/portfolio" },
              { label: "About", href: "/about" }
            ]
          },
          {
            items: [
              { label: "Home", href: "/" },
              { label: "Contact", href: "/contact" },
              { label: "Case Studies", href: "/case-studies" }
            ]
          },
          {
            items: [
              { label: "Privacy Policy", href: "#privacy" },
              { label: "Terms & Conditions", href: "#terms" },
              { label: "Cookie Settings", href: "#cookies" }
            ]
          }
        ]}
        ariaLabel="Site footer"
        className="py-12 md:py-16 border-t border-white/10"
        containerClassName="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"
        logoClassName="text-3xl font-bold text-cyan-400 text-center mb-12"
        columnsClassName="grid grid-cols-1 md:grid-cols-3 gap-8"
        columnClassName="space-y-3"
        itemClassName="flex items-center gap-2 text-sm opacity-80 hover:opacity-100 transition-opacity"
        buttonClassName="inline-flex items-center gap-2 hover:gap-3 transition-all"
      />
    </ThemeProvider>
  );
}