"use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import FeatureCardThree from '@/components/sections/feature/featureCardThree/FeatureCardThree';
import MetricCardTwo from '@/components/sections/metrics/MetricCardTwo';
import FaqDouble from '@/components/sections/faq/FaqDouble';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import { Star, TrendingUp, HelpCircle } from "lucide-react";

export default function AboutPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="directional-hover"
      defaultTextAnimation="background-highlight"
      borderRadius="pill"
      contentWidth="smallMedium"
      sizing="mediumLargeSizeLargeTitles"
      background="radialGradient"
      cardStyle="solid"
      primaryButtonStyle="radial-glow"
      secondaryButtonStyle="solid"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          brandName="Luxe Properties"
          navItems={[
            { name: "Home", id: "/" },
            { name: "Properties", id: "/properties" },
            { name: "About", id: "/about" },
            { name: "Contact", id: "/contact" }
          ]}
          button={{ text: "Schedule Tour", href: "/contact" }}
        />
      </div>

      <div id="about-features" data-section="about-features">
        <FeatureCardThree
          title="Why Choose Luxe Properties"
          description="We offer unparalleled expertise and dedicated service to make your real estate journey seamless"
          tag="Our Advantages"
          tagIcon={Star}
          textboxLayout="default"
          animationType="slide-up"
          gridVariant="uniform-all-items-equal"
          useInvertedBackground="noInvert"
          features={[
            {
              id: "01",
              title: "Expert Local Knowledge",
              description: "20+ years of experience in Dubai's real estate market with deep insights into neighborhoods, market trends, and investment opportunities",
              imageSrc: "https://img.b2bpic.net/free-photo/side-view-real-estate-agent-holding-tablet_23-2150225239.jpg",
              imageAlt: "customer service experience real-estate professional team"
            },
            {
              id: "02",
              title: "Extensive Portfolio",
              description: "Access to exclusive listings and handpicked properties across all major Dubai developments and premium locations",
              imageSrc: "https://img.b2bpic.net/free-photo/happy-financial-advisor-talking-couple-while-having-meeting-their-home_637285-3928.jpg",
              imageAlt: "portfolio properties real-estate collection luxury showcase"
            },
            {
              id: "03",
              title: "Smart Investment Strategy",
              description: "Personalized investment guidance helping you identify properties with strong appreciation potential and rental yields",
              imageSrc: "https://img.b2bpic.net/free-photo/female-car-dealer-giving-keys-young-couple_23-2148384953.jpg",
              imageAlt: "investment financial real-estate growth profit business"
            },
            {
              id: "04",
              title: "Seamless Transaction",
              description: "Complete support from property search to legal documentation, financing, and handover with zero hassle",
              imageSrc: "https://img.b2bpic.net/free-photo/lifestyle-people-office_23-2149173721.jpg",
              imageAlt: "real-estate office team workspace professional meeting"
            }
          ]}
        />
      </div>

      <div id="track-record" data-section="track-record">
        <MetricCardTwo
          title="Our Track Record"
          description="Proven success in Dubai's competitive real estate market"
          tag="By The Numbers"
          tagIcon={TrendingUp}
          textboxLayout="default"
          animationType="slide-up"
          gridVariant="uniform-all-items-equal"
          useInvertedBackground="invertDefault"
          metrics={[
            { id: "1", value: "2,500+", description: "Successful Transactions" },
            { id: "2", value: "AED 15B+", description: "Properties Transacted" },
            { id: "3", value: "98%", description: "Client Satisfaction Rate" },
            { id: "4", value: "24/7", description: "Dedicated Support" }
          ]}
        />
      </div>

      <div id="faq-section" data-section="faq-section">
        <FaqDouble
          title="Investment & Market Questions"
          description="Detailed answers about Dubai real estate investment and market conditions"
          tag="Investment FAQ"
          tagIcon={HelpCircle}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="smooth"
          faqs={[
            {
              id: "1",
              title: "What makes Dubai real estate a good investment?",
              content: "Dubai offers a tax-free environment, stable government, world-class infrastructure, strategic location connecting East and West, and consistent population growth driving demand."
            },
            {
              id: "2",
              title: "What are the best areas for property investment?",
              content: "Popular investment areas include Downtown Dubai, Dubai Marina, Palm Jumeirah, Business Bay, and upcoming developments like Dubai Creek Harbour and Mohammed bin Rashid City."
            },
            {
              id: "3",
              title: "How do I finance a property purchase in Dubai?",
              content: "UAE residents can get mortgages up to 80% of property value, while non-residents can secure up to 75%. We work with leading banks to secure competitive rates and terms."
            },
            {
              id: "4",
              title: "What ongoing costs should I expect?",
              content: "Annual costs include service charges (typically 10-25 AED per sq ft), municipality fees, insurance, and maintenance. Rental properties also require property management fees."
            }
          ]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseCard
          logoText="Luxe Properties"
          copyrightText="© 2025 Luxe Properties Dubai. All rights reserved."
          columns={[
            {
              title: "Properties",
              items: [
                { label: "Featured Listings", href: "/properties" },
                { label: "New Developments", href: "/properties" },
                { label: "Investment Properties", href: "/properties" },
                { label: "Luxury Villas", href: "/properties" }
              ]
            },
            {
              title: "Company",
              items: [
                { label: "About Us", href: "/about" },
                { label: "Our Team", href: "/about" },
                { label: "Careers", href: "/careers" },
                { label: "Press", href: "/press" }
              ]
            },
            {
              title: "Services",
              items: [
                { label: "Property Buying", href: "/services" },
                { label: "Property Selling", href: "/services" },
                { label: "Investment Consulting", href: "/services" },
                { label: "Property Management", href: "/services" }
              ]
            },
            {
              title: "Support",
              items: [
                { label: "Contact Us", href: "/contact" },
                { label: "FAQ", href: "/faq" },
                { label: "Blog", href: "/blog" },
                { label: "Support Center", href: "/support" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}