"use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FeatureProcessSteps from '@/components/sections/feature/FeatureProcessSteps';
import MetricCardSeven from '@/components/sections/metrics/MetricCardSeven';
import FooterMedia from '@/components/sections/footer/FooterMedia';

export default function ContactPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-shift"
      defaultTextAnimation="background-highlight"
      borderRadius="soft"
      contentWidth="mediumSmall"
      sizing="medium"
      background="none"
      cardStyle="elevated"
      primaryButtonStyle="shadow"
      secondaryButtonStyle="solid"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered 
          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" }}
          brandName="LUXE DUBAI"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplit 
          tag="Get in Touch"
          title="Ready to Find Your Dream Property?"
          description="Contact our team of experts to schedule a private consultation and explore the finest luxury properties in Dubai. We're here to guide you every step of the way."
          useInvertedBackground="noInvert"
          imageSrc="https://img.b2bpic.net/free-photo/palm-trees-line-water_23-2148107102.jpg"
          imageAlt="LUXE DUBAI office"
          mediaPosition="right"
          inputPlaceholder="your@email.com"
          buttonText="Contact Us"
          termsText="We respect your privacy. Your information will be used to contact you about available properties and services."
        />
      </div>

      <div id="services" data-section="services">
        <FeatureProcessSteps 
          title="How We Can Help You"
          description="Our consultation process is designed to understand your unique requirements and connect you with the perfect property investment opportunities"
          tag="Consultation Process"
          steps={[
            {
              number: "01",
              title: "Initial Discovery Call",
              tag: "30 minutes",
              description: "Free consultation to understand your investment goals, budget parameters, and preferred property types in Dubai"
            },
            {
              number: "02",
              title: "Property Presentation",
              tag: "1 hour",
              description: "Curated selection of properties matching your criteria with detailed market analysis and investment projections"
            },
            {
              number: "03",
              title: "Private Viewings",
              tag: "Half day",
              description: "Personalized property tours with our specialists, including neighborhood insights and development potential assessment"
            }
          ]}
          useInvertedBackground="invertDefault"
          buttons={[
            { text: "Book Discovery Call", href: "/contact" }
          ]}
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardSeven 
          title="Why Choose LUXE DUBAI"
          description="Connect with Dubai's most trusted luxury real estate professionals"
          metrics={[
            {
              id: "1",
              value: "24/7",
              title: "Client Support Available",
              items: [
                "Multilingual support team",
                "Emergency assistance hotline",
                "Dedicated client portal access"
              ]
            },
            {
              id: "2",
              value: "72hrs",
              title: "Average Response Time",
              items: [
                "Property inquiry responses",
                "Viewing appointment scheduling",
                "Investment opportunity alerts"
              ]
            },
            {
              id: "3",
              value: "100%",
              title: "Confidentiality Guarantee",
              items: [
                "Secure client information handling",
                "Non-disclosure agreement compliance",
                "Private transaction management"
              ]
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <FooterMedia 
        imageSrc="https://img.b2bpic.net/free-photo/luxury-architecture-exterior-design_23-2151920931.jpg"
        imageAlt="Dubai skyline at night"
        logoText="LUXE DUBAI"
        columns={[
          {
            title: "Properties",
            items: [
              { label: "All Properties", href: "/properties" },
              { label: "Villas", href: "/properties" },
              { label: "Apartments", href: "/properties" },
              { label: "Penthouses", href: "/properties" }
            ]
          },
          {
            title: "Company",
            items: [
              { label: "About Us", href: "/about" },
              { label: "Our Team", href: "/about" },
              { label: "Services", href: "/services" },
              { label: "Blog", href: "#" }
            ]
          },
          {
            title: "Contact",
            items: [
              { label: "Get in Touch", href: "/contact" },
              { label: "Schedule Viewing", href: "/contact" },
              { label: "Support", href: "/contact" }
            ]
          }
        ]}
        copyrightText="© 2025 LUXE DUBAI. All rights reserved."
      />
    </ThemeProvider>
  );
}