"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from "@/components/navbar/NavbarStyleApple/NavbarStyleApple";
import HeroSplit from "@/components/sections/hero/HeroSplit";
import AboutMetric from "@/components/sections/about/AboutMetric";
import FeatureCardTwentyFive from "@/components/sections/feature/FeatureCardTwentyFive";
import MetricCardFourteen from "@/components/sections/metrics/MetricCardFourteen";
import TeamCardFive from "@/components/sections/team/TeamCardFive";
import TestimonialCardSixteen from "@/components/sections/testimonial/TestimonialCardSixteen";
import SocialProofOne from "@/components/sections/socialProof/SocialProofOne";
import ContactSplit from "@/components/sections/contact/ContactSplit";
import FooterLogoReveal from "@/components/sections/footer/FooterLogoReveal";
import {
  Award,
  Building,
  MessageCircle,
  Pen,
  Quote,
  Rocket,
  Send,
  Sparkles,
  Star,
  Target,
  TrendingUp,
  Users,
  Zap,
} from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="entrance-slide"
      borderRadius="rounded"
      contentWidth="mediumSmall"
      sizing="large"
      background="circleGradient"
      cardStyle="glass-elevated"
      primaryButtonStyle="flat"
      secondaryButtonStyle="layered"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          navItems={[
            { name: "Services", id: "services" },
            { name: "About", id: "about" },
            { name: "Team", id: "team" },
            { name: "Testimonials", id: "testimonials" },
            { name: "Contact", id: "contact" },
          ]}
          brandName="SocialFlow"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplit
          title="Elevate Your Social Media Presence"
          description="We craft compelling social strategies that transform your brand into an industry leader. Drive engagement, build community, and achieve measurable results."
          tag="Premium Agency"
          tagIcon={Sparkles}
          tagAnimation="slide-up"
          background={{ variant: "glowing-orb" }}
          imagePosition="right"
          imageSrc="http://img.b2bpic.net/free-photo/laptop-computer-with-company-profit-progress-screen_482257-77678.jpg"
          imageAlt="Social Media Analytics Dashboard"
          mediaAnimation="slide-up"
          buttons={[
            { text: "Start Your Campaign", href: "contact" },
            { text: "View Our Work", href: "about" },
          ]}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="about" data-section="about">
        <AboutMetric
          title="Trusted by brands that demand excellence in social media strategy, content creation, and digital growth"
          metrics={[
            {
              icon: TrendingUp,
              label: "Avg Engagement Growth",              value: "340%"},
            {
              icon: Users,
              label: "Brands We've Transformed",              value: "150+"},
            { icon: Target, label: "Campaigns Managed", value: "500+" },
            { icon: Award, label: "Industry Awards Won", value: "28" },
          ]}
          metricsAnimation="slide-up"
          useInvertedBackground={false}
        />
      </div>

      <div id="services" data-section="services">
        <FeatureCardTwentyFive
          title="Our Core Services"
          description="Comprehensive social media solutions designed to drive growth and build lasting brand loyalty"
          tag="Services"
          tagIcon={Zap}
          tagAnimation="slide-up"
          features={[
            {
              title: "Content Strategy & Creation",              description:
                "Develop compelling narratives that resonate with your audience and drive meaningful engagement across all platforms.",              icon: Pen,
              mediaItems: [
                {
                  imageSrc:
                    "http://img.b2bpic.net/free-photo/team-young-colleagues-having-meeting-cafe_273609-16259.jpg",                  imageAlt: "Content Strategy Planning"},
                {
                  imageSrc:
                    "http://img.b2bpic.net/free-photo/laptop-computer-with-company-profit-progress-screen_482257-77678.jpg",                  imageAlt: "Content Calendar Management"},
              ],
            },
            {
              title: "Paid Advertising & Performance",              description:
                "Maximize ROI with data-driven ad campaigns optimized for conversion. From awareness to retention, we deliver results.",              icon: Rocket,
              mediaItems: [
                {
                  imageSrc:
                    "http://img.b2bpic.net/free-photo/online-marketing-commercial-connection-technology_53876-132688.jpg",                  imageAlt: "Paid Ads Campaign"},
                {
                  imageSrc:
                    "http://img.b2bpic.net/free-photo/laptop-computer-with-company-profit-progress-screen_482257-77678.jpg",                  imageAlt: "Campaign Analytics"},
              ],
            },
            {
              title: "Community Management",              description:
                "Build engaged communities through authentic interactions, rapid response, and strategic conversation management.",              icon: MessageCircle,
              mediaItems: [
                {
                  imageSrc:
                    "http://img.b2bpic.net/free-photo/laptop-computer-with-company-profit-progress-screen_482257-77678.jpg",                  imageAlt: "Community Engagement Platform"},
                {
                  imageSrc:
                    "http://img.b2bpic.net/free-photo/team-young-colleagues-having-meeting-cafe_273609-16259.jpg",                  imageAlt: "Community Growth Strategy"},
              ],
            },
            {
              title: "Influencer Partnerships",              description:
                "Connect with the right influencers to amplify your brand message and reach new, highly engaged audiences.",              icon: Star,
              mediaItems: [
                {
                  imageSrc:
                    "http://img.b2bpic.net/free-photo/laptop-computer-with-company-profit-progress-screen_482257-77678.jpg",                  imageAlt: "Influencer Network"},
                {
                  imageSrc:
                    "http://img.b2bpic.net/free-photo/team-young-colleagues-having-meeting-cafe_273609-16259.jpg",                  imageAlt: "Partnership Strategy"},
              ],
            },
          ]}
          animationType="depth-3d"
          textboxLayout="default"
          useInvertedBackground={true}
          buttons={[{ text: "Learn More", href: "contact" }]}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardFourteen
          title="We measure what matters: real growth, authentic engagement, and sustainable brand building."
          tag="Performance Metrics"
          tagAnimation="slide-up"
          metrics={[
            {
              id: "1",              value: "12.5M+",              description:
                "Total impressions generated for our clients this year across all platforms"},
            {
              id: "2",              value: "89%",              description:
                "Average client retention rate reflecting our commitment to sustained excellence"},
          ]}
          metricsAnimation="slide-up"
          useInvertedBackground={false}
        />
      </div>

      <div id="team" data-section="team">
        <TeamCardFive
          title="Meet Our Creative Team"
          description="Talented strategists, creators, and technologists dedicated to your brand's success"
          textboxLayout="default"
          useInvertedBackground={true}
          tag="Team"
          tagIcon={Users}
          tagAnimation="slide-up"
          team={[
            {
              id: "1",              name: "Jessica Chen",              role: "Chief Strategy Officer",              imageSrc:
                "http://img.b2bpic.net/free-photo/attractive-blond-business-woman-white-shirt-grey-background_613910-11739.jpg",              imageAlt: "Jessica Chen"},
            {
              id: "2",              name: "Marcus Thompson",              role: "Creative Director",              imageSrc:
                "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              imageAlt: "Marcus Thompson"},
            {
              id: "3",              name: "Sarah Williams",              role: "Head of Paid Media",              imageSrc:
                "http://img.b2bpic.net/free-photo/happy-professional_1098-12931.jpg",              imageAlt: "Sarah Williams"},
            {
              id: "4",              name: "David Rodriguez",              role: "Community Manager",              imageSrc:
                "http://img.b2bpic.net/free-photo/dark-blonde-bearded-man-crosses-his-hands-chest-posing-black-shirt_8353-1116.jpg",              imageAlt: "David Rodriguez"},
          ]}
          animationType="scale-rotate"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardSixteen
          title="What Our Clients Say"
          description="Real results and authentic feedback from brands we've partnered with"
          tag="Testimonials"
          tagIcon={Quote}
          tagAnimation="slide-up"
          testimonials={[
            {
              id: "1",              name: "Amanda Foster",              role: "Marketing Director",              company: "TechVenture Inc.",              rating: 5,
              imageSrc:
                "http://img.b2bpic.net/free-photo/young-serious-businessman-looking-camera-meeting-headshot-portrait_1163-3923.jpg"},
            {
              id: "2",              name: "Emily Zhang",              role: "CEO",              company: "Brand Collective",              rating: 5,
              imageSrc:
                "http://img.b2bpic.net/free-photo/happy-professional_1098-12931.jpg"},
            {
              id: "3",              name: "James Mitchell",              role: "Founder",              company: "Digital Dynamics",              rating: 5,
              imageSrc:
                "http://img.b2bpic.net/free-photo/young-businessman-happy-expression_1194-1674.jpg"},
            {
              id: "4",              name: "Lisa Park",              role: "Brand Manager",              company: "Creative Studios",              rating: 5,
              imageSrc:
                "http://img.b2bpic.net/free-photo/happy-professional_1098-12931.jpg"},
            {
              id: "5",              name: "Robert Kim",              role: "Marketing VP",              company: "Innovation Labs",              rating: 5,
              imageSrc:
                "http://img.b2bpic.net/free-photo/confident-handsome-middle-aged-entrepreneur_1262-4871.jpg"},
            {
              id: "6",              name: "Nicole Bennett",              role: "Growth Manager",              company: "NextGen Brands",              rating: 5,
              imageSrc:
                "http://img.b2bpic.net/free-photo/portrait-confident-business-woman-with-executive-job-working-with-management-marketing-statistics-computer-office-worker-analyzing-research-charts-data-reports_482257-41126.jpg"},
          ]}
          kpiItems={[
            { value: "4.9/5", label: "Average Client Rating" },
            { value: "98%", label: "Project Success Rate" },
            { value: "2.3x", label: "Average ROI Increase" },
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="social-proof" data-section="social-proof">
        <SocialProofOne
          title="Trusted by Leading Brands"
          description="We partner with industry innovators who demand excellence in social media strategy"
          tag="Partners"
          tagIcon={Building}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
          names={["Meta", "TikTok", "Instagram", "LinkedIn", "Twitter", "YouTube", "Snapchat"]}
          speed={40}
          showCard={true}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplit
          tag="Get Started"
          title="Let's Create Something Amazing"
          description="Ready to transform your social media presence? Connect with our team to discuss your brand goals and discover how we can drive real results."
          tagIcon={Send}
          tagAnimation="slide-up"
          background={{ variant: "gradient-bars" }}
          useInvertedBackground={false}
          imageSrc="http://img.b2bpic.net/free-photo/workdesk-with-envelopes-laptop_1134-195.jpg"
          imageAlt="Newsletter Signup"
          mediaAnimation="slide-up"
          mediaPosition="right"
          inputPlaceholder="your@email.com"
          buttonText="Schedule Consultation"
          termsText="We respect your privacy. Unsubscribe at any time."
        />
      </div>

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