"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleMinimal from '@/components/navbar/NavbarStyleMinimal';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import FooterBase from '@/components/sections/footer/FooterBase';
import { Award } from 'lucide-react';

export default function PropertiesPage() {
  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="all-properties" data-section="all-properties">
        <ProductCardTwo
          title="All Properties"
          description="Browse our complete collection of luxury properties in Dubai's most exclusive neighborhoods"
          tag="Complete Collection"
          tagIcon={Award}
          products={[
            {
              id: "1",
              brand: "Marina Bay",
              name: "Modern Penthouse with Marina View",
              price: "AED 8,500,000",
              rating: 5,
              reviewCount: "24",
              imageSrc: "https://img.b2bpic.net/free-photo/modern-spacious-room-with-large-panoramic-window_7502-7289.jpg",
              imageAlt: "Modern Penthouse"
            },
            {
              id: "2",
              brand: "Palm Jumeirah",
              name: "Ultra-Luxury Beach Villa",
              price: "AED 12,000,000",
              rating: 5,
              reviewCount: "18",
              imageSrc: "https://img.b2bpic.net/free-photo/attractive-woman-reading-magazine-near-panoramic-window_7502-9287.jpg",
              imageAlt: "Beach Villa"
            },
            {
              id: "3",
              brand: "Downtown Dubai",
              name: "Iconic Tower Luxury Apartment",
              price: "AED 6,200,000",
              rating: 5,
              reviewCount: "31",
              imageSrc: "https://img.b2bpic.net/free-photo/contemporary-living-room_1150-12613.jpg",
              imageAlt: "Downtown Apartment"
            },
            {
              id: "4",
              brand: "Business Bay",
              name: "Executive Tower Suite",
              price: "AED 4,500,000",
              rating: 5,
              reviewCount: "42",
              imageSrc: "https://img.b2bpic.net/free-photo/skyscrapers-from-low-angle-view_1359-1073.jpg",
              imageAlt: "Executive Suite"
            },
            {
              id: "5",
              brand: "Emirates Hills",
              name: "Mansion with Golf Course View",
              price: "AED 18,000,000",
              rating: 5,
              reviewCount: "12",
              imageSrc: "https://img.b2bpic.net/free-photo/close-up-young-business-team-working_23-2149153838.jpg",
              imageAlt: "Luxury Mansion"
            }
          ]}
          textboxLayout="default"
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          useInvertedBackground="noInvert"
          buttons={[
            {
              text: "Schedule Viewing",
              href: "/contact"
            }
          ]}
          containerClassName="py-20"
          cardClassName="backdrop-blur-md bg-white/40 border border-white/20 rounded-xl p-6 hover:bg-white/50 transition-all duration-300"
          imageClassName="rounded-lg object-cover h-64 w-full"
        />
      </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>
  );
}