"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered";
import HeroSplit from "@/components/sections/hero/HeroSplit";
import BlogCardOne from "@/components/sections/blog/BlogCardOne";
import TestimonialCardFifteen from "@/components/sections/testimonial/TestimonialCardFifteen";
import FooterBaseReveal from "@/components/sections/footer/FooterBaseReveal";
import { Award } from "lucide-react";

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

  const footerColumns = [
    {
      title: "Product",
      items: [
        { label: "Services", href: "/services" },
        { label: "Portfolio", href: "/portfolio" },
        { label: "Pricing", href: "#" },
      ],
    },
    {
      title: "Company",
      items: [
        { label: "About Us", href: "/about" },
        { label: "Contact", href: "/contact" },
        { label: "Blog", href: "#" },
      ],
    },
    {
      title: "Legal",
      items: [
        { label: "Privacy Policy", href: "#" },
        { label: "Terms of Service", href: "#" },
        { label: "Cookie Policy", href: "#" },
      ],
    },
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="shift-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="compact"
      sizing="mediumSizeLargeTitles"
      background="noise"
      cardStyle="gradient-bordered"
      primaryButtonStyle="flat"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          navItems={navItems}
          button={{
            text: "Book a Free Consultation",
            href: "/contact",
          }}
          brandName="Noventis"
        />
      </div>

      <div id="portfolio-hero" data-section="portfolio-hero">
        <HeroSplit
          title="Award-Winning Web Design Portfolio"
          description="Explore our collection of successful web design projects. Each case study represents our commitment to delivering high-quality, results-driven solutions that help businesses thrive online."
          tag="Our Best Work"
          tagIcon={Award}
          tagAnimation="slide-up"
          background={{ variant: "glowing-orb" }}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3APnA5s66TMDvrFY10op8PHqLQP/a-successful-e-commerce-website-interfac-1772502994846-9c9b77dd.png"
          imageAlt="Portfolio showcase"
          imagePosition="right"
          buttons={[
            { text: "Start Your Project", href: "/contact" },
            { text: "View Services", href: "/services" },
          ]}
          buttonAnimation="slide-up"
          mediaAnimation="blur-reveal"
        />
      </div>

      <div id="case-studies" data-section="case-studies">
        <BlogCardOne
          title="Featured Case Studies"
          description="Real results from real clients. See how we've helped businesses achieve their goals through strategic web design and development."
          tag="Portfolio"
          tagIcon={Award}
          tagAnimation="slide-up"
          textboxLayout="default"
          animationType="scale-rotate"
          useInvertedBackground={false}
          carouselMode="buttons"
          blogs={[
            {
              id: "1",
              category: "E-Commerce",
              title: "Local Retail Business Increases Sales by 280%",
              excerpt: "Custom e-commerce redesign with streamlined checkout process resulted in significant revenue growth and improved customer satisfaction.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3APnA5s66TMDvrFY10op8PHqLQP/a-successful-e-commerce-website-interfac-1772502994846-9c9b77dd.png",
              imageAlt: "E-commerce website case study",
              authorName: "Noventis Team",
              authorAvatar: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3APnA5s66TMDvrFY10op8PHqLQP/a-professional-portrait-of-a-confident-b-1772502992797-4dac1e3b.png",
              date: "2025",
            },
            {
              id: "2",
              category: "Service Provider",
              title: "Service Provider Doubles Lead Generation",
              excerpt: "Strategic website redesign and SEO optimization led to 2x increase in qualified leads within 3 months, transforming business growth.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3APnA5s66TMDvrFY10op8PHqLQP/a-professional-service-provider-website--1772502995084-ca44acf7.png",
              imageAlt: "Service provider website success",
              authorName: "Noventis Team",
              authorAvatar: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3APnA5s66TMDvrFY10op8PHqLQP/a-professional-headshot-of-a-diverse-tea-1772502993370-185c0d94.png",
              date: "2025",
            },
            {
              id: "3",
              category: "Startup",
              title: "Startup Launches MVP Website in 4 Weeks",
              excerpt: "Rapid development and launch of professional website for tech startup, enabling successful market entry and investor confidence.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3APnA5s66TMDvrFY10op8PHqLQP/a-modern-startup-website-featuring-an-in-1772502995008-c1ca89ee.png",
              imageAlt: "Startup website launch",
              authorName: "Noventis Team",
              authorAvatar: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3APnA5s66TMDvrFY10op8PHqLQP/a-professional-portrait-photograph-of-a--1772502994451-a44bfd1f.png",
              date: "2025",
            },
          ]}
        />
      </div>

      <div id="portfolio-testimonial" data-section="portfolio-testimonial">
        <TestimonialCardFifteen
          testimonial="Working with Noventis was a game-changer for our business. Not only did they deliver a beautiful website, but they also provided ongoing support and optimization that continuously improves our results. Their expertise and dedication are unmatched in the industry."
          rating={5}
          author="Sarah Mitchell, CEO of Digital Marketing Solutions"
          avatars={[
            {
              src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3APnA5s66TMDvrFY10op8PHqLQP/a-professional-headshot-of-a-business-pr-1772502993694-0ea2ebcb.png",
              alt: "Sarah Mitchell",
            },
            {
              src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3APnA5s66TMDvrFY10op8PHqLQP/a-friendly-professional-portrait-of-a-bu-1772502994184-6bfa16bf.png",
              alt: "David Chen",
            },
            {
              src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3APnA5s66TMDvrFY10op8PHqLQP/a-professional-business-portrait-showing-1772502993483-5e70bcc9.png",
              alt: "Jennifer Lopez",
            },
            {
              src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3APnA5s66TMDvrFY10op8PHqLQP/a-professional-headshot-of-a-diverse-bus-1772502993335-ea2d2229.png",
              alt: "Robert Johnson",
            },
            {
              src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3APnA5s66TMDvrFY10op8PHqLQP/a-confident-professional-portrait-of-a-b-1772502998093-ad5e0759.png",
              alt: "Amanda White",
            },
            {
              src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3APnA5s66TMDvrFY10op8PHqLQP/a-professional-portrait-of-a-small-busin-1772502995836-e5fb1baa.png",
              alt: "Michael Thompson",
            },
          ]}
          ratingAnimation="slide-up"
          avatarsAnimation="slide-up"
          useInvertedBackground={false}
        />
      </div>

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