"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from "@/components/navbar/NavbarStyleApple/NavbarStyleApple";
import HeroBillboardRotatedCarousel from "@/components/sections/hero/HeroBillboardRotatedCarousel";
import ContactText from "@/components/sections/contact/ContactText";
import FooterLogoEmphasis from "@/components/sections/footer/FooterLogoEmphasis";
import { ChevronRight } from "lucide-react";

export default function PortfolioPage() {
  const navItems = [
    { name: "Home", id: "/" },
    { name: "Services", id: "/services" },
    { name: "Portfolio", id: "/portfolio" },
    { name: "Team", id: "/team" },
    { name: "Contact", id: "/contact" },
  ];

  const footerColumns = [
    {
      items: [
        { label: "Home", href: "/" },
        { label: "Services", href: "/services" },
        { label: "Portfolio", href: "/portfolio" },
      ],
    },
    {
      items: [
        { label: "Team", href: "/team" },
        { label: "About", href: "/" },
        { label: "Contact", href: "/contact" },
      ],
    },
    {
      items: [
        { label: "Privacy Policy", href: "#" },
        { label: "Terms of Service", href: "#" },
        { label: "Cookie Policy", href: "#" },
      ],
    },
    {
      items: [
        { label: "Twitter", href: "https://twitter.com" },
        { label: "LinkedIn", href: "https://linkedin.com" },
        { label: "Instagram", href: "https://instagram.com" },
      ],
    },
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="hover-bubble"
      defaultTextAnimation="background-highlight"
      borderRadius="pill"
      contentWidth="mediumSmall"
      sizing="largeSmall"
      background="noise"
      cardStyle="gradient-bordered"
      primaryButtonStyle="radial-glow"
      secondaryButtonStyle="glass"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple brandName="Proof Digital" navItems={navItems} />
      </div>

      <div id="portfolio-hero" data-section="portfolio-hero">
        <HeroBillboardRotatedCarousel
          title="Our Portfolio of Excellence"
          description="Explore our diverse collection of successful projects that showcase our expertise in digital design, development, and strategy"
          carouselItems={[
            {
              id: "carousel-1",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3APc8tsPVVj4WWtJ1S9JiqjYqYX/a-modern-digital-dashboard-interface-sho-1772497563833-5c80b1ff.png?_wi=2",
              imageAlt: "Digital strategy showcase",
            },
            {
              id: "carousel-2",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3APc8tsPVVj4WWtJ1S9JiqjYqYX/a-contemporary-website-design-mockup-dis-1772497563982-eda4fa9d.png?_wi=2",
              imageAlt: "Web design project",
            },
            {
              id: "carousel-3",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3APc8tsPVVj4WWtJ1S9JiqjYqYX/mobile-application-interface-displayed-o-1772497563404-82624e61.png?_wi=2",
              imageAlt: "Mobile application interface",
            },
            {
              id: "carousel-4",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3APc8tsPVVj4WWtJ1S9JiqjYqYX/brand-identity-design-showcase-featuring-1772497564453-1c09ff84.png?_wi=2",
              imageAlt: "Brand identity design",
            },
            {
              id: "carousel-5",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3APc8tsPVVj4WWtJ1S9JiqjYqYX/digital-marketing-campaign-visual-showin-1772497564664-96a252f5.png?_wi=2",
              imageAlt: "Marketing campaign execution",
            },
            {
              id: "carousel-6",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3APc8tsPVVj4WWtJ1S9JiqjYqYX/digital-transformation-project-visualiza-1772497564050-37f2e4ef.png?_wi=2",
              imageAlt: "Digital transformation project",
            },
          ]}
          buttons={[
            { text: "Start Your Project", href: "/contact" },
            { text: "View Our Services", href: "/services" },
          ]}
          background={{ variant: "sparkles-gradient" }}
          autoPlay={true}
          autoPlayInterval={4000}
        />
      </div>

      <div id="portfolio-cta" data-section="portfolio-cta">
        <ContactText
          text="Impressed by our work? Let's discuss how we can bring your digital vision to life with innovative solutions tailored to your unique needs."
          animationType="entrance-slide"
          buttons={[
            { text: "Start a Project", href: "/contact" },
            { text: "Learn About Our Process", href: "/services" },
          ]}
          background={{ variant: "radial-gradient" }}
          useInvertedBackground={false}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterLogoEmphasis logoText="Proof Digital" columns={footerColumns} />
      </div>
    </ThemeProvider>
  );
}