"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered";
import HeroBillboardGallery from "@/components/sections/hero/HeroBillboardGallery";
import ProductCardFour from "@/components/sections/product/ProductCardFour";
import FeatureCardThree from "@/components/sections/feature/featureCardThree/FeatureCardThree";
import MetricCardThree from "@/components/sections/metrics/MetricCardThree";
import TestimonialCardFive from "@/components/sections/testimonial/TestimonialCardFive";
import ContactCTA from "@/components/sections/contact/ContactCTA";
import FooterSimple from "@/components/sections/footer/FooterSimple";
import Link from "next/link";
import { Crown, Building2, Sparkles, TrendingUp, Users, Award, Mail, Quote } from "lucide-react";

export default function HomePage() {
  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="hero" data-section="hero">
        <HeroBillboardGallery
          title="Premium Property Management in Dubai"
          description="Experience unparalleled luxury property management services tailored exclusively for Dubai's most distinguished residences and commercial portfolios."
          tag="Luxury Living"
          tagIcon={Crown}
          tagAnimation="slide-up"
          background={{ variant: "plain" }}
          mediaItems={[
            {
              imageSrc: "http://img.b2bpic.net/free-photo/inner-courtyard-with-swimming-pool_661209-479.jpg",
              imageAlt: "Luxury villa in Dubai",
            },
            {
              imageSrc: "http://img.b2bpic.net/free-photo/luxury-architecture-exterior-design_23-2151920931.jpg",
              imageAlt: "Modern penthouse in Dubai",
            },
            {
              imageSrc: "http://img.b2bpic.net/free-photo/look-from-skyscrapers-standing-sea-bays_1304-5308.jpg",
              imageAlt: "Beachfront property Dubai",
            },
            {
              imageSrc: "http://img.b2bpic.net/free-photo/futuristic-landscape-dubai_23-2151339807.jpg",
              imageAlt: "Architectural masterpiece",
            },
            {
              imageSrc: "http://img.b2bpic.net/free-photo/nomadic-architecture-desert_181624-26737.jpg",
              imageAlt: "Desert luxury villa",
            },
          ]}
          buttons={[
            { text: "Explore Properties", href: "/properties" },
            { text: "Schedule Consultation", href: "/contact" },
          ]}
          buttonAnimation="slide-up"
          mediaAnimation="blur-reveal"
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardFour
          title="Our Exclusive Portfolio"
          description="Discover our carefully curated selection of premium properties across Dubai's most prestigious locations."
          tag="Featured Properties"
          tagIcon={Building2}
          tagAnimation="slide-up"
          buttons={[{ text: "View All Properties", href: "/properties" }]}
          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=1",
              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=1",
              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=1",
              imageAlt: "Emirates Hills mansion",
            },
          ]}
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardThree
          title="Premium Services"
          description="Comprehensive property management solutions designed for Dubai's luxury market."
          tag="Our Services"
          tagIcon={Sparkles}
          tagAnimation="slide-up"
          buttons={[{ text: "Get Started", href: "/contact" }]}
          buttonAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          features={[
            {
              id: "01",
              title: "Property Portfolio Management",
              description: "Complete oversight of your real estate portfolio with strategic planning and market analysis.",
              imageSrc: "http://img.b2bpic.net/free-photo/concentrated-thoughtful-business-colleagues-standing-near-table-analyzing-documents_1262-12289.jpg?_wi=1",
              imageAlt: "Property portfolio management",
            },
            {
              id: "02",
              title: "Investment & Advisory",
              description: "Expert guidance on property investments with insights into Dubai's dynamic real estate market.",
              imageSrc: "http://img.b2bpic.net/free-photo/real-estate-mortgage-loan-concept_53876-125138.jpg?_wi=1",
              imageAlt: "Investment advisory services",
            },
            {
              id: "03",
              title: "Maintenance & Operations",
              description: "Professional maintenance services ensuring your properties remain in pristine condition year-round.",
              imageSrc: "http://img.b2bpic.net/free-photo/male-plumber-working-with-client-fix-kitchen-problems_23-2150990690.jpg?_wi=1",
              imageAlt: "Maintenance services",
            },
            {
              id: "04",
              title: "Concierge Services",
              description: "Bespoke concierge support providing premium lifestyle services for your entire portfolio.",
              imageSrc: "http://img.b2bpic.net/free-photo/closeup-waitress-serving-dessert-guest-cafe_637285-8889.jpg",
              imageAlt: "Concierge services",
            },
          ]}
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardThree
          title="Trusted by Dubai's Elite"
          description="Our track record speaks to our commitment to excellence in luxury property management."
          tag="By The Numbers"
          tagIcon={TrendingUp}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          animationType="slide-up"
          metrics={[
            { id: "1", icon: Building2, title: "Properties Managed", value: "500+" },
            { id: "2", icon: Users, title: "Satisfied Clients", value: "1,200+" },
            { id: "3", icon: TrendingUp, title: "Portfolio Value", value: "AED 8B+" },
            { id: "4", icon: Award, title: "Years Experience", value: "15+" },
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFive
          title="What Our Clients Say"
          description="Hear from satisfied property owners who trust us with their most valuable assets."
          tag="Testimonials"
          tagIcon={Quote}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          testimonials={[
            {
              id: "1",
              name: "Sheikh Rashid Al Maktoum, Real Estate Investor",
              date: "Date: 15 November 2024",
              title: "Exceptional Management Excellence",
              quote: "Luxe Dubai Properties has transformed how I manage my portfolio. Their attention to detail and professional approach has exceeded all expectations. I've seen improved occupancy rates and higher returns than ever before.",
              tag: "Premium Client",
              avatarSrc: "http://img.b2bpic.net/free-photo/smiling-homosexual-man-official-suit-looking-camera-close-up-shot-happy-gay-getting-dressed-wedding-ceremony-standing-hotel-room-with-his-partner-background-love-emotion-concept_74855-22675.jpg",
              avatarAlt: "Sheikh Rashid Al Maktoum",
              imageSrc: "http://img.b2bpic.net/free-photo/smiling-homosexual-man-official-suit-looking-camera-close-up-shot-happy-gay-getting-dressed-wedding-ceremony-standing-hotel-room-with-his-partner-background-love-emotion-concept_74855-22675.jpg?_wi=1",
              imageAlt: "Testimonial image",
            },
            {
              id: "2",
              name: "Sofia Martinez, International Property Owner",
              date: "Date: 10 November 2024",
              title: "Trusted Partner for International Holdings",
              quote: "Managing properties remotely can be stressful, but this team makes it seamless. Their communication is impeccable and their services are world-class. Highly recommended for anyone seeking premium property management.",
              tag: "International Client",
              avatarSrc: "http://img.b2bpic.net/free-photo/smiling-homosexual-man-official-suit-looking-camera-close-up-shot-happy-gay-getting-dressed-wedding-ceremony-standing-hotel-room-with-his-partner-background-love-emotion-concept_74855-22675.jpg",
              avatarAlt: "Sofia Martinez",
              imageSrc: "http://img.b2bpic.net/free-photo/smiling-homosexual-man-official-suit-looking-camera-close-up-shot-happy-gay-getting-dressed-wedding-ceremony-standing-hotel-room-with-his-partner-background-love-emotion-concept_74855-22675.jpg?_wi=2",
              imageAlt: "Testimonial image",
            },
            {
              id: "3",
              name: "Karim Zahra, Corporate Portfolio Manager",
              date: "Date: 5 November 2024",
              title: "Professionalism at Every Level",
              quote: "Working with Luxe Dubai Properties on our corporate holdings has been outstanding. Their team demonstrates deep market knowledge and delivers results consistently. They truly understand luxury property management.",
              tag: "Corporate Client",
              avatarSrc: "http://img.b2bpic.net/free-photo/smiling-homosexual-man-official-suit-looking-camera-close-up-shot-happy-gay-getting-dressed-wedding-ceremony-standing-hotel-room-with-his-partner-background-love-emotion-concept_74855-22675.jpg",
              avatarAlt: "Karim Zahra",
              imageSrc: "http://img.b2bpic.net/free-photo/smiling-homosexual-man-official-suit-looking-camera-close-up-shot-happy-gay-getting-dressed-wedding-ceremony-standing-hotel-room-with-his-partner-background-love-emotion-concept_74855-22675.jpg?_wi=3",
              imageAlt: "Testimonial image",
            },
            {
              id: "4",
              name: "Jennifer Wilson, Expatriate Homeowner",
              date: "Date: 28 October 2024",
              title: "Peace of Mind Delivered Daily",
              quote: "As an expat, I needed someone I could truly trust with my Dubai home. This company provides exactly that—reliability, professionalism, and genuine care for my property. They go above and beyond.",
              tag: "Satisfied Client",
              avatarSrc: "http://img.b2bpic.net/free-photo/smiling-homosexual-man-official-suit-looking-camera-close-up-shot-happy-gay-getting-dressed-wedding-ceremony-standing-hotel-room-with-his-partner-background-love-emotion-concept_74855-22675.jpg",
              avatarAlt: "Jennifer Wilson",
              imageSrc: "http://img.b2bpic.net/free-photo/smiling-homosexual-man-official-suit-looking-camera-close-up-shot-happy-gay-getting-dressed-wedding-ceremony-standing-hotel-room-with-his-partner-background-love-emotion-concept_74855-22675.jpg?_wi=4",
              imageAlt: "Testimonial image",
            },
            {
              id: "5",
              name: "Hussain Al Manara, Developer Relations",
              date: "Date: 22 October 2024",
              title: "Strategic Partnership Advantages",
              quote: "Their insights into Dubai's luxury market have been invaluable for our business strategy. Beyond management, they serve as genuine advisors. Exceptional partnership all around.",
              tag: "Developer",
              avatarSrc: "http://img.b2bpic.net/free-photo/smiling-homosexual-man-official-suit-looking-camera-close-up-shot-happy-gay-getting-dressed-wedding-ceremony-standing-hotel-room-with-his-partner-background-love-emotion-concept_74855-22675.jpg",
              avatarAlt: "Hussain Al Manara",
              imageSrc: "http://img.b2bpic.net/free-photo/smiling-homosexual-man-official-suit-looking-camera-close-up-shot-happy-gay-getting-dressed-wedding-ceremony-standing-hotel-room-with-his-partner-background-love-emotion-concept_74855-22675.jpg?_wi=5",
              imageAlt: "Testimonial image",
            },
            {
              id: "6",
              name: "Amira Al Suwaidi, Wealth Management Client",
              date: "Date: 18 October 2024",
              title: "Elite-Level Property Solutions",
              quote: "This team understands wealth preservation and growth through real estate. They manage my portfolio with the sophistication and discretion befitting my requirements. Truly premium service.",
              tag: "Premium Client",
              avatarSrc: "http://img.b2bpic.net/free-photo/smiling-homosexual-man-official-suit-looking-camera-close-up-shot-happy-gay-getting-dressed-wedding-ceremony-standing-hotel-room-with-his-partner-background-love-emotion-concept_74855-22675.jpg",
              avatarAlt: "Amira Al Suwaidi",
              imageSrc: "http://img.b2bpic.net/free-photo/smiling-homosexual-man-official-suit-looking-camera-close-up-shot-happy-gay-getting-dressed-wedding-ceremony-standing-hotel-room-with-his-partner-background-love-emotion-concept_74855-22675.jpg?_wi=6",
              imageAlt: "Testimonial image",
            },
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCTA
          tag="Get In Touch"
          tagIcon={Mail}
          tagAnimation="slide-up"
          title="Ready to Experience Premium Property Management?"
          description="Let our team of experts handle your property portfolio with the care and professionalism it deserves. Contact us today to schedule a personalized consultation."
          buttons={[
            { text: "Schedule Consultation", href: "/contact" },
            { text: "View Services", href: "/services" },
          ]}
          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>
  );
}