"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import HeroBillboardGallery from '@/components/sections/hero/HeroBillboardGallery';
import ProductCardFour from '@/components/sections/product/ProductCardFour';
import TextAbout from '@/components/sections/about/TextAbout';
import FeatureCardTwentyFive from '@/components/sections/feature/FeatureCardTwentyFive';
import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterSimple from '@/components/sections/footer/FooterSimple';
import { Sparkles, User, ImageIcon, Zap, Palette, Code } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="bounce-effect"
      defaultTextAnimation="entrance-slide"
      borderRadius="rounded"
      contentWidth="compact"
      sizing="mediumSizeLargeTitles"
      background="aurora"
      cardStyle="gradient-mesh"
      primaryButtonStyle="diagonal-gradient"
      secondaryButtonStyle="solid"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          brandName="Portfolio"
          navItems={[
            { name: "Home", id: "hero" },
            { name: "Work", id: "gallery" },
            { name: "About", id: "about" },
            { name: "Contact", id: "contact" }
          ]}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardGallery
          title="Exceptional Creative Work"
          description="Showcasing innovative design solutions and digital experiences that captivate and inspire audiences worldwide"
          background={{ variant: "aurora" }}
          tag="Portfolio"
          tagIcon={Sparkles}
          mediaItems={[
            {
              imageSrc: "https://img.b2bpic.net/free-psd/landing-page-template-professional-business_23-2150623079.jpg",              imageAlt: "Portfolio showcase gallery 1"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-psd/creative-template-design_23-2150217599.jpg",              imageAlt: "Portfolio showcase gallery 2"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-psd/emotional-wellbeing-landing-page_23-2149170499.jpg",              imageAlt: "Portfolio showcase gallery 3"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/elegant-cozy-office-lifestyle_23-2149636247.jpg",              imageAlt: "Portfolio showcase gallery 4"
            }
          ]}
          buttons={[
            { text: "View My Work", href: "gallery" },
            { text: "Get In Touch", href: "contact" }
          ]}
        />
      </div>

      <div id="gallery" data-section="gallery">
        <ProductCardFour
          title="Featured Projects"
          description="A curated selection of my most impactful design and development work across various industries and disciplines"
          tag="Gallery"
          tagIcon={ImageIcon}
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          products={[
            {
              id: "proj-1",              name: "Digital Platform Redesign",              price: "2024",              variant: "Web Design • UX/UI",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-modern-laptop-with-rate-charts-display-while-man-woman-working-business-project-design-computer-screen-with-data-chart-information-finance-analysis-desk_482257-40065.jpg",              imageAlt: "Digital platform redesign project"
            },
            {
              id: "proj-2",              name: "Brand Identity System",              price: "2024",              variant: "Branding • Design System",              imageSrc: "https://img.b2bpic.net/free-photo/business-man-looking-analyzing-projects-his-laptop-computer-tablet_342744-943.jpg",              imageAlt: "Brand identity design project"
            },
            {
              id: "proj-3",              name: "Interactive Experience",              price: "2023",              variant: "Web Development • Animation",              imageSrc: "https://img.b2bpic.net/free-photo/professional-person-engaging-with-ai-chatbot-computer-screen_482257-126263.jpg",              imageAlt: "Interactive experience project"
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          carouselMode="buttons"
        />
      </div>

      <div id="about" data-section="about">
        <TextAbout
          tag="About Me"
          tagIcon={User}
          title="I'm a creative professional dedicated to crafting beautiful digital experiences that solve real problems and inspire users through thoughtful design and seamless interactions"
          useInvertedBackground="noInvert"
          buttons={[
            { text: "Download Resume", href: "https://example.com/resume" }
          ]}
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardTwentyFive
          title="What I Offer"
          description="A comprehensive range of design and development services tailored to bring your vision to life"
          tag="Services"
          tagIcon={Zap}
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          animationType="depth-3d"
          features={[
            {
              title: "UI/UX Design",              description: "Creating intuitive user interfaces and seamless user experiences that engage and delight",              icon: Palette,
              mediaItems: [
                {
                  imageSrc: "https://img.b2bpic.net/free-photo/close-up-modern-laptop-with-rate-charts-display-while-man-woman-working-business-project-design-computer-screen-with-data-chart-information-finance-analysis-desk_482257-40065.jpg",                  imageAlt: "UI design work"
                },
                {
                  imageSrc: "https://img.b2bpic.net/free-photo/business-man-looking-analyzing-projects-his-laptop-computer-tablet_342744-943.jpg",                  imageAlt: "UX design work"
                }
              ]
            },
            {
              title: "Web Development",              description: "Building responsive, performant, and scalable web applications using modern technologies",              icon: Code,
              mediaItems: [
                {
                  imageSrc: "https://img.b2bpic.net/free-photo/business-man-looking-analyzing-projects-his-laptop-computer-tablet_342744-943.jpg",                  imageAlt: "Web development work"
                },
                {
                  imageSrc: "https://img.b2bpic.net/free-photo/professional-person-engaging-with-ai-chatbot-computer-screen_482257-126263.jpg",                  imageAlt: "Web application work"
                }
              ]
            }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFifteen
          testimonial="Working with this designer transformed our digital presence. Their attention to detail, creative vision, and ability to understand our brand resulted in a stunning website that truly exceeds our expectations. Highly recommended!"
          rating={5}
          author="Sarah Anderson, CEO at TechVenture"
          avatars={[
            {
              src: "https://img.b2bpic.net/free-photo/close-up-portrait-curly-handsome-european-male_176532-8133.jpg",              alt: "Client testimonial avatar 1"
            },
            {
              src: "https://img.b2bpic.net/free-photo/smiling-young-handsome-guy-wearing-green-shirt_141793-122624.jpg",              alt: "Client testimonial avatar 2"
            },
            {
              src: "https://img.b2bpic.net/free-photo/smiling-millennial-man-looking-camera-cafe-headshot-portrait_1163-5163.jpg",              alt: "Client testimonial avatar 3"
            },
            {
              src: "https://img.b2bpic.net/free-photo/headshot-pleased-hipster-guy-dressed-maroon-t-shirt_176532-8161.jpg",              alt: "Client testimonial avatar 4"
            }
          ]}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Let's Create Something Amazing"
          description="Have a project in mind? I'd love to hear about it. Get in touch and let's explore how we can work together to bring your ideas to life."
          inputs={[
            { name: "name", type: "text", placeholder: "Your Name", required: true },
            { name: "email", type: "email", placeholder: "Your Email", required: true }
          ]}
          textarea={{
            name: "message",            placeholder: "Tell me about your project...",            rows: 5,
            required: true
          }}
          useInvertedBackground="invertDefault"
          imageSrc="https://img.b2bpic.net/free-photo/happy-african-american-businesswoman-drinking-coffee-conference-call-laptop_637285-12927.jpg"
          imageAlt="Contact section illustration"
          mediaPosition="right"
          buttonText="Send Message"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterSimple
          columns={[
            {
              title: "Navigation",              items: [
                { label: "Home", href: "#hero" },
                { label: "Portfolio", href: "#gallery" },
                { label: "About", href: "#about" }
              ]
            },
            {
              title: "Connect",              items: [
                { label: "LinkedIn", href: "https://linkedin.com" },
                { label: "GitHub", href: "https://github.com" },
                { label: "Twitter", href: "https://twitter.com" }
              ]
            },
            {
              title: "Resources",              items: [
                { label: "Blog", href: "#" },
                { label: "Case Studies", href: "#" },
                { label: "Contact", href: "#contact" }
              ]
            }
          ]}
          bottomLeftText="© 2025 Portfolio. All rights reserved."
          bottomRightText="Crafted with care using modern web technologies"
        />
      </div>
    </ThemeProvider>
  );
}