"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import MediaSplitTabsAbout from '@/components/sections/about/MediaSplitTabsAbout';
import MetricCardThree from '@/components/sections/metrics/MetricCardThree';
import FooterCard from '@/components/sections/footer/FooterCard';
import Link from 'next/link';
import { Target, Users, DollarSign, Award, TrendingUp, Twitter, Linkedin, Instagram, Mail } from 'lucide-react';

export default function AboutPage() {
  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="about" data-section="about" className="py-24">
        <div className="mx-auto px-4 md:px-6">
          <MediaSplitTabsAbout
            title="Why Leading Brands Choose NEXUS"
            description="We're not just another agency. We're strategic partners obsessed with your success."
            tabs={[
              {
                id: "innovation",
                label: "Innovation First",
                description: "We leverage AI-powered analytics, predictive modeling, and emerging platforms to keep your brand ahead of the curve. Our proprietary technology stack ensures every campaign operates at peak efficiency."
              },
              {
                id: "expertise",
                label: "Deep Expertise",
                description: "15+ years of collective experience across tech, e-commerce, hospitality, and finance. Our team includes former executives from Fortune 500 companies and successful startup founders."
              },
              {
                id: "results",
                label: "Proven Results",
                description: "Average client ROI improvement of 300%. We measure everything. Every strategy is backed by data, tested rigorously, and optimized continuously for maximum impact."
              }
            ]}
            imageSrc="https://img.b2bpic.net/free-photo/happy-young-colleagues-office-coworking_171337-17719.jpg"
            imageAlt="Team collaboration and strategy session"
            imagePosition="right"
            useInvertedBackground="noInvert"
            className="py-24"
          />
        </div>
      </div>

      <div id="metrics" data-section="metrics" className="py-24 bg-gradient-to-b from-background-accent/10 to-transparent">
        <div className="mx-auto px-4 md:px-6">
          <MetricCardThree
            title="Our Impact by the Numbers"
            description="Real results from real partnerships. These numbers represent the transformation we deliver."
            tag="Performance"
            tagIcon={TrendingUp}
            metrics={[
              { id: "1", icon: Target, title: "Conversions", value: "+847%" },
              { id: "2", icon: Users, title: "Audience Growth", value: "2.4M+" },
              { id: "3", icon: DollarSign, title: "Revenue Impact", value: "$500M+" },
              { id: "4", icon: Award, title: "Awards Won", value: "47" }
            ]}
            animationType="scale-rotate"
            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>
  );
}