"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from "@/components/navbar/NavbarStyleApple/NavbarStyleApple";
import AboutMetric from "@/components/sections/about/AboutMetric";
import TeamCardEleven from "@/components/sections/team/TeamCardEleven";
import ContactCTA from "@/components/sections/contact/ContactCTA";
import FooterLogoEmphasis from "@/components/sections/footer/FooterLogoEmphasis";
import { Mail, Users, Target, Zap } from "lucide-react";

export default function AboutPage() {
  const navItems = [
    { name: "Features", id: "#features" },
    { name: "Workflow", id: "#workflow" },
    { name: "Security", id: "#security" },
    { name: "Roles", id: "#roles" },
    { name: "Contact", id: "#contact" },
  ];

  const footerColumns = [
    {
      items: [
        { label: "Features", href: "#features" },
        { label: "Workflow", href: "#workflow" },
        { label: "Security", href: "#security" },
      ],
    },
    {
      items: [
        { label: "User Roles", href: "#roles" },
        { label: "Pricing", href: "#pricing" },
        { label: "Contact", href: "#contact" },
      ],
    },
    {
      items: [
        { label: "Privacy Policy", href: "#" },
        { label: "Terms of Service", href: "#" },
        { label: "Documentation", href: "#" },
      ],
    },
    {
      items: [
        { label: "Support", href: "mailto:support@sy-refund.test" },
        { label: "Sales", href: "mailto:sales@sy-refund.test" },
        { label: "Twitter", href: "https://twitter.com" },
      ],
    },
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="bounce-effect"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="mediumSmall"
      sizing="mediumLargeSizeMediumTitles"
      background="none"
      cardStyle="layered-gradient"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple brandName="SY-Refund" navItems={navItems} />
      </div>

      <div id="about-company" data-section="about-company">
        <AboutMetric
          title="Why SY-Refund: Transforming Airline Refund Management Through Innovation and Trust"
          metrics={[
            {
              icon: Users,
              label: "Travel Agencies",              value: "500+"},
            {
              icon: Target,
              label: "Refunds Processed",              value: "100K+"},
            {
              icon: Zap,
              label: "Processing Speed",              value: "70% Faster"},
            {
              icon: Mail,
              label: "Support Response",              value: "24/7 Available"},
          ]}
          metricsAnimation="slide-up"
          useInvertedBackground={false}
        />
      </div>

      <div id="leadership" data-section="leadership">
        <TeamCardEleven
          title="Leadership & Expertise"
          description="Our team brings decades of combined experience in airline operations, financial systems, and software development."
          groups={[
            {
              id: "leadership-group",              groupTitle: "Executive Team",              members: [
                {
                  id: "1",                  title: "Ahmed Al-Rashid",                  subtitle: "CEO & Founder",                  detail: "ahmed@sy-refund.test",                  imageSrc:
                    "http://img.b2bpic.net/free-photo/businesspeople-working-as-team_1098-803.jpg",                  imageAlt: "Ahmed Al-Rashid CEO"},
                {
                  id: "2",                  title: "Fatima Al-Hassan",                  subtitle: "Chief Technology Officer",                  detail: "fatima@sy-refund.test",                  imageSrc:
                    "http://img.b2bpic.net/free-photo/businesspeople-working-as-team_1098-803.jpg",                  imageAlt: "Fatima Al-Hassan CTO"},
                {
                  id: "3",                  title: "Mohammad Karim",                  subtitle: "Chief Financial Officer",                  detail: "mohammad@sy-refund.test",                  imageSrc:
                    "http://img.b2bpic.net/free-photo/businesspeople-working-as-team_1098-803.jpg",                  imageAlt: "Mohammad Karim CFO"},
              ],
            },
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="about-cta" data-section="about-cta">
        <ContactCTA
          tag="Let's Connect"
          tagIcon={Mail}
          title="Interested in Learning More About SY-Refund?"
          description="Our team is committed to helping airlines modernize their refund processes. Reach out to discuss your organization's unique needs and how SY-Refund can deliver value."
          buttons={[
            { text: "Schedule Consultation", href: "mailto:sales@sy-refund.test" },
            { text: "Request Case Study", href: "mailto:demo@sy-refund.test" },
          ]}
          background={{ variant: "plain" }}
          useInvertedBackground={false}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterLogoEmphasis
          logoText="SY-Refund"
          columns={footerColumns}
        />
      </div>
    </ThemeProvider>
  );
}