"use client";

import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import ProductCardFour from '@/components/sections/product/ProductCardFour';
import TestimonialCardTwelve from '@/components/sections/testimonial/TestimonialCardTwelve';
import ContactText from '@/components/sections/contact/ContactText';
import FooterBase from '@/components/sections/footer/FooterBase';
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import Link from "next/link";
import { Star, CheckCircle } from "lucide-react";

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

  const footerColumns = [
    {
      title: "Services",
      items: [
        { label: "Content Strategy", href: "/services" },
        { label: "Community Management", href: "/services" },
        { label: "Paid Social", href: "/services" },
        { label: "Analytics & Reporting", href: "/services" },
      ],
    },
    {
      title: "Company",
      items: [
        { label: "About Us", href: "/" },
        { label: "Portfolio", href: "/portfolio" },
        { label: "Pricing", href: "/services" },
        { label: "Contact", href: "/" },
      ],
    },
    {
      title: "Legal",
      items: [
        { label: "Privacy Policy", href: "#" },
        { label: "Terms of Service", href: "#" },
        { label: "Cookie Policy", href: "#" },
        { label: "Disclaimer", href: "#" },
      ],
    },
    {
      title: "Connect",
      items: [
        { label: "Instagram", href: "https://instagram.com" },
        { label: "LinkedIn", href: "https://linkedin.com" },
        { label: "Twitter", href: "https://twitter.com" },
        { label: "TikTok", href: "https://tiktok.com" },
      ],
    },
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="entrance-slide"
      borderRadius="soft"
      contentWidth="mediumSmall"
      sizing="large"
      background="noise"
      cardStyle="soft-shadow"
      primaryButtonStyle="flat"
      secondaryButtonStyle="glass"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple brandName="SocialPeak" navItems={navItems} />
      </div>

      <div id="portfolio" data-section="portfolio">
        <div className="mx-auto px-4 md:px-6">
          <ProductCardFour
            title="Showcase of Success"
            description="Explore our portfolio of premium brand campaigns that delivered exceptional results."
            tag="Our Work"
            tagIcon={Star}
            tagAnimation="slide-up"
            buttonAnimation="slide-up"
            products={[
              {
                id: "luxury-fashion",
                name: "Luxury Fashion Brand",
                price: "340% Engagement Growth",
                variant: "Instagram Campaign",
                imageSrc: "http://img.b2bpic.net/free-psd/instagram-posts-collection-fashion-lifestyle_23-2148613428.jpg",
                imageAlt: "Luxury Fashion Campaign",
              },
              {
                id: "tech-startup",
                name: "Tech Startup Growth",
                price: "2.5M Impressions",
                variant: "Integrated Campaign",
                imageSrc: "http://img.b2bpic.net/free-photo/people-practicing-social-integration-workspace_23-2149405350.jpg",
                imageAlt: "Tech Startup Campaign",
              },
              {
                id: "wellness-brand",
                name: "Wellness Community",
                price: "280% Sales Growth",
                variant: "Community Building",
                imageSrc: "http://img.b2bpic.net/free-photo/stylish-girl-taking-pictures-with-apple-notebook-whie-table_176420-11555.jpg",
                imageAlt: "Wellness Campaign",
              },
            ]}
            gridVariant="three-columns-all-equal-width"
            animationType="slide-up"
            textboxLayout="default"
            useInvertedBackground={false}
          />
        </div>
      </div>

      <div id="testimonials" data-section="testimonials">
        <div className="mx-auto px-4 md:px-6">
          <TestimonialCardTwelve
            testimonials={[
              {
                id: "1",
                name: "Sarah Mitchell",
                imageSrc: "http://img.b2bpic.net/free-photo/business-woman-with-crossed-arms-smiling_23-2148095677.jpg",
                imageAlt: "Sarah Mitchell",
              },
              {
                id: "2",
                name: "James Chen",
                imageSrc: "http://img.b2bpic.net/free-photo/closeup-serious-handsome-middle-aged-boss_1262-4837.jpg",
                imageAlt: "James Chen",
              },
              {
                id: "3",
                name: "Elena Rodriguez",
                imageSrc: "http://img.b2bpic.net/free-photo/woman-with-crossed-arms_23-2147574179.jpg",
                imageAlt: "Elena Rodriguez",
              },
              {
                id: "4",
                name: "Michael Park",
                imageSrc: "http://img.b2bpic.net/free-photo/portrait-handsome-bearded-man-suit_23-2149705918.jpg",
                imageAlt: "Michael Park",
              },
            ]}
            cardTitle="Exceptional Results, Premium Service"
            cardTag="Trusted by Industry Leaders"
            cardTagIcon={CheckCircle}
            cardAnimation="slide-up"
            useInvertedBackground={false}
          />
        </div>
      </div>

      <div id="contact" data-section="contact">
        <div className="mx-auto px-4 md:px-6">
          <ContactText
            text="Ready to elevate your brand's social presence? Let's create something extraordinary together."
            animationType="entrance-slide"
            buttons={[
              {
                text: "Start Your Project",
                href: "/",
              },
              {
                text: "Schedule a Call",
                href: "/",
              },
            ]}
            background={{
              variant: "radial-gradient",
            }}
            useInvertedBackground={true}
          />
        </div>
      </div>

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