"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import FeatureCardNine from '@/components/sections/feature/FeatureCardNine';
import FooterBase from '@/components/sections/footer/FooterBase';

export default function ServicesPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-bubble"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="mediumSmall"
      sizing="largeSmallSizeMediumTitles"
      background="circleGradient"
      cardStyle="glass-elevated"
      primaryButtonStyle="primary-glow"
      secondaryButtonStyle="solid"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline 
          brandName="Luxe Dubai"
          navItems={[
            { name: "Properties", id: "/properties" },
            { name: "About", id: "/about" },
            { name: "Services", id: "/services" },
            { name: "Contact", id: "/contact" }
          ]}
          button={{
            text: "Schedule Viewing",
            href: "/contact"
          }}
          className="backdrop-blur-lg bg-white/80 border border-white/20"
          navItemClassName="text-foreground hover:text-primary-cta transition-colors"
          buttonClassName="bg-foreground text-white hover:bg-primary-cta"
          buttonTextClassName="font-semibold"
        />
      </div>

      <div id="services-detailed" data-section="services-detailed" className="pt-32">
        <FeatureCardNine 
          features={[
            {
              id: 1,
              title: "Property Investment Consulting",
              description: "Expert guidance on Dubai's real estate market with comprehensive analysis of ROI potential, market trends, and strategic investment timing for maximum returns.",
              phoneOne: { imageSrc: "https://img.b2bpic.net/free-photo/real-estate-mortgage-loan-concept_53876-125138.jpg" },
              phoneTwo: { imageSrc: "https://img.b2bpic.net/free-photo/contemporary-living-room_1150-12613.jpg" }
            },
            {
              id: 2,
              title: "Luxury Property Management",
              description: "Full-service property management including maintenance, tenant relations, rental optimization, and comprehensive care for your Dubai real estate portfolio.",
              phoneOne: { imageSrc: "https://img.b2bpic.net/free-photo/workers-long-wooden-table_1262-810.jpg" },
              phoneTwo: { imageSrc: "https://img.b2bpic.net/free-photo/luxury-architecture-exterior-design_23-2151920926.jpg" }
            },
            {
              id: 3,
              title: "Market Analysis & Valuation",
              description: "Detailed market research and accurate property valuations using the latest market data, comparable sales analysis, and Dubai real estate trends.",
              phoneOne: { imageSrc: "https://img.b2bpic.net/free-photo/shanghai-aerial-day_649448-3680.jpg" },
              phoneTwo: { imageSrc: "https://img.b2bpic.net/free-photo/modern-spacious-room-with-large-panoramic-window_7502-7289.jpg" }
            },
            {
              id: 4,
              title: "Personalized Property Search",
              description: "Tailored property search services matching your specific requirements, lifestyle preferences, and investment goals across Dubai's premium neighborhoods.",
              phoneOne: { imageSrc: "https://img.b2bpic.net/free-photo/luxury-architecture-exterior-design_23-2151920931.jpg" },
              phoneTwo: { imageSrc: "https://img.b2bpic.net/free-photo/contemporary-living-room_1150-12613.jpg" }
            }
          ]}
          showStepNumbers={true}
          title="Our Premium Services"
          description="Comprehensive real estate solutions tailored to your Dubai property journey"
          tag="Expert Services"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          containerClassName="bg-white"
          textBoxTitleClassName="text-foreground font-light text-4xl"
          textBoxDescriptionClassName="text-foreground/70 font-light text-lg"
        />
      </div>

      <FooterBase 
        logoText="Luxe Dubai"
        copyrightText="© 2025 Luxe Dubai Real Estate. All rights reserved."
        columns={[
          {
            title: "Properties",
            items: [
              { label: "Buy", href: "/properties" },
              { label: "Rent", href: "/properties" },
              { label: "Invest", href: "/properties" }
            ]
          },
          {
            title: "Company",
            items: [
              { label: "About Us", href: "/about" },
              { label: "Our Team", href: "/about" },
              { label: "Careers", href: "/about" }
            ]
          },
          {
            title: "Contact",
            items: [
              { label: "Email: info@luxedubai.ae", href: "/contact" },
              { label: "Phone: +971 4 XXX XXXX", href: "/contact" },
              { label: "Dubai, UAE", href: "/contact" }
            ]
          }
        ]}
        containerClassName="bg-foreground text-white py-16"
        logoTextClassName="text-white font-light text-2xl"
        columnTitleClassName="text-white font-light text-lg mb-4"
        columnItemClassName="text-white/70 hover:text-white font-light transition-colors"
        copyrightTextClassName="text-white/50 font-light"
      />
    </ThemeProvider>
  );
}