"use client";

import { useTranslator } from "@/contexts/TranslatorContext";
import HeroSection from "@/components/HeroSection/HeroSection";
import DashboardFeatures from "@/components/Home/DashboardFeatures";
import PricingCard from "@/components/SharedHosting/PricingCard";
import { mailHostingPlans } from "@/constants/mailHostingConsts";
import PaymentSection from "@/components/CloudTigers/PaymentSection";
import PartnersGrid from "@/components/SharedHosting/PartnersGrid";
import AllNeedSection from "@/components/MailHosting/AllNeedSection";
import EasyTransitionSection from "@/components/MailHosting/EasyTransitionSection";
import MailHostAdvantages from "@/components/MailHosting/MailHostAdvantages";
import StrongSecurity from "@/components/MailHosting/StrongSecurity";
import GrowSection from "@/components/ApplicationHosting/GrowSection";
import BeastSection from "@/components/DataCenter/BeastSection/BeastSection";
import Asks from "@/components/DataCenter/Asks/Asks";

const MailHostingPage = () => {
  const { translations } = useTranslator();

  return (
    <div className="overflow-x-hidden">
      <HeroSection
        title={
          translations["mailHosting.hero.title"] ||
          translations["footer.hosting_services.items.email_hosting"]
        }
        description={
          translations["mailHosting.hero.description"] ||
          translations["BestPerformanceHosting"]
        }
        primaryButtonText={
          translations["mailHosting.hero.primaryButton"] ||
          translations["registerNowButton"]
        }
        secondaryButtonText={
          translations["mailHosting.hero.secondaryButton"] || "View Pricing"
        }
        imageLeft="/images/Hero/mail-hosting/left-server.svg"
        imageLeftClass="[translate:-10px_-180px] z-[999]"
        imageCenter="/images/Hero/mail-hosting/center-server.svg"
        imageCenterClass="[translate:-60px_-150px] z-[999]"
        imageRight="/images/Hero/mail-hosting/right-server.svg"
        imageRightClass="[translate:-40px_15px] z-[999]"
        centerIconSrc="/images/Hero/mail-hosting/center-icon.svg"
        centerIconX={680}
        centerIconY={595}
        centerIconWidth={140}
        centerIconHeight={140}
        centerIconSrcClass="z-[1000] animate-float"
        leftIconSrc="/images/Hero/mail-hosting/left-icon.svg"
        leftIconX={420}
        leftIconY={595}
        leftIconWidth={54}
        leftIconHeight={58}
        leftIconSrcClass="z-[1000] animate-float animate-float-delay-2"
        rightIconSrc="/images/Hero/mail-hosting/right-icon.svg"
        rightIconX={1022}
        rightIconY={595}
        rightIconWidth={54}
        rightIconHeight={58}
        rightIconSrcClass="z-[1000] animate-float animate-float-delay-1"
        mobileImage1Style={{ width: "40%" }}
      />
      <PricingCard plans={mailHostingPlans} contentKey="mailHosting.pricing" />
      <AllNeedSection />
      <DashboardFeatures />
      <StrongSecurity />
      <MailHostAdvantages />
      {/* <PartnersGrid />
      <GrowSection sectionKey='mailHosting' />
      <BeastSection variant='mailHosting' /> */}
      <EasyTransitionSection />
      <Asks faqsKey="mailHosting.faqs" />
    </div>
  );
};

export default MailHostingPage;
