"use client";

import ReactLenis from "lenis/react";
import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline";
import ContactCenter from "@/components/sections/contact/ContactCenter";
import FooterCard from "@/components/sections/footer/FooterCard";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import { MapPin } from "lucide-react";

export default function ContactPage() {
    const navItems = [
        { name: "Home", id: "/" },
        { name: "About", id: "/about" },
        { name: "Contact", id: "/contact" },
    ];

    return (
        <ThemeProvider
            defaultButtonVariant="icon-arrow"
            defaultTextAnimation="entrance-slide"
            borderRadius="rounded"
            contentWidth="medium"
            sizing="medium"
            background="none"
            cardStyle="glass-elevated"
            primaryButtonStyle="shadow"
            secondaryButtonStyle="solid"
            headingFontWeight="medium"
        >
            <ReactLenis root>
                <div id="nav" data-section="nav">
                    <NavbarLayoutFloatingInline
                        navItems={navItems}
                        brandName="St. Jerome"
                    />
                </div>
                <main className="pt-32">
                    <div id="contact" data-section="contact">
                        <ContactCenter
                            title="Contact Information"
                            description="We are located in the heart of our community. Feel free to visit, reach out via phone, or send us a message through our parish office. We look forward to welcoming you."
                            tag="Visit Us"
                            tagIcon={MapPin}
                            background={{ variant: "radial-gradient" }}
                            useInvertedBackground={false}
                        />
                    </div>
                </main>
                <FooterCard
                    logoText="St. Jerome"
                    copyrightText="© 2025 St. Jerome Roman Catholic Church"
                />
            </ReactLenis>
        </ThemeProvider>
    );
}