"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from "@/components/navbar/NavbarStyleApple/NavbarStyleApple";
import ProductCardFour from "@/components/sections/product/ProductCardFour";
import BlogCardThree from "@/components/sections/blog/BlogCardThree";
import FooterBase from "@/components/sections/footer/FooterBase";
import Link from "next/link";
import { BookOpen, BookMarked } from "lucide-react";

export default function PoemsPage() {
  const navItems = [
    { name: "Home", id: "/" },
    { name: "Eras", id: "/eras" },
    { name: "Poets", id: "/poets" },
    { name: "Poems", id: "/poems" },
    { name: "Resources", id: "/contact" },
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="expand-hover"
      defaultTextAnimation="reveal-blur"
      borderRadius="soft"
      contentWidth="medium"
      sizing="largeSmallSizeLargeTitles"
      background="circleGradient"
      cardStyle="gradient-bordered"
      primaryButtonStyle="primary-glow"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="light"
    >
      {/* Navbar */}
      <div id="nav" data-section="nav" className="sticky top-0 z-50">
        <NavbarStyleApple
          brandName="Arabic Poetry"
          navItems={navItems}
        />
      </div>

      {/* Masterpiece Poems Collection */}
      <div id="poems" data-section="poems">
        <ProductCardFour
          title="Masterpiece Poems & Verses"
          description="Explore selections from the greatest poems in Arabic literature, each representing the pinnacle of expression and artistic mastery from their respective eras. Collections include the most celebrated works."
          tag="Poetic Collections"
          tagIcon={BookOpen}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground={false}
          gridVariant="three-columns-all-equal-width"
          products={[
            {
              id: "1",              name: "Mu'allaqat (The Hanging Poems)",              price: "Pre-Islamic Classic",              variant: "Seven Odes of Genius",              imageSrc: "http://img.b2bpic.net/free-photo/pirate-artifacts-arrangement-still-life_23-2150426415.jpg?_wi=9",              imageAlt: "Mu'allaqat manuscripts"},
            {
              id: "2",              name: "The Poetry of Hassan ibn Thabit",              price: "Islamic Era",              variant: "Elegies and Praises",              imageSrc: "http://img.b2bpic.net/free-photo/view-ancient-paper-scroll-writing-documenting_23-2151751756.jpg?_wi=4",              imageAlt: "Hassan ibn Thabit's verses"},
            {
              id: "3",              name: "Diwan of Al-Mutanabbi",              price: "Abbasid Treasury",              variant: "Panegyrics and Elegies",              imageSrc: "http://img.b2bpic.net/free-photo/pirate-artifacts-arrangement-still-life_23-2150426415.jpg?_wi=10",              imageAlt: "Al-Mutanabbi's collection"},
            {
              id: "4",              name: "The Wine Poetry of Abu Nuwas",              price: "Abbasid Innovation",              variant: "Bacchic and Amorous Verses",              imageSrc: "http://img.b2bpic.net/free-photo/pirate-artifacts-arrangement-still-life_23-2150426415.jpg?_wi=11",              imageAlt: "Abu Nuwas manuscripts"},
            {
              id: "5",              name: "Poems of Andalusian Masters",              price: "Golden Spain",              variant: "Love and Homesickness",              imageSrc: "http://img.b2bpic.net/free-photo/courtyard-myrtles-alhambra_1139-25.jpg?_wi=4",              imageAlt: "Andalusian poetry collections"},
            {
              id: "6",              name: "Ottoman Court Poetry",              price: "Late Classical",              variant: "Imperial and Mystical",              imageSrc: "http://img.b2bpic.net/free-photo/drawings-roof-church_1122-1166.jpg?_wi=2",              imageAlt: "Ottoman court verses"},
          ]}
        />
      </div>

      {/* Poem Analysis & Commentary */}
      <div id="poem-analysis" data-section="poem-analysis">
        <BlogCardThree
          title="Poem Analysis & Scholarly Commentary"
          description="Detailed literary analysis of major poetic works with translations, contextual information, and scholarly interpretation."
          tag="Literary Criticism"
          tagIcon={BookMarked}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground={false}
          blogs={[
            {
              id: "1",              category: "Pre-Islamic Classics",              title: "The Mu'allaqat: Seven Pillars of Arabian Poetry",              excerpt: "A comprehensive analysis of the seven hanging poems with translations and cultural significance.",              imageSrc: "http://img.b2bpic.net/free-photo/pirate-artifacts-arrangement-still-life_23-2150426415.jpg?_wi=12",              imageAlt: "Ancient poetry manuscripts",              authorName: "Dr. Ahmad Al-Mansuri",              authorAvatar: "http://img.b2bpic.net/free-photo/man-teacher-wearing-glasses-checking-class-register-looking-camera-happy-pleased-smiling-cheerfully-sitting-school-desk-front-blackboard-classroom_141793-131614.jpg",              date: "Jan 14, 2025"},
            {
              id: "2",              category: "Abbasid Literature",              title: "Al-Mutanabbi's Panegyrics: Poetry of Power and Pride",              excerpt: "Explore the technical brilliance and political messaging in Al-Mutanabbi's courtly verses.",              imageSrc: "http://img.b2bpic.net/free-photo/view-ancient-paper-scroll-writing-documenting_23-2151751744.jpg?_wi=5",              imageAlt: "Classical manuscripts",              authorName: "Prof. Layla Hassan",              authorAvatar: "http://img.b2bpic.net/free-photo/ancient-books-library-table_23-2147711433.jpg",              date: "Jan 4, 2025"},
            {
              id: "3",              category: "Andalusian Poetry",              title: "The Zajal Form: Innovation and Accessibility in Medieval Spain",              excerpt: "Learn how Andalusian poets created accessible poetic forms that reached common people.",              imageSrc: "http://img.b2bpic.net/free-photo/courtyard-myrtles-alhambra_1139-25.jpg?_wi=5",              imageAlt: "Alhambra courtyard",              authorName: "Dr. Fatima Al-Cordobi",              authorAvatar: "http://img.b2bpic.net/free-photo/travelling-iran_8327-271.jpg",              date: "Dec 29, 2024"},
          ]}
        />
      </div>

      {/* Footer */}
      <div id="footer" data-section="footer">
        <FooterBase
          logoText="Arabic Poetry"
          copyrightText="© 2025 Arabic Poetry Heritage. Preserving literary traditions since antiquity."
          columns={[
            {
              title: "Explore",              items: [
                { label: "Home", href: "/" },
                { label: "Historical Eras", href: "/eras" },
                { label: "Greatest Poets", href: "/poets" },
                { label: "Masterpiece Poems", href: "/poems" },
              ],
            },
            {
              title: "Resources",              items: [
                { label: "Poetry Insights", href: "#blog" },
                { label: "FAQ", href: "/contact" },
                { label: "Scholarly Articles", href: "#" },
                { label: "Research Tools", href: "#" },
              ],
            },
            {
              title: "Connect",              items: [
                { label: "About Us", href: "/about" },
                { label: "Contact", href: "/contact" },
                { label: "Subscribe", href: "#" },
                { label: "Privacy Policy", href: "#" },
              ],
            },
          ]}
        />
      </div>
    </ThemeProvider>
  );
}