"use client";

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

export default function PoetsPage() {
  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="noise"
      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>

      {/* Poets Showcase */}
      <div id="poets-showcase" data-section="poets-showcase">
        <TeamCardOne
          title="The Greatest Arabic Poets Throughout History"
          description="Legendary voices who shaped the Arabic literary tradition across centuries and left an indelible mark on world literature. Each poet represents the pinnacle of their era."
          tag="Master Poets"
          tagIcon={Award}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground={true}
          gridVariant="three-columns-all-equal-width"
          members={[
            {
              id: "1",
              name: "Imru' al-Qais",
              role: "Pre-Islamic Era",
              imageSrc: "http://img.b2bpic.net/free-photo/medieval-historical-rendering-turkish-man_23-2151060340.jpg",
              imageAlt: "Imru' al-Qais, King of Poets",
            },
            {
              id: "2",
              name: "Al-Mutanabbi",
              role: "Abbasid Era",
              imageSrc: "http://img.b2bpic.net/free-photo/woman-religious-pilgrimage-church_23-2150582318.jpg",
              imageAlt: "Al-Mutanabbi, Master of Verse",
            },
            {
              id: "3",
              name: "Ibn Arabi",
              role: "Andalusian-Mamluk Era",
              imageSrc: "http://img.b2bpic.net/free-photo/pirate-artifacts-arrangement-still-life_23-2150426415.jpg",
              imageAlt: "Ibn Arabi, Sufi Poet",
            },
            {
              id: "4",
              name: "Hassan ibn Thabit",
              role: "Islamic Era",
              imageSrc: "http://img.b2bpic.net/free-photo/view-ancient-paper-scroll-writing-documenting_23-2151751756.jpg",
              imageAlt: "Hassan ibn Thabit, Poet of the Prophet",
            },
            {
              id: "5",
              name: "Abu Nuwas",
              role: "Abbasid Era",
              imageSrc: "http://img.b2bpic.net/free-photo/pirate-artifacts-arrangement-still-life_23-2150426415.jpg",
              imageAlt: "Abu Nuwas, Innovative Poet",
            },
            {
              id: "6",
              name: "Ibn Quzman",
              role: "Andalusian Era",
              imageSrc: "http://img.b2bpic.net/free-photo/gothic-vaults-with-bas-reliefs-stone-church-decor-historic-cathedral-art_169016-68761.jpg",
              imageAlt: "Ibn Quzman, Zajal Pioneer",
            },
          ]}
        />
      </div>

      {/* Poet Profiles & Analysis */}
      <div id="poet-profiles" data-section="poet-profiles">
        <BlogCardThree
          title="Poet Profiles & Literary Analysis"
          description="In-depth explorations of the lives, works, and legacies of Arabic poetry's most influential voices."
          tag="Biographical Resources"
          tagIcon={BookMarked}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground={false}
          blogs={[
            {
              id: "1",
              category: "Pre-Islamic Poetry",
              title: "Imru' al-Qais: The Wandering Lover and King of Poets",
              excerpt: "Discover the legendary pre-Islamic poet whose love poetry and technical mastery influenced generations.",
              imageSrc: "http://img.b2bpic.net/free-photo/shallow-focus-shot-arabian-male-traveling-horse-desert_181624-45408.jpg",
              imageAlt: "Pre-Islamic era desert",
              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 11, 2025",
            },
            {
              id: "2",
              category: "Abbasid Literature",
              title: "Al-Mutanabbi: Prophet of Poetry and Master of Panegyric",
              excerpt: "Explore the controversial genius who claimed prophethood and revolutionized courtly poetry.",
              imageSrc: "http://img.b2bpic.net/free-photo/view-ancient-paper-scroll-writing-documenting_23-2151751744.jpg",
              imageAlt: "Abbasid manuscripts",
              authorName: "Prof. Layla Hassan",
              authorAvatar: "http://img.b2bpic.net/free-photo/ancient-books-library-table_23-2147711433.jpg",
              date: "Jan 7, 2025",
            },
            {
              id: "3",
              category: "Andalusian Poetry",
              title: "Abu Nuwas: The Libertine Genius of Abbasid Excess",
              excerpt: "Learn about the poet who broke all conventions and celebrated wine, love, and freedom in unprecedented ways.",
              imageSrc: "http://img.b2bpic.net/free-photo/view-ancient-paper-scroll-writing-documenting_23-2151751744.jpg",
              imageAlt: "Classical poetry manuscripts",
              authorName: "Dr. Fatima Al-Cordobi",
              authorAvatar: "http://img.b2bpic.net/free-photo/travelling-iran_8327-271.jpg",
              date: "Jan 3, 2025",
            },
          ]}
        />
      </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>
  );
}