import ContactButton from "../buttons/ContactButton.jsx";
import ContactThreeJsComponent from "../elements/ContactThreeJsComponent.jsx";

const ContactFormSection = ({
  text,
  buttonText,
  email,
}) => {
  return (
    <>
    <div id="contact" className="relative z-10 h-screen w-screen">
      <div className="absolute inset-0 z-0">
        <ContactThreeJsComponent />
        
      </div>
      <div className="relative z-10 flex flex-col items-center justify-center h-full">
        <div className="relative flex justify-center items-end w-full mb-20">
          <h1 className="lg:text-5xl md:text-4xl sm:text-3xl text-3xl text-center text-white break-normal">{text}</h1>
        </div>
        <div className="flex justify-start space-x-4 text-center text-white break-normal">
        <ContactButton
        buttonText={buttonText}
        email={email}
        />
        </div>
      </div>
    </div>
    </>
  );
};

export default ContactFormSection;
