"use client"

import { Award, Mail, Star, Users, Zap } from "lucide-react";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import HeroCarouselLogo from '@/components/sections/hero/heroCarouselLogo/HeroCarouselLogo';
import InlineImageSplitTextAbout from '@/components/sections/about/InlineImageSplitTextAbout';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import MetricCardThree from '@/components/sections/metrics/MetricCardThree';
import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen';
import ContactCTA from '@/components/sections/contact/ContactCTA';
import FooterBase from '@/components/sections/footer/FooterBase';

export default function Portfolio() {
  return (
    <ThemeProvider
      defaultButtonVariant="slide-background"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="mediumSmall"
      sizing="largeSmallSizeMediumTitles"
      background="floatingGradient"
      cardStyle="soft-shadow"
      primaryButtonStyle="flat"
      secondaryButtonStyle="solid"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          brandName="Portfolio"
          navItems={[
            { name: "About", id: "about" },
            { name: "Projects", id: "projects" },
            { name: "Skills", id: "metrics" },
            { name: "Contact", id: "contact" }
          ]}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroCarouselLogo
          logoText="PORTFOLIO"
          description="Crafting digital experiences through innovative design and creative problem-solving"
          buttons={[
            { text: "View My Work", href: "projects" },
            { text: "Get In Touch", href: "contact" }
          ]}
          slides={[
            {
              imageSrc: "https://img.b2bpic.net/free-psd/minimal-magazine-cover-landing-page-template_23-2149660314.jpg",              imageAlt: "Portfolio showcase 1"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-psd/emotional-wellbeing-landing-page_23-2149170499.jpg",              imageAlt: "Portfolio showcase 2"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-psd/plant-care-template-design_23-2150262440.jpg",              imageAlt: "Portfolio showcase 3"
            }
          ]}
          autoplayDelay={5000}
          showDimOverlay={true}
        />
      </div>

      <div id="about" data-section="about">
        <InlineImageSplitTextAbout
          heading={[
            { type: "text", content: "Designing solutions that inspire and" },
            { type: "text", content: "transform digital experiences" }
          ]}
          buttons={[
            { text: "View Full Profile", href: "https://example.com/about" }
          ]}
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="projects" data-section="projects">
        <ProductCardOne
          title="Featured Projects"
          description="Explore a selection of my recent work across web design, branding, and digital experiences"
          products={[
            {
              id: "1",              name: "E-Commerce Platform Redesign",              price: "2023",              imageSrc: "https://img.b2bpic.net/free-photo/group-people-working-website-template_53876-25068.jpg",              imageAlt: "E-commerce platform project"
            },
            {
              id: "2",              name: "Brand Identity System",              price: "2023",              imageSrc: "https://img.b2bpic.net/free-photo/web-design-online-technology-content-concept_53876-123927.jpg",              imageAlt: "Brand identity project"
            },
            {
              id: "3",              name: "Mobile App Interface",              price: "2023",              imageSrc: "https://img.b2bpic.net/free-photo/young-businesswoman-her-colleagues-brainstorming-while-using-desktop-pc-office_637285-2664.jpg",              imageAlt: "Mobile app project"
            },
            {
              id: "4",              name: "Visual Design Campaign",              price: "2022",              imageSrc: "https://img.b2bpic.net/free-photo/website-development_53876-95315.jpg",              imageAlt: "Graphic design project"
            },
            {
              id: "5",              name: "User Experience Research",              price: "2022",              imageSrc: "https://img.b2bpic.net/free-photo/aerial-view-hands-working-computer-white-table-office_53876-147927.jpg",              imageAlt: "UX design project"
            },
            {
              id: "6",              name: "Illustration Series",              price: "2022",              imageSrc: "https://img.b2bpic.net/free-photo/ideas-progress-vision-inspiration-design-concept_53876-120120.jpg",              imageAlt: "Illustration project"
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardThree
          title="Professional Achievements"
          description="Key metrics showcasing my expertise and industry impact"
          metrics={[
            {
              id: "1",              icon: Award,
              title: "Projects Completed",              value: "50+"
            },
            {
              id: "2",              icon: Users,
              title: "Happy Clients",              value: "30+"
            },
            {
              id: "3",              icon: Zap,
              title: "Years Experience",              value: "5+"
            },
            {
              id: "4",              icon: Star,
              title: "Success Rate",              value: "98%"
            }
          ]}
          animationType="scale-rotate"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFifteen
          testimonial="Working with this designer completely transformed our brand. The attention to detail, creative vision, and ability to understand our goals made the entire process seamless and exceptional."
          rating={5}
          author="Sarah Mitchell, Creative Director"
          avatars={[
            {
              src: "https://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              alt: "Client testimonial 1"
            },
            {
              src: "https://img.b2bpic.net/free-photo/happy-businessman-smiling-camera_1163-4660.jpg",              alt: "Client testimonial 2"
            },
            {
              src: "https://img.b2bpic.net/free-photo/pensive-person-alone-corridor-serious_1262-1042.jpg",              alt: "Client testimonial 3"
            },
            {
              src: "https://img.b2bpic.net/free-photo/portrait-smiley-business-woman_23-2148603029.jpg",              alt: "Client testimonial 4"
            }
          ]}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCTA
          tag="Let's Connect"
          tagIcon={Mail}
          title="Ready to Start Your Next Project?"
          description="I'm always interested in hearing about new projects and opportunities to create something amazing together."
          buttons={[
            { text: "Send Me an Email", href: "mailto:hello@portfolio.com" },
            { text: "Schedule a Call", href: "https://calendly.com/portfolio" }
          ]}
          background={{ variant: "animated-grid" }}
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBase
          logoText="Portfolio"
          copyrightText="© 2024 My Portfolio. All rights reserved."
          columns={[
            {
              title: "Navigation",              items: [
                { label: "Home", href: "/" },
                { label: "Projects", href: "projects" },
                { label: "About", href: "about" },
                { label: "Contact", href: "contact" }
              ]
            },
            {
              title: "Social",              items: [
                { label: "LinkedIn", href: "https://linkedin.com" },
                { label: "Twitter", href: "https://twitter.com" },
                { label: "Dribbble", href: "https://dribbble.com" },
                { label: "Instagram", href: "https://instagram.com" }
              ]
            },
            {
              title: "Resources",              items: [
                { label: "Blog", href: "https://example.com/blog" },
                { label: "Case Studies", href: "https://example.com/case-studies" },
                { label: "Resume", href: "https://example.com/resume.pdf" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}