"use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import HeroLuxury from '@/components/sections/hero/HeroLuxury';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
import MetricCardTwo from '@/components/sections/metrics/MetricCardTwo';
import TestimonialCardTwo from '@/components/sections/testimonial/TestimonialCardTwo';
import ContactCTA from '@/components/sections/contact/ContactCTA';
import FooterBase from '@/components/sections/footer/FooterBase';
import { Sparkles, Building2, Crown, TrendingUp, Star, Mail, ArrowRight, House, MessageSquareText, Settings, CircleDollarSign, ArrowLeftRight, Send, Award, Hexagon } from 'lucide-react';
import Link from 'next/link';

export default function HomePage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="reveal-blur"
      borderRadius="soft"
      contentWidth="smallMedium"
      sizing="mediumLarge"
      background="circleGradient"
      cardStyle="gradient-mesh"
      primaryButtonStyle="shadow"
      secondaryButtonStyle="layered"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          brandName="Luxury Estates HK"
          navItems={[
            { name: "Home", id: "/" },
            { name: "Properties", id: "/properties" },
            { name: "About", id: "/about" },
            { name: "Services", id: "/services" },
            { name: "Contact", id: "/contact" }
          ]}
          button={{ text: "Schedule Viewing", href: "/contact" }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroLuxury
          background={{ variant: "radial-gradient" }}
          tag="Premium Properties"
          tagIcon={Sparkles}
          title="Discover Luxury Living in Hong Kong"
          description="Explore our curated selection of premium residential and commercial properties across Hong Kong's most prestigious locations. Your dream property awaits."
          buttons={[
            { text: "Browse Properties", href: "/properties" },
            { text: "Contact Agent", href: "/contact" }
          ]}
        />
      </div>

      <div id="featured" data-section="featured">
        <ProductCardThree
          products={[
            {
              id: "1",
              name: "Peak District Penthouse",
              price: "HK$125,000,000",
              imageSrc: "https://img.b2bpic.net/free-photo/attractive-woman-standing-with-coffee-near-window_7502-9288.jpg",
              imageAlt: "Luxury penthouse in Peak District with panoramic views"
            },
            {
              id: "2",
              name: "Central Harbourfront Suite",
              price: "HK$98,500,000",
              imageSrc: "https://img.b2bpic.net/free-photo/view-interior-design-space-with-color-year-furnishings-decorations_23-2151397375.jpg",
              imageAlt: "Modern harbourfront apartment in Central with Victoria Harbour views"
            },
            {
              id: "3",
              name: "Mid-Levels Contemporary Villa",
              price: "HK$87,200,000",
              imageSrc: "https://img.b2bpic.net/free-photo/portrait-beautiful-young-asian-woman-happy-smile-roof-top-restaurant-around-city-view_74190-11648.jpg",
              imageAlt: "Contemporary villa in Mid-Levels with private garden"
            },
            {
              id: "4",
              name: "Repulse Bay Beachfront Estate",
              price: "HK$156,000,000",
              imageSrc: "https://img.b2bpic.net/free-photo/luxury-architecture-exterior-design_23-2151920931.jpg",
              imageAlt: "Exclusive beachfront estate in Repulse Bay with private beach access"
            },
            {
              id: "5",
              name: "Victoria Peak Modern Mansion",
              price: "HK$142,500,000",
              imageSrc: "https://img.b2bpic.net/free-photo/portrait-beautiful-young-asian-woman-happy-smile-roof-top-restaurant-around-city-view_74190-11644.jpg",
              imageAlt: "Ultra-modern mansion on Victoria Peak with smart home features"
            },
            {
              id: "6",
              name: "Stanley Waterfront Residence",
              price: "HK$105,800,000",
              imageSrc: "https://img.b2bpic.net/free-photo/portrait-beautiful-young-asian-woman-relax-enjoy-restaurant-rooftop_74190-11569.jpg",
              imageAlt: "Waterfront residence in Stanley with sea views and modern amenities"
            }
          ]}
          title="Featured Properties"
          description="Handpicked luxury properties representing the finest real estate opportunities in Hong Kong"
          tag="Exclusive Listings"
          tagIcon={Crown}
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          animationType="slide-up"
          gridVariant="three-columns-all-equal-width"
        />
      </div>

      <div id="about" data-section="about">
        <TestimonialAboutCard
          tag="Our Story"
          tagIcon={Building2}
          title="Luxury Estates Hong Kong: 25 Years of Excellence"
          description="Trust and Expertise"
          subdescription="Hong Kong's Premier Real Estate Firm"
          icon={Award}
          imageSrc="https://img.b2bpic.net/free-photo/motion-blur-skytrain-speeding-through-modern-business-district_53876-16146.jpg"
          imageAlt="Luxury Estates Hong Kong office and team"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardTwo
          metrics={[
            { id: "1", value: "25+", description: "Years of Industry Experience" },
            { id: "2", value: "1,250+", description: "Properties Successfully Sold" },
            { id: "3", value: "HK$18.5B", description: "Total Transaction Volume" },
            { id: "4", value: "98%", description: "Client Satisfaction Rate" }
          ]}
          title="Our Market Presence"
          description="Strong track record in Hong Kong's luxury real estate market"
          tag="Market Leaders"
          tagIcon={TrendingUp}
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwo
          testimonials={[
            {
              id: "1",
              name: "Victoria Chen",
              role: "CEO, Investment Firm",
              testimonial: "Luxury Estates HK helped us find the perfect property for our executive office. Their expertise and professional service exceeded all expectations. Highly recommended!",
              imageSrc: "https://img.b2bpic.net/free-photo/portrait-smiling-successful-businesswoman-looking-into-camera-sitting-restaurant-business-lady-with-stylish-hairstyle-wears-elegant-suit-business-meeting-attractive-appearance_8353-12611.jpg",
              imageAlt: "Victoria Chen"
            },
            {
              id: "2",
              name: "James Mitchell",
              role: "International Business Director",
              testimonial: "As an expat, finding the right home was challenging. The team at Luxury Estates made the entire process seamless and enjoyable. Exceptional professionalism!",
              imageSrc: "https://img.b2bpic.net/free-photo/portrait-woman-wearing-formal-suit_23-2148937763.jpg",
              imageAlt: "James Mitchell"
            },
            {
              id: "3",
              name: "Sophie Laurent",
              role: "Private Investor",
              testimonial: "Their investment consulting services helped me navigate Hong Kong's luxury market successfully. I've acquired three premium properties through them.",
              imageSrc: "https://img.b2bpic.net/free-photo/blonde-business-woman-working_23-2149100282.jpg",
              imageAlt: "Sophie Laurent"
            },
            {
              id: "4",
              name: "David Wang",
              role: "Property Developer",
              testimonial: "Working with Luxury Estates HK has been a game-changer for our business. Their market knowledge and connections are unparalleled in the industry.",
              imageSrc: "https://img.b2bpic.net/free-photo/friendly-successful-business-woman-posing-with-arms-crossed_74855-2813.jpg",
              imageAlt: "David Wang"
            }
          ]}
          title="Client Testimonials"
          description="Hear from satisfied clients who found their dream properties with us"
          tag="Client Reviews"
          tagIcon={Star}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="slide-up"
          carouselMode="buttons"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCTA
          tag="Get in Touch"
          tagIcon={Mail}
          title="Ready to Find Your Luxury Property?"
          description="Let our expert team guide you through the Hong Kong luxury real estate market. Schedule a consultation with one of our specialists today."
          buttons={[
            { text: "Schedule Viewing", href: "/contact" },
            { text: "Request Consultation", href: "/contact" }
          ]}
          background={{ variant: "plain" }}
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBase
          logoText="Luxury Estates HK"
          copyrightText="© 2025 Luxury Estates Hong Kong. All rights reserved."
          columns={[
            {
              title: "Properties",
              items: [
                { label: "Featured Listings", href: "/properties" },
                { label: "New Projects", href: "/properties" },
                { label: "Investment", href: "/services" }
              ]
            },
            {
              title: "Services",
              items: [
                { label: "Property Sales", href: "/services" },
                { label: "Leasing", href: "/services" },
                { label: "Valuation", href: "/services" }
              ]
            },
            {
              title: "Company",
              items: [
                { label: "About Us", href: "/about" },
                { label: "Our Team", href: "/about" },
                { label: "Contact", href: "/contact" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}