"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered";
import AboutMetric from "@/components/sections/about/AboutMetric";
import TestimonialCardThirteen from "@/components/sections/testimonial/TestimonialCardThirteen";
import ContactText from "@/components/sections/contact/ContactText";
import FooterMedia from "@/components/sections/footer/FooterMedia";
import Link from "next/link";
import { Users, TrendingUp, Award, Target, Heart } from "lucide-react";

export default function AboutPage() {
  const navItems = [
    { name: "Home", id: "/" },
    { name: "Start Here", id: "/start-here" },
    { name: "Challenge", id: "/7-day-challenge" },
    { name: "About", id: "/about" },
    { name: "Contact", id: "/contact" },
  ];

  const footerColumns = [
    {
      title: "Platform",
      items: [
        { label: "Start Here", href: "/start-here" },
        { label: "7-Day Challenge", href: "/7-day-challenge" },
        { label: "Blog", href: "/blog" },
        { label: "Resources", href: "/resources" },
      ],
    },
    {
      title: "Community",
      items: [
        { label: "Discord", href: "https://discord.com" },
        { label: "Twitter", href: "https://twitter.com" },
        { label: "YouTube", href: "https://youtube.com" },
        { label: "Newsletter", href: "/7-day-challenge" },
      ],
    },
    {
      title: "Company",
      items: [
        { label: "About", href: "/about" },
        { label: "Contact", href: "/contact" },
        { label: "Privacy Policy", href: "#" },
        { label: "Terms of Service", href: "#" },
      ],
    },
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="hover-bubble"
      defaultTextAnimation="reveal-blur"
      borderRadius="rounded"
      contentWidth="mediumSmall"
      sizing="medium"
      background="aurora"
      cardStyle="soft-shadow"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          navItems={navItems}
          button={{ text: "Join The List", href: "/7-day-challenge" }}
          brandName="Peak Mindset"
        />
      </div>

      <div id="about-mission" data-section="about-mission">
        <AboutMetric
          title="Peak Mindset is a movement dedicated to building disciplined individuals who refuse to settle for average. We believe the world is distracted, mediocrity is normalized, and real change happens through systems, not motivation."
          metrics={[
            { icon: Users, label: "Community Members", value: "10,000+" },
            { icon: TrendingUp, label: "Consistency Rate", value: "87%" },
            { icon: Award, label: "Transformation Stories", value: "2,847" },
            { icon: Target, label: "Goals Achieved", value: "15K+" },
          ]}
          useInvertedBackground={false}
        />
      </div>

      <div id="about-testimonials" data-section="about-testimonials">
        <TestimonialCardThirteen
          title="Why Builders Choose Peak Mindset"
          description="Real stories from community members who transformed their lives."
          tag="Community Impact"
          tagIcon={Heart}
          showRating={true}
          testimonials={[
            {
              id: "1",
              name: "James Martinez",
              handle: "@jm_builds",
              testimonial: "Peak Mindset changed my entire approach to productivity. I went from 2 hours of deep work daily to 6 hours. The framework is simple but powerful.",
              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/business-colleagues-giving-high-five_74855-1134.jpg?_wi=5",
              imageAlt: "success transformation before-after achievement proud",
            },
            {
              id: "2",
              name: "Sarah Chen",
              handle: "@sarah.discipline",
              testimonial: "The 7-day challenge was the kick I needed. Three months later, I've built a morning routine that sticks and my income doubled.",
              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/friends-fitness-training-together-outdoors-living-active-healthy_1328-2963.jpg?_wi=5",
              imageAlt: "confidence strength discipline mindset growth",
            },
            {
              id: "3",
              name: "David Thompson",
              handle: "@davidthmp",
              testimonial: "Not motivational fluff. Pure, actionable discipline principles. This community holds you accountable in the best way possible.",
              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/portrait-happy-woman-coffee-shop-celebrating-success-with-her-hands-up_1163-1788.jpg?_wi=3",
              imageAlt: "success habits routine winning dedication",
            },
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
        />
      </div>

      <div id="about-cta" data-section="about-cta">
        <ContactText
          text="Peak Mindset isn't just another platform. It's a movement for serious builders ready to commit to discipline and excellence. Join us and prove that discipline beats motivation every single time."
          animationType="reveal-blur"
          background={{ variant: "aurora" }}
          buttons={[
            { text: "Join The Community", href: "/7-day-challenge" },
            { text: "Start Here", href: "/start-here" },
          ]}
          useInvertedBackground={false}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterMedia
          imageSrc="http://img.b2bpic.net/free-photo/business-executives-with-hand-stacked_1170-1782.jpg?_wi=4"
          imageAlt="Peak Mindset Community"
          columns={footerColumns}
          logoText="Peak Mindset"
          copyrightText="© 2025 Peak Mindset | Discipline Over Motivation"
        />
      </div>
    </ThemeProvider>
  );
}