import Button from "../buttons/Button.jsx";

const SectionTwo = ({
  buttonText,
  buttonLink,
  text,
}) => {
  return (
    <>
      <div
        id="contact"
        className="relative z-10 h-screen w-screen bg-black" // Added bg-black class
      >
        <div className="absolute inset-0 z-0">
          {/* ... */}
        </div>
        <div className="relative 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">
            <Button buttonText={buttonText} buttonLink={buttonLink} />
          </div>
        </div>
      </div>
    </>
  );
};

export default SectionTwo;
