"use client";

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

export default function PortfolioPage() {
  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="portfolio-hero" data-section="portfolio-hero">
        <HeroBillboard
          title="My Artistic Journey"
          description="Browse through my complete collection of artworks spanning various mediums and styles. From oil paintings to digital art, each piece represents a moment of creative expression and artistic growth."
          tag="Portfolio Collection"
          tagIcon={Palette}
          background={{ variant: "canvas-reveal" }}
          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: "View All Works", href: "#gallery" },
            { text: "Commission Piece", href: "/contact" }
          ]}
        />
      </div>

      <div id="complete-gallery" data-section="complete-gallery">
        <ProductCardFour
          title="Complete Artwork Collection"
          description="Explore the full range of my artistic expression across different mediums and themes"
          tag="Gallery"
          tagIcon={Star}
          products={[
            {
              id: "1",
              name: "Ethereal Landscapes",
              price: "Canvas",
              variant: "Oil on Canvas 48x36",
              imageSrc: "https://img.b2bpic.net/free-vector/mixed-color-pastel-watercolor-background_1409-2808.jpg",
              imageAlt: "oil painting contemporary art canvas artistic"
            },
            {
              id: "2",
              name: "Abstract Dreams",
              price: "Mixed",
              variant: "Mixed Media 36x36",
              imageSrc: "https://img.b2bpic.net/free-photo/paint-texture-background-wallpaper-abstract-art-acrylic-paint_53876-134367.jpg",
              imageAlt: "abstract art modern painting colorful creative work"
            },
            {
              id: "3",
              name: "Nature's Palette",
              price: "Watercolor",
              variant: "Watercolor 24x32",
              imageSrc: "https://img.b2bpic.net/free-photo/abstract-wallpaper-background-mixed-color-acrylic-paint-textured_53876-134374.jpg",
              imageAlt: "landscape painting nature art watercolor artistic"
            },
            {
              id: "4",
              name: "Digital Expressions",
              price: "Print",
              variant: "Digital Art 24x30",
              imageSrc: "https://img.b2bpic.net/free-photo/colorful-textured-background-wallpaper-abstract-acrylic-painting_53876-134368.jpg",
              imageAlt: "digital art illustration graphic design creative"
            },
            {
              id: "5",
              name: "Urban Reflections",
              price: "Canvas",
              variant: "Acrylic on Canvas 40x30",
              imageSrc: "https://img.b2bpic.net/free-vector/mixed-color-pastel-watercolor-background_1409-2808.jpg",
              imageAlt: "contemporary urban art acrylic painting"
            }
          ]}
          textboxLayout="default"
          gridVariant="uniform-all-items-equal"
          animationType="opacity"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="portfolio-contact" data-section="portfolio-contact">
        <ContactCTA
          tag="Interested?"
          tagIcon={Mail}
          title="Love What You See?"
          description="If any piece catches your eye or if you'd like to discuss a custom commission, I'd love to hear from you. Let's bring some art into your space."
          buttons={[
            { text: "Inquire About Piece", href: "/contact" },
            { text: "Custom Commission", href: "/contact" }
          ]}
          background={{ variant: "radial-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>
  );
}