"use client";

import ReactLenis from "lenis/react";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay";
import TeamCardEleven from "@/components/sections/team/TeamCardEleven";
import FooterBase from "@/components/sections/footer/FooterBase";

export default function TeamPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="medium"
      sizing="medium"
      background="none"
      cardStyle="glass-elevated"
      primaryButtonStyle="metallic"
      secondaryButtonStyle="glass"
      headingFontWeight="medium"
    >
      <ReactLenis root>
        <NavbarLayoutFloatingOverlay
          brandName="Webild"
          navItems={[
            { name: "Home", id: "/" },
            { name: "Work", id: "/#work" },
            { name: "Services", id: "/#services" },
            { name: "About", id: "/about" },
            { name: "Team", id: "/team" },
            { name: "Contact", id: "/#contact" }
          ]}
          button={{ text: "Get Started", href: "/#contact" }}
        />
        <TeamCardEleven
          title="Meet Our Visionaries"
          description="A collective of passionate designers, developers, and strategists, united by a shared goal: to build outstanding digital products."
          textboxLayout="default"
          useInvertedBackground={false}
          animationType="slide-up"
          groups={[
            {
              id: "leadership",              groupTitle: "Leadership",              members: [
                { id: "sarah", title: "Sarah Miller", subtitle: "CEO", detail: "Driving the vision and strategy of Webild.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/templates/web-agency-2/team-1.webp", imageAlt: "Sarah Miller" },
                { id: "valentina", title: "Valentina Reyes", subtitle: "Creative Director", detail: "Mastering the art of visual storytelling and brand identity.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/templates/web-agency-2/team-2.webp", imageAlt: "Valentina Reyes" },
                { id: "carlos", title: "Carlos Mendoza", subtitle: "CTO", detail: "Leading the technological advancements and innovative solutions.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/templates/web-agency-2/team-3.webp", imageAlt: "Carlos Mendoza" }
              ]
            },
            {
              id: "design",              groupTitle: "Design Team",              members: [
                { id: "emily", title: "Emily Chen", subtitle: "Lead UI/UX Designer", detail: "Crafting intuitive and engaging user experiences.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/templates/web-agency-2/team-2.webp", imageAlt: "Emily Chen" },
                { id: "david", title: "David Lee", subtitle: "Senior Graphic Designer", detail: "Bringing brands to life with stunning visuals.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/templates/web-agency-2/team-3.webp", imageAlt: "David Lee" }
              ]
            },
            {
              id: "development",              groupTitle: "Development Team",              members: [
                { id: "james", title: "James Wilson", subtitle: "Lead Backend Developer", detail: "Building robust and scalable server-side applications.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/templates/web-agency-2/team-1.webp", imageAlt: "James Wilson" },
                { id: "olivia", title: "Olivia White", subtitle: "Frontend Developer", detail: "Developing seamless and responsive user interfaces.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/templates/web-agency-2/team-2.webp", imageAlt: "Olivia White" },
                { id: "michael", title: "Michael Brown", subtitle: "QA Engineer", detail: "Ensuring top-notch quality and bug-free delivery.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/templates/web-agency-2/team-3.webp", imageAlt: "Michael Brown" }
              ]
            }
          ]}
        />
        <FooterBase
          logoText="Webild"
          copyrightText="© 2026 | Webild"
          columns={[
            {
              title: "Company",              items: [
                { label: "About", href: "/about" },
                { label: "Services", href: "/#services" },
                { label: "Work", href: "/#work" },
                { label: "Contact", href: "/#contact" },
              ],
            },
            {
              title: "Services",              items: [
                { label: "Web Development", href: "/#services" },
                { label: "SEO", href: "/#services" },
                { label: "Branding", href: "/#services" },
                { label: "UI/UX Design", href: "/#services" },
              ],
            },
            {
              title: "Connect",              items: [
                { label: "Twitter", href: "#" },
                { label: "LinkedIn", href: "#" },
                { label: "Instagram", href: "#" },
                { label: "Dribbble", href: "#" },
              ],
            },
          ]}
        />
      </ReactLenis>
    </ThemeProvider>
  );
}