"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import Link from "next/link";
import NavbarStyleCentered from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered";
import ContactCTA from "@/components/sections/contact/ContactCTA";
import FooterSimple from "@/components/sections/footer/FooterSimple";
import { Phone, Mail, MapPin } from "lucide-react";

const navItems = [
  { name: "Home", id: "/" },
  { name: "Properties", id: "/properties" },
  { name: "About", id: "/about" },
  { name: "Team", id: "/team" },
  { name: "Contact", id: "/contact" },
];

const navButton = {
  text: "Schedule Viewing",  href: "/contact"};

export default function ContactPage() {
  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
          navItems={navItems}
          button={navButton}
          brandName="Luxe Estates"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCTA
          tag="Get in Touch"
          tagIcon={Phone}
          tagAnimation="slide-up"
          title="Ready to Begin Your Luxury Real Estate Journey?"
          description="Contact Luxe Estates today to schedule a consultation with one of our expert brokers. We're here to answer your questions, provide market insights, and help you find the perfect luxury property."
          buttons={[
            { text: "Schedule Consultation", href: "#" },
            { text: "Call Us Now", href: "#" },
          ]}
          buttonAnimation="slide-up"
          background={{ variant: "plain" }}
          useInvertedBackground={true}
        />
      </div>

      <div id="info" data-section="info">
        <div className="mx-auto px-4 md:px-6 py-20">
          <div className="grid md:grid-cols-3 gap-8 max-w-4xl mx-auto">
            <div className="text-center">
              <div className="flex justify-center mb-4">
                <Phone className="h-8 w-8" />
              </div>
              <h3 className="text-lg font-medium mb-2">Phone</h3>
              <p className="text-foreground/70">+1 (555) 123-4567</p>
            </div>
            <div className="text-center">
              <div className="flex justify-center mb-4">
                <Mail className="h-8 w-8" />
              </div>
              <h3 className="text-lg font-medium mb-2">Email</h3>
              <p className="text-foreground/70">hello@luxeestates.com</p>
            </div>
            <div className="text-center">
              <div className="flex justify-center mb-4">
                <MapPin className="h-8 w-8" />
              </div>
              <h3 className="text-lg font-medium mb-2">Address</h3>
              <p className="text-foreground/70">123 Luxury Lane, Beverly Hills, CA 90210</p>
            </div>
          </div>
        </div>
      </div>

      <div id="footer" data-section="footer">
        <FooterSimple
          columns={[
            {
              title: "Navigation",              items: [
                { label: "Home", href: "/" },
                { label: "Properties", href: "/properties" },
                { label: "About", href: "/about" },
                { label: "Team", href: "/team" },
                { label: "Contact", href: "/contact" },
              ],
            },
            {
              title: "Services",              items: [
                { label: "Buy Properties", href: "/properties" },
                { label: "Sell Properties", href: "/contact" },
                { label: "Investment Advice", href: "/contact" },
                { label: "Valuations", href: "/contact" },
              ],
            },
            {
              title: "Company",              items: [
                { label: "About Us", href: "/about" },
                { label: "Our Team", href: "/team" },
                { label: "Careers", href: "/contact" },
                { label: "Blog", href: "#" },
              ],
            },
            {
              title: "Legal",              items: [
                { label: "Privacy Policy", href: "#" },
                { label: "Terms of Service", href: "#" },
                { label: "Disclaimer", href: "#" },
                { label: "Contact", href: "/contact" },
              ],
            },
          ]}
          bottomLeftText="© 2025 Luxe Estates. All rights reserved."
          bottomRightText="Luxury Real Estate Specialists"
        />
      </div>
    </ThemeProvider>
  );
}