"use client";

import { useTranslator } from "@/contexts/TranslatorContext";
import HeroSection from "@/components/HeroSection/HeroSection";
import PricingCard from "@/components/SharedHosting/PricingCard";
import { businessHostingPlans } from "@/constants/businessHostingConsts";
import PaymentSection from "@/components/CloudTigers/PaymentSection";
import PartnersGrid from "@/components/SharedHosting/PartnersGrid";
import GrowSection from "@/components/ApplicationHosting/GrowSection";
import BeastSection from "@/components/DataCenter/BeastSection/BeastSection";
import Asks from "@/components/DataCenter/Asks/Asks";
import BackGroundSection from "@/components/BackGroundSection";

const BusinessHostingPage = () => {
  const { translations } = useTranslator();
  return (
    <div className="relative">
      <HeroSection
        title={
          translations["businessHosting.hero.title"] ||
          translations["BusinessHost"]
        }
        description={
          translations["businessHosting.hero.description"] ||
          translations["BestPerformanceHosting"]
        }
        primaryButtonText={
          translations["businessHosting.hero.primaryButton"] ||
          translations["registerNowButton"]
        }
        secondaryButtonText={
          translations["businessHosting.hero.secondaryButton"] || "View Pricing"
        }
        imageLeft="/images/Hero/business-hosting/left-server.svg"
        imageLeftClass="[translate:-10px_-180px] z-[999]"
        imageCenter="/images/Hero/business-hosting/center-server.svg"
        imageCenterClass="[translate:-60px_-150px] z-[999]"
        imageRight="/images/Hero/business-hosting/right-server.svg"
        imageRightClass="[translate:-40px_15px] z-[999]"
        centerIconSrc="/images/Hero/business-hosting/center-icon.png"
        centerIconX={680}
        centerIconY={595}
        centerIconWidth={140}
        centerIconHeight={140}
        centerIconSrcClass="z-[1000] animate-float"
        leftIconSrc="/images/Hero/business-hosting/left-icon.svg"
        leftIconX={420}
        leftIconY={595}
        leftIconWidth={54}
        leftIconHeight={58}
        leftIconSrcClass="z-[1000] animate-float animate-float-delay-2"
        rightIconSrc="/images/Hero/business-hosting/right-icon.svg"
        rightIconX={1022}
        rightIconY={595}
        rightIconWidth={54}
        rightIconHeight={58}
        rightIconSrcClass="z-[1000] animate-float animate-float-delay-1"
        mobileImage1Style={{ width: "40%" }}
      />
      {/* <div className="h-24 sm:h-32 lg:h-48 w-full absolute top-0 left-0 overflow-hidden z-0">
          <img
            src="/images/clouds-graph 1.svg"
            alt="Decorative Top"
            className="w-full h-full object-cover opacity-50"
          />
        </div> */}
      <PricingCard
        plans={businessHostingPlans}
        contentKey="businessHosting.pricing"
      />
      {/* <PaymentSection /> */}
      <BackGroundSection />
      <GrowSection sectionKey="businessHosting" />
      <BeastSection variant="businessHosting" />
      <PartnersGrid />
      <Asks faqsKey="businessHosting.faqs" />
    </div>
  );
};

export default BusinessHostingPage;
