"use client";

import ReactLenis from "lenis/react";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay";
import FeatureCardTwentySix from "@/components/sections/feature/FeatureCardTwentySix";
import ContactCTA from "@/components/sections/contact/ContactCTA";
import FooterBase from "@/components/sections/footer/FooterBase";
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: "Portfolio", href: "/portfolio" },
            { name: "Services", id: "services" },
            { name: "About", id: "about" },
            { name: "Contact", id: "contact" }
          ]}
          button={{ text: "Get Started", href: "#contact" }}
        />
        <FeatureCardTwentySix
          title="Our Portfolio"
          description="Explore our diverse range of web design and development projects, showcasing our expertise and client success."
          textboxLayout="default"
          useInvertedBackground={false}
          buttons={[{ text: "Get Started", href: "#contact" }]}
          buttonAnimation="slide-up"
          cardClassName="!h-auto aspect-video"
          features={[
            {
              title: "Umbra Skincare",              description: "Luxury fragrance e-commerce platform with custom branding and intuitive UX.",              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/templates/web-agency-2/project-1.webp",              imageAlt: "Umbra Skincare website design",              buttonIcon: ArrowUpRight,
              buttonHref: "#"},
            {
              title: "Luxuria Travel",              description: "Bespoke luxury travel experiences website, enhancing booking and discovery.",              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/templates/web-agency-2/project-2.webp",              imageAlt: "Luxuria Travel website design",              buttonIcon: ArrowUpRight,
              buttonHref: "#"},
            {
              title: "Dental Care",              description: "Modern website for a premier dental practice, focusing on patient engagement.",              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/templates/web-agency-2/project-3.webp",              imageAlt: "Luxury Dental Care website design",              buttonIcon: ArrowUpRight,
              buttonHref: "#"},
            {
              title: "Summit Roofing",              description: "Professional roofing services website with lead generation optimization.",              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/templates/web-agency-2/project-4.webp",              imageAlt: "Summit Roofing website design",              buttonIcon: ArrowUpRight,
              buttonHref: "#"},
            {
              title: "Dubai Real Estate",              description: "Luxury property listings portal, offering an immersive user experience.",              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/templates/web-agency-2/project-5.webp",              imageAlt: "Dubai Real Estate website design",              buttonIcon: ArrowUpRight,
              buttonHref: "#"},
            {
              title: "Daily Life App",              description: "Intuitive UI/UX for a daily life management mobile application.",              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/templates/web-agency-2/shot-1.webp",              imageAlt: "Daily Life app UI UX design",              buttonIcon: ArrowUpRight,
              buttonHref: "#"},
            {
              title: "AgentFlow AI",              description: "SaaS platform design for an AI-powered agent workflow system.",              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/templates/web-agency-2/shot-4.webp",              imageAlt: "AgentFlow AI platform design",              buttonIcon: ArrowUpRight,
              buttonHref: "#"},
            {
              title: "Luminé Skincare",              description: "E-commerce branding and web design for a premium skincare line.",              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/templates/web-agency-2/shot-6.webp",              imageAlt: "Luminé Skincare e-commerce design",              buttonIcon: ArrowUpRight,
              buttonHref: "#"}
          ]}
        />
        <ContactCTA
          tag="Get in Touch"
          title="Ready to Transform Your Digital Presence?"
          description="Let's build something extraordinary together. Get in touch and let's discuss your next project."
          background={{ variant: "rotated-rays-animated" }}
          buttons={[
            { text: "Start Your Project", href: "#contact" },
            { text: "View Our Work", href: "/portfolio" }
          ]}
          buttonAnimation="slide-up"
          useInvertedBackground={false}
        />
        <FooterBase
          logoText="Webild"
          copyrightText="© 2026 | Webild"
          columns={[
            {
              title: "Company",              items: [
                { label: "About", href: "#about" },
                { label: "Services", href: "#services" },
                { label: "Portfolio", href: "/portfolio" },
                { label: "Contact", href: "#contact" },
              ],
            },
            {
              title: "Services",              items: [
                { label: "Web Development", href: "#" },
                { label: "SEO", href: "#" },
                { label: "Branding", href: "#" },
                { label: "UI/UX Design", href: "#" },
              ],
            },
            {
              title: "Connect",              items: [
                { label: "Twitter", href: "#" },
                { label: "LinkedIn", href: "#" },
                { label: "Instagram", href: "#" },
                { label: "Dribbble", href: "#" },
              ],
            },
          ]}
        />
      </ReactLenis>
    </ThemeProvider>
  );
}
