"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import ContactFaq from '@/components/sections/contact/ContactFaq';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
import { Phone } from "lucide-react";

export default function ContactPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="directional-hover"
      defaultTextAnimation="background-highlight"
      borderRadius="soft"
      contentWidth="mediumSmall"
      sizing="medium"
      background="aurora"
      cardStyle="glass-depth"
      primaryButtonStyle="inset-glow"
      secondaryButtonStyle="solid"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="DubaiLux Properties"
          navItems={[
            { name: "Properties", id: "/properties" },
            { name: "About", id: "/about" },
            { name: "Insights", id: "/insights" },
            { name: "Contact", id: "/contact" }
          ]}
          button={{
            text: "Schedule Viewing",
            href: "/contact"
          }}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactFaq
          ctaTitle="Get Expert Consultation"
          ctaDescription="Schedule a call with our property specialists to discuss your real estate goals and find the perfect property that matches your needs."
          ctaButton={{
            text: "Book Consultation",
            href: "#"
          }}
          ctaIcon={Phone}
          animationType="slide-up"
          useInvertedBackground="noInvert"
          faqs={[
            {
              id: "1",
              title: "What documents do I need to purchase property in Dubai?",
              content: "Required documents include valid ID/passport, visa status proof, income verification, bank statements, and proof of funds. Our team will guide you through the exact requirements based on your situation and investor status."
            },
            {
              id: "2",
              title: "Can foreigners buy property in Dubai?",
              content: "Yes! Dubai welcomes foreign investors. Most areas are open to international buyers with 99-year leasehold ownership. Some areas offer permanent residency with property purchase. We advise on best options for your investment goals."
            },
            {
              id: "3",
              title: "What are the typical costs beyond property price?",
              content: "Additional costs include property registration (about 4%), mortgage fees (if applicable), real estate agency commission (typically 2-3%), and legal fees. We provide transparent cost breakdowns before any commitment."
            },
            {
              id: "4",
              title: "How long does the buying process take?",
              content: "Typically 4-8 weeks from offer to completion, depending on financing and documentation. Our experienced team streamlines the process to close faster while ensuring all legal requirements are met."
            },
            {
              id: "5",
              title: "What rental income can I expect?",
              content: "Rental yields in Dubai typically range from 4-8% annually depending on property type, location, and market conditions. Studio and 1BR apartments in prime locations often offer the highest yields for investment properties."
            }
          ]}
        />
      </div>

      <FooterBaseReveal
        columns={[
          {
            title: "Company",
            items: [
              { label: "About Us", href: "/about" },
              { label: "Our Team", href: "/about" },
              { label: "Careers", href: "#" },
              { label: "Blog", href: "#" }
            ]
          },
          {
            title: "Properties",
            items: [
              { label: "Buy Properties", href: "/properties" },
              { label: "Rent Properties", href: "/properties" },
              { label: "Invest", href: "/insights" },
              { label: "Market Insights", href: "/insights" }
            ]
          },
          {
            title: "Support",
            items: [
              { label: "Contact Us", href: "/contact" },
              { label: "FAQ", href: "/contact" },
              { label: "Privacy Policy", href: "#" },
              { label: "Terms & Conditions", href: "#" }
            ]
          }
        ]}
        copyrightText="© 2025 DubaiLux Properties. All rights reserved."
      />
    </ThemeProvider>
  );
}