"use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import ContactText from '@/components/sections/contact/ContactText';
import MetricCardOne from '@/components/sections/metrics/MetricCardOne';
import FooterCard from '@/components/sections/footer/FooterCard';
import Link from 'next/link';
import { MessageCircle, Mail, Phone, MapPin, Clock, Users, Calendar, CheckCircle, Twitter, Linkedin, Github, Instagram } from 'lucide-react';

export default function ContactPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="icon-arrow"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="medium"
      sizing="medium"
      background="aurora"
      cardStyle="layered-gradient"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="glass"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="Webild"
          navItems={[
            { name: "About", id: "/about" },
            { name: "Services", id: "/services" },
            { name: "Work", id: "/testimonials" },
            { name: "Contact", id: "/contact" }
          ]}
          button={{
            text: "Get Started",
            href: "/contact"
          }}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactText
          text="Ready to transform your digital vision into reality? Whether you have a specific project in mind or just want to explore possibilities, we're here to help. Let's start a conversation and create something extraordinary together."
          animationType="entrance-slide"
          background={{ variant: "radial-gradient" }}
          useInvertedBackground="noInvert"
          buttons={[
            { text: "Schedule a Call", href: "https://calendly.com/webild" },
            { text: "Send a Message", href: "mailto:hello@webild.com" }
          ]}
        />
      </div>

      <div id="contact-info" data-section="contact-info">
        <MetricCardOne
          title="Get In Touch"
          description="Multiple ways to connect with our team and start your project journey."
          tag="Contact Information"
          tagIcon={MessageCircle}
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          metrics={[
            {
              id: "1",
              value: "24h",
              title: "Response Time",
              description: "We respond to all inquiries within 24 hours",
              icon: Clock
            },
            {
              id: "2",
              value: "Free",
              title: "Consultation",
              description: "Initial strategy session at no cost to you",
              icon: CheckCircle
            },
            {
              id: "3",
              value: "50+",
              title: "Expert Team",
              description: "Ready to bring your vision to life",
              icon: Users
            },
            {
              id: "4",
              value: "24/7",
              title: "Support",
              description: "Ongoing support for all our clients",
              icon: Calendar
            }
          ]}
        />
      </div>

      <div id="contact-cta" data-section="contact-cta">
        <ContactText
          text="Join 150+ successful businesses who trust Webild to power their digital growth. Your next breakthrough starts with a simple conversation."
          animationType="reveal-blur"
          background={{ variant: "sparkles-gradient" }}
          useInvertedBackground="invertDefault"
          buttons={[
            { text: "Book a Strategy Call", href: "https://calendly.com/webild" },
            { text: "View Case Studies", href: "/testimonials" }
          ]}
        />
      </div>

      <FooterCard
        logoText="Webild"
        copyrightText="© 2025 Webild. All rights reserved. | Interactive Web Agency"
        socialLinks={[
          { icon: Twitter, href: "https://twitter.com/webild", ariaLabel: "Twitter" },
          { icon: Linkedin, href: "https://linkedin.com/company/webild", ariaLabel: "LinkedIn" },
          { icon: Github, href: "https://github.com/webild", ariaLabel: "GitHub" },
          { icon: Instagram, href: "https://instagram.com/webild", ariaLabel: "Instagram" }
        ]}
      />
    </ThemeProvider>
  );
}