"use client";

import ReactLenis from "lenis/react";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay";
import FooterBase from "@/components/sections/footer/FooterBase";
import ProductCardOne from "@/components/sections/product/ProductCardOne";
import { ArrowUpRight } from "lucide-react";

export default function PortfolioPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="medium"
      sizing="medium"
      background="none"
      cardStyle="glass-elevated"
      primaryButtonStyle="metallic"
      secondaryButtonStyle="glass"
      headingFontWeight="medium"
    >
      <ReactLenis root>
        <NavbarLayoutFloatingOverlay
          brandName="Webild"
          navItems={[
            { name: "Work", id: "/portfolio" },
            { name: "Services", id: "/services" },
            { name: "About", id: "about" },
            { name: "Contact", id: "contact" }
          ]}
          button={{ text: "Get Started", href: "/contact" }}
        />

        <div id="portfolio" data-section="portfolio">
          <ProductCardOne
            title="Our Portfolio: Featured Work"
            description="Explore a curated selection of our recent projects, showcasing our expertise in web design, development, and digital strategy."
            textboxLayout="default"
            useInvertedBackground={false}
            gridVariant="two-columns-alternating-heights"
            animationType="slide-up"
            products={[
              {
                id: "umbra-skincare",                name: "Umbra Skincare",                price: "E-commerce",                imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/templates/web-agency-2/project-1.webp",                imageAlt: "Umbra Skincare website",                onProductClick: () => alert("View Umbra Skincare Project"),
              },
              {
                id: "luxuria-travel",                name: "Luxuria Travel",                price: "Travel & Hospitality",                imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/templates/web-agency-2/project-2.webp",                imageAlt: "Luxuria Travel website",                onProductClick: () => alert("View Luxuria Travel Project"),
              },
              {
                id: "dental-care",                name: "Dental Care",                price: "Healthcare",                imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/templates/web-agency-2/project-3.webp",                imageAlt: "Luxury Dental Care website",                onProductClick: () => alert("View Dental Care Project"),
              },
              {
                id: "summit-roofing",                name: "Summit Roofing",                price: "Construction",                imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/templates/web-agency-2/project-4.webp",                imageAlt: "Summit Roofing website",                onProductClick: () => alert("View Summit Roofing Project"),
              },
              {
                id: "dubai-real-estate",                name: "Dubai Real Estate",                price: "Real Estate",                imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/templates/web-agency-2/project-5.webp",                imageAlt: "Dubai Real Estate website",                onProductClick: () => alert("View Dubai Real Estate Project"),
              },
            ]}
          />
        </div>

        <FooterBase
          logoText="Webild"
          copyrightText="© 2026 | Webild"
          columns={[
            {
              title: "Company",              items: [
                { label: "About", href: "#about" },
                { label: "Services", href: "/services" },
                { label: "Work", href: "/portfolio" },
                { label: "Contact", href: "#contact" }
              ]
            },
            {
              title: "Services",              items: [
                { label: "Web Development", href: "/services" },
                { label: "SEO", href: "/services" },
                { label: "Branding", href: "/services" },
                { label: "UI/UX Design", href: "/services" }
              ]
            },
            {
              title: "Connect",              items: [
                { label: "Twitter", href: "#" },
                { label: "LinkedIn", href: "#" },
                { label: "Instagram", href: "#" },
                { label: "Dribbble", href: "#" }
              ]
            }
          ]}
        />
      </ReactLenis>
    </ThemeProvider>
  );
}
