"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import FooterBase from '@/components/sections/footer/FooterBase';
import TextAbout from '@/components/sections/about/TextAbout';
import MetricCardOne from '@/components/sections/metrics/MetricCardOne';
import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne';
import { Sparkles, Users, Calendar, Code, Heart, MessageSquare } from "lucide-react";

const navItems = [
  { name: "Home", id: "/" },
  { name: "About", id: "/about" },
  { name: "Contact", id: "/contact" },
];

const footerColumns = [
    {
        title: "Explore",
        items: [
            { label: "Home", href: "/" },
            { label: "About", href: "/about" },
            { label: "Contact", href: "/contact" },
        ],
    },
    {
        title: "Connect",
        items: [
            { label: "Discord Server", href: "#" },
            { label: "LinkedIn Group", href: "#" },
            { label: "Instagram", href: "#" },
            { label: "YouTube Channel", href: "#" },
        ],
    },
];

export default function AboutPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="directional-hover"
      defaultTextAnimation="background-highlight"
      borderRadius="rounded"
      contentWidth="small"
      sizing="medium"
      background="noise"
      cardStyle="subtle-shadow"
      primaryButtonStyle="shadow"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          navItems={navItems}
          button={{ text: "Join Us", href: "/contact" }}
          brandName="TechClub"
        />
      </div>

      <div id="about-section" data-section="about-section">
        <TextAbout
          tag="About Us"
          tagIcon={Sparkles}
          tagAnimation="slide-up"
          title="Empowering the Next Generation of Tech Innovators"
          buttons={[{ text: "Join Our Community", href: "/contact" }, { text: "Explore Events", href: "/about" }]}
          buttonAnimation="blur-reveal"
          useInvertedBackground={true}
        />
      </div>

      <div id="metrics-section" data-section="metrics-section">
        <MetricCardOne
            title="Our Club Impact"
            description="See how our computer club is making a difference in the tech community and student engagement."
            gridVariant="bento-grid"
            animationType="slide-up"
            textboxLayout="inline-image"
            useInvertedBackground={true}
            metrics={[
                { id: "members", value: "250+", title: "Active Members", description: "Students passionate about technology and innovation", icon: Users },
                { id: "events", value: "50+", title: "Events Hosted", description: "Workshops, hackathons, and tech meetups", icon: Calendar },
                { id: "projects", value: "30+", title: "Projects Completed", description: "From apps to robotics, we build it all", icon: Code },
                { id: "mentorship", value: "100%", title: "Mentorship Program", description: "Peer-to-peer learning and guidance", icon: Heart }
            ]}
        />
      </div>
      
      <div id="testimonials-section" data-section="testimonials-section">
        <TestimonialCardOne
          testimonials={[
            { id: "testimonial-1", name: "Alex Morgan", role: "Club Member", company: "Tech Enthusiast", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/cute-young-woman-student-business-lady-showing-thumbs-up-well-done-sitting-outdoor-cafe-terrace-with-laptop-wearing-pink-smart-clothes_197531-3122.jpg?_wi=2", imageAlt: "Alex Morgan, Club Member" },
            { id: "testimonial-2", name: "Jamie Chen", role: "Event Organizer", company: "Computer Science Student", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/colleagues-clapping-hands-celebrating-successful-presentation-boardroom-team-business-people-receiving-applause-from-coworkers-feeling-satisfied-about-success-accomplishment_482257-29947.jpg?_wi=2", imageAlt: "Jamie Chen, Event Organizer" },
            { id: "testimonial-3", name: "Taylor Kim", role: "Resource Contributor", company: "Software Developer", rating: 4, imageSrc: "http://img.b2bpic.net/free-photo/side-view-friends-winning-videogame_23-2149349984.jpg?_wi=2", imageAlt: "Taylor Kim, Resource Contributor" }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          title="What Our Members Say"
          description="Hear from our active members about their experiences and the value they've gained from being part of our computer club."
          tag="Community Voices"
          tagIcon={MessageSquare}
          tagAnimation="blur-reveal"
          buttons={[{ text: "View All Reviews", href: "#" }]}
          buttonAnimation="opacity"
          textboxLayout="default"
          useInvertedBackground={true}
        />
      </div>

      <div id="footer-section" data-section="footer-section">
        <FooterBase
            columns={footerColumns}
            logoText="TechClub Hub"
            copyrightText="© 2025 TechClub Hub | Empowering Students Through Technology"
            ariaLabel="Site footer"
        />
      </div>
    </ThemeProvider>
  );
}