"use client";

import ReactLenis from "lenis/react";
import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline";
import MetricSplitMediaAbout from "@/components/sections/about/MetricSplitMediaAbout";
import TeamCardTwo from "@/components/sections/team/TeamCardTwo";
import FooterBaseReveal from "@/components/sections/footer/FooterBaseReveal";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";

export default function AboutPage() {
    const navItems = [
        { name: "Home", id: "/" },
        { name: "Services", id: "/services" },
        { name: "Pricing", id: "/pricing" },
        { name: "Contact", id: "/contact" },
    ];

    return (
        <ThemeProvider
            defaultButtonVariant="icon-arrow"
            defaultTextAnimation="entrance-slide"
            borderRadius="rounded"
            contentWidth="medium"
            sizing="medium"
            background="none"
            cardStyle="glass-elevated"
            primaryButtonStyle="shadow"
            secondaryButtonStyle="solid"
            headingFontWeight="medium"
        >
            <ReactLenis root>
                <div id="nav" data-section="nav">
                    <NavbarLayoutFloatingInline
                        navItems={navItems}
                        brandName="Coach"
                        button={{ text: "Contact", href: "/contact" }}
                    />
                </div>
                <div id="about-hero" data-section="about-hero">
                    <MetricSplitMediaAbout
                        title="Dedicated to Your Success"
                        description="With over 12 years of experience in executive and business coaching, I have dedicated my career to helping leaders like you navigate the complexities of growth."
                        metrics={[{ value: "12+", title: "Years Experience" }, { value: "500+", title: "Clients Coached" }]}
                        useInvertedBackground={false}
                        mediaAnimation="slide-up"
                        metricsAnimation="slide-up"
                    />
                </div>
                <div id="team" data-section="team">
                    <TeamCardTwo
                        title="Meet Your Coach"
                        description="Get to know the experts behind our success."
                        members={[
                            {
                                id: "1",                                name: "John Anderson",                                role: "Lead Business Strategist",                                description: "Expert in executive coaching and team alignment."
                            }
                        ]}
                        gridVariant="uniform-all-items-equal"
                        animationType="slide-up"
                        textboxLayout="default"
                        useInvertedBackground={true}
                    />
                </div>
                <FooterBaseReveal
                    logoText="Coach"
                    columns={[{ title: "Company", items: [{ label: "Home", href: "/" }, { label: "Contact", href: "/contact" }] }]}
                />
            </ReactLenis>
        </ThemeProvider>
    );
}