"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import HeroBillboard from '@/components/sections/hero/HeroBillboard';
import SplitAbout from '@/components/sections/about/SplitAbout';
import FeatureCardSix from '@/components/sections/feature/FeatureCardSix';
import MetricCardOne from '@/components/sections/metrics/MetricCardOne';
import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FooterBase from '@/components/sections/footer/FooterBase';
import { Award, BarChart, BarChart3, Calendar, CheckCircle, DollarSign, Handshake, MessageCircle, Palette, Smile, Sparkles, Target, TrendingUp, Users } from 'lucide-react';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="bounce-effect"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="small"
      sizing="mediumSizeLargeTitles"
      background="aurora"
      cardStyle="glass-depth"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          navItems={[
            { name: "Hero", id: "hero-section" },
            { name: "About", id: "about-section" },
            { name: "Feature", id: "features-section" },
            { name: "Metric", id: "metrics-section" },
            { name: "Testimonial", id: "testimonials-section" },
            { name: "Contact", id: "contact-section" }
          ]}
          button={{ text: "Get Started" }}
          brandName="Webild"
        />
      </div>

      <div id="hero-section" data-section="hero-section">
        <HeroBillboard
          title="Elevate Your Business with Strategic Marketing"
          description="We help forward-thinking companies grow through data-driven campaigns, creative storytelling, and innovative digital solutions tailored to your unique goals."
          background={{ variant: "radial-gradient" }}
          tag="Award-Winning Agency"
          tagIcon={Sparkles}
          tagAnimation="slide-up"
          buttons={[
            { text: "Explore Our Services", href: "#features-section" },
            { text: "View Case Studies", href: "#testimonials-section" }
          ]}
          buttonAnimation="slide-up"
          avatars={[
            { src: "https://img.b2bpic.net/free-photo/senior-businessman-with-arms-crossed-outside-modern-office-building_1139-1077.jpg", alt: "Client testimonial from Sarah Johnson" },
            { src: "https://img.b2bpic.net/free-photo/team-diverse-coworkers-modern-office-discuss-their-project-together_93675-133516.jpg", alt: "Client testimonial from Michael Chen" }
          ]}
          avatarText="Trusted by 500+ businesses worldwide"
          imageSrc="https://img.b2bpic.net/free-vector/flat-design-minimal-technology_23-2149123979.jpg"
          imageAlt="Team collaborating on marketing strategy"
          mediaAnimation="slide-up"
          marqueeItems={[
            { type: "text", text: "Growth Marketing" },
            { type: "text", text: "Brand Strategy" },
            { type: "text", text: "Digital Campaigns" },
            { type: "text", text: "ROI Optimization" }
          ]}
          marqueeSpeed={40}
          showMarqueeCard={true}
          ariaLabel="Hero section showcasing marketing expertise"
        />
      </div>

      <div id="about-section" data-section="about-section">
        <SplitAbout
          title="We Help Businesses Grow Through Strategic Marketing"
          description="Our team of experts combines creative strategy with data-driven insights to deliver marketing solutions that drive real results. We focus on building long-term partnerships that fuel sustainable business growth."
          tag="Award-Winning Agency"
          tagIcon={Award}
          tagAnimation="slide-up"
          buttons={[
            { text: "Explore Our Services", href: "#features-section" },
            { text: "View Case Studies", href: "#testimonials-section" }
          ]}
          buttonAnimation="slide-up"
          bulletPoints={[
            {
              title: "Data-Driven Strategies",              description: "We leverage analytics to craft targeted campaigns that maximize ROI and deliver measurable results.",              icon: BarChart3
            },
            {
              title: "Creative Excellence",              description: "Our innovative approach ensures your brand stands out in crowded markets with memorable experiences.",              icon: Palette
            },
            {
              title: "Transparent Partnership",              description: "We believe in open communication and collaborative relationships built on trust and shared goals.",              icon: Handshake
            }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/multiethnic-coworkers-looking-revenue-figures-tablet-diverse-office_482257-126319.jpg"
          imageAlt="Team collaborating on marketing strategy with digital displays and charts"
          mediaAnimation="slide-up"
          imagePosition="right"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="features-section" data-section="features-section">
        <FeatureCardSix
          features={[
            {
              id: 1,
              title: "Data-Driven Campaigns",              description: "Leverage analytics and insights to create targeted campaigns that deliver measurable results and maximize ROI.",              imageSrc: "https://img.b2bpic.net/free-photo/data-analytics-dashboard_23-2152001529.jpg",              imageAlt: "Analytics dashboard showing campaign performance metrics"
            },
            {
              id: 2,
              title: "Creative Branding",              description: "Develop compelling brand identities that resonate with your audience and differentiate you from competitors.",              imageSrc: "https://img.b2bpic.net/free-photo/office-supplies-black-table_171337-13076.jpg",              imageAlt: "Brand identity design mockup with logo and color palette"
            },
            {
              id: 3,
              title: "Digital Strategy",              description: "Build comprehensive digital roadmaps that align with your business objectives and drive long-term growth.",              imageSrc: "https://img.b2bpic.net/free-photo/business-people-discussion-planning-analysis-concept_53876-133857.jpg",              imageAlt: "Digital strategy framework with key components like SEO, social media, and content marketing"
            }
          ]}
          title="Strategic Marketing Solutions for Business Growth"
          description="We help forward-thinking businesses unlock their full potential through data-driven strategies, creative campaigns, and innovative approaches tailored to your unique goals."
          textboxLayout="split-description"
          useInvertedBackground={false}
        />
      </div>

      <div id="metrics-section" data-section="metrics-section">
        <MetricCardOne
          metrics={[
            {
              id: "metric-1",              value: "98",              title: "Client Retention",              description: "Long-term partnerships built on trust and results",              icon: Users
            },
            {
              id: "metric-2",              value: "2.4",              title: "Revenue Generated",              description: "For clients across diverse industries",              icon: DollarSign
            },
            {
              id: "metric-3",              value: "42",              title: "Avg. ROI Increase",              description: "Across all our marketing campaigns",              icon: BarChart
            },
            {
              id: "metric-4",              value: "150",              title: "Happy Clients",              description: "From startups to Fortune 500 companies",              icon: Smile
            }
          ]}
          title="Trusted by Industry Leaders"
          description="Our proven track record speaks volumes. Here's how we've helped businesses like yours achieve remarkable growth."
          tag="Results That Matter"
          tagIcon={TrendingUp}
          tagAnimation="slide-up"
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="inline-image"
          useInvertedBackground={false}
          carouselMode="buttons"
        />
      </div>

      <div id="testimonials-section" data-section="testimonials-section">
        <TestimonialCardOne
          testimonials={[
            {
              id: "testimonial-1",              name: "Sarah Johnson",              role: "Marketing Director",              company: "TechNova Inc.",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/portrait-smiling-businessman-sitting-sofa-waiting-area_107420-95816.jpg",              imageAlt: "Sarah Johnson, Marketing Director at TechNova Inc."
            },
            {
              id: "testimonial-2",              name: "Michael Chen",              role: "CEO",              company: "GrowthLab",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/successful-happy-business-team_53876-95773.jpg",              imageAlt: "Michael Chen, CEO at GrowthLab"
            },
            {
              id: "testimonial-3",              name: "Elena Rodriguez",              role: "Brand Manager",              company: "StyleHub",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/thumbs-up-spa-smiling-girl-white-robe-good-wellness-vibes_169016-69478.jpg",              imageAlt: "Elena Rodriguez, Brand Manager at StyleHub"
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          title="What Our Clients Say"
          description="Discover how our strategic marketing solutions have transformed businesses across industries. Real results, real partnerships."
          tag="Success Stories"
          tagIcon={CheckCircle}
          tagAnimation="slide-up"
          buttons={[
            { text: "View All Testimonials", href: "#testimonials-section" }
          ]}
          buttonAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          ariaLabel="Client testimonials and success stories"
        />
      </div>

      <div id="contact-section" data-section="contact-section">
        <ContactCenter
          tag="Let's Connect"
          title="Ready to Transform Your Business?"
          description="Schedule a free strategy consultation with our marketing experts. We'll analyze your current approach and create a customized roadmap for sustainable growth."
          tagIcon={Calendar}
          tagAnimation="slide-up"
          background={{ variant: "plain" }}
          useInvertedBackground={false}
          inputPlaceholder="Enter your business email"
          buttonText="Schedule a Call"
          termsText="By submitting, you agree to our Privacy Policy and Terms of Service."
          ariaLabel="Contact section with form for project inquiries"
        />
      </div>

      <div id="footer-section" data-section="footer-section">
        <FooterBase
          columns={[
            {
              title: "Services",              items: [
                { label: "Digital Strategy", href: "#hero-section" },
                { label: "Brand Identity", href: "#about-section" },
                { label: "Content Marketing", href: "#features-section" },
                { label: "Performance Analytics", href: "#metrics-section" }
              ]
            },
            {
              title: "Company",              items: [
                { label: "About Us", href: "#about-section" },
                { label: "Our Process", href: "#features-section" },
                { label: "Case Studies", href: "#testimonials-section" },
                { label: "Careers", href: "#contact-section" }
              ]
            },
            {
              title: "Resources",              items: [
                { label: "Blog", href: "#hero-section" },
                { label: "Marketing Guides", href: "#features-section" },
                { label: "Webinars", href: "#testimonials-section" },
                { label: "Support Center", href: "#contact-section" }
              ]
            }
          ]}
          logoText="Webild"
          copyrightText="© 2025 | Webild - Strategic Marketing Solutions"
          ariaLabel="Site footer"
        />
      </div>
    </ThemeProvider>
  );
}