"use client"

import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import HeroBillboard from '@/components/sections/hero/HeroBillboard';
import FeatureCardTwentyThree from '@/components/sections/feature/FeatureCardTwentyThree';
import ProductCardFour from '@/components/sections/product/ProductCardFour';
import MetricCardEleven from '@/components/sections/metrics/MetricCardEleven';
import AboutMetric from '@/components/sections/about/AboutMetric';
import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterSimple from '@/components/sections/footer/FooterSimple';
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import { Home, Filter, Flame, MapPin, Users, DollarSign, Award, Star, Mail } from "lucide-react";

export default function PropertyPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="directional-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="rounded"
      contentWidth="mediumSmall"
      sizing="large"
      background="floatingGradient"
      cardStyle="gradient-bordered"
      primaryButtonStyle="flat"
      secondaryButtonStyle="layered"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          brandName="PropertyHub"
          navItems={[
            { name: "Browse", id: "properties" },
            { name: "About", id: "about" },
            { name: "Contact", id: "contact" },
            { name: "Resources", id: "resources" },
            { name: "Sign In", id: "signin" }
          ]}
          bottomLeftText="Real Estate Solutions"
          bottomRightText="info@propertyhub.com"
        />
      </div>
      
      <div id="hero" data-section="hero">
        <HeroBillboard
          title="Find Your Perfect Property"
          description="Discover exceptional homes and investments across premium locations. Browse thousands of listings with advanced search filters and interactive maps."
          background={{ variant: "sparkles-gradient" }}
          tag="Luxury Listings"
          tagIcon={Home}
          buttons={[
            { text: "Browse Properties", href: "properties" },
            { text: "Schedule Tour", href: "contact" }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/swimming-pool-beach-luxury-hotel-type-entertainment-complex-amara-dolce-vita-luxury-hotel-resort-tekirova-kemer-turkey_146671-18719.jpg"
          imageAlt="Luxury modern home"
        />
      </div>
      
      <div id="search" data-section="search">
        <FeatureCardTwentyThree
          title="Advanced Search Filters"
          description="Narrow down your search with powerful filtering options to find exactly what you're looking for."
          tag="Smart Search"
          tagIcon={Filter}
          features={[
            {
              id: "1",              title: "Location-Based Search",              tags: ["Neighborhood", "Proximity"],
              imageSrc: "https://img.b2bpic.net/free-photo/happy-successful-business-team-members-posing-office_1262-20245.jpg",              imageAlt: "Location search interface"
            },
            {
              id: "2",              title: "Price Range Filtering",              tags: ["Budget", "Affordable"],
              imageSrc: "https://img.b2bpic.net/free-photo/modern-spacious-room-with-large-panoramic-window_7502-7289.jpg",              imageAlt: "Price filter options"
            },
            {
              id: "3",              title: "Property Type Selection",              tags: ["Apartment", "House"],
              imageSrc: "https://img.b2bpic.net/free-photo/full-shot-young-woman-stairs_23-2149204468.jpg",              imageAlt: "Property type selector"
            },
            {
              id: "4",              title: "Amenities & Features",              tags: ["Pool", "Garage"],
              imageSrc: "https://img.b2bpic.net/free-photo/two-happy-woman-friends-with-sunglasses-vacation-tropical-country_343596-726.jpg",              imageAlt: "Amenities checklist"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>
      
      <div id="products" data-section="products">
        <ProductCardFour
          title="Featured Listings"
          description="Explore our hand-picked selection of premium properties available now."
          tag="Hot Properties"
          tagIcon={Flame}
          products={[
            {
              id: "1",              name: "Luxury Downtown Penthouse",              price: "$2,850,000",              variant: "3 Bed  2 Bath  2500 sqft",              imageSrc: "https://img.b2bpic.net/free-photo/beautiful-kitchen-interior-design_23-2150976540.jpg",              imageAlt: "Downtown penthouse"
            },
            {
              id: "2",              name: "Beachfront Villa with Ocean View",              price: "$3,500,000",              variant: "5 Bed  4 Bath  4200 sqft",              imageSrc: "https://img.b2bpic.net/free-photo/beach-chair-resort_1150-17976.jpg",              imageAlt: "Beachfront villa"
            },
            {
              id: "3",              name: "Modern Suburban Estate",              price: "$1,650,000",              variant: "4 Bed  3 Bath  3100 sqft",              imageSrc: "https://img.b2bpic.net/free-photo/serious-male-boss-instructing-female-assistant_1262-20385.jpg",              imageAlt: "Suburban estate"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          gridVariant="uniform-all-items-equal"
          useInvertedBackground="invertDefault"
        />
      </div>
      
      <div id="map" data-section="map">
        <MetricCardEleven
          title="Map Integration & Location Discovery"
          description="Visualize properties on interactive maps and explore neighborhoods with detailed geographic data."
          tag="Map View"
          tagIcon={MapPin}
          metrics={[
            {
              id: "1",              value: "15K+",              title: "Properties Mapped",              description: "Comprehensive geographic coverage across regions",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-toys-accessories-tourist_23-2148232449.jpg",              imageAlt: "Interactive property map"
            },
            {
              id: "2",              value: "24/7",              title: "Real-Time Updates",              description: "Live property listings and market data",              imageSrc: "https://img.b2bpic.net/free-photo/happy-successful-business-team-members-posing-office_1262-20245.jpg",              imageAlt: "Live updates interface"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>
      
      <div id="metrics" data-section="metrics">
        <AboutMetric
          title="Why Choose PropertyHub for Your Real Estate Journey"
          metrics={[
            {
              icon: Home,
              label: "Listed Properties",              value: "15,000+"
            },
            {
              icon: Users,
              label: "Active Buyers",              value: "50,000+"
            },
            {
              icon: DollarSign,
              label: "Transaction Volume",              value: "$2.5B"
            },
            {
              icon: Award,
              label: "Industry Awards",              value: "25+"
            }
          ]}
          useInvertedBackground="invertDefault"
        />
      </div>
      
      <div id="testimonials" data-section="testimonials">
        <TestimonialCardSix
          title="What Our Clients Say"
          description="Real experiences from satisfied buyers and sellers who found their perfect property with us."
          tag="Success Stories"
          tagIcon={Star}
          testimonials={[
            {
              id: "1",              name: "Sarah Johnson",              handle: "@sarahj_realtor",              testimonial: "PropertyHub made finding my dream home incredibly easy. The search filters were intuitive and the map feature helped me explore neighborhoods thoroughly.",              imageSrc: "https://img.b2bpic.net/free-photo/happy-successful-business-team-members-posing-office_1262-20245.jpg",              imageAlt: "Sarah Johnson"
            },
            {
              id: "2",              name: "Michael Chen",              handle: "@mchen_investor",              testimonial: "As an investor, I rely on accurate data. PropertyHub's market metrics and real-time updates helped me make informed decisions and close deals faster.",              imageSrc: "https://img.b2bpic.net/free-photo/modern-spacious-room-with-large-panoramic-window_7502-7289.jpg",              imageAlt: "Michael Chen"
            },
            {
              id: "3",              name: "Emma Rodriguez",              handle: "@emmar_homes",              testimonial: "The advanced filtering system saved me countless hours. I found exactly what I needed in half the time compared to other platforms.",              imageSrc: "https://img.b2bpic.net/free-photo/full-shot-young-woman-stairs_23-2149204468.jpg",              imageAlt: "Emma Rodriguez"
            },
            {
              id: "4",              name: "David Kim",              handle: "@davidk_agent",              testimonial: "Best real estate platform for serious buyers. The map integration and property cards are beautifully designed and highly functional.",              imageSrc: "https://img.b2bpic.net/free-photo/two-happy-woman-friends-with-sunglasses-vacation-tropical-country_343596-726.jpg",              imageAlt: "David Kim"
            },
            {
              id: "5",              name: "Lisa Thompson",              handle: "@lisathompson_",              testimonial: "Selling my property was seamless. Great exposure through their platform and excellent support throughout the entire process.",              imageSrc: "https://img.b2bpic.net/free-photo/beautiful-kitchen-interior-design_23-2150976540.jpg",              imageAlt: "Lisa Thompson"
            },
            {
              id: "6",              name: "James Wilson",              handle: "@jameswilson_invest",              testimonial: "PropertyHub stands out with their comprehensive listing information and responsive customer service. Highly recommended for anyone serious about real estate.",              imageSrc: "https://img.b2bpic.net/free-photo/beach-chair-resort_1150-17976.jpg",              imageAlt: "James Wilson"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>
      
      <div id="contact" data-section="contact">
        <ContactSplit
          tag="Connect With Us"
          title="Ready to Find Your Dream Property?"
          description="Subscribe to our newsletter for exclusive listings, market insights, and expert tips delivered directly to your inbox."
          tagIcon={Mail}
          background={{ variant: "sparkles-gradient" }}
          useInvertedBackground="noInvert"
          imageSrc="https://img.b2bpic.net/free-photo/swimming-pool-beach-luxury-hotel-type-entertainment-complex-amara-dolce-vita-luxury-hotel-resort-tekirova-kemer-turkey_146671-18719.jpg"
          imageAlt="Real estate consultation"
          mediaPosition="right"
          inputPlaceholder="Enter your email address"
          buttonText="Subscribe"
          termsText="We respect your privacy. Unsubscribe at any time. See our privacy policy for details."
        />
      </div>
      
      <div id="footer" data-section="footer">
        <FooterSimple
          columns={[
            {
              title: "Browse",              items: [
                { label: "All Properties", href: "#properties" },
                { label: "New Listings", href: "#properties" },
                { label: "Featured", href: "#products" },
                { label: "Price Guide", href: "#" }
              ]
            },
            {
              title: "Resources",              items: [
                { label: "Buyer's Guide", href: "#" },
                { label: "Market Insights", href: "#" },
                { label: "Investment Tips", href: "#" },
                { label: "Blog", href: "#" }
              ]
            },
            {
              title: "Company",              items: [
                { label: "About Us", href: "#" },
                { label: "Contact", href: "#contact" },
                { label: "Careers", href: "#" },
                { label: "Press", href: "#" }
              ]
            },
            {
              title: "Legal",              items: [
                { label: "Privacy Policy", href: "#" },
                { label: "Terms & Conditions", href: "#" },
                { label: "Disclaimer", href: "#" },
                { label: "Accessibility", href: "#" }
              ]
            }
          ]}
          bottomLeftText="© 2025 PropertyHub. All rights reserved."
          bottomRightText="Made with PropertyHub"
        />
      </div>
    </ThemeProvider>
  );
}