"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import HeroBillboardDashboard from '@/components/sections/hero/HeroBillboardDashboard';
import MetricSplitMediaAbout from '@/components/sections/about/MetricSplitMediaAbout';
import FeatureCardTwentyOne from '@/components/sections/feature/FeatureCardTwentyOne';
import MetricCardOne from '@/components/sections/metrics/MetricCardOne';
import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
import { Sparkles, Lightbulb, Rocket, Award, Star, Mail, TrendingUp, Zap, Heart, Target, BarChart3, Settings } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-bubble"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="small"
      sizing="largeSizeMediumTitles"
      background="none"
      cardStyle="solid"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="glass"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          brandName="Nitgrowth"
          navItems={[
            { name: "Services", id: "services" },
            { name: "About", id: "about" },
            { name: "Work", id: "metrics" },
            { name: "Insights", id: "testimonials" },
            { name: "Contact", id: "contact" }
          ]}
          button={{
            text: "Get Started",            href: "contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardDashboard
          title="Marketing Excellence Redefined"
          description="We transform brands through strategic marketing, creative storytelling, and data-driven results. Partner with Nitgrowth to accelerate your growth."
          tag="Growth Marketing Agency"
          tagIcon={Sparkles}
          tagAnimation="slide-up"
          background={{ variant: "plain" }}
          buttons={[
            { text: "Explore Our Work", href: "#metrics" },
            { text: "Schedule a Call", href: "contact" }
          ]}
          buttonAnimation="slide-up"
          dashboard={{
            title: "Performance Dashboard",            logoIcon: TrendingUp,
            imageSrc: "http://img.b2bpic.net/free-photo/multi-ethnic-business-team-sitting-table-office-center-speaking-about-project-meeting-broadroom_482257-5077.jpg",            searchPlaceholder: "Search campaigns...",            buttons: [
              { text: "View Reports", href: "#" },
              { text: "Export Data", href: "#" }
            ],
            sidebarItems: [
              { icon: BarChart3 },
              { icon: Target, active: true },
              { icon: Settings }
            ],
            stats: [
              {
                title: "Average ROI",                values: [285, 312, 341],
                description: "Client growth metrics"
              },
              {
                title: "Campaigns",                values: [156, 189, 214],
                description: "Active projects"
              },
              {
                title: "Engagement",                values: [2.8, 3.2, 3.7],
                valueSuffix: "M+",                description: "Total interactions"
              }
            ],
            chartTitle: "Campaign Performance",            chartData: [
              { value: 65 },
              { value: 45 },
              { value: 78 },
              { value: 52 },
              { value: 89 }
            ],
            listTitle: "Recent Campaigns",            listItems: [
              { icon: Zap, title: "Q1 Brand Launch", status: "Active" },
              { icon: Target, title: "Social Media Sprint", status: "Completed" },
              { icon: TrendingUp, title: "Email Nurture Series", status: "Active" }
            ]
          }}
        />
      </div>

      <div id="about" data-section="about">
        <MetricSplitMediaAbout
          tag="About Nitgrowth"
          tagIcon={Lightbulb}
          tagAnimation="blur-reveal"
          title="We fuel growth through intelligent marketing strategy"
          description="Founded in 2020, Nitgrowth has helped over 150 brands scale their digital presence and achieve measurable business outcomes. We combine creative excellence with data-driven insights to deliver marketing that truly moves the needle."
          metrics={[
            { value: "150+", title: "Brands Transformed" },
            { value: "4.2x", title: "Average Client ROI" }
          ]}
          imageSrc="http://img.b2bpic.net/free-photo/relaxed-coworkers-office-having-fun-chatting-while-reviewing-documents_482257-126482.jpg"
          imageAlt="Nitgrowth team collaboration"
          mediaAnimation="slide-up"
          metricsAnimation="slide-up"
          useInvertedBackground={false}
        />
      </div>

      <div id="services" data-section="services">
        <FeatureCardTwentyOne
          tag="Our Services"
          tagIcon={Rocket}
          tagAnimation="slide-up"
          title="Complete Marketing Solutions"
          description="From strategy to execution, we offer comprehensive services designed to elevate your brand and drive measurable growth across all channels."
          buttons={[
            { text: "Learn More", href: "#contact" }
          ]}
          buttonAnimation="slide-up"
          accordionItems={[
            {
              id: "1",              title: "Brand Strategy & Positioning",              content: "We develop comprehensive brand strategies that define your market position, key messaging, and competitive advantages. Our approach ensures your brand stands out and resonates with your target audience."
            },
            {
              id: "2",              title: "Digital Marketing Campaigns",              content: "End-to-end campaign management across paid search, social media, display, and programmatic channels. We optimize for maximum ROI and continuously refine based on performance data."
            },
            {
              id: "3",              title: "Content Creation & Strategy",              content: "Strategic content development that tells your brand story and engages your audience. From blog posts to video content, we create assets that drive conversions and build brand authority."
            },
            {
              id: "4",              title: "Social Media Management",              content: "Community building and social presence management that turns followers into advocates. We handle content creation, engagement, and growth strategies across all major platforms."
            }
          ]}
          imageSrc="http://img.b2bpic.net/free-photo/worker-providing-live-chat-support-typing-keyboard-handling-clients-complaints-call-center-agent_482257-136069.jpg"
          imageAlt="Marketing services visualization"
          mediaAnimation="slide-up"
          useInvertedBackground={true}
          mediaPosition="right"
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardOne
          title="Our Impact"
          description="Numbers that prove our commitment to client success and measurable growth"
          tag="Results We Deliver"
          tagIcon={Award}
          tagAnimation="slide-up"
          textboxLayout="default"
          metrics={[
            { id: "1", value: "150", title: "Brands Scaled", description: "Global brands we've helped grow", icon: TrendingUp },
            { id: "2", value: "4.2", title: "Average ROI", description: "Return on marketing investment", icon: Zap },
            { id: "3", value: "98", title: "Client Satisfaction", description: "Percent of clients who renew", icon: Heart }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          useInvertedBackground={false}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardOne
          title="What Our Clients Say"
          description="Real feedback from brands we've partnered with"
          tag="Testimonials"
          tagIcon={Star}
          tagAnimation="blur-reveal"
          textboxLayout="default"
          testimonials={[
            {
              id: "1",              name: "Sarah Chen",              role: "Founder & CEO",              company: "TechFlow Innovations",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/successful-businesswoman-ready-challenges_1163-4336.jpg?_wi=1",              imageAlt: "Sarah Chen"
            },
            {
              id: "2",              name: "Marcus Rodriguez",              role: "Marketing Director",              company: "Elevate Commerce",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg?_wi=1",              imageAlt: "Marcus Rodriguez"
            },
            {
              id: "3",              name: "Emily Watson",              role: "VP of Growth",              company: "Luna Analytics",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/successful-businesswoman-ready-challenges_1163-4336.jpg?_wi=2",              imageAlt: "Emily Watson"
            },
            {
              id: "4",              name: "David Kim",              role: "Operations Lead",              company: "GrowthVentures",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg?_wi=2",              imageAlt: "David Kim"
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          useInvertedBackground={false}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplit
          tag="Let's Connect"
          tagIcon={Mail}
          tagAnimation="slide-up"
          title="Ready to accelerate your growth?"
          description="Join over 150 brands transforming their marketing. Get in touch with our team to discuss your goals and how Nitgrowth can help you achieve them."
          background={{ variant: "plain" }}
          useInvertedBackground={false}
          imageSrc="http://img.b2bpic.net/free-photo/smiling-blonde-business-woman-talking-by-mobile-phone_171337-2870.jpg"
          imageAlt="Contact us"
          mediaAnimation="slide-up"
          mediaPosition="right"
          inputPlaceholder="your@email.com"
          buttonText="Send Message"
          termsText="We respect your privacy. We'll only use your email to reach out about your inquiry."
        />
      </div>

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