"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered";
import ProductCardThree from "@/components/sections/product/ProductCardThree";
import FooterBase from "@/components/sections/footer/FooterBase";
import { Sparkles } from "lucide-react";

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

  const navButton = {
    text: "View Our Work",
    href: "/portfolio",
  };

  const footerColumns = [
    {
      title: "Services",
      items: [
        { label: "Web Design", href: "/services" },
        { label: "Development", href: "/services" },
        { label: "UX/UI Strategy", href: "/services" },
        { label: "Brand & Identity", href: "/services" },
      ],
    },
    {
      title: "Company",
      items: [
        { label: "About Us", href: "/about" },
        { label: "Portfolio", href: "/portfolio" },
        { label: "Team", href: "/about" },
        { label: "Contact", href: "/contact" },
      ],
    },
    {
      title: "Connect",
      items: [
        { label: "LinkedIn", href: "https://linkedin.com" },
        { label: "Twitter", href: "https://twitter.com" },
        { label: "Instagram", href: "https://instagram.com" },
        { label: "Dribbble", href: "https://dribbble.com" },
      ],
    },
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="elastic-effect"
      defaultTextAnimation="reveal-blur"
      borderRadius="soft"
      contentWidth="compact"
      sizing="largeSizeMediumTitles"
      background="circleGradient"
      cardStyle="glass-depth"
      primaryButtonStyle="radial-glow"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          brandName="Apex Digital"
          navItems={navItems}
          button={navButton}
        />
      </div>

      <div id="portfolio" data-section="portfolio">
        <ProductCardThree
          title="Featured Case Studies"
          description="Explore how we've transformed digital experiences for leading brands"
          tag="Portfolio"
          tagIcon={Sparkles}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground={false}
          gridVariant="bento-grid"
          products={[
            {
              id: "1",
              name: "Luxury Fashion E-commerce Platform",
              price: "Revenue ↑ 340%",
              imageSrc:
                "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AW2rAHmDcSblhmPtJ4YXRL0jWg/a-luxury-fashion-e-commerce-website-inte-1772694295331-281d6408.png",
              imageAlt: "Luxury fashion e-commerce redesign",
            },
            {
              id: "2",
              name: "SaaS Analytics Dashboard",
              price: "User Adoption ↑ 225%",
              imageSrc:
                "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AW2rAHmDcSblhmPtJ4YXRL0jWg/a-saas-analytics-dashboard-interface-dis-1772694296022-9fe0aa4c.png",
              imageAlt: "SaaS product analytics interface",
            },
            {
              id: "3",
              name: "Fintech Mobile Banking App",
              price: "Downloads ↑ 450%",
              imageSrc:
                "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AW2rAHmDcSblhmPtJ4YXRL0jWg/a-financial-technology-mobile-banking-ap-1772694294439-9a9e0178.png",
              imageAlt: "Fintech banking application",
            },
            {
              id: "4",
              name: "Travel & Hospitality Booking Platform",
              price: "Conversion ↑ 280%",
              imageSrc:
                "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AW2rAHmDcSblhmPtJ4YXRL0jWg/a-travel-and-hospitality-booking-platfor-1772694295920-070bb688.png",
              imageAlt: "Travel booking platform interface",
            },
            {
              id: "5",
              name: "Healthcare SaaS Portal",
              price: "User Engagement ↑ 195%",
              imageSrc:
                "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AW2rAHmDcSblhmPtJ4YXRL0jWg/a-healthcare-management-saas-portal-show-1772694295131-711e633f.png",
              imageAlt: "Healthcare management system",
            },
            {
              id: "6",
              name: "Enterprise B2B Platform",
              price: "Client Retention ↑ 320%",
              imageSrc:
                "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AW2rAHmDcSblhmPtJ4YXRL0jWg/an-enterprise-b2b-platform-interface-dis-1772694295087-59bcdc16.png",
              imageAlt: "B2B enterprise solution",
            },
          ]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBase
          logoText="Apex Digital"
          copyrightText="© 2025 Apex Digital Partners. All rights reserved."
          columns={footerColumns}
        />
      </div>
    </ThemeProvider>
  );
}