"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import FeatureCardTwelve from '@/components/sections/feature/FeatureCardTwelve';
import FooterSimple from '@/components/sections/footer/FooterSimple';

export default function PropertiesPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="entrance-slide"
      borderRadius="rounded"
      contentWidth="compact"
      sizing="mediumSizeLargeTitles"
      background="circleGradient"
      cardStyle="solid"
      primaryButtonStyle="shadow"
      secondaryButtonStyle="layered"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          brandName="Dubai Estates"
          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="properties" data-section="properties">
        <ProductCardOne
          title="Premium Property Collection"
          description="Explore our comprehensive portfolio of luxury properties across Dubai's most prestigious locations"
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
          gridVariant="three-columns-all-equal-width"
          products={[
            {
              id: "1",
              name: "Marina Penthouse",
              price: "AED 8.5M",
              imageSrc: "https://img.b2bpic.net/free-photo/skyscrapers-sunset_1112-1870.jpg",
              imageAlt: "Luxury Marina Penthouse"
            },
            {
              id: "2",
              name: "Palm Villa Estate",
              price: "AED 15.2M",
              imageSrc: "https://img.b2bpic.net/free-photo/cityscape-bangkok-night-view_1357-300.jpg",
              imageAlt: "Exclusive Palm Villa"
            },
            {
              id: "3",
              name: "Beachfront Residency",
              price: "AED 12.8M",
              imageSrc: "https://img.b2bpic.net/free-photo/skyscrapers-from-low-angle-view_1359-1073.jpg",
              imageAlt: "Beachfront Luxury Residence"
            },
            {
              id: "4",
              name: "Downtown Tower Suite",
              price: "AED 6.8M",
              imageSrc: "https://img.b2bpic.net/free-photo/skyscrapers-sunset_1112-1870.jpg",
              imageAlt: "Downtown Luxury Suite"
            },
            {
              id: "5",
              name: "Emirates Hills Villa",
              price: "AED 22.5M",
              imageSrc: "https://img.b2bpic.net/free-photo/cityscape-bangkok-night-view_1357-300.jpg",
              imageAlt: "Emirates Hills Luxury Villa"
            },
            {
              id: "6",
              name: "Jumeirah Beach Apartment",
              price: "AED 9.2M",
              imageSrc: "https://img.b2bpic.net/free-photo/skyscrapers-from-low-angle-view_1359-1073.jpg",
              imageAlt: "Jumeirah Beach Luxury Apartment"
            }
          ]}
        />
      </div>

      <div id="property-features" data-section="property-features">
        <FeatureCardTwelve
          title="Property Investment Benefits"
          description="Discover the advantages of investing in Dubai's luxury real estate market"
          textboxLayout="default"
          animationType="opacity"
          useInvertedBackground="invertDefault"
          features={[
            {
              id: "location",
              label: "Location",
              title: "Prime Locations Across Dubai",
              items: [
                "Waterfront properties with marina access",
                "City center penthouses with skyline views",
                "Beachfront residences with private beach access",
                "Golf course villas with exclusive club membership"
              ]
            },
            {
              id: "investment",
              label: "Investment",
              title: "Strong Return on Investment",
              items: [
                "15% average annual appreciation",
                "High rental yields in prime locations",
                "Tax-free property ownership benefits",
                "Golden visa eligibility for investors"
              ]
            },
            {
              id: "amenities",
              label: "Amenities",
              title: "Luxury Lifestyle Amenities",
              items: [
                "Private pools and spa facilities",
                "24/7 concierge and security services",
                "World-class fitness and wellness centers",
                "Exclusive dining and entertainment venues"
              ]
            }
          ]}
        />
      </div>

      <FooterSimple
        columns={[
          {
            title: "Properties",
            items: [
              { label: "Featured Listings", href: "/properties" },
              { label: "Luxury Villas", href: "/properties" },
              { label: "Penthouses", href: "/properties" },
              { label: "Off-Market", href: "/properties" }
            ]
          },
          {
            title: "Company",
            items: [
              { label: "About Us", href: "/about" },
              { label: "Our Team", href: "/about" },
              { label: "Market Insights", href: "/about" },
              { label: "Careers", href: "/about" }
            ]
          },
          {
            title: "Services",
            items: [
              { label: "Property Search", href: "/properties" },
              { label: "Investment Advisory", href: "/about" },
              { label: "Legal Support", href: "/contact" },
              { label: "Property Management", href: "/contact" }
            ]
          },
          {
            title: "Contact",
            items: [
              { label: "Dubai Office", href: "/contact" },
              { label: "Schedule Viewing", href: "/contact" },
              { label: "Email Support", href: "/contact" },
              { label: "Phone: +971-4-XXXX-XXXX", href: "/contact" }
            ]
          }
        ]}
        bottomLeftText="© 2025 Dubai Estates. All rights reserved."
        bottomRightText="Luxury Real Estate Solutions"
      />
    </ThemeProvider>
  );
}