"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import HeroBillboardSplit from '@/components/sections/hero/HeroBillboardSplit';
import MediaSplitAbout from '@/components/sections/about/MediaSplitAbout';
import FeatureCardFifteen from '@/components/sections/feature/FeatureCardFifteen';
import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen';
import PricingCardTwo from '@/components/sections/pricing/PricingCardTwo';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterSocial from '@/components/sections/footer/FooterSocial';
import { Facebook, Linkedin, Twitter, Instagram, Sparkles } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="mediumSmall"
      sizing="largeSmallSizeMediumTitles"
      background="circleGradient"
      cardStyle="elevated"
      primaryButtonStyle="layered-depth"
      secondaryButtonStyle="minimal"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          navItems={[
            { name: "Home", id: "hero" },
            { name: "Training", id: "features" },
            { name: "Pricing", id: "pricing" },
            { name: "Success Stories", id: "testimonial" },
            { name: "Contact", id: "contact" }
          ]}
          brandName="PestControl Elite"
          bottomLeftText="Sales Training Academy"
          bottomRightText="hello@pestcontrolelite.com"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardSplit
          tag="Transform Your Pest Control Career"
          title="Become a Top-Earning Pest Control Sales Coach"
          description="Master high-ticket sales strategies and recruit a team of successful professionals. Join our elite training program and build recurring income through sales coaching and recruitment."
          buttons={[
            { text: "Join the Program", href: "contact" },
            { text: "Learn More", href: "features" }
          ]}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767174013651-qm0tfmad.jpg"
          imageAlt="Pest control professional in training session"
          frameStyle="browser"
        />
      </div>

      <div id="about" data-section="about">
        <MediaSplitAbout
          title="Your Path to Pest Control Sales Mastery"
          description="With 15+ years of experience in pest control sales and team building, I've helped hundreds of professionals double their income through proven sales techniques and smart recruitment strategies. This training program condenses everything I've learned into a comprehensive system you can implement immediately."
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767174015252-7mpb3ptv.jpg"
          imageAlt="Professional training session with team"
          buttons={[
            { text: "View Training Modules", href: "features" }
          ]}
          imagePosition="right"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardFifteen
          title="What You'll Master"
          description="Complete training modules designed for pest control sales professionals"
          tag="Training Program"
          features={[
            {
              id: "1",
              title: "Advanced Sales Techniques",
              description: "Close more deals with proven closing techniques and objection handling methods specific to pest control services.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767174016343-5bhxkt8z.jpg",
              imageAlt: "Sales coaching session"
            },
            {
              id: "2",
              title: "Technical Knowledge",
              description: "Deepen your understanding of pest control methods, treatments, and industry standards to build customer confidence.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767174013651-qm0tfmad.jpg",
              imageAlt: "Pest control technical training"
            },
            {
              id: "3",
              title: "Team Building & Recruitment",
              description: "Learn how to recruit, train, and manage a team of sales professionals for recurring commission and passive income.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767174018065-xb9mszkl.jpg",
              imageAlt: "Team building and networking"
            },
            {
              id: "4",
              title: "Business Growth Strategies",
              description: "Scale from individual sales to running a multi-person operation with systems that generate exponential growth.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767174019064-kltm6b35.jpg",
              imageAlt: "Business growth and success"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="testimonial" data-section="testimonial">
        <TestimonialCardFifteen
          testimonial="This training completely transformed my pest control sales career. I went from struggling to hit targets to becoming the top salesman in my region. The recruitment strategies alone have created multiple income streams for me."
          rating={5}
          author="Marcus Johnson, Regional Sales Manager"
          avatars={[
            { src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766140101670-ttp7xdlv.jpg", alt: "Marcus Johnson" },
            { src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766850777333-gk776zjh.jpg", alt: "Sarah Martinez" },
            { src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767174020152-9baq80aq.jpg", alt: "James Chen" },
            { src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767174021103-xw3tpiim.jpg", alt: "Lisa Thompson" },
            { src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767174021955-5137sedi.jpg", alt: "David Wilson" },
            { src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767174022853-axg3zbfo.jpg", alt: "Emily Rodriguez" }
          ]}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="pricing" data-section="pricing">
        <PricingCardTwo
          title="Training Investment Options"
          description="Choose the program that fits your goals and experience level"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          plans={[
            {
              id: "starter",
              badge: "Starter",
              badgeIcon: Sparkles,
              price: "$497",
              subtitle: "Perfect for individuals starting their sales journey",
              buttons: [
                { text: "Get Started", href: "contact" },
                { text: "Learn More", href: "#" }
              ],
              features: [
                "Core sales techniques module",
                "Email support",
                "Access to resource library",
                "30-day money-back guarantee"
              ]
            },
            {
              id: "professional",
              badge: "Professional",
              badgeIcon: Sparkles,
              price: "$1,497",
              subtitle: "Most popular - includes recruitment training",
              buttons: [
                { text: "Join Now", href: "contact" },
                { text: "Learn More", href: "#" }
              ],
              features: [
                "All Starter modules included",
                "Team recruitment & management training",
                "One-on-one coaching calls (2 per month)",
                "Private community access",
                "Lifetime updates",
                "30-day money-back guarantee"
              ]
            },
            {
              id: "elite",
              badge: "Elite",
              badgeIcon: Sparkles,
              price: "$3,997",
              subtitle: "Complete mastery program with personal coaching",
              buttons: [
                { text: "Apply for Elite", href: "contact" },
                { text: "Learn More", href: "#" }
              ],
              features: [
                "All Professional modules included",
                "Monthly one-on-one strategy sessions",
                "Personal recruitment templates",
                "Done-with-you implementation support",
                "Advanced business scaling strategies",
                "Direct email access to coach",
                "Lifetime updates and support"
              ]
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Ready to Transform Your Career?"
          description="Join hundreds of successful pest control professionals who have doubled their income through our proven training and recruitment system. Start your journey today."
          inputs={[
            { name: "name", type: "text", placeholder: "Your Full Name", required: true },
            { name: "email", type: "email", placeholder: "Your Email Address", required: true },
            { name: "phone", type: "tel", placeholder: "Your Phone Number", required: true },
            { name: "experience", type: "text", placeholder: "Years of Pest Control Experience", required: false }
          ]}
          textarea={{
            name: "message",
            placeholder: "Tell us about your goals and what program interests you most",
            rows: 5,
            required: true
          }}
          useInvertedBackground="noInvert"
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766140098536-9jc7ywck.jpg"
          imageAlt="Professional training environment"
          mediaPosition="right"
          buttonText="Send My Application"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterSocial
          logoText="PestControl Elite"
          columns={[
            {
              title: "Program",
              items: [
                { label: "Training Modules", href: "features" },
                { label: "Pricing", href: "pricing" },
                { label: "Success Stories", href: "testimonial" }
              ]
            },
            {
              title: "Company",
              items: [
                { label: "About", href: "about" },
                { label: "Contact", href: "contact" },
                { label: "Privacy Policy", href: "#" }
              ]
            },
            {
              title: "Support",
              items: [
                { label: "FAQ", href: "#" },
                { label: "Email Support", href: "#" },
                { label: "Terms of Service", href: "#" }
              ]
            }
          ]}
          socialLinks={[
            { icon: Facebook, href: "https://facebook.com", ariaLabel: "Facebook" },
            { icon: Linkedin, href: "https://linkedin.com", ariaLabel: "LinkedIn" },
            { icon: Twitter, href: "https://twitter.com", ariaLabel: "Twitter" },
            { icon: Instagram, href: "https://instagram.com", ariaLabel: "Instagram" }
          ]}
          copyrightText="© 2025 PestControl Elite. All rights reserved."
        />
      </div>
    </ThemeProvider>
  );
}