"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FeatureCardThree from '@/components/sections/feature/featureCardThree/FeatureCardThree';
import MetricCardOne from '@/components/sections/metrics/MetricCardOne';
import FooterBase from '@/components/sections/footer/FooterBase';
import { 
  Mail, 
  Sparkles, 
  TrendingUp, 
  MessageCircle, 
  Users, 
  Clock 
} from "lucide-react";

export default function ContactPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="shift-hover"
      defaultTextAnimation="reveal-blur"
      borderRadius="soft"
      contentWidth="mediumSmall"
      sizing="largeSizeMediumTitles"
      background="aurora"
      cardStyle="subtle-shadow"
      primaryButtonStyle="diagonal-gradient"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          brandName="Tech Club"
          navItems={[
            { name: "Home", id: "/" },
            { name: "About Us", id: "/about" },
            { name: "Our Team", id: "/team" },
            { name: "Contact", id: "/contact" }
          ]}
        />
      </div>

      <div id="contact-section" data-section="contact-section">
        <ContactCenter
          tag="GET IN TOUCH"
          tagIcon={Mail}
          tagAnimation="slide-up"
          title="Join Our Growing Community"
          description="Have questions about the computer club? Want to collaborate on a project or attend our next meetup? We'd love to hear from you. Drop us a message and let's connect!"
          background={{ variant: "sparkles-gradient" }}
          useInvertedBackground={false}
          inputPlaceholder="Enter your email address"
          buttonText="Connect With Us"
          termsText="By clicking Connect With Us, you're confirming that you agree with our Terms and Conditions and our Privacy Policy."
        />
      </div>

      <div id="ways-to-connect" data-section="ways-to-connect">
        <FeatureCardThree
          title="Multiple Ways to Connect"
          description="Whether you're looking to join as a member, contribute as a mentor, or partner with us, we have several channels for you to get involved with our tech community."
          tag="Connect With Us"
          tagIcon={Sparkles}
          tagAnimation="slide-up"
          features={[
            {
              id: "connect-1",
              title: "Join Our Discord",
              description: "Connect with members in real-time, join discussions about latest tech trends, and get updates about upcoming events and workshops.",
              imageSrc: "http://img.b2bpic.net/free-photo/yes_53876-47102.jpg?_wi=3",
              imageAlt: "Discord community interaction"
            },
            {
              id: "connect-2",
              title: "Attend Our Events",
              description: "Participate in our weekly workshops, monthly hackathons, and networking events. Perfect for meeting like-minded tech enthusiasts.",
              imageSrc: "http://img.b2bpic.net/free-photo/spacious-area-group-young-people-casual-clothes-working-modern-office_146671-16510.jpg?_wi=3",
              imageAlt: "Community events and workshops"
            },
            {
              id: "connect-3",
              title: "Follow Our Projects",
              description: "Check out our GitHub repositories, contribute to open-source projects, and showcase your own work to the community.",
              imageSrc: "http://img.b2bpic.net/free-photo/teamworking-engineers-coding-advanced-ai-algorithm-startup_482257-125568.jpg?_wi=3",
              imageAlt: "Collaborative coding projects"
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          buttons={[
            { text: "Visit Our Discord", href: "https://discord.com" },
            { text: "View Our GitHub", href: "https://github.com" }
          ]}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="response-metrics" data-section="response-metrics">
        <MetricCardOne
          title="We're Here to Help"
          description="Our team is committed to responding quickly and providing helpful support to all inquiries from community members and prospective participants."
          tag="Response Time"
          tagIcon={TrendingUp}
          tagAnimation="slide-up"
          textboxLayout="default"
          gridVariant="uniform-all-items-equal"
          animationType="scale-rotate"
          useInvertedBackground={false}
          metrics={[
            {
              id: "response",
              value: "24",
              title: "Hour Response",
              description: "Average response time to all inquiries and messages",
              icon: Clock
            },
            {
              id: "channels",
              value: "5",
              title: "Contact Channels",
              description: "Different ways to reach us and get involved",
              icon: MessageCircle
            },
            {
              id: "support",
              value: "100",
              title: "Members Helped",
              description: "New members successfully onboarded this year",
              icon: Users
            }
          ]}
        />
      </div>

      <FooterBase
        logoText="TechClub"
        copyrightText="© 2025 TechClub | Empowering Tech Enthusiasts"
        columns={[
          {
            title: "Explore",
            items: [
              { label: "About Us", href: "/about" },
              { label: "Our Team", href: "/team" },
              { label: "Home", href: "/" }
            ]
          },
          {
            title: "Community",
            items: [
              { label: "Join Us", href: "/contact" },
              { label: "GitHub", href: "https://github.com" },
              { label: "Discord", href: "https://discord.com" }
            ]
          },
          {
            title: "Connect",
            items: [
              { label: "Contact", href: "/contact" },
              { label: "LinkedIn", href: "https://linkedin.com" }
            ]
          }
        ]}
      />
    </ThemeProvider>
  );
}