"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import HeroLogoBillboard from '@/components/sections/hero/HeroLogoBillboard';
import TextSplitAbout from '@/components/sections/about/TextSplitAbout';
import FeatureProcessSteps from '@/components/sections/feature/FeatureProcessSteps';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import MetricCardSeven from '@/components/sections/metrics/MetricCardSeven';
import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive';
import ContactFaq from '@/components/sections/contact/ContactFaq';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import { Zap } from 'lucide-react';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="entrance-slide"
      borderRadius="soft"
      contentWidth="mediumLarge"
      sizing="mediumLarge"
      background="circleGradient"
      cardStyle="elevated"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="layered"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          navItems={[
            { name: "Home", id: "hero" },
            { name: "About", id: "about" },
            { name: "Services", id: "services" },
            { name: "Testimonials", id: "testimonials" },
            { name: "Contact", id: "contact" }
          ]}
          button={{ text: "Start Project", href: "contact" }}
          brandName="MarketHub"
        />
      </div>
      
      <div id="hero" data-section="hero">
        <HeroLogoBillboard
          logoText="MarketHub"
          description="Strategic marketing solutions that drive measurable growth for businesses in Tel Aviv and beyond. We combine data-driven insights with creative excellence."
          imageSrc="https://img.b2bpic.net/free-photo/close-up-young-business-team-working_23-2149153838.jpg"
          imageAlt="Marketing team collaborating on strategy"
          frameStyle="card"
          logoLineHeight={1.1}
        />
      </div>

      <div id="about" data-section="about">
        <TextSplitAbout
          title="Who We Are"
          description={[
            "Based in the heart of Tel Aviv, MarketHub is a full-service digital marketing agency dedicated to helping Israeli and international businesses scale their online presence.",            "With over a decade of combined experience, our team specializes in crafting integrated marketing strategies that blend creativity with analytics to deliver real, measurable results."
          ]}
          showBorder={true}
          useInvertedBackground="noInvert"
          buttons={[
            { text: "Learn More", href: "contact" }
          ]}
        />
      </div>

      <div id="services" data-section="services">
        <FeatureProcessSteps
          tag="Our Services"
          title="Marketing Solutions Built for Results"
          description="From strategy to execution, we guide you through every step of your digital transformation with proven methodologies and expert guidance."
          steps={[
            {
              number: "01",              title: "Content & Social Strategy",              tag: "Creative",              description: "We develop compelling content that resonates with your audience across all platforms, from Instagram to LinkedIn."
            },
            {
              number: "02",              title: "SEO & Technical Optimization",              tag: "Performance",              description: "Boost your visibility with our comprehensive SEO services that improve rankings and drive organic traffic."
            },
            {
              number: "03",              title: "Paid Advertising Campaigns",              tag: "Growth",              description: "Strategic Google Ads and social media campaigns designed to maximize ROI and reach your ideal customers."
            }
          ]}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="service-cards" data-section="service-cards">
        <ProductCardOne
          title="Our Core Services"
          description="Comprehensive digital marketing solutions tailored to your business goals and budget."
          products={[
            {
              id: "1",              name: "Content Marketing",              price: "Strategic",              imageSrc: "https://img.b2bpic.net/free-photo/aerial-view-man-working-computer_53876-31625.jpg",              imageAlt: "Content creation service"
            },
            {
              id: "2",              name: "SEO & Analytics",              price: "Performance",              imageSrc: "https://img.b2bpic.net/free-photo/data-analytics-tablet_23-2151957101.jpg",              imageAlt: "SEO and data analytics"
            },
            {
              id: "3",              name: "Social Media Management",              price: "Engagement",              imageSrc: "https://img.b2bpic.net/free-vector/digital-marketing-agency-corporate-social-media-banner-instagram-post-template_1435-1951.jpg",              imageAlt: "Social media marketing"
            }
          ]}
          textboxLayout="default"
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardSeven
          title="Proven Impact"
          description="Our track record speaks for itself. Here's what we've achieved for our clients."
          metrics={[
            {
              id: "1",              value: "200+",              title: "Successful Campaigns",              items: [
                "Across diverse industries",                "Delivered measurable ROI",                "Client retention rate: 92%"
              ]
            },
            {
              id: "2",              value: "5M+",              title: "Combined Reach",              items: [
                "Engaged audience members",                "Monthly impressions",                "Growing year-over-year"
              ]
            },
            {
              id: "3",              value: "350%",              title: "Average Growth",              items: [
                "Client revenue increase",                "First 12 months",                "Exceeds industry benchmark"
              ]
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFive
          title="What Our Clients Say"
          description="Real feedback from businesses we've helped grow and transform."
          testimonials={[
            {
              id: "1",              name: "Yonatan Cohen, CEO of TechVenture",              date: "Date: November 2024",              title: "Exceptional results and true partnership",              quote: "MarketHub transformed our digital presence completely. Within six months, we saw a 300% increase in qualified leads and our brand recognition doubled.",              tag: "SaaS Growth",              avatarSrc: "https://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              avatarAlt: "Yonatan Cohen"
            },
            {
              id: "2",              name: "Riham Mansour, Founder of E-Commerce Hub",              date: "Date: October 2024",              title: "Professional and results-driven",              quote: "The team understood our market immediately. Their SEO strategy alone increased our organic traffic by 250% in just four months. Highly recommended.",              tag: "E-Commerce",              avatarSrc: "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",              avatarAlt: "Riham Mansour"
            },
            {
              id: "3",              name: "David Steinberg, Marketing Director",              date: "Date: September 2024",              title: "Strategic thinking and execution",              quote: "What sets MarketHub apart is their combination of creative excellence and analytical rigor. Our content strategy now drives both engagement and conversions.",              tag: "Content Marketing",              avatarSrc: "https://img.b2bpic.net/free-photo/close-up-competitive-employee_1098-2870.jpg",              avatarAlt: "David Steinberg"
            },
            {
              id: "4",              name: "Noa Levi, Operations Manager",              date: "Date: August 2024",              title: "Responsive and innovative",              quote: "MarketHub stays ahead of algorithm changes and market trends. They proactively adjust our campaigns for maximum impact, and we've seen consistent month-over-month growth.",              tag: "Social Media",              avatarSrc: "https://img.b2bpic.net/free-photo/positive-confident-businessman-posing-outside_74855-1183.jpg",              avatarAlt: "Noa Levi"
            },
            {
              id: "5",              name: "Ariel Katz, Brand Manager",              date: "Date: July 2024",              title: "True collaborators in growth",              quote: "Working with MarketHub feels like having an extended marketing team. They bring strategic insights and genuine care about our success. Our campaigns are now industry-leading.",              tag: "Brand Building",              avatarSrc: "https://img.b2bpic.net/free-photo/closeup-handsome-middle-aged-business-leader_1262-4822.jpg",              avatarAlt: "Ariel Katz"
            },
            {
              id: "6",              name: "Shlomo Rosenberg, CEO",              date: "Date: June 2024",              title: "Outstanding partnership experience",              quote: "From initial strategy to campaign optimization, MarketHub delivered excellence at every step. Our ROI exceeded expectations and our team learned valuable lessons.",              tag: "Strategy & Execution",              avatarSrc: "https://img.b2bpic.net/free-photo/positive-middle-aged-business-leader-window_1262-5388.jpg",              avatarAlt: "Shlomo Rosenberg"
            }
          ]}
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactFaq
          ctaTitle="Ready to Grow Your Business?"
          ctaDescription="Let's discuss your marketing goals and create a strategy that drives real results."
          ctaButton={{
            text: "Book a Free Consultation",            href: "https://calendly.com/markethub"
          }}
          ctaIcon={Zap}
          faqs={[
            {
              id: "1",              title: "What's included in a marketing strategy?",              content: "Our comprehensive strategy includes competitor analysis, audience research, content planning, SEO roadmap, paid advertising framework, and monthly performance tracking with detailed reports."
            },
            {
              id: "2",              title: "How long before we see results?",              content: "SEO typically shows meaningful results in 3-4 months. Paid campaigns deliver faster results, often within 1-2 weeks. We focus on sustainable growth with realistic timelines."
            },
            {
              id: "3",              title: "Do you work with international companies?",              content: "Yes! While based in Tel Aviv, we work with companies globally. We have experience with international campaigns, multi-language strategies, and cross-border marketing."
            },
            {
              id: "4",              title: "What's your typical engagement model?",              content: "We offer flexible engagement: project-based, retainer packages, or hourly consulting. Most clients start with a 3-month strategy phase to establish foundations."
            }
          ]}
          useInvertedBackground="noInvert"
          animationType="slide-up"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterMedia
          imageSrc="https://img.b2bpic.net/free-photo/tired-asian-it-specialist-drinking-coffee-watching-female-colleague-working-with-laptop-indoor-portrait-young-business-people-sitting-table-together-conference-hall_197531-3708.jpg"
          imageAlt="Creative workspace and team collaboration"
          logoText="MarketHub"
          copyrightText="© 2024 MarketHub. All rights reserved."
          columns={[
            {
              title: "Services",              items: [
                { label: "Content Marketing", href: "services" },
                { label: "SEO & Analytics", href: "services" },
                { label: "Social Media", href: "services" },
                { label: "Paid Advertising", href: "services" }
              ]
            },
            {
              title: "Company",              items: [
                { label: "About Us", href: "about" },
                { label: "Our Team", href: "about" },
                { label: "Case Studies", href: "testimonials" },
                { label: "Contact", href: "contact" }
              ]
            },
            {
              title: "Contact",              items: [
                { label: "hello@markethub.co.il", href: "mailto:hello@markethub.co.il" },
                { label: "+972 (0)3 XXXX XXXX", href: "tel:+97203xxxxxxxx" },
                { label: "Tel Aviv, Israel", href: "#" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}