"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import InlineImageSplitTextAbout from '@/components/sections/about/InlineImageSplitTextAbout';
import TeamCardSix from '@/components/sections/team/TeamCardSix';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
import { Users } from 'lucide-react';

export default function AboutPage() {
  const navItems = [
    { name: "Home", id: "/" },
    { name: "Features", id: "/features" },
    { name: "About", id: "/about" },
    { name: "Contact", id: "/contact" },
    { name: "Sign In", id: "https://tutorly.example.com/signin" }
  ];

  const teamMembers = [
    {
      id: "1",
      name: "Sarah Johnson",
      role: "Math & Science Specialist",
      imageSrc: "https://img.b2bpic.net/free-photo/close-up-young-business-person-doing-internship_23-2149305396.jpg",
      imageAlt: "Sarah Johnson, Math Tutor"
    },
    {
      id: "2",
      name: "Michael Chen", 
      role: "Language Arts Expert",
      imageSrc: "https://img.b2bpic.net/free-photo/medium-shot-smiley-woman-library_23-2149204753.jpg",
      imageAlt: "Michael Chen, English Tutor"
    },
    {
      id: "3",
      name: "Emily Rodriguez",
      role: "Test Prep Coach", 
      imageSrc: "https://img.b2bpic.net/free-photo/mature-business-manager-office_1098-21368.jpg",
      imageAlt: "Emily Rodriguez, Test Prep Coach"
    },
    {
      id: "4",
      name: "David Kim",
      role: "Computer Science Mentor",
      imageSrc: "https://img.b2bpic.net/free-photo/smiley-teacher-holding-tablet_23-2148668619.jpg",
      imageAlt: "David Kim, CS Tutor"
    }
  ];

  const aboutHeading = [
    { type: "text", content: "Empowering education through" },
    { type: "text", content: "personalized learning experiences" }
  ];

  const footerColumns = [
    {
      title: "Product",
      items: [
        { label: "Find Tutors", href: "/" },
        { label: "Become a Tutor", href: "/features" },
        { label: "Pricing", href: "/features" },
        { label: "How It Works", href: "/about" }
      ]
    },
    {
      title: "Company", 
      items: [
        { label: "About Us", href: "/about" },
        { label: "Blog", href: "/" },
        { label: "Careers", href: "/" },
        { label: "Press", href: "/" }
      ]
    },
    {
      title: "Support",
      items: [
        { label: "Help Center", href: "/contact" },
        { label: "Contact Us", href: "/contact" },
        { label: "Terms of Service", href: "/" },
        { label: "Privacy Policy", href: "/" }
      ]
    }
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="elastic-effect"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="mediumSmall"
      sizing="medium"
      background="radialGradient"
      cardStyle="gradient-bordered"
      primaryButtonStyle="primary-glow"
      secondaryButtonStyle="layered"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen 
          navItems={navItems}
          brandName="Tutorly"
          bottomLeftText="Join our learning community"
          bottomRightText="hello@tutorly.com"
        />
      </div>

      <div id="about" data-section="about">
        <InlineImageSplitTextAbout
          heading={aboutHeading}
          useInvertedBackground="noInvert"
          buttons={[
            { text: "Learn More", href: "/features" }
          ]}
        />
      </div>

      <div id="team" data-section="team">
        <TeamCardSix
          title="Meet Our Expert Tutors"
          description="A diverse team of qualified educators committed to student success."
          tag="Team"
          tagIcon={Users}
          members={teamMembers}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseReveal
          columns={footerColumns}
          copyrightText="© 2025 Tutorly. All rights reserved."
        />
      </div>
    </ThemeProvider>
  );
}