import Link from "next/link";
import { MoveRightIcon, PhoneIcon } from "lucide-react";
import {
  LongGrainIcon,
  OrganicBasmatiIcon,
  ParlBoiledIcon,
} from "@/app/components/icons";
import { InteractiveHero } from "./Hero/InteractiveHero";
import { Container } from "@/app/components/layout/Container";
import Heading from "@/app/components/ui/Heading";
import Image from "next/image";

export function Hero() { 
  return (
    <section className="relative min-h-fit min-w-screen">
      <Image
        src="/images/hero-bg-img.png"
        alt="Hero Background"
        width={1000}
        height={1000}
        className="absolute top-0 left-0 w-full h-full object-cover object-top-left"
        priority
        fetchPriority="high"
        loading="eager"
      />
      <div
        id="hero-overlay"
        className="relative w-full h-full flex justify-center bg-black/70"
      >
        <Container>
          <div className="w-full min-h-screen flex flex-col lg:flex-row gap-20 items-center mt-32 lg:mt-24 mb-24">
            <div className="text-white lg:w-1/2">
              <Heading as="h1" variant="title">
                Top Basmati Exporter in Pakistan
              </Heading>
              <p className="text-lg my-4">
                At BasmatiPak, we are grower, miller and exporter of the premium
                variety of the rice from Pakistan. We also deal in Organic
                Basmati and parboiled types for our customers worldwide.
              </p>
              <div className="flex w-full gap-4 mt-12 mx-4">
                <Link
                  className="text-sm lg:text-lg transition-all duration-300 text-white hover:bg-primary border-primary font-semibold border py-3.5 px-8 rounded-full flex items-center gap-2"
                  href="/about"
                >
                  <span>About Us</span>
                  <MoveRightIcon size={18} strokeWidth={3} />
                </Link>
                <Link
                  className="text-sm lg:text-lg flex items-center gap-2 text-white bg-primary font-semibold py-3.5 px-8 rounded-full"
                  href="/contact"
                >
                  <PhoneIcon fill="white" size={16} strokeWidth={0.5} />
                  Contact Us
                </Link>
              </div>
              <hr className="mt-12 mb-8 border-white/20" />
              <div className="flex justify-between text-center">
                <div className="flex flex-col items-center gap-5">
                  <LongGrainIcon size={30} />
                  <p className="tracking-tight">Long Grain Basmati</p>
                </div>
                <div className="min-h-full w-[0.5px] bg-white/20"></div>
                <div className="flex flex-col items-center gap-5">
                  <OrganicBasmatiIcon size={30} />
                  <p className="tracking-tight">Organic Basmati Rice</p>
                </div>
                <div className="min-h-full w-[0.5px] bg-white/20"></div>
                <div className="flex flex-col items-center gap-5">
                  <ParlBoiledIcon size={30} />
                  <p className="tracking-tight">Parboiled Basmati Rice</p>
                </div>
              </div>
            </div>
            <InteractiveHero />
          </div>
        </Container>
      </div>
      <div className="absolute z-10 bottom-0 w-full bg-white h-24 [clip-path:polygon(100%_100%,100%_0,0_100%)]"></div>
    </section>
  );
}
