"use client";

import Link from 'next/link';
import { Mail, User, Palette } from 'lucide-react';
import { ThemeProvider } from '@/providers/themeProvider/ThemeProvider';
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import HeroBillboard from '@/components/sections/hero/HeroBillboard';
import ContactCTA from '@/components/sections/contact/ContactCTA';
import TextAbout from '@/components/sections/about/TextAbout';
import FooterSimple from '@/components/sections/footer/FooterSimple';

export default function ContactPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="background-highlight"
      borderRadius="pill"
      contentWidth="compact"
      sizing="largeSmallSizeLargeTitles"
      background="circleGradient"
      cardStyle="layered-gradient"
      primaryButtonStyle="shadow"
      secondaryButtonStyle="glass"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          navItems={[
            { name: "Home", id: "/" },
            { name: "Portfolio", id: "/portfolio" },
            { name: "About", id: "/about" },
            { name: "Contact", id: "/contact" }
          ]}
          brandName="Artistry"
          button={{
            text: "View Collections",
            href: "/portfolio"
          }}
        />
      </div>

      <div id="contact-hero" data-section="contact-hero">
        <HeroBillboard
          title="Let's Create Something Beautiful Together"
          description="Ready to bring art into your space? Whether you're looking for an original piece, a custom commission, or want to collaborate on a project, I'd love to hear your vision and make it a reality."
          tag="Get in Touch"
          tagIcon={Mail}
          background={{ variant: "downward-rays-animated" }}
          imageSrc="https://img.b2bpic.net/free-photo/colorful-textured-background-wallpaper-abstract-acrylic-painting_53876-134368.jpg"
          imageAlt="digital art illustration graphic design creative"
          buttons={[
            { text: "Send Message", href: "mailto:contact@artistry.com" },
            { text: "View Portfolio", href: "/portfolio" }
          ]}
        />
      </div>

      <div id="contact-info" data-section="contact-info">
        <TextAbout
          tag="How I Work"
          tagIcon={Palette}
          title="Every project begins with understanding your vision, space, and story. From initial consultation to final delivery, I ensure each piece perfectly captures what you're looking for"
          useInvertedBackground="invertDefault"
          buttons={[
            { text: "Start Project", href: "mailto:contact@artistry.com" }
          ]}
        />
      </div>

      <div id="main-contact" data-section="main-contact">
        <ContactCTA
          tag="Ready to Begin?"
          tagIcon={User}
          title="Your Art Journey Starts Here"
          description="Drop me a line about your project, commission ideas, or if you'd like to purchase an existing piece. I respond to all inquiries within 24 hours and love discussing creative possibilities."
          buttons={[
            { text: "Email Me", href: "mailto:contact@artistry.com" },
            { text: "Call to Discuss", href: "tel:+1234567890" }
          ]}
          background={{ variant: "sparkles-gradient" }}
          useInvertedBackground="noInvert"
        />
      </div>

      <FooterSimple
        columns={[
          {
            title: "Navigate",
            items: [
              { label: "Home", href: "/" },
              { label: "Portfolio", href: "/portfolio" },
              { label: "About", href: "/about" },
              { label: "Contact", href: "/contact" }
            ]
          },
          {
            title: "Connect",
            items: [
              { label: "Instagram", href: "https://instagram.com" },
              { label: "Twitter", href: "https://twitter.com" },
              { label: "LinkedIn", href: "https://linkedin.com" },
              { label: "Email", href: "mailto:contact@artistry.com" }
            ]
          },
          {
            title: "Legal",
            items: [
              { label: "Privacy Policy", href: "/privacy" },
              { label: "Terms of Service", href: "/terms" },
              { label: "Copyright Info", href: "/copyright" }
            ]
          }
        ]}
        bottomLeftText="© 2025 Artistry. All artwork rights reserved."
        bottomRightText="Crafted with creative passion"
      />
    </ThemeProvider>
  );
}