"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleMinimal from '@/components/navbar/NavbarStyleMinimal';
import InlineImageSplitTextAbout from '@/components/sections/about/InlineImageSplitTextAbout';
import MetricCardEleven from '@/components/sections/metrics/MetricCardEleven';
import FooterBase from '@/components/sections/footer/FooterBase';
import { TrendingUp } from 'lucide-react';

export default function AboutPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="background-highlight"
      borderRadius="soft"
      contentWidth="compact"
      sizing="mediumLargeSizeMediumTitles"
      background="none"
      cardStyle="gradient-radial"
      primaryButtonStyle="primary-glow"
      secondaryButtonStyle="solid"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleMinimal 
          brandName="LuxeEstate"
          button={{
            text: "View Properties",
            href: "/properties"
          }}
          className="backdrop-blur-md bg-white/80 border-b border-gray-200"
          buttonClassName="bg-black text-white hover:bg-gray-900 transition-all duration-300"
          buttonTextClassName="font-semibold text-sm tracking-wide"
        />
      </div>

      <div id="about" data-section="about">
        <InlineImageSplitTextAbout
          heading={[
            {
              type: "text",
              content: "Your Trusted Partner in"
            },
            {
              type: "image",
              src: "https://img.b2bpic.net/free-photo/close-up-young-business-team-working_23-2149153838.jpg",
              alt: "LuxeEstate"
            },
            {
              type: "text",
              content: "Dubai Real Estate"
            }
          ]}
          useInvertedBackground="noInvert"
          buttons={[
            {
              text: "Learn More",
              href: "/properties"
            },
            {
              text: "Contact Us",
              href: "/contact"
            }
          ]}
          containerClassName="py-20"
          headingClassName="text-4xl md:text-5xl font-bold mb-8"
          imageWrapperClassName="inline-flex items-center justify-center mx-2 backdrop-blur-md bg-white/30 border border-white/20 rounded-lg p-4 hover:bg-white/40 transition-all"
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardEleven
          title="Our Track Record"
          description="Proven excellence in Dubai's luxury real estate market"
          tag="By The Numbers"
          tagIcon={TrendingUp}
          metrics={[
            {
              id: "1",
              value: "500+",
              title: "Properties Sold",
              description: "Successful transactions worth billions",
              imageSrc: "https://img.b2bpic.net/free-vector/business-infographic-template-with-photo_23-2148234010.jpg",
              imageAlt: "Properties Sold"
            },
            {
              id: "2",
              value: "15+",
              title: "Years Experience",
              description: "Trusted by Dubai's elite investors",
              imageSrc: "https://img.b2bpic.net/free-vector/business-infographic-template-with-photo_23-2148234010.jpg",
              imageAlt: "Experience"
            }
          ]}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="invertDefault"
          containerClassName="py-20"
          cardClassName="backdrop-blur-md bg-white/40 border border-white/20 rounded-xl p-8 hover:bg-white/50 transition-all"
        />
      </div>

      <FooterBase
        logoText="LuxeEstate"
        columns={[
          {
            title: "Properties",
            items: [
              { label: "Buy", href: "/properties" },
              { label: "Rent", href: "/properties" },
              { label: "Commercial", href: "/properties" }
            ]
          },
          {
            title: "Company",
            items: [
              { label: "About Us", href: "/about" },
              { label: "Contact", href: "/contact" },
              { label: "Careers", href: "#" }
            ]
          },
          {
            title: "Legal",
            items: [
              { label: "Privacy Policy", href: "#" },
              { label: "Terms of Service", href: "#" }
            ]
          }
        ]}
        copyrightText="© 2025 LuxeEstate. All rights reserved."
        containerClassName="backdrop-blur-md bg-black/80 text-white border-t border-white/10"
        logoTextClassName="text-2xl font-bold text-white hover:text-gray-300 transition-colors"
      />
    </ThemeProvider>
  );
}