"use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import ContactText from '@/components/sections/contact/ContactText';
import FooterMedia from '@/components/sections/footer/FooterMedia';

export default function ContactPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="bounce-effect"
      defaultTextAnimation="entrance-slide"
      borderRadius="sharp"
      contentWidth="mediumSmall"
      sizing="mediumLargeSizeLargeTitles"
      background="none"
      cardStyle="glass-depth"
      primaryButtonStyle="shadow"
      secondaryButtonStyle="solid"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="Dubai Realty"
          navItems={[
            { name: "Home", id: "/" },
            { name: "Properties", id: "/properties" },
            { name: "About", id: "/about" },
            { name: "Contact", id: "/contact" }
          ]}
          button={{ text: "Schedule Tour", href: "/contact" }}
          className="backdrop-blur-md border border-white/20"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactText
          text="Ready to discover your luxury property in Dubai? Connect with our expert team today for a personalized consultation and exclusive property access."
          animationType="entrance-slide"
          useInvertedBackground="noInvert"
          buttons={[
            { text: "Schedule Consultation", href: "#" },
            { text: "View Catalog", href: "/properties" }
          ]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterMedia
          imageSrc="https://img.b2bpic.net/free-photo/business-urban-beautiful-landscape-night_1122-1702.jpg"
          imageAlt="Dubai skyline at night"
          logoText="Dubai Realty"
          copyrightText="© 2025 Dubai Realty. All rights reserved."
          columns={[
            {
              title: "Properties",
              items: [
                { label: "Apartments", href: "/properties" },
                { label: "Villas", href: "/properties" },
                { label: "Commercial", href: "/properties" },
                { label: "New Launches", href: "/properties" }
              ]
            },
            {
              title: "Company",
              items: [
                { label: "About Us", href: "/about" },
                { label: "Our Team", href: "/about" },
                { label: "Careers", href: "/about" },
                { label: "Contact", href: "/contact" }
              ]
            },
            {
              title: "Resources",
              items: [
                { label: "Market Insights", href: "/about" },
                { label: "Blog", href: "/about" },
                { label: "FAQs", href: "/contact" },
                { label: "Investment Guide", href: "/about" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}