"use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import ProductCardFour from '@/components/sections/product/ProductCardFour';
import ContactText from '@/components/sections/contact/ContactText';
import FooterMedia from '@/components/sections/footer/FooterMedia';

export default function PropertiesPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="bounce-effect"
      defaultTextAnimation="entrance-slide"
      borderRadius="sharp"
      contentWidth="mediumSmall"
      sizing="mediumLargeSizeLargeTitles"
      background="none"
      cardStyle="glass-depth"
      primaryButtonStyle="shadow"
      secondaryButtonStyle="solid"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="Dubai Realty"
          navItems={[
            { name: "Home", id: "/" },
            { name: "Properties", id: "/properties" },
            { name: "About", id: "/about" },
            { name: "Contact", id: "/contact" }
          ]}
          button={{ text: "Schedule Tour", href: "/contact" }}
          className="backdrop-blur-md border border-white/20"
        />
      </div>

      <div id="properties-full" data-section="properties-full">
        <ProductCardFour
          title="Complete Property Portfolio"
          description="Explore our comprehensive collection of luxury properties across Dubai's most prestigious neighborhoods. From iconic downtown towers to exclusive waterfront estates."
          tag="Premium Collection"
          products={[
            {
              id: "penthouse-001",
              name: "Burj Khalifa Luxury Penthouse",
              price: "AED 8,500,000",
              variant: "4 Beds  Downtown Dubai",
              imageSrc: "https://img.b2bpic.net/free-photo/luxury-architecture-exterior-design_23-2151920926.jpg",
              imageAlt: "Burj Khalifa penthouse"
            },
            {
              id: "villa-002",
              name: "Beachfront Villa Marina",
              price: "AED 6,200,000",
              variant: "5 Beds  Waterfront",
              imageSrc: "https://img.b2bpic.net/free-photo/luxury-architecture-exterior-design_23-2151920931.jpg",
              imageAlt: "Marina beachfront villa"
            },
            {
              id: "apartment-003",
              name: "Downtown Living Apartment",
              price: "AED 3,900,000",
              variant: "3 Beds  Prime Location",
              imageSrc: "https://img.b2bpic.net/free-photo/attractive-woman-reading-magazine-near-panoramic-window_7502-9287.jpg",
              imageAlt: "Downtown apartment"
            },
            {
              id: "palm-004",
              name: "Palm Jumeirah Residence",
              price: "AED 7,100,000",
              variant: "4 Beds  Iconic Address",
              imageSrc: "https://img.b2bpic.net/free-photo/modern-spacious-room-with-large-panoramic-window_7502-7289.jpg",
              imageAlt: "Palm Jumeirah home"
            },
            {
              id: "commercial-005",
              name: "Business Bay Office Tower",
              price: "AED 12,800,000",
              variant: "Commercial  Premium Location",
              imageSrc: "https://img.b2bpic.net/free-photo/attractive-woman-standing-with-coffee-near-window_7502-9288.jpg",
              imageAlt: "Business Bay office"
            },
            {
              id: "villa-006",
              name: "Emirates Hills Mansion",
              price: "AED 15,900,000",
              variant: "7 Beds  Exclusive Community",
              imageSrc: "https://img.b2bpic.net/free-photo/cute-young-woman-reading-book-sofa_7502-7285.jpg",
              imageAlt: "Emirates Hills mansion"
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          buttons={[
            { text: "Schedule Viewing", href: "/contact" },
            { text: "Get Brochure", href: "/contact" }
          ]}
        />
      </div>

      <div id="property-contact" data-section="property-contact">
        <ContactText
          text="Found the perfect property? Connect with our specialists for detailed information, private viewings, and investment consultation."
          animationType="entrance-slide"
          useInvertedBackground="invertDefault"
          buttons={[
            { text: "Book Viewing", href: "/contact" },
            { text: "Investment Guide", href: "/contact" }
          ]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterMedia
          imageSrc="https://img.b2bpic.net/free-photo/business-urban-beautiful-landscape-night_1122-1702.jpg"
          imageAlt="Dubai skyline at night"
          logoText="Dubai Realty"
          copyrightText="© 2025 Dubai Realty. All rights reserved."
          columns={[
            {
              title: "Properties",
              items: [
                { label: "Apartments", href: "/properties" },
                { label: "Villas", href: "/properties" },
                { label: "Commercial", href: "/properties" },
                { label: "New Launches", href: "/properties" }
              ]
            },
            {
              title: "Company",
              items: [
                { label: "About Us", href: "/about" },
                { label: "Our Team", href: "/about" },
                { label: "Careers", href: "/about" },
                { label: "Contact", href: "/contact" }
              ]
            },
            {
              title: "Resources",
              items: [
                { label: "Market Insights", href: "/about" },
                { label: "Blog", href: "/about" },
                { label: "FAQs", href: "/contact" },
                { label: "Investment Guide", href: "/about" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}