"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleMinimal from '@/components/navbar/NavbarStyleMinimal';
import HeroSplitKpi from '@/components/sections/hero/HeroSplitKpi';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
import { Shield, Zap, ThumbsUp } from "lucide-react";

export default function HomePage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="smallMedium"
      sizing="large"
      background="radialGradient"
      cardStyle="gradient-radial"
      primaryButtonStyle="inset-glow"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleMinimal
          brandName="Boot Networks"
          button={{
            text: "Get Support",
            href: "#contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero" className="mx-auto px-4 md:px-6">
        <HeroSplitKpi
          title="Enterprise IT Solutions & Cloud Services for Your Business"
          description="Boot Networks delivers comprehensive business technology solutions including Microsoft 365, cloud services, cybersecurity assessments, and network infrastructure support. Let us optimize your digital workspace with expert IT consultation and 24/7 support."
          tag="Trusted IT Partner for California Businesses"
          tagIcon={Shield}
          kpis={[
            { value: "20+", label: "Years IT Experience" },
            { value: "500+", label: "Businesses Supported" },
            { value: "24/7", label: "Remote Support Available" }
          ]}
          enableKpiAnimation={true}
          imageSrc="https://img.b2bpic.net/free-photo/saas-concept-collage_23-2149399285.jpg"
          imageAlt="Cloud services and business technology infrastructure"
          imagePosition="right"
          buttons={[
            { text: "Free IT Assessment", href: "#contact" },
            { text: "Call: 760-444-0849", href: "tel:760-444-0849" }
          ]}
        />
      </div>

      <div id="services" data-section="services" className="mx-auto px-4 md:px-6">
        <ProductCardOne
          title="Our Core Services"
          description="Comprehensive IT and cloud solutions designed to streamline your business operations and protect your digital assets."
          tag="Essential Business Services"
          tagIcon={Zap}
          products={[
            {
              id: "1",
              name: "Microsoft 365 Solutions",
              price: "Scalable",
              imageSrc: "https://img.b2bpic.net/free-photo/woman-video-conference-call-her-home-office-coronavirus-pandemic_53876-143092.jpg",
              imageAlt: "Microsoft Teams and productivity tools"
            },
            {
              id: "2",
              name: "Cloud Services & OneDrive",
              price: "Enterprise",
              imageSrc: "https://img.b2bpic.net/free-photo/people-using-digital-device-while-meeting_23-2149085926.jpg",
              imageAlt: "Cloud storage and backup solutions"
            },
            {
              id: "3",
              name: "Cybersecurity Assessment",
              price: "Protected",
              imageSrc: "https://img.b2bpic.net/free-photo/working-mother-conducts-online-videocall_482257-119408.jpg",
              imageAlt: "Security and data protection"
            },
            {
              id: "4",
              name: "Network Infrastructure",
              price: "Reliable",
              imageSrc: "https://img.b2bpic.net/free-photo/ceo-leading-meeting-online-teleconference-call-boardroom_482257-122813.jpg",
              imageAlt: "Network and server infrastructure"
            }
          ]}
          gridVariant="four-items-2x2-equal-grid"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          buttons={[
            { text: "View All Services", href: "/services" }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials" className="mx-auto px-4 md:px-6">
        <TestimonialCardFive
          title="What Our Clients Say"
          description="Trusted by businesses across California for reliable IT support and cloud solutions that drive growth."
          tag="Client Success Stories"
          tagIcon={ThumbsUp}
          testimonials={[
            {
              id: "1",
              name: "Michael Rodriguez, CEO of TechFlow Solutions",
              date: "Date: March 2024",
              title: "Transformed Our Operations with Cloud Solutions",
              quote: "Boot Networks helped us migrate to Microsoft 365 seamlessly. Their expertise in cloud infrastructure saved us countless hours and reduced our IT costs significantly. The 24/7 support gives us peace of mind.",
              tag: "Cloud Migration",
              avatarSrc: "https://img.b2bpic.net/free-photo/smiling-businessman-listening-senior-man_1262-1970.jpg",
              imageSrc: "https://img.b2bpic.net/free-photo/woman-video-conference-call-her-home-office-coronavirus-pandemic_53876-143092.jpg",
              avatarAlt: "Michael Rodriguez"
            },
            {
              id: "2",
              name: "Sarah Chen, Operations Manager at Design Co.",
              date: "Date: February 2024",
              title: "Outstanding Remote Support Experience",
              quote: "We needed IT support that could handle our remote team. Boot Networks provided exactly what we needed with remote support solutions and Microsoft Teams optimization. Their responsiveness is exceptional.",
              tag: "Remote Support",
              avatarSrc: "https://img.b2bpic.net/free-photo/team-brainstorming-project_1098-12649.jpg",
              imageSrc: "https://img.b2bpic.net/free-photo/social-integration-working-team_23-2149341113.jpg",
              avatarAlt: "Sarah Chen"
            },
            {
              id: "3",
              name: "David Thompson, CFO at Manufacturing Plus",
              date: "Date: January 2024",
              title: "Secured Our Network and Data",
              quote: "The cybersecurity assessment Boot Networks performed revealed critical vulnerabilities we didn't know existed. Their implementation of advanced security measures protected our business data and gave us full compliance with industry standards.",
              tag: "Cybersecurity",
              avatarSrc: "https://img.b2bpic.net/free-photo/business-people-working-together_23-2148826968.jpg",
              imageSrc: "https://img.b2bpic.net/free-photo/working-mother-conducts-online-videocall_482257-119408.jpg",
              avatarAlt: "David Thompson"
            }
          ]}
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <FooterLogoReveal
        logoText="Boot Networks"
        logoLineHeight={1.2}
        ariaLabel="Boot Networks - IT Services Footer"
      />
    </ThemeProvider>
  );
}