"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import FaqBase from '@/components/sections/faq/FaqBase';
import FeatureBorderGlow from '@/components/sections/feature/featureBorderGlow/FeatureBorderGlow';
import FooterBase from '@/components/sections/footer/FooterBase';
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import SplitAbout from '@/components/sections/about/SplitAbout';
import { Award, Briefcase, GraduationCap, HelpCircle, Lightbulb, Star, Timer } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="text-shift"
        defaultTextAnimation="entrance-slide"
        borderRadius="soft"
        contentWidth="mediumSmall"
        sizing="largeSmallSizeMediumTitles"
        background="aurora"
        cardStyle="glass-elevated"
        primaryButtonStyle="diagonal-gradient"
        secondaryButtonStyle="radial-glow"
        headingFontWeight="extrabold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleFullscreen
      navItems={[
        {
          name: "Services",
          id: "/services",
        },
        {
          name: "Products",
          id: "/products",
        },
        {
          name: "Comfort Contract",
          id: "/comfort-contract",
        },
        {
          name: "Reviews",
          id: "/reviews",
        },
        {
          name: "About",
          id: "/about",
        },
        {
          name: "Contact",
          id: "/contact",
        },
      ]}
      brandName="McCoy Heating and Air Conditioning"
      button={{
        text: "Request Service",
        href: "/request-service",
      }}
    />
  </div>

  <div id="employment-intro" data-section="employment-intro">
      <SplitAbout
      textboxLayout="default"
      useInvertedBackground={false}
      imagePosition="right"
      title="Join Our Growing Team"
      description="At Business, we believe our people are our greatest asset. We foster a collaborative and supportive environment where innovation thrives and careers are built. Discover opportunities to grow with us and make a real impact."
      buttons={[
        {
          text: "View Openings",
          href: "/careers",
        },
      ]}
      bulletPoints={[
        {
          title: "Culture of Innovation",
          description: "Be part of a team that embraces new ideas and cutting-edge solutions in the HVAC industry.",
          icon: Lightbulb,
        },
        {
          title: "Professional Development",
          description: "Access ongoing training, certifications, and mentorship programs to advance your career.",
          icon: Award,
        },
        {
          title: "Commitment to Excellence",
          description: "Work with a company dedicated to delivering top-tier service and customer satisfaction.",
          icon: Star,
        },
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/air-conditioner-cleaning-commission_482257-85116.jpg"
      imageAlt="HVAC team smiling confidently"
    />
  </div>

  <div id="employment-benefits" data-section="employment-benefits">
      <FeatureBorderGlow
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      features={[
        {
          icon: HeartHandshake,
          title: "Health & Wellness",
          description: "Comprehensive medical, dental, and vision insurance for you and your family.",
        },
        {
          icon: PiggyBank,
          title: "Retirement Plans",
          description: "Secure your future with our competitive 401(k) matching program.",
        },
        {
          icon: GraduationCap,
          title: "Continuous Learning",
          description: "Tuition reimbursement and professional development courses to enhance your skills.",
        },
        {
          icon: Timer,
          title: "Flexible Scheduling",
          description: "Work-life balance is important, we offer flexible hours and paid time off.",
        },
      ]}
      title="Why Choose a Career at Business?"
      description="We offer a comprehensive benefits package designed to support your well-being, financial security, and career growth."
      tag="Benefits"
      tagIcon={Briefcase}
    />
  </div>

  <div id="employment-faqs" data-section="employment-faqs">
      <FaqBase
      textboxLayout="default"
      useInvertedBackground={false}
      faqs={[
        {
          id: "1",
          title: "What is the application process like?",
          content: "Our application process typically involves an online application, an initial phone screening, followed by one or two rounds of interviews with the hiring manager and team members.",
        },
        {
          id: "2",
          title: "Do you offer training for new hires?",
          content: "Yes, we provide extensive onboarding and ongoing training to ensure all new team members are equipped with the knowledge and skills for success in their roles.",
        },
        {
          id: "3",
          title: "What kind of growth opportunities are available?",
          content: "We are committed to internal growth. Many of our senior positions are filled by employees who started in entry-level roles and developed their careers with us through mentorship and specialized training.",
        },
        {
          id: "4",
          title: "What is the company culture at Business?",
          content: "Our culture is built on teamwork, respect, and a shared commitment to customer satisfaction. We encourage open communication, innovation, and a supportive environment where everyone can thrive.",
        },
      ]}
      title="FAQs About Working with Business"
      description="Have questions about our hiring process or what it's like to work here? Find your answers below."
      tag="Careers FAQ"
      tagIcon={HelpCircle}
      faqsAnimation="slide-up"
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterBase
      columns={[
        {
          title: "Company",
          items: [
            {
              label: "About Us",
              href: "/about",
            },
            {
              label: "Employment",
              href: "/employment",
            },
            {
              label: "Contact",
              href: "/contact",
            },
          ],
        },
        {
          title: "Services",
          items: [
            {
              label: "HVAC Repair",
              href: "/services/repair",
            },
            {
              label: "Installations",
              href: "/services/installation",
            },
            {
              label: "Maintenance",
              href: "/services/maintenance",
            },
          ],
        },
        {
          title: "Resources",
          items: [
            {
              label: "Blog",
              href: "/blog",
            },
            {
              label: "FAQs",
              href: "/faqs",
            },
          ],
        },
      ]}
      logoText="Business"
      copyrightText="© 2024 Business. All rights reserved."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
