"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered";
import ProductCardFour from "@/components/sections/product/ProductCardFour";
import ContactCTA from "@/components/sections/contact/ContactCTA";
import FooterSimple from "@/components/sections/footer/FooterSimple";
import Link from "next/link";
import { Building2, Mail } from "lucide-react";

export default function PropertiesPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="mediumSmall"
      sizing="mediumLarge"
      background="none"
      cardStyle="glass-elevated"
      primaryButtonStyle="primary-glow"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          brandName="Luxe Dubai Properties"
          navItems={[
            { name: "Home", id: "/" },
            { name: "Properties", id: "/properties" },
            { name: "Services", id: "/services" },
            { name: "About", id: "/about" },
            { name: "Contact", id: "/contact" },
          ]}
          button={{ text: "Schedule Viewing", href: "/contact" }}
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardFour
          title="Our Exclusive Properties"
          description="Explore our comprehensive collection of luxury residences and commercial properties throughout Dubai. Each property has been carefully selected to meet the highest standards of elegance and sophistication."
          tag="Featured Properties"
          tagIcon={Building2}
          tagAnimation="slide-up"
          buttons={[{ text: "Schedule Viewing", href: "/contact" }]}
          buttonAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          products={[
            {
              id: "villa-1",
              name: "Downtown Dubai Luxury Penthouse",
              price: "AED 12.5M",
              variant: "5 Bedrooms • Downtown",
              imageSrc: "http://img.b2bpic.net/free-photo/happy-couple-resting-home-with-good-mood_651396-28.jpg?_wi=2",
              imageAlt: "Downtown luxury penthouse",
            },
            {
              id: "villa-2",
              name: "Palm Jumeirah Beachfront Villa",
              price: "AED 18.9M",
              variant: "6 Bedrooms • Palm Jumeirah",
              imageSrc: "http://img.b2bpic.net/free-photo/part-modern-kitchen-interior-with-oven_169016-19754.jpg?_wi=2",
              imageAlt: "Beachfront villa",
            },
            {
              id: "villa-3",
              name: "Emirates Hills Mansion",
              price: "AED 22.5M",
              variant: "7 Bedrooms • Emirates Hills",
              imageSrc: "http://img.b2bpic.net/free-photo/modern-luxurious-bedroom-elegant-comfortable-design-generated-by-ai_188544-29281.jpg?_wi=2",
              imageAlt: "Emirates Hills mansion",
            },
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCTA
          tag="Interested in a Property?"
          tagIcon={Mail}
          tagAnimation="slide-up"
          title="Schedule Your Private Viewing Today"
          description="Our team is ready to arrange an exclusive tour of any property in our portfolio. Experience the luxury and excellence firsthand with our dedicated property specialists."
          buttons={[
            { text: "Schedule Viewing", href: "/contact" },
            { text: "Request Information", href: "/contact" },
          ]}
          buttonAnimation="slide-up"
          background={{ variant: "plain" }}
          useInvertedBackground={false}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterSimple
          columns={[
            {
              title: "Navigate",
              items: [
                { label: "Home", href: "/" },
                { label: "Properties", href: "/properties" },
                { label: "Services", href: "/services" },
                { label: "About", href: "/about" },
              ],
            },
            {
              title: "Company",
              items: [
                { label: "About Us", href: "/about" },
                { label: "Contact", href: "/contact" },
                { label: "Careers", href: "#" },
                { label: "News", href: "#" },
              ],
            },
            {
              title: "Resources",
              items: [
                { label: "Market Insights", href: "#" },
                { label: "Investment Guide", href: "#" },
                { label: "Blog", href: "#" },
                { label: "FAQ", href: "#" },
              ],
            },
            {
              title: "Legal",
              items: [
                { label: "Privacy Policy", href: "#" },
                { label: "Terms of Service", href: "#" },
                { label: "Cookie Policy", href: "#" },
                { label: "Compliance", href: "#" },
              ],
            },
          ]}
          bottomLeftText="© 2025 Luxe Dubai Properties. All rights reserved."
          bottomRightText="Crafted with Excellence"
        />
      </div>
    </ThemeProvider>
  );
}