"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import HeroSplit from '@/components/sections/hero/HeroSplit';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import AboutMetric from '@/components/sections/about/AboutMetric';
import FeatureBento from '@/components/sections/feature/FeatureBento';
import TestimonialCardTwo from '@/components/sections/testimonial/TestimonialCardTwo';
import ContactCTA from '@/components/sections/contact/ContactCTA';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
import { Award, Code, Globe, Mail, MousePointer, Palette, Star, Users, Zap } from 'lucide-react';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-bubble"
      defaultTextAnimation="background-highlight"
      borderRadius="rounded"
      contentWidth="compact"
      sizing="mediumLargeSizeMediumTitles"
      background="grid"
      cardStyle="glass-elevated"
      primaryButtonStyle="primary-glow"
      secondaryButtonStyle="layered"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="Portfolio"
          navItems={[
            { name: "Work", id: "work" },
            { name: "About", id: "about" },
            { name: "Services", id: "services" },
            { name: "Contact", id: "contact" }
          ]}
          button={{
            text: "Get in Touch",            href: "#contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplit
          title="Crafting Digital Experiences"
          description="I design thoughtful, elegant digital products that solve real problems. With a focus on minimalism and user-centered design, I create work that stands the test of time."
          tag="Creative Director"
          tagIcon={Sparkles}
          buttons={[
            { text: "View My Work", href: "#work" },
            { text: "Get in Touch", href: "#contact" }
          ]}
          imageSrc="http://img.b2bpic.net/free-photo/minimalist-spacious-interior-design_23-2150378903.jpg"
          imageAlt="Creative workspace studio"
          imagePosition="right"
          background={{ variant: "plain" }}
          mediaAnimation="blur-reveal"
          buttonAnimation="slide-up"
          tagAnimation="slide-up"
        />
      </div>

      <div id="work" data-section="work">
        <ProductCardTwo
          title="Featured Work"
          description="A selection of recent projects that demonstrate my approach to design and problem-solving"
          textboxLayout="default"
          useInvertedBackground={false}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          carouselMode="buttons"
          products={[
            {
              id: "1",              brand: "Creative Studio",              name: "Brand Identity System",              price: "2023",              rating: 5,
              reviewCount: "Award Winner",              imageSrc: "http://img.b2bpic.net/free-photo/elegant-cozy-office-lifestyle_23-2149636247.jpg",              imageAlt: "Brand identity design project"
            },
            {
              id: "2",              brand: "Tech Startup",              name: "Mobile App Interface",              price: "2023",              rating: 5,
              reviewCount: "Featured",              imageSrc: "http://img.b2bpic.net/free-vector/furniture-shop-ui-app-template_47987-1879.jpg",              imageAlt: "Mobile app design interface"
            },
            {
              id: "3",              brand: "Design Agency",              name: "Digital Platform",              price: "2024",              rating: 5,
              reviewCount: "Live",              imageSrc: "http://img.b2bpic.net/free-vector/colorful-minimal-business-card-template_23-2148373393.jpg",              imageAlt: "Digital platform design"
            }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <AboutMetric
          title="Design is about understanding people, their needs, and creating solutions that feel natural and intuitive"
          useInvertedBackground={false}
          metricsAnimation="slide-up"
          metrics={[
            { icon: Award, label: "Years Experience", value: "8+" },
            { icon: Users, label: "Clients Served", value: "50+" },
            { icon: Zap, label: "Projects Completed", value: "120+" },
            { icon: Globe, label: "Global Reach", value: "30 Countries" }
          ]}
        />
      </div>

      <div id="services" data-section="services">
        <FeatureBento
          title="Services & Expertise"
          description="A comprehensive range of design services tailored to elevate your brand and product"
          textboxLayout="default"
          useInvertedBackground={false}
          animationType="slide-up"
          features={[
            {
              title: "User Experience Design",              description: "Creating intuitive interfaces that prioritize user needs and accessibility",              bentoComponent: "reveal-icon",              icon: MousePointer
            },
            {
              title: "Brand Strategy",              description: "Developing cohesive visual identities that communicate your values",              bentoComponent: "reveal-icon",              icon: Palette
            },
            {
              title: "Digital Products",              description: "Building scalable solutions from concept to launch",              bentoComponent: "reveal-icon",              icon: Code
            },
            {
              title: "Motion Design",              description: "Crafting fluid animations that enhance user engagement",              bentoComponent: "reveal-icon",              icon: Zap
            }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwo
          title="What Clients Say"
          description="Real feedback from brands and teams I've had the privilege to work with"
          textboxLayout="default"
          useInvertedBackground={false}
          animationType="slide-up"
          carouselMode="buttons"
          testimonials={[
            {
              id: "1",              name: "Sarah Chen",              role: "CEO",              testimonial: "Working with this designer transformed our product vision. The attention to detail and user-centered approach resulted in a 40% increase in user engagement.",              icon: Star,
              imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              imageAlt: "Sarah Chen"
            },
            {
              id: "2",              name: "Michael Rodriguez",              role: "Creative Director",              testimonial: "Exceptional creativity paired with strategic thinking. The brand identity system delivered exceeded all our expectations and truly sets us apart in the market.",              icon: Star,
              imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              imageAlt: "Michael Rodriguez"
            },
            {
              id: "3",              name: "Emily Watson",              role: "Product Lead",              testimonial: "A true professional who understands both design and business. The mobile interface improved our conversion rate by 35% and user satisfaction scores are at an all-time high.",              icon: Star,
              imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              imageAlt: "Emily Watson"
            },
            {
              id: "4",              name: "James Park",              role: "Founder",              testimonial: "Clean, sophisticated design thinking. The digital platform redesign was seamless, and the collaboration process was smooth from start to finish. Highly recommended.",              icon: Star,
              imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              imageAlt: "James Park"
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCTA
          tag="Ready to Create"
          tagIcon={Mail}
          title="Let's Build Something Amazing Together"
          description="Have a project in mind? I'd love to hear about it. Let's collaborate and create something that truly makes an impact."
          buttons={[
            { text: "Start a Project", href: "mailto:hello@portfolio.com" },
            { text: "Schedule a Call", href: "#" }
          ]}
          background={{ variant: "plain" }}
          useInvertedBackground={false}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterLogoReveal
          logoText="Portfolio"
          leftLink={{ text: "Privacy Policy", href: "#" }}
          rightLink={{ text: "Terms of Service", href: "#" }}
        />
      </div>
    </ThemeProvider>
  );
}

import { Sparkles } from 'lucide-react';
