"use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import FeatureProcessSteps from '@/components/sections/feature/FeatureProcessSteps';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterMedia from '@/components/sections/footer/FooterMedia';

export default function PropertiesPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-shift"
      defaultTextAnimation="background-highlight"
      borderRadius="soft"
      contentWidth="mediumSmall"
      sizing="medium"
      background="none"
      cardStyle="elevated"
      primaryButtonStyle="shadow"
      secondaryButtonStyle="solid"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered 
          navItems={[
            { name: "Home", id: "/" },
            { name: "Properties", id: "/properties" },
            { name: "About", id: "/about" },
            { name: "Services", id: "/services" },
            { name: "Contact", id: "/contact" }
          ]}
          button={{ text: "Schedule Viewing", href: "/contact" }}
          brandName="LUXE DUBAI"
        />
      </div>

      <div id="properties" data-section="properties">
        <ProductCardOne 
          title="Exclusive Property Collection"
          description="Browse our comprehensive portfolio of luxury properties across Dubai's most prestigious locations, from waterfront villas to penthouse suites"
          products={[
            {
              id: "1",
              name: "Palm Jumeirah Villa",
              price: "AED 8,500,000",
              imageSrc: "https://img.b2bpic.net/free-photo/beach-chair-hotel_1150-17975.jpg",
              imageAlt: "Luxury villa with modern architecture"
            },
            {
              id: "2",
              name: "Downtown Penthouse",
              price: "AED 12,000,000",
              imageSrc: "https://img.b2bpic.net/free-photo/mosque-pictures-moroccan-wall-pattern_1203-5080.jpg",
              imageAlt: "Penthouse with waterfront views"
            },
            {
              id: "3",
              name: "Emirates Hills Mansion",
              price: "AED 15,500,000",
              imageSrc: "https://img.b2bpic.net/free-photo/luxury-architecture-exterior-design_23-2151920949.jpg",
              imageAlt: "Exclusive mansion in Emirates Hills"
            },
            {
              id: "4",
              name: "Burj Al Arab Residences",
              price: "AED 25,000,000",
              imageSrc: "https://img.b2bpic.net/free-photo/inner-courtyard-with-swimming-pool_661209-479.jpg",
              imageAlt: "Ultra-luxury Burj Al Arab residence"
            },
            {
              id: "5",
              name: "Dubai Marina Tower",
              price: "AED 6,200,000",
              imageSrc: "https://img.b2bpic.net/free-photo/blue-sun-loungers-swimming-pool_198523-20.jpg",
              imageAlt: "High-rise apartment with marina views"
            },
            {
              id: "6",
              name: "Arabian Ranches Villa",
              price: "AED 4,800,000",
              imageSrc: "https://img.b2bpic.net/free-photo/place-relax-sunny-beach-black-sea-bulgaria-summer-vacation-travel-holiday_627829-9817.jpg",
              imageAlt: "Family villa in gated community"
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          buttons={[
            { text: "Schedule Private Tour", href: "/contact" }
          ]}
        />
      </div>

      <div id="services" data-section="services">
        <FeatureProcessSteps 
          title="Property Investment Process"
          description="Our streamlined approach ensures a smooth journey from initial consultation to final ownership, with expert guidance at every step"
          tag="Investment Journey"
          steps={[
            {
              number: "01",
              title: "Portfolio Assessment",
              tag: "Discovery",
              description: "Comprehensive analysis of available properties matching your investment criteria and budget requirements"
            },
            {
              number: "02",
              title: "Due Diligence",
              tag: "Verification",
              description: "Thorough property inspection, market valuation, and legal documentation review to ensure investment security"
            },
            {
              number: "03",
              title: "Transaction Management",
              tag: "Completion",
              description: "End-to-end transaction support including financing assistance, legal processing, and ownership transfer"
            }
          ]}
          useInvertedBackground="invertDefault"
          buttons={[
            { text: "Start Investment Journey", href: "/contact" }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplit 
          tag="Property Inquiry"
          title="Find Your Perfect Investment"
          description="Connect with our property specialists to explore exclusive opportunities and receive personalized investment recommendations tailored to your goals"
          useInvertedBackground="noInvert"
          imageSrc="https://img.b2bpic.net/free-photo/palm-trees-line-water_23-2148107102.jpg"
          imageAlt="LUXE DUBAI property consultation"
          mediaPosition="right"
          inputPlaceholder="your@email.com"
          buttonText="Get Property Updates"
          termsText="We'll send you curated property listings and market insights. Unsubscribe anytime."
        />
      </div>

      <FooterMedia 
        imageSrc="https://img.b2bpic.net/free-photo/luxury-architecture-exterior-design_23-2151920931.jpg"
        imageAlt="Dubai skyline at night"
        logoText="LUXE DUBAI"
        columns={[
          {
            title: "Properties",
            items: [
              { label: "All Properties", href: "/properties" },
              { label: "Villas", href: "/properties" },
              { label: "Apartments", href: "/properties" },
              { label: "Penthouses", href: "/properties" }
            ]
          },
          {
            title: "Company",
            items: [
              { label: "About Us", href: "/about" },
              { label: "Our Team", href: "/about" },
              { label: "Services", href: "/services" },
              { label: "Blog", href: "#" }
            ]
          },
          {
            title: "Contact",
            items: [
              { label: "Get in Touch", href: "/contact" },
              { label: "Schedule Viewing", href: "/contact" },
              { label: "Support", href: "/contact" }
            ]
          }
        ]}
        copyrightText="© 2025 LUXE DUBAI. All rights reserved."
      />
    </ThemeProvider>
  );
}