"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered";
import HeroSplitDoubleCarousel from "@/components/sections/hero/HeroSplitDoubleCarousel";
import InlineImageSplitTextAbout from "@/components/sections/about/InlineImageSplitTextAbout";
import FeatureCardThree from "@/components/sections/feature/featureCardThree/FeatureCardThree";
import ProductCardFour from "@/components/sections/product/ProductCardFour";
import MetricCardThree from "@/components/sections/metrics/MetricCardThree";
import TestimonialCardTwelve from "@/components/sections/testimonial/TestimonialCardTwelve";
import BlogCardThree from "@/components/sections/blog/BlogCardThree";
import ContactCTA from "@/components/sections/contact/ContactCTA";
import FooterBaseReveal from "@/components/sections/footer/FooterBaseReveal";
import {
  Sparkles,
  Zap,
  Award,
  TrendingUp,
  Star,
  BookOpen,
  Rocket,
  Users,
  BarChart3,
  Heart,
} from "lucide-react";

export default function HomePage() {
  const navItems = [
    { name: "Home", id: "home" },
    { name: "Services", id: "services" },
    { name: "Portfolio", id: "portfolio" },
    { name: "About", id: "about" },
    { name: "Blog", id: "blog" },
  ];

  const footerColumns = [
    {
      title: "Services",
      items: [
        { label: "Social Strategy", href: "/" },
        { label: "Content Creation", href: "/" },
        { label: "Paid Advertising", href: "/" },
        { label: "Analytics", href: "/" },
      ],
    },
    {
      title: "Company",
      items: [
        { label: "About Us", href: "/" },
        { label: "Portfolio", href: "/" },
        { label: "Blog", href: "/" },
        { label: "Careers", href: "#" },
      ],
    },
    {
      title: "Connect",
      items: [
        { label: "Contact Us", href: "/contact" },
        { label: "Twitter", href: "https://twitter.com" },
        { label: "LinkedIn", href: "https://linkedin.com" },
        { label: "Instagram", href: "https://instagram.com" },
      ],
    },
    {
      title: "Legal",
      items: [
        { label: "Privacy Policy", href: "#" },
        { label: "Terms of Service", href: "#" },
        { label: "Cookie Policy", href: "#" },
      ],
    },
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="directional-hover"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="compact"
      sizing="largeSmallSizeLargeTitles"
      background="floatingGradient"
      cardStyle="solid"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="layered"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          brandName="Lumina Social"
          navItems={navItems}
          button={{ text: "Get Started", href: "/contact" }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplitDoubleCarousel
          title="Elevate Your Brand's Social Presence"
          description="Strategic social media solutions designed to amplify your reach, engage your audience, and drive measurable business results. We craft campaigns that resonate and convert."
          tag="Premium Social Media Agency"
          tagIcon={Sparkles}
          tagAnimation="slide-up"
          background={{ variant: "plain" }}
          leftCarouselItems={[
            {
              imageSrc: "http://img.b2bpic.net/free-photo/african-american-guy-studying-analytics-archived-data-project_482257-121442.jpg?_wi=1",
              imageAlt: "Social media dashboard analytics interface",
            },
            {
              imageSrc: "http://img.b2bpic.net/free-photo/colorful-notepad-near-coffee-notepad_23-2147777787.jpg?_wi=1",
              imageAlt: "creative content planning workspace",
            },
            {
              imageSrc: "http://img.b2bpic.net/free-photo/business-woman-hand-with-financial-charts-laptop-table_1232-4834.jpg?_wi=1",
              imageAlt: "analytics performance tracking data",
            },
          ]}
          rightCarouselItems={[
            {
              imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-women-working-as-photographer_23-2150506120.jpg",
              imageAlt: "influencer collaboration partnership meeting",
            },
            {
              imageSrc: "http://img.b2bpic.net/free-vector/abstract-instagram-stories-template-collection_23-2147935965.jpg",
              imageAlt: "brand storytelling visual narrative",
            },
            {
              imageSrc: "http://img.b2bpic.net/free-photo/teamwork-meeting-with-business-people_23-2148825934.jpg",
              imageAlt: "multi-platform social media campaign execution",
            },
          ]}
          buttons={[
            { text: "View Our Work", href: "/" },
            { text: "Schedule Consultation", href: "/contact" },
          ]}
          buttonAnimation="slide-up"
          avatarText="Trusted by 150+ brands worldwide"
          avatars={[
            {
              src: "http://img.b2bpic.net/free-photo/portrait-happy-business-woman-posing-outdoors_23-2148603030.jpg",
              alt: "Client testimonial avatar 1",
            },
            {
              src: "http://img.b2bpic.net/free-photo/portrait-smiley-business-man_23-2148514859.jpg",
              alt: "Client testimonial avatar 2",
            },
            {
              src: "http://img.b2bpic.net/free-photo/cheerful-professional-business-team_1262-21009.jpg",
              alt: "Client testimonial avatar 3",
            },
            {
              src: "http://img.b2bpic.net/free-photo/expressive-woman-posing-outdoor_344912-2953.jpg",
              alt: "Client testimonial avatar 4",
            },
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <InlineImageSplitTextAbout
          heading={[
            {
              type: "text",
              content: "We're a team of creative strategists, content creators, and data analysts dedicated to transforming brands through strategic social media excellence. With over a decade of combined experience, we've helped businesses of all sizes achieve unprecedented growth across all major social platforms.",
            },
            {
              type: "image",
              src: "http://img.b2bpic.net/free-photo/office-workers-working-together-as-team_23-2149310891.jpg",
              alt: "Our creative team collaborating",
            },
          ]}
          useInvertedBackground={false}
          buttons={[{ text: "Learn Our Process", href: "/" }]}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="services" data-section="services">
        <FeatureCardThree
          title="Our Premium Services"
          description="Comprehensive social media solutions tailored to your brand's unique goals and target audience."
          tag="What We Offer"
          tagIcon={Zap}
          tagAnimation="slide-up"
          buttons={[{ text: "Explore All Services", href: "/" }]}
          buttonAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          features={[
            {
              id: "strategy",
              title: "Strategic Planning",
              description: "Data-driven social media strategies aligned with your business objectives. We conduct comprehensive audits and competitor analysis to position your brand for success.",
              imageSrc: "http://img.b2bpic.net/free-photo/tablet-shows-analytics-data-meeting_482257-120318.jpg?_wi=1",
              imageAlt: "Strategic planning and analysis",
            },
            {
              id: "content",
              title: "Content Creation",
              description: "Engaging, on-brand content that captures attention and drives engagement. From graphics to videos, we produce compelling content across all platforms.",
              imageSrc: "http://img.b2bpic.net/free-photo/colleagues-discussing-new-ideas-business-meeting_176420-5035.jpg?_wi=1",
              imageAlt: "Creative content production",
            },
            {
              id: "management",
              title: "Community Management",
              description: "Responsive, authentic engagement with your audience. We build and nurture communities that become loyal brand advocates.",
              imageSrc: "http://img.b2bpic.net/free-photo/business-people-office-break_23-2148825905.jpg?_wi=1",
              imageAlt: "Community engagement and management",
            },
            {
              id: "advertising",
              title: "Paid Social Advertising",
              description: "Optimized paid campaigns that maximize ROI. Expert audience targeting and continuous optimization for measurable results.",
              imageSrc: "http://img.b2bpic.net/free-vector/flat-travel-exploration-landing-page-template_23-2150035160.jpg?_wi=1",
              imageAlt: "Paid advertising campaigns",
            },
            {
              id: "analytics",
              title: "Analytics & Reporting",
              description: "Transparent performance tracking with actionable insights. Detailed reports showcase the impact of our strategies on your bottom line.",
              imageSrc: "http://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?_wi=1",
              imageAlt: "Business analytics data visualization",
            },
            {
              id: "influencer",
              title: "Influencer Partnerships",
              description: "Strategic collaborations with relevant influencers to expand your reach and authentic brand advocacy.",
              imageSrc: "http://img.b2bpic.net/free-photo/happy-women-laughing-holding-tablet_23-2148850615.jpg?_wi=1",
              imageAlt: "Influencer marketing partnership collaboration",
            },
          ]}
        />
      </div>

      <div id="portfolio" data-section="portfolio">
        <ProductCardFour
          title="Featured Campaign Portfolio"
          description="Showcase of our most impactful client campaigns and measurable results across diverse industries."
          tag="Our Work"
          tagIcon={Award}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          products={[
            {
              id: "campaign-1",
              name: "Fashion Brand Rebrand",
              price: "350% ROI",
              variant: "Influencer Collaboration",
              imageSrc: "http://img.b2bpic.net/free-psd/fall-autumn-template-design-social-media-post_23-2149062509.jpg?_wi=1",
              imageAlt: "Fashion brand social media campaign",
            },
            {
              id: "campaign-2",
              name: "Tech Startup Growth",
              price: "500K Followers",
              variant: "Organic Growth Strategy",
              imageSrc: "http://img.b2bpic.net/free-psd/architecture-project-instagram-posts-template_23-2150259229.jpg?_wi=1",
              imageAlt: "Tech startup social media growth",
            },
            {
              id: "campaign-3",
              name: "E-commerce Launch",
              price: "2.5M Impressions",
              variant: "Paid Campaign",
              imageSrc: "http://img.b2bpic.net/free-vector/mobile-phone-background-design_1343-57.jpg?_wi=1",
              imageAlt: "E-commerce product launch campaign",
            },
          ]}
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardThree
          title="Impact By The Numbers"
          description="Proven results from our data-driven approach to social media management and growth."
          tag="Our Results"
          tagIcon={TrendingUp}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          animationType="slide-up"
          metrics={[
            {
              id: "clients",
              icon: Users,
              title: "Active Clients",
              value: "150+",
            },
            {
              id: "followers",
              icon: BarChart3,
              title: "Followers Grown",
              value: "25M+",
            },
            {
              id: "engagement",
              icon: Heart,
              title: "Avg. Engagement",
              value: "8.5%",
            },
            {
              id: "campaigns",
              icon: Zap,
              title: "Campaigns Delivered",
              value: "500+",
            },
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwelve
          cardTitle="Client Success Stories"
          cardTag="Trusted by leading brands"
          cardTagIcon={Star}
          cardAnimation="slide-up"
          useInvertedBackground={false}
          testimonials={[
            {
              id: "1",
              name: "Sarah Johnson",
              imageSrc: "http://img.b2bpic.net/free-photo/closeup-happy-senior-expert-with-flipchart_1262-1745.jpg?_wi=1",
              imageAlt: "Sarah Johnson, CEO of TrendCo",
            },
            {
              id: "2",
              name: "Marcus Chen",
              imageSrc: "http://img.b2bpic.net/free-photo/man-listening-music-business-meeting_23-2148746263.jpg?_wi=1",
              imageAlt: "Marcus Chen, Founder of InnovateLabs",
            },
            {
              id: "3",
              name: "Emily Rodriguez",
              imageSrc: "http://img.b2bpic.net/free-photo/smiling-businesswoman-professional-intern-looking-camera-meeting_1163-4626.jpg?_wi=1",
              imageAlt: "Emily Rodriguez, Marketing Director at GrowthCo",
            },
            {
              id: "4",
              name: "David Kim",
              imageSrc: "http://img.b2bpic.net/free-photo/cheerful-senior-businesswoman-sitting-meeting_1262-2246.jpg?_wi=1",
              imageAlt: "David Kim, CMO of BrandWorks",
            },
            {
              id: "5",
              name: "Jessica Taylor",
              imageSrc: "http://img.b2bpic.net/free-photo/portrait-red-haired-man_158595-3776.jpg?_wi=1",
              imageAlt: "Jessica Taylor, CEO of StyleUp Fashion",
            },
            {
              id: "6",
              name: "Alex Thompson",
              imageSrc: "http://img.b2bpic.net/free-photo/close-up-shot-ceo-speaking-ai-business-expo-front-entrepreneurs_482257-105931.jpg?_wi=1",
              imageAlt: "Alex Thompson, Founder of TechVenture",
            },
          ]}
        />
      </div>

      <div id="blog" data-section="blog">
        <BlogCardThree
          title="Latest Insights & Trends"
          description="Stay updated with our expert insights on social media strategy, content trends, and industry best practices."
          tag="Social Media Blog"
          tagIcon={BookOpen}
          tagAnimation="slide-up"
          buttons={[{ text: "Read All Articles", href: "/" }]}
          buttonAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          animationType="slide-up"
          blogs={[
            {
              id: "blog-1",
              category: "Strategy",
              title: "2024 Social Media Strategy Guide",
              excerpt: "Essential strategies for building an effective social media presence in 2024. Learn platform-specific tactics and audience engagement techniques.",
              imageSrc: "http://img.b2bpic.net/free-photo/strategy-technique-tactic-word-concept_53876-133628.jpg",
              imageAlt: "Social media strategy guide",
              authorName: "Jessica Miller",
              authorAvatar: "http://img.b2bpic.net/free-photo/cheerful-blonde-with-tablet-looking-away_23-2148230219.jpg",
              date: "Dec 15, 2024",
            },
            {
              id: "blog-2",
              category: "Content",
              title: "Creating Viral Content That Converts",
              excerpt: "Discover the science behind viral content and how to create posts that not only get shared but drive real business results.",
              imageSrc: "http://img.b2bpic.net/free-photo/front-view-blogger-recording-video_23-2148586380.jpg",
              imageAlt: "Viral content creation tips",
              authorName: "James Wilson",
              authorAvatar: "http://img.b2bpic.net/free-photo/purposeful-young-businessman-looking-away_1262-3609.jpg",
              date: "Dec 12, 2024",
            },
            {
              id: "blog-3",
              category: "Analytics",
              title: "Measuring Social ROI Like a Pro",
              excerpt: "Master the metrics that matter. Learn how to track, analyze, and report on your social media performance with precision.",
              imageSrc: "http://img.b2bpic.net/free-photo/statistic-documents-with-businessman-blurred-background_1098-293.jpg",
              imageAlt: "Social media analytics and ROI",
              authorName: "Lisa Chen",
              authorAvatar: "http://img.b2bpic.net/free-photo/medium-shot-woman-wearing-earphones_23-2148938321.jpg",
              date: "Dec 10, 2024",
            },
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCTA
          tag="Ready to Transform Your Brand?"
          tagIcon={Rocket}
          tagAnimation="slide-up"
          title="Let's Create Something Amazing Together"
          description="Schedule a free consultation with our team to discuss your social media goals and discover how we can drive growth for your brand."
          buttons={[
            { text: "Schedule Consultation", href: "mailto:hello@luminasocial.com" },
            { text: "Call Us Today", href: "tel:+1234567890" },
          ]}
          buttonAnimation="slide-up"
          background={{ variant: "plain" }}
          useInvertedBackground={false}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseReveal
          columns={footerColumns}
          copyrightText="© 2024 Lumina Social. All rights reserved. Elevating brands through strategic social media excellence."
        />
      </div>
    </ThemeProvider>
  );
}