"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import HeroBillboardGallery from '@/components/sections/hero/HeroBillboardGallery';
import InlineImageSplitTextAbout from '@/components/sections/about/InlineImageSplitTextAbout';
import FeatureCardTwentyFour from '@/components/sections/feature/FeatureCardTwentyFour';
import MetricCardThree from '@/components/sections/metrics/MetricCardThree';
import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen';
import ContactFaq from '@/components/sections/contact/ContactFaq';
import FooterSimple from '@/components/sections/footer/FooterSimple';
import { Sparkles, TrendingUp, Users, Eye, Heart, MessageSquare } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="reveal-blur"
      borderRadius="soft"
      contentWidth="compact"
      sizing="mediumLargeSizeLargeTitles"
      background="aurora"
      cardStyle="glass-elevated"
      primaryButtonStyle="diagonal-gradient"
      secondaryButtonStyle="glass"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="Spike Media"
          navItems={[
            { name: "About", id: "about" },
            { name: "Services", id: "services" },
            { name: "Testimonials", id: "testimonials" },
            { name: "Contact", id: "contact" }
          ]}
          button={{
            text: "Start Project",            href: "contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardGallery
          title="Authentic Content That Converts"
          description="We create compelling user-generated content that builds trust and drives real results for your brand. From concept to delivery, Spike Media brings authenticity to every frame."
          tag="UGC Agency"
          tagIcon={Sparkles}
          background={{ variant: "aurora" }}
          mediaItems={[
            {
              imageSrc: "https://img.b2bpic.net/free-photo/woman-creating-their-own-vision-board_23-2150270426.jpg",              imageAlt: "UGC content creation showcase"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/woman-creating-their-own-vision-board_23-2150270427.jpg",              imageAlt: "Social media marketing content"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/young-people-using-reels_23-2150038634.jpg",              imageAlt: "Creative video production"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/woman-creating-their-own-vision-board_23-2150270425.jpg",              imageAlt: "Brand content creation"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/media-journalism-global-daily-news-content-concept_53876-123733.jpg",              imageAlt: "Social media production"
            }
          ]}
          buttons={[
            { text: "View Our Work", href: "services" },
            { text: "Get a Quote", href: "contact" }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <InlineImageSplitTextAbout
          heading={[
            { type: "text", content: "We specialize in creating" },
            { type: "text", content: "authentic, high-impact UGC content" },
            { type: "text", content: "that resonates with real audiences and drives measurable results for forward-thinking brands." }
          ]}
          useInvertedBackground="noInvert"
          buttons={[
            { text: "Learn More", href: "#services" }
          ]}
        />
      </div>

      <div id="services" data-section="services">
        <FeatureCardTwentyFour
          title="Our Services"
          description="Comprehensive UGC solutions tailored to elevate your brand presence"
          tag="What We Offer"
          features={[
            {
              id: "1",              title: "Short-Form Video Content",              author: "TikTok & Reels Specialists",              description: "Engaging 15-60 second videos optimized for viral potential and brand messaging. Our creators craft authentic narratives that capture attention and drive engagement.",              tags: ["Video", "Social Media", "Viral"],
              imageSrc: "https://img.b2bpic.net/free-photo/woman-creating-their-own-vision-board_23-2150270427.jpg"
            },
            {
              id: "2",              title: "Product Review UGC",              author: "Conversion Focused",              description: "Authentic product demonstrations and reviews that build credibility. Perfect for e-commerce brands looking to boost conversion rates with real-world testimonials.",              tags: ["E-Commerce", "Reviews", "Conversion"],
              imageSrc: "https://img.b2bpic.net/free-photo/young-people-using-reels_23-2150038634.jpg"
            },
            {
              id: "3",              title: "Brand Campaign Content",              author: "Strategic Creators",              description: "Custom content aligned with your brand voice and marketing objectives. From concept development to post-production, we deliver campaigns that tell your story.",              tags: ["Branding", "Marketing", "Creative"],
              imageSrc: "https://img.b2bpic.net/free-photo/woman-creating-their-own-vision-board_23-2150270425.jpg"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardThree
          title="Our Track Record"
          description="Proven results that speak for themselves"
          tag="By The Numbers"
          metrics={[
            {
              id: "1",              icon: TrendingUp,
              title: "Content Pieces",              value: "2,500+"
            },
            {
              id: "2",              icon: Users,
              title: "Brand Partners",              value: "150+"
            },
            {
              id: "3",              icon: Eye,
              title: "Total Views",              value: "50M+"
            },
            {
              id: "4",              icon: Heart,
              title: "Avg Engagement",              value: "8.5%"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFifteen
          testimonial="Working with Spike Media transformed our content strategy. Their creators delivered authentic UGC that boosted our conversion rates by 45% in just three months. Highly recommend!"
          rating={5}
          author="Sarah Chen, Marketing Director at BrandCo"
          avatars={[
            {
              src: "https://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              alt: "Sarah Chen"
            },
            {
              src: "https://img.b2bpic.net/free-photo/smiling-homosexual-man-official-suit-looking-camera-close-up-shot-happy-gay-getting-dressed-wedding-ceremony-standing-hotel-room-with-his-partner-background-love-emotion-concept_74855-22675.jpg",              alt: "Client testimonial"
            },
            {
              src: "https://img.b2bpic.net/free-photo/happy-young-professional-posing-office_1262-21170.jpg",              alt: "Client testimonial"
            },
            {
              src: "https://img.b2bpic.net/free-photo/portrait-smiley-business-man_23-2148514859.jpg",              alt: "Client testimonial"
            }
          ]}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactFaq
          ctaTitle="Ready to Elevate Your Brand?"
          ctaDescription="Get in touch with our team to discuss your UGC needs and discover how we can create content that drives real results."
          ctaButton={{
            text: "Schedule a Consultation",            href: "mailto:hello@spikemedia.com"
          }}
          ctaIcon={MessageSquare}
          faqs={[
            {
              id: "1",              title: "What type of content do you create?",              content: "We specialize in short-form video content, product reviews, brand campaigns, lifestyle content, and more. Our creators adapt their style to match your brand voice and marketing objectives."
            },
            {
              id: "2",              title: "How long does a typical project take?",              content: "Most projects take 2-4 weeks from concept to delivery, depending on scope and revisions. We work closely with you to ensure timelines align with your campaign launch dates."
            },
            {
              id: "3",              title: "Can you work with our existing brand guidelines?",              content: "Absolutely! We pride ourselves on creating authentic UGC that aligns with your brand identity. We review all guidelines and creative briefs to ensure consistency."
            },
            {
              id: "4",              title: "What's your pricing model?",              content: "We offer flexible pricing based on content type, quantity, and creator selection. Contact us for a custom quote tailored to your budget and requirements."
            }
          ]}
          useInvertedBackground="noInvert"
          animationType="slide-up"
          accordionAnimationType="smooth"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterSimple
          columns={[
            {
              title: "Company",              items: [
                { label: "About", href: "#about" },
                { label: "Services", href: "#services" },
                { label: "Contact", href: "#contact" }
              ]
            },
            {
              title: "Resources",              items: [
                { label: "Blog", href: "#" },
                { label: "Portfolio", href: "#" },
                { label: "Case Studies", href: "#" }
              ]
            },
            {
              title: "Connect",              items: [
                { label: "Instagram", href: "https://instagram.com" },
                { label: "TikTok", href: "https://tiktok.com" },
                { label: "Email", href: "mailto:hello@spikemedia.com" }
              ]
            }
          ]}
          bottomLeftText="© 2025 Spike Media. All rights reserved."
          bottomRightText="Created with passion for authentic content"
        />
      </div>
    </ThemeProvider>
  );
}