"use client";
import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import MetricCardOne from '@/components/sections/metrics/MetricCardOne';
import FooterBase from '@/components/sections/footer/FooterBase';
import { Rocket, Clock, Users, CheckCircle } from "lucide-react";

export default function ContactPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="background-highlight"
      borderRadius="rounded"
      contentWidth="small"
      sizing="mediumLargeSizeMediumTitles"
      background="noise"
      cardStyle="outline"
      primaryButtonStyle="diagonal-gradient"
      secondaryButtonStyle="solid"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="LogisticNet"
          navItems={[
            { name: "Home", id: "/" },
            { name: "About", id: "/about" },
            { name: "Solutions", id: "/solutions" },
            { name: "Pricing", id: "/pricing" }
          ]}
          button={{ text: "Request Demo", href: "/contact" }}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCenter
          tag="Get Started Today"
          title="Transform Your Supply Chain Operations"
          description="Schedule a consultation with our logistics experts to see how LogisticNet can optimize your operations. We'll analyze your current logistics costs and show potential savings within 48 hours."
          tagIcon={Rocket}
          background={{ variant: "plain" }}
          useInvertedBackground={false}
          inputPlaceholder="your@company.com"
          buttonText="Schedule Consultation"
          termsText="Our team will contact you within 24 hours. All consultations are confidential and no-obligation."
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardOne
          title="What to Expect"
          description="Our proven consultation process ensures you get actionable insights quickly."
          tag="Consultation Process"
          tagIcon={CheckCircle}
          metrics={[
            {
              id: "response-time",              value: "24",              title: "Hours Response",              description: "Initial contact within one business day",              icon: Clock
            },
            {
              id: "assessment-time",              value: "48",              title: "Hours to Analysis",              description: "Complete logistics assessment delivered",              icon: CheckCircle
            },
            {
              id: "team-size",              value: "3",              title: "Experts Assigned",              description: "Dedicated team for your evaluation",              icon: Users
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <FooterBase
        logoText="LogisticNet"
        copyrightText="© 2025 LogisticNet. All rights reserved. Integrated Logistics for the Modern Enterprise."
        columns={[
          {
            title: "Solutions",            items: [
              { label: "Fleet Management", href: "/solutions" },
              { label: "Warehouse Network", href: "/about" },
              { label: "Demand Forecasting", href: "/solutions" },
              { label: "Last-Mile Delivery", href: "/solutions" }
            ]
          },
          {
            title: "Company",            items: [
              { label: "About Us", href: "/about" },
              { label: "Pricing", href: "/pricing" },
              { label: "Case Studies", href: "/solutions" },
              { label: "Blog", href: "#" }
            ]
          },
          {
            title: "Support",            items: [
              { label: "Help Center", href: "#" },
              { label: "Contact Us", href: "/contact" },
              { label: "System Status", href: "#" },
              { label: "Documentation", href: "#" }
            ]
          }
        ]}
      />
    </ThemeProvider>
  );
}