"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import TeamCardTwo from '@/components/sections/team/TeamCardTwo';
import FooterCard from '@/components/sections/footer/FooterCard';
import Link from 'next/link';
import { Users, Linkedin, Twitter, Globe, Github, Mail } from 'lucide-react';

export default function TeamPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="directional-hover"
      defaultTextAnimation="background-highlight"
      borderRadius="rounded"
      contentWidth="small"
      sizing="mediumSizeLargeTitles"
      background="plain"
      cardStyle="glass-elevated"
      primaryButtonStyle="flat"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="NEXUS Miami"
          navItems={[
            { name: "Home", id: "/" },
            { name: "About", id: "/about" },
            { name: "Services", id: "/services" },
            { name: "Team", id: "/team" },
            { name: "Contact", id: "/contact" }
          ]}
          button={{ text: "Get Started", href: "/contact" }}
          className="backdrop-blur-sm bg-background/50 border border-accent/20"
        />
      </div>

      <div id="team" data-section="team" className="py-24">
        <div className="mx-auto px-4 md:px-6">
          <TeamCardTwo
            title="Meet Your Strategic Partners"
            description="Elite professionals dedicated to your brand's transformation."
            tag="Leadership"
            tagIcon={Users}
            members={[
              {
                id: "1",
                name: "Alexandra Rivera",
                role: "Chief Strategy Officer",
                description: "Former VP of Marketing at TechCorp. 15+ years driving global brand transformations.",
                imageSrc: "https://img.b2bpic.net/free-photo/positive-confident-businessman-posing-outside_74855-1183.jpg",
                imageAlt: "Alexandra Rivera",
                socialLinks: [
                  { icon: Linkedin, url: "https://linkedin.com" },
                  { icon: Twitter, url: "https://twitter.com" }
                ]
              },
              {
                id: "2",
                name: "Marcus Chen",
                role: "Creative Director",
                description: "Award-winning designer. Led creative teams at major agencies. Passionate about innovation.",
                imageSrc: "https://img.b2bpic.net/free-photo/positive-middle-aged-business-leader-window_1262-5388.jpg",
                imageAlt: "Marcus Chen",
                socialLinks: [
                  { icon: Linkedin, url: "https://linkedin.com" },
                  { icon: Globe, url: "https://portfolio.com" }
                ]
              },
              {
                id: "3",
                name: "Sofia Andersen",
                role: "Chief Technology Officer",
                description: "Data scientist & tech entrepreneur. Built marketing tech platforms for Fortune 500s.",
                imageSrc: "https://img.b2bpic.net/free-photo/serene-businessman-with-glasses_1098-719.jpg",
                imageAlt: "Sofia Andersen",
                socialLinks: [
                  { icon: Linkedin, url: "https://linkedin.com" },
                  { icon: Github, url: "https://github.com" }
                ]
              },
              {
                id: "4",
                name: "James Mitchell",
                role: "Client Success Lead",
                description: "10+ years in agency account management. Focused on building long-term partnerships.",
                imageSrc: "https://img.b2bpic.net/free-photo/close-up-businessman-with-tie_1098-2867.jpg",
                imageAlt: "James Mitchell",
                socialLinks: [
                  { icon: Linkedin, url: "https://linkedin.com" },
                  { icon: Mail, url: "mailto:james@nexusmiami.com" }
                ]
              }
            ]}
            gridVariant="uniform-all-items-equal"
            animationType="blur-reveal"
            textboxLayout="default"
            useInvertedBackground="invertDefault"
          />
        </div>
      </div>

      <div id="footer" data-section="footer" className="border-t border-accent/20">
        <FooterCard
          logoText="NEXUS"
          copyrightText="© 2025 NEXUS Miami Marketing Agency. All rights reserved."
          socialLinks={[
            { icon: Twitter, href: "https://twitter.com/nexusmiami", ariaLabel: "Twitter" },
            { icon: Linkedin, href: "https://linkedin.com/company/nexusmiami", ariaLabel: "LinkedIn" },
            { icon: Instagram, href: "https://instagram.com/nexusmiami", ariaLabel: "Instagram" },
            { icon: Mail, href: "mailto:hello@nexusmiami.com", ariaLabel: "Email" }
          ]}
          className="border-t border-accent/20"
        />
      </div>
    </ThemeProvider>
  );
}