"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FaqBase from '@/components/sections/faq/FaqBase';
import FeatureCardSeven from '@/components/sections/feature/FeatureCardSeven';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import HeroSplitDualMedia from '@/components/sections/hero/HeroSplitDualMedia';
import MetricCardThree from '@/components/sections/metrics/MetricCardThree';
import MetricSplitMediaAbout from '@/components/sections/about/MetricSplitMediaAbout';
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import ProductCardFour from '@/components/sections/product/ProductCardFour';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne';
import { Calendar, CheckCircle, Globe, MapPin, ShieldCheck, TrendingUp } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="hover-bubble"
        defaultTextAnimation="entrance-slide"
        borderRadius="soft"
        contentWidth="small"
        sizing="mediumLargeSizeMediumTitles"
        background="noise"
        cardStyle="outline"
        primaryButtonStyle="gradient"
        secondaryButtonStyle="solid"
        headingFontWeight="normal"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarLayoutFloatingInline
      navItems={[
        {
          name: "Home",          id: "#home"},
        {
          name: "About Us",          id: "#about"},
        {
          name: "Our Process",          id: "#process"},
        {
          name: "Markets",          id: "#markets"},
        {
          name: "Testimonials",          id: "#testimonials"},
        {
          name: "Contact",          id: "#contact"},
      ]}
      logoSrc="http://img.b2bpic.net/free-vector/memorial-du-martyn-polygonal-shapes_1057-2881.jpg"
      logoAlt="Europe Bridge Staffing Logo"
      brandName="EBS"
      button={{
        text: "Get Started",        href: "#contact"}}
      animateOnLoad={true}
    />
  </div>

  <div id="home" data-section="home">
      <HeroSplitDualMedia
      background={{
        variant: "radial-gradient"}}
      title="Built to Move People into Work — Fully Managed"
      description="Europe Bridge Staffing (EBS) places international and third-country workers with reliable European employers. We turn your work-ready candidates into employed, settled workers on the ground."
      tag="Global Staffing Solutions"
      tagAnimation="slide-up"
      buttons={[
        {
          text: "Get Started",          href: "#contact"},
        {
          text: "Learn More",          href: "#about"},
      ]}
      mediaItems={[
        {
          imageSrc: "http://img.b2bpic.net/free-photo/cheerful-business-people-meeting-raising-arms_23-2147923450.jpg",          imageAlt: "Diverse group of professionals shaking hands, symbolizing global recruitment."},
        {
          imageSrc: "http://img.b2bpic.net/free-photo/high-tech-view-futuristic-earth_23-2151100372.jpg",          imageAlt: "Digital map of Europe highlighting connections, representing workforce mobility."}
      ]}
      mediaAnimation="slide-up"
      rating={5}
      ratingText="Trusted by Partners Worldwide"
    />
  </div>

  <div id="about" data-section="about">
      <MetricSplitMediaAbout
      useInvertedBackground={true}
      title="Connecting Talent with Opportunity in Europe"
      description="Founded in 2025 and based in Hungary, EBS is a small, fast-moving, and personally invested firm dedicated to every placement. We are EU-registered and operate across Hungary, Croatia, Italy, and Slovenia, ensuring ethical and transparent processes."
      metrics={[
        {
          value: "2025",          title: "Founded"},
        {
          value: "Hungary",          title: "Base Country"},
        {
          value: "4+",          title: "Key Markets"},
        {
          value: "EU-Registered",          title: "Compliance"},
      ]}
      tag="Our Foundation"
      tagAnimation="slide-up"
      imageSrc="http://img.b2bpic.net/free-photo/smiling-beautiful-business-woman-wearing-office-suit-standing-outdoors-looking-camera-talking-businesspeople-city-buildings-background-copy-space-female-portrait-concept_74855-7807.jpg"
      imageAlt="Map of Europe highlighting Hungary, Croatia, Italy, and Slovenia, representing EBS's key markets."
      mediaAnimation="slide-up"
      metricsAnimation="slide-up"
    />
  </div>

  <div id="features" data-section="features">
      <FeatureCardSeven
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      features={[
        {
          title: "Real, Contracted Demand",          description: "We place your candidates quickly into actual jobs with vetted employers — no sitting in a database. Secure and reliable opportunities await.",          imageSrc: "http://img.b2bpic.net/free-photo/business-colleagues-consulting-legal-advisor_1262-20983.jpg",          imageAlt: "Contract document with handshake agreement."},
        {
          title: "Full European Side Handled",          description: "Work & residence permits, visas, and compliance with local and EU law. You send vetted people; we do the rest, ensuring a smooth transition.",          imageSrc: "http://img.b2bpic.net/free-photo/top-view-green-card-application_23-2149601368.jpg",          imageAlt: "Visa and passport documents for Europe."},
        {
          title: "Welfare that Protects Retention",          description: "Accommodation, onboarding, and ongoing aftercare — fewer drop-offs, happier workers. Our comprehensive support fosters long-term success.",          imageSrc: "http://img.b2bpic.net/free-photo/arrangement-with-box-unemployed-sign_23-2148773986.jpg",          imageAlt: "Happy worker moving into a new apartment."},
        {
          title: "One Partner, Clear Communication",          description: "A single point of contact and regular updates — a relationship, not one-off orders. Experience seamless collaboration and transparency.",          imageSrc: "http://img.b2bpic.net/free-photo/business-executives-shaking-hands-near-lift_107420-65782.jpg",          imageAlt: "Two business people discussing partnership."},
      ]}
      title="The European Bridge for Your Recruitment Success"
      description="You already have the people. We turn them into placements — and keep your pipeline moving with real, contracted demand and full European support."
      tag="Why Partner with EBS"
      tagAnimation="slide-up"
    />
  </div>

  <div id="process" data-section="process">
      <ProductCardFour
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="two-columns-alternating-heights"
      useInvertedBackground={true}
      products={[
        {
          id: "step-1",          name: "You Present Ready Candidates",          price: "Stage 1",          variant: "Share your pool of vetted, documented, work-ready people, forming the foundation of our collaboration.",          imageSrc: "http://img.b2bpic.net/free-photo/still-life-stacks-papers-documents_23-2151118284.jpg",          imageAlt: "Stack of diverse resumes and profiles."},
        {
          id: "step-2",          name: "We Match to Live Demand",          price: "Stage 2",          variant: "We align candidate profiles with confirmed employer needs, ensuring a perfect fit and quick placement.",          imageSrc: "http://img.b2bpic.net/free-photo/businesswoman-analyzing-candidate-cv-discussing-hiring-cv-with-remote-man-online-videocall-meeting-businesspeople-working-company-strategy-discussing-partnership-startup-office_482257-42873.jpg",          imageAlt: "Puzzle pieces matching a job candidate."},
        {
          id: "step-3",          name: "Permits & Compliance",          price: "Stage 3",          variant: "We process permits and provide visa support, fully within local and EU law, handling all regulatory complexities.",          imageSrc: "http://img.b2bpic.net/free-photo/holiday-canceled-due-covid19_23-2148570676.jpg",          imageAlt: "Legal documents and visa application forms."},
        {
          id: "step-4",          name: "Arrival & Onboarding",          price: "Stage 4",          variant: "We offer travel support, arrange accommodation, and facilitate a structured first week for seamless integration.",          imageSrc: "http://img.b2bpic.net/free-photo/picture-young-businessman-holding-suitcase-umbrella-rainy-terminal_176420-6227.jpg",          imageAlt: "Person arriving with suitcase in a new city."},
        {
          id: "step-5",          name: "Aftercare & Feedback",          price: "Stage 5",          variant: "Ongoing support is provided, coupled with a feedback loop that continuously sharpens the next placement.",          imageSrc: "http://img.b2bpic.net/free-photo/disabled-man-wheelchair-having-office-job_23-2149571088.jpg",          imageAlt: "Handshake between worker and employer aftercare."},
        {
          id: "step-6",          name: "Successful Integration",          price: "Outcome",          variant: "The ultimate goal: your candidates thrive in their new roles, leading to long-term satisfaction and productivity.",          imageSrc: "http://img.b2bpic.net/free-photo/still-life-paper-chains-decoration_23-2149337853.jpg",          imageAlt: "Diverse team celebrating achievement."},
      ]}
      title="A Simple, Repeatable Partnership"
      description="We've refined our process to ensure efficient, ethical, and successful placements every time. Your candidates simply arrive and start with confidence."
      tag="Our Streamlined Process"
      tagAnimation="slide-up"
    />
  </div>

  <div id="metrics" data-section="metrics">
      <MetricCardThree
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      metrics={[
        {
          id: "founded",          icon: Calendar,
          title: "Founded",          value: "2025"},
        {
          id: "base",          icon: MapPin,
          title: "Based In",          value: "Hungary"},
        {
          id: "eu-reg",          icon: CheckCircle,
          title: "Status",          value: "EU-Registered"},
        {
          id: "markets",          icon: Globe,
          title: "Primary Markets",          value: "Hungary & Croatia"},
        {
          id: "expansion",          icon: TrendingUp,
          title: "Expanding To",          value: "Italy & Slovenia"},
        {
          id: "managed",          icon: ShieldCheck,
          title: "Service",          value: "Fully Managed"},
      ]}
      title="Key Facts About Europe Bridge Staffing"
      description="Our commitment to ethical and efficient staffing is reflected in our core operations and growing presence across Europe."
      tag="Impact & Reach"
      tagAnimation="slide-up"
    />
  </div>

  <div id="social-proof" data-section="social-proof">
      <SocialProofOne
      textboxLayout="default"
      useInvertedBackground={true}
      names={[
        "EU Employers",        "Recruitment Agencies",        "Global Talent Pools",        "Local Partners",        "Government Bodies",        "Worker Welfare Orgs",        "Industry Federations",        "HR Consulting Firms",        "Logistics & Relocation"]}
      title="Connecting Trusted Partners"
      description="We collaborate with a diverse network of employers and recruitment agencies across Europe, ensuring every placement is a success story."
      tag="Our Network"
      tagAnimation="slide-up"
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardOne
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={false}
      testimonials={[
        {
          id: "1",          name: "Markus Schmidt",          role: "HR Director",          company: "EuroBuild GmbH",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/elegant-businessman-office-table-looking-thoughtfully-window_1098-19179.jpg",          imageAlt: "Markus Schmidt, HR Director at EuroBuild GmbH"},
        {
          id: "2",          name: "Anja Novak",          role: "Recruitment Lead",          company: "Global Talent Hub",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/smiling-middle-aged-attractive-woman-showing-thumb-up-outdoors_1262-12526.jpg",          imageAlt: "Anja Novak, Recruitment Lead at Global Talent Hub"},
        {
          id: "3",          name: "Francesco Rossi",          role: "Operations Manager",          company: "Italian AgriFood",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-smiley-woman-with-smartphone_23-2148993906.jpg",          imageAlt: "Francesco Rossi, Operations Manager at Italian AgriFood"},
        {
          id: "4",          name: "Elena Petrova",          role: "Founder",          company: "East Bridge Consulting",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/origami-paper-hearts_158595-4419.jpg",          imageAlt: "Elena Petrova, Founder of East Bridge Consulting"},
        {
          id: "5",          name: "David Kim",          role: "Supply Chain Head",          company: "Croatia Logistics",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/searching-human-resources-recruitment-teamwork-corporate-concept_53876-13724.jpg",          imageAlt: "David Kim, Supply Chain Head at Croatia Logistics"},
        {
          id: "6",          name: "Zofia Kowalski",          role: "Client Partner",          company: "Poland Staffing Solutions",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-young-people-sitting-table_23-2149345222.jpg",          imageAlt: "Zofia Kowalski, Client Partner at Poland Staffing Solutions"},
      ]}
      title="What Our Partners Say"
      description="Hear directly from the employers and agencies who have experienced the EBS difference in international staffing solutions and ethical practices."
      tag="Success Stories"
      tagAnimation="slide-up"
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqBase
      textboxLayout="default"
      useInvertedBackground={true}
      faqs={[
        {
          id: "faq-1",          title: "What type of workers do you place?",          content: "We primarily focus on placing international and third-country workers across various industries, matching their skills with the specific needs of European employers."},
        {
          id: "faq-2",          title: "Which countries do you operate in?",          content: "Our core markets are Hungary and Croatia, where we handle permits end-to-end. We are also actively expanding into Italy and Slovenia, offering more destinations for your candidates."},
        {
          id: "faq-3",          title: "How do you ensure ethical recruitment?",          content: "EBS is EU-registered and committed to fee-fair recruitment, constant communication, and transparent processes. We prioritize worker welfare and protect the reputation you've built."},
        {
          id: "faq-4",          title: "What is the typical timeline for a placement?",          content: "Our streamlined process is designed for efficiency, placing candidates quickly into actual jobs. Timelines can vary based on individual circumstances and permit processing, but we aim for rapid deployment."},
        {
          id: "faq-5",          title: "What support do you provide after placement?",          content: "Beyond initial placement, we offer comprehensive aftercare, including accommodation, onboarding, and ongoing support to ensure successful integration and high retention rates for your workers."},
      ]}
      title="Your Questions, Answered"
      description="Find quick answers to common inquiries about our services, process, and unwavering commitment to ethical and efficient international staffing."
      tag="Common Questions"
      tagAnimation="slide-up"
      faqsAnimation="slide-up"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactCenter
      useInvertedBackground={false}
      background={{
        variant: "sparkles-gradient"}}
      tag="Get in Touch"
      title="Partner with Europe Bridge Staffing"
      description="Ready to streamline your international recruitment? Contact us today to discuss your needs and discover how EBS can support your success in connecting talent with opportunity."
      tagAnimation="slide-up"
      inputPlaceholder="Enter your email"
      buttonText="Start Partnership"
      termsText="By clicking 'Start Partnership' you're confirming that you agree with our Terms and Conditions."
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterLogoEmphasis
      logoSrc="http://img.b2bpic.net/free-vector/memorial-du-martyn-polygonal-shapes_1057-2881.jpg"
      logoAlt="Europe Bridge Staffing Logo"
      columns={[
        {
          items: [
            {
              label: "About Us",              href: "#about"},
            {
              label: "Our Process",              href: "#process"},
            {
              label: "Key Markets",              href: "#metrics"},
            {
              label: "Partner Benefits",              href: "#features"},
          ],
        },
        {
          items: [
            {
              label: "Managed Placements",              href: "#features"},
            {
              label: "Permit Support",              href: "#features"},
            {
              label: "Aftercare Services",              href: "#features"},
          ],
        },
        {
          items: [
            {
              label: "Testimonials",              href: "#testimonials"},
            {
              label: "FAQs",              href: "#faq"},
            {
              label: "Contact Us",              href: "#contact"},
          ],
        },
        {
          items: [
            {
              label: "Privacy Policy",              href: "#"},
            {
              label: "Terms of Service",              href: "#"},
            {
              label: "Cookie Policy",              href: "#"},
          ],
        },
      ]}
      logoText="Europe Bridge Staffing"
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
