import type { Metadata } from "next";
import { Container } from "@/app/components/layout/Container";
import Heading from "@/app/components/ui/Heading";
import heroImg from "./_assets/hero.png";
import basmatiVarietyImg from "./_assets/basmati-variety.png";
import organicBasmatiVarietyImg from "./_assets/organic-basmati-variety.png";
import { ContainerSm } from "@/app/components/layout/ContainerSm";
import Image from "next/image";

export const metadata: Metadata = {
  title: "Wide Range of Varieties - Basmati Pakistan",
  description:
    "Wide Range of Rice Varieties Wide Range of Rice Varieties As a leading rice supplier and top exporter from Pakistan, we pride ourselves on delivering a diverse selection of high-quality rice varieties that cater to a variety of culinary needs. Our commitment to quality and excellence ensures that every product we offer meets rigorous global […]",
  alternates: {
    canonical: "https://basmatipakistan.com/wide-range-of-varieties/",
  },
  openGraph: {
    title: "Wide Range of Varieties - Basmati Pakistan",
    description:
      "Wide Range of Rice Varieties Wide Range of Rice Varieties As a leading rice supplier and top exporter from Pakistan, we pride ourselves on delivering a diverse selection of high-quality rice varieties that cater to a variety of culinary needs. Our commitment to quality and excellence ensures that every product we offer meets rigorous global […]",
    url: "https://basmatipakistan.com/wide-range-of-varieties/",
    images: [
      {
        url: "https://basmatipakistan.com/wp-content/uploads/2024/10/534-659.png",
      },
    ],
    type: "website",
  },
  twitter: {
    card: "summary_large_image",
    title: "Wide Range of Varieties - Basmati Pakistan",
    description:
      "Wide Range of Rice Varieties Wide Range of Rice Varieties As a leading rice supplier and top exporter from Pakistan, we pride ourselves on delivering a diverse selection of high-quality rice varieties that cater to a variety of culinary needs. Our commitment to quality and excellence ensures that every product we offer meets rigorous global […]",
    images: [
      "https://basmatipakistan.com/wp-content/uploads/2024/10/534-659.png",
    ],
  },
};

export default function WideRangeOfVarietiesPage() {
  const basmatiVarieties = [
    {
      title: "1121 Basmati Golden Sella",
      description:
        "This variety is characterized by its long grains and vibrant golden hue, making it visually appealing. It is parboiled to retain nutrients and enhance its cooking qualities, resulting in fluffy and non-sticky rice.",
    },
    {
      title: "1121 Basmati Steam Rice",
      description:
        "This premium quality rice is steamed to preserve its aroma and flavor. The steaming process enhances its texture, ensuring that the grains remain separate and fluffy when cooked.",
    },
    {
      title: "1121 Basmati White Rice",
      description:
        "Known for its aromatic and nutty flavor, this classic variety offers a delicate texture and is a favorite for various dishes. Its long, slender grains provide a beautiful presentation on the plate.",
    },
  ];

  const organicBasmatiVarieties = [
    {
      title: "Organic Brown Basmati Rice",
      description:
        "Organic Brown Basmati rice retains its bran and germ layers, providing a rich flavor and a higher nutritional profile.",
    },
    {
      title: "Organic White Basmati Rice",
      description:
        "This variety is milled to remove the bran, resulting in a soft, fluffy texture while retaining its distinctive aroma.",
    },
    {
      title: "Organic Parboiled Basmati Rice",
      description:
        "Parboiled is a rich source of nutrients and enhance cooking properties, this rice variety is a healthy alternative.",
    },
    {
      title: "Organic 1121 White Basmati Rice",
      description:
        "This premium organic variety is highly nutritious and rich in flavour with distinctive aroma.",
    },
    {
      title: "Organic Extra Long Grain Basmati Brown Rice",
      description:
        "With its long grains and rich flavor, this variety is ideal for those looking for a nutritious option.",
    },
  ];

  return (
    <>
      <section className="relative h-[65vh] w-full">
        <Image
          src={heroImg}
          alt="Wide Range of Varieties Hero"
          fill
          placeholder="blur"
          className="absolute top-0 left-0 w-full h-full object-cover object-center"
          priority
          fetchPriority="high"
          loading="eager"
        />
        <div className="relative bg-black/60 w-full h-full flex items-center">
          <Container>
            <Heading as="h1" variant="title" className="text-white">
              Wide Range of Rice Varieties
            </Heading>
          </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>
      <section className="mt-16 lg:mt-32">
        <ContainerSm>
          <div className="flex flex-col lg:flex-row gap-8 justify-between">
            <Image
              src={basmatiVarietyImg.src}
              width={600}
              height={800}
              alt="Basmati Rice"
              className="rounded-xl"
            />
            <div className="w-1/2 flex flex-col gap-8">
              <Heading as="h2" variant="subsection" className="text-primary">
                Basmati Rice Varieties
              </Heading>
              <p className="text-gray-600 leading-7">
                Our range of Basmati Rice includes:
              </p>
              <div>
                {basmatiVarieties.map((variety, index) => {
                  const isLast = index === basmatiVarieties.length - 1;
                  return (
                    <div
                      key={index}
                      className={isLast ? "relative" : "pb-8 relative"}
                    >
                      <div className="flex items-center">
                        <div className="flex flex-col items-center">
                          <div className="w-6 h-6 bg-white hover:bg-primary transition-all duration-500 rounded-full border border-primary/25"></div>
                          {!isLast && (
                            <div className="absolute top-0 bottom-0 -z-10 w-px bg-primary/15" />
                          )}
                        </div>
                        <Heading
                          as="h4"
                          variant="card"
                          className="text-primary ml-6"
                        >
                          {variety.title}
                        </Heading>
                      </div>
                      <p className="ml-12 mt-2 text-gray-500">
                        {variety.description}
                      </p>
                    </div>
                  );
                })}
              </div>
            </div>
          </div>
        </ContainerSm>
      </section>
      <section className="mt-16 lg:mt-32">
        <ContainerSm>
          <div className="flex flex-col lg:flex-row-reverse gap-8 justify-between">
            <Image
              src={organicBasmatiVarietyImg.src}
              width={600}
              height={800}
              alt="Organic Basmati Rice"
              className="rounded-xl"
            />
            <div className="w-1/2 flex flex-col gap-8">
              <Heading as="h2" variant="subsection" className="text-primary">
                Organic Basmati Rice Varieties
              </Heading>
              <p className="text-gray-600 leading-7">
                In addition to traditional Basmati varieties, we also offer wide
                range of varieties of organic Basmati rice. It includes:
              </p>
              <div>
                {organicBasmatiVarieties.map((variety, index) => {
                  const isLast = index === organicBasmatiVarieties.length - 1;
                  return (
                    <div
                      key={index}
                      className={isLast ? "relative" : "pb-8 relative"}
                    >
                      <div className="flex items-center">
                        <div className="flex flex-col items-center">
                          <div className="w-6 h-6 bg-white hover:bg-primary transition-all duration-500 rounded-full border border-primary/25"></div>
                          {!isLast && (
                            <div className="absolute top-0 bottom-0 -z-10 w-px bg-primary/15" />
                          )}
                        </div>
                        <Heading
                          as="h4"
                          variant="card"
                          className="text-primary ml-6"
                        >
                          {variety.title}
                        </Heading>
                      </div>
                      <p className="ml-12 mt-2 text-gray-500">
                        {variety.description}
                      </p>
                    </div>
                  );
                })}
              </div>
            </div>
          </div>
        </ContainerSm>
      </section>
    </>
  );
}
