"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';

export default function ContactPage() {
  const navLinks = [
    { name: "الرئيسية", id: "/" },
    { name: "المدونة", id: "/blog" },
    { name: "سياسة الخصوصية", id: "/privacy-policy" },
    { name: "تواصل معنا", id: "/contact" },
  ];

  return (
    <ThemeProvider borderRadius="pill" contentWidth="medium">
        <ReactLenis root>
            <NavbarLayoutFloatingInline navItems={navLinks} brandName="Aljoman Dental" />
            <ContactSplitForm 
                title="تواصل معنا"
                description="نحن هنا للرد على استفساراتكم وحجز مواعيدكم."
                inputs={[{ name: "name", type: "text", placeholder: "الاسم الكامل", required: true }, { name: "email", type: "email", placeholder: "البريد الإلكتروني", required: true }]}
                textarea={{ name: "message", placeholder: "رسالتك" }}
            />
            <FooterLogoEmphasis 
                columns={[{ items: [{ label: "الرئيسية", href: "/" }, { label: "تواصل معنا", href: "/contact" }] }]} 
                logoText="عيادات الجومان" 
            />
        </ReactLenis>
    </ThemeProvider>
  );
}