"use client";

import ReactLenis from "lenis/react";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay";
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterBase from "@/components/sections/footer/FooterBase";

export const metadata = {
  title: 'Contacto | Webild',
  description: 'Contáctanos para transformar tu presencia digital con Webild. Inicia tu proyecto hoy mismo.',
};

export default function ContactoPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="medium"
      sizing="medium"
      background="none"
      cardStyle="glass-elevated"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="glass"
      headingFontWeight="medium"
    >
      <ReactLenis root>
        <NavbarLayoutFloatingOverlay
          brandName="Webild"
          navItems={[
            { name: "Inicio", id: "/" },
            { name: "Portafolio", id: "/portafolio" },
            { name: "Servicios", id: "services" },
            { name: "Nosotros", id: "about" },
            { name: "Contacto", id: "/contacto" },
            { name: "Política de Privacidad", id: "/privacy-policy" }
          ]}
          button={{ text: "Comenzar", href: "/contacto" }}
        />
        <div id="contacto" data-section="contacto">
          <ContactSplit
            tag="Trabajemos Juntos"
            title="¿Listo para impulsar tu Negocio?"
            description="Conectemos para discutir tus ideas. Estamos aquí para ayudarte a crecer con soluciones digitales innovadoras. Envíanos un mensaje o agenda una consulta gratuita."
            background={{ variant: "rotated-rays-animated" }}
            useInvertedBackground={false}
          />
        </div>
        <FooterBase
          logoText="Webild"
          copyrightText="© 2026 | Webild"
          columns={[
            {
              title: "Compañía",              items: [
                { label: "Inicio", href: "/" },
                { label: "Nosotros", href: "#about" },
                { label: "Servicios", href: "#services" },
                { label: "Portafolio", href: "/portafolio" },
                { label: "Contacto", href: "/contacto" },
                { label: "Política de Privacidad", href: "/privacy-policy" }
              ]
            },
            {
              title: "Servicios",              items: [
                { label: "Desarrollo Web", href: "#" },
                { label: "SEO", href: "#" },
                { label: "Marca", href: "#" },
                { label: "Diseño UI/UX", href: "#" }
              ]
            },
            {
              title: "Conectar",              items: [
                { label: "Twitter", href: "#" },
                { label: "LinkedIn", href: "#" },
                { label: "Instagram", href: "#" },
                { label: "Dribbble", href: "#" }
              ]
            }
          ]}
        />
      </ReactLenis>
    </ThemeProvider>
  );
}
