"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import FeatureCardSeven from '@/components/sections/feature/FeatureCardSeven';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';

export default function PropertiesPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="directional-hover"
      defaultTextAnimation="background-highlight"
      borderRadius="soft"
      contentWidth="mediumSmall"
      sizing="medium"
      background="aurora"
      cardStyle="glass-depth"
      primaryButtonStyle="inset-glow"
      secondaryButtonStyle="solid"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="DubaiLux Properties"
          navItems={[
            { name: "Properties", id: "/properties" },
            { name: "About", id: "/about" },
            { name: "Insights", id: "/insights" },
            { name: "Contact", id: "/contact" }
          ]}
          button={{
            text: "Schedule Viewing",
            href: "/contact"
          }}
        />
      </div>

      <div id="properties" data-section="properties">
        <FeatureCardSeven
          title="Browse Our Complete Collection"
          description="Extensive selection of properties across Dubai's prime locations"
          tag="Available Now"
          textboxLayout="default"
          animationType="blur-reveal"
          useInvertedBackground="noInvert"
          features={[
            {
              id: 1,
              title: "Studio & 1BR Apartments",
              description: "Perfect for professionals and first-time buyers. Modern finishes, excellent amenities, and convenient locations near business hubs and entertainment areas.",
              imageSrc: "https://img.b2bpic.net/free-photo/business-city-landmark-singapore-beautiful_1122-1685.jpg"
            },
            {
              id: 2,
              title: "2-3 Bedroom Family Homes",
              description: "Spacious apartments designed for families with access to quality schools, parks, and community facilities. Invest in comfort and security.",
              imageSrc: "https://img.b2bpic.net/free-photo/water-long-exposure-urban-singapore-river_1122-1687.jpg"
            },
            {
              id: 3,
              title: "Luxury Villas",
              description: "Exclusive standalone villas with private gardens, swimming pools, and premium finishes. Experience the pinnacle of Dubai luxury living.",
              imageSrc: "https://img.b2bpic.net/free-photo/dubai-night_641386-1179.jpg"
            },
            {
              id: 4,
              title: "Commercial Properties",
              description: "Office spaces, retail outlets, and commercial units in high-traffic business districts. Ideal for entrepreneurs and established businesses.",
              imageSrc: "https://img.b2bpic.net/free-photo/city-sparkles-light-streets-night_23-2149057562.jpg"
            }
          ]}
        />
      </div>

      <FooterBaseReveal
        columns={[
          {
            title: "Company",
            items: [
              { label: "About Us", href: "/about" },
              { label: "Our Team", href: "/about" },
              { label: "Careers", href: "#" },
              { label: "Blog", href: "#" }
            ]
          },
          {
            title: "Properties",
            items: [
              { label: "Buy Properties", href: "/properties" },
              { label: "Rent Properties", href: "/properties" },
              { label: "Invest", href: "/insights" },
              { label: "Market Insights", href: "/insights" }
            ]
          },
          {
            title: "Support",
            items: [
              { label: "Contact Us", href: "/contact" },
              { label: "FAQ", href: "/contact" },
              { label: "Privacy Policy", href: "#" },
              { label: "Terms & Conditions", href: "#" }
            ]
          }
        ]}
        copyrightText="© 2025 DubaiLux Properties. All rights reserved."
      />
    </ThemeProvider>
  );
}