"use client";

import Link from "next/link";
import { Home, Users, TrendingUp, Award } from "lucide-react";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import InlineImageSplitTextAbout from '@/components/sections/about/InlineImageSplitTextAbout';
import FeatureCardNine from '@/components/sections/feature/FeatureCardNine';
import MetricCardThree from '@/components/sections/metrics/MetricCardThree';
import FooterBase from '@/components/sections/footer/FooterBase';

export default function AboutPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-bubble"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="mediumSmall"
      sizing="largeSmallSizeMediumTitles"
      background="circleGradient"
      cardStyle="glass-elevated"
      primaryButtonStyle="primary-glow"
      secondaryButtonStyle="solid"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline 
          brandName="Luxe Dubai"
          navItems={[
            { name: "Properties", id: "/properties" },
            { name: "About", id: "/about" },
            { name: "Services", id: "/services" },
            { name: "Contact", id: "/contact" }
          ]}
          button={{
            text: "Schedule Viewing",
            href: "/contact"
          }}
          className="backdrop-blur-lg bg-white/80 border border-white/20"
          navItemClassName="text-foreground hover:text-primary-cta transition-colors"
          buttonClassName="bg-foreground text-white hover:bg-primary-cta"
          buttonTextClassName="font-semibold"
        />
      </div>

      <div id="about" data-section="about" className="pt-32">
        <InlineImageSplitTextAbout 
          heading={[
            { type: "text", content: "Trusted Real Estate Partner" },
            { type: "text", content: "in Dubai Since 2015" }
          ]}
          useInvertedBackground="noInvert"
          buttons={[
            { text: "Our Story", href: "/about" },
            { text: "Meet Our Team", href: "/contact" }
          ]}
          headingClassName="text-foreground font-light text-5xl md:text-6xl"
          containerClassName="py-20 px-6"
          buttonClassName="bg-foreground text-white hover:bg-black/80 rounded-full font-light"
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardNine 
          features={[
            {
              id: 1,
              title: "Prime Investment Opportunities",
              description: "Access exclusive properties with proven ROI in Dubai's most sought-after locations including Downtown, Marina, and Palm Jumeirah.",
              phoneOne: { imageSrc: "https://img.b2bpic.net/free-photo/real-estate-mortgage-loan-concept_53876-125138.jpg" },
              phoneTwo: { imageSrc: "https://img.b2bpic.net/free-photo/contemporary-living-room_1150-12613.jpg" }
            },
            {
              id: 2,
              title: "Strategic Location Expertise",
              description: "Our team understands Dubai's real estate market intimately, helping you find properties that match your lifestyle and investment goals.",
              phoneOne: { imageSrc: "https://img.b2bpic.net/free-photo/shanghai-aerial-day_649448-3680.jpg" },
              phoneTwo: { imageSrc: "https://img.b2bpic.net/free-photo/luxury-architecture-exterior-design_23-2151920926.jpg" }
            }
          ]}
          showStepNumbers={true}
          title="Why Choose Luxe Dubai"
          description="Experience premium real estate services with our expert team"
          tag="Our Services"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          containerClassName="bg-white"
          textBoxTitleClassName="text-foreground font-light text-4xl"
          textBoxDescriptionClassName="text-foreground/70 font-light text-lg"
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardThree 
          title="Market Performance"
          description="Our track record speaks for itself"
          metrics={[
            { id: "1", icon: Home, title: "Properties Sold", value: "500+" },
            { id: "2", icon: Users, title: "Happy Clients", value: "1,200+" },
            { id: "3", icon: TrendingUp, title: "Market Growth", value: "35%" },
            { id: "4", icon: Award, title: "Years Experience", value: "9+" }
          ]}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="slide-up"
          cardClassName="backdrop-blur-lg bg-white/10 border border-white/20 rounded-2xl p-8"
          valueClassName="text-foreground font-light text-5xl"
          metricTitleClassName="text-foreground/80 font-light text-sm uppercase tracking-wider"
        />
      </div>

      <FooterBase 
        logoText="Luxe Dubai"
        copyrightText="© 2025 Luxe Dubai Real Estate. All rights reserved."
        columns={[
          {
            title: "Properties",
            items: [
              { label: "Buy", href: "/properties" },
              { label: "Rent", href: "/properties" },
              { label: "Invest", href: "/properties" }
            ]
          },
          {
            title: "Company",
            items: [
              { label: "About Us", href: "/about" },
              { label: "Our Team", href: "/about" },
              { label: "Careers", href: "/about" }
            ]
          },
          {
            title: "Contact",
            items: [
              { label: "Email: info@luxedubai.ae", href: "/contact" },
              { label: "Phone: +971 4 XXX XXXX", href: "/contact" },
              { label: "Dubai, UAE", href: "/contact" }
            ]
          }
        ]}
        containerClassName="bg-foreground text-white py-16"
        logoTextClassName="text-white font-light text-2xl"
        columnTitleClassName="text-white font-light text-lg mb-4"
        columnItemClassName="text-white/70 hover:text-white font-light transition-colors"
        copyrightTextClassName="text-white/50 font-light"
      />
    </ThemeProvider>
  );
}