"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import Link from "next/link";
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 { Gem, Phone } from "lucide-react";

const navItems = [
  { name: "Home", id: "/" },
  { name: "Properties", id: "/properties" },
  { name: "About", id: "/about" },
  { name: "Team", id: "/team" },
  { name: "Contact", id: "/contact" },
];

const navButton = {
  text: "Schedule Viewing",  href: "/contact"};

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
          navItems={navItems}
          button={navButton}
          brandName="Luxe Estates"
        />
      </div>

      <div id="properties" data-section="properties">
        <ProductCardFour
          title="Featured Luxury Properties"
          description="Hand-selected residences representing the pinnacle of luxury real estate. Each property offers unparalleled elegance and exclusive amenities."
          tag="Premium Selection"
          tagIcon={Gem}
          tagAnimation="slide-up"
          products={[
            {
              id: "1",              name: "Oceanfront Villa Paradise",              price: "$8,500,000",              variant: "6 Beds • 8 Baths • Beachfront",              imageSrc: "http://img.b2bpic.net/free-photo/miami-luxury-house_649448-2903.jpg",              imageAlt: "Oceanfront villa with infinity pool"},
            {
              id: "2",              name: "Downtown Penthouse Elite",              price: "$5,200,000",              variant: "4 Beds • 5 Baths • Downtown",              imageSrc: "http://img.b2bpic.net/free-photo/attractive-woman-standing-with-coffee-near-window_7502-9288.jpg",              imageAlt: "Contemporary penthouse in downtown"},
            {
              id: "3",              name: "Mountain Estate Retreat",              price: "$6,800,000",              variant: "5 Beds • 7 Baths • Mountain View",              imageSrc: "http://img.b2bpic.net/free-photo/aerial-drone-view-poiana-brasov-romania-touristic-buildings-located-top-mountain-covered-with-lush-forest_1268-24836.jpg",              imageAlt: "Luxurious mountain estate"},
          ]}
          textboxLayout="default"
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          useInvertedBackground={false}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="cta" data-section="cta">
        <ContactCTA
          tag="Find Your Match"
          tagIcon={Phone}
          tagAnimation="slide-up"
          title="Interested in Any of These Properties?"
          description="Our expert team is ready to provide more information, arrange private viewings, or discuss investment opportunities. Contact us today to explore your options."
          buttons={[
            { text: "Schedule a Viewing", href: "/contact" },
            { text: "Request Information", href: "/contact" },
          ]}
          buttonAnimation="slide-up"
          background={{ variant: "plain" }}
          useInvertedBackground={true}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterSimple
          columns={[
            {
              title: "Navigation",              items: [
                { label: "Home", href: "/" },
                { label: "Properties", href: "/properties" },
                { label: "About", href: "/about" },
                { label: "Team", href: "/team" },
                { label: "Contact", href: "/contact" },
              ],
            },
            {
              title: "Services",              items: [
                { label: "Buy Properties", href: "/properties" },
                { label: "Sell Properties", href: "/contact" },
                { label: "Investment Advice", href: "/contact" },
                { label: "Valuations", href: "/contact" },
              ],
            },
            {
              title: "Company",              items: [
                { label: "About Us", href: "/about" },
                { label: "Our Team", href: "/team" },
                { label: "Careers", href: "/contact" },
                { label: "Blog", href: "#" },
              ],
            },
            {
              title: "Legal",              items: [
                { label: "Privacy Policy", href: "#" },
                { label: "Terms of Service", href: "#" },
                { label: "Disclaimer", href: "#" },
                { label: "Contact", href: "/contact" },
              ],
            },
          ]}
          bottomLeftText="© 2025 Luxe Estates. All rights reserved."
          bottomRightText="Luxury Real Estate Specialists"
        />
      </div>
    </ThemeProvider>
  );
}