"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import HeroCentered from '@/components/sections/hero/HeroCentered';
import TextAbout from '@/components/sections/about/TextAbout';
import FeatureCardThree from '@/components/sections/feature/featureCardThree/FeatureCardThree';
import MetricCardOne from '@/components/sections/metrics/MetricCardOne';
import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FooterBase from '@/components/sections/footer/FooterBase';
import { 
  Code, 
  Brain, 
  Smartphone, 
  Cloud, 
  Shield, 
  Gamepad2, 
  Sparkles, 
  TrendingUp, 
  Users, 
  Calendar, 
  Handshake, 
  BookOpen, 
  Star, 
  Mail 
} from "lucide-react";

export default function HomePage() {
  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="hero-section" data-section="hero-section">
        <HeroCentered
          title="Welcome to the Computer Club"
          description="Join a vibrant community of tech enthusiasts and innovators. Together, we explore cutting-edge technologies, collaborate on exciting projects, and grow as developers and creators."
          background={{ variant: "sparkles-gradient" }}
          avatars={[
            { src: "http://img.b2bpic.net/free-photo/portrait-young-handsome-business-man_1303-19609.jpg", alt: "Club member 1" },
            { src: "http://img.b2bpic.net/free-photo/close-up-smiley-man-library_23-2149204750.jpg", alt: "Club member 2" },
            { src: "http://img.b2bpic.net/free-photo/portrait-exhausted-workaholic-man-manager-typing-financial-strategy-using-laptop-computer-while-sitting-desk-table-business-company-office_482257-2321.jpg", alt: "Club member 3" },
            { src: "http://img.b2bpic.net/free-photo/vertical-shot-happy-smiling-woman-sitting-cafe-with-laptop_197531-22982.jpg", alt: "Club member 4" }
          ]}
          avatarText="Join 150+ members"
          buttons={[
            { text: "Get Started", href: "/contact" },
            { text: "Learn More", href: "/about" }
          ]}
          buttonAnimation="slide-up"
          marqueeItems={[
            { type: "text-icon", text: "Web Development", icon: Code },
            { type: "text-icon", text: "AI & Machine Learning", icon: Brain },
            { type: "text-icon", text: "Mobile Apps", icon: Smartphone },
            { type: "text-icon", text: "Cloud Computing", icon: Cloud },
            { type: "text-icon", text: "Cybersecurity", icon: Shield },
            { type: "text-icon", text: "Game Development", icon: Gamepad2 }
          ]}
          marqueeSpeed={25}
          showMarqueeCard={true}
        />
      </div>

      <div id="about-section" data-section="about-section">
        <TextAbout
          tag="Our Mission"
          tagIcon={Sparkles}
          tagAnimation="slide-up"
          title="Empowering the Next Generation of Tech Leaders"
          buttons={[
            { text: "Explore Our Team", href: "/team" },
            { text: "View Our Projects", href: "#features-section" }
          ]}
          buttonAnimation="slide-up"
          useInvertedBackground={true}
        />
      </div>

      <div id="features-section" data-section="features-section">
        <FeatureCardThree
          title="What Makes Our Club Special"
          description="Discover the core activities and initiatives that drive our community forward. From hands-on workshops to collaborative projects, we create opportunities for tech enthusiasts to learn, grow, and innovate together."
          tag="Club Highlights"
          tagIcon={Sparkles}
          tagAnimation="slide-up"
          features={[
            {
              id: "feature-1",
              title: "Technical Workshops",
              description: "Regular hands-on sessions covering programming languages, web development, cybersecurity, and emerging technologies. Learn from experienced members and industry professionals.",
              imageSrc: "http://img.b2bpic.net/free-photo/spacious-area-group-young-people-casual-clothes-working-modern-office_146671-16510.jpg?_wi=1",
              imageAlt: "Members participating in a technical workshop"
            },
            {
              id: "feature-2",
              title: "Collaborative Projects",
              description: "Work together on real-world projects that challenge your skills and expand your portfolio. From open-source contributions to club-exclusive initiatives.",
              imageSrc: "http://img.b2bpic.net/free-photo/teamworking-engineers-coding-advanced-ai-algorithm-startup_482257-125568.jpg?_wi=1",
              imageAlt: "Team members collaborating on a coding project"
            },
            {
              id: "feature-3",
              title: "Networking Events",
              description: "Connect with fellow tech enthusiasts, industry professionals, and potential mentors. Build relationships that last beyond the club.",
              imageSrc: "http://img.b2bpic.net/free-photo/yes_53876-47102.jpg?_wi=1",
              imageAlt: "Members networking at a club event"
            },
            {
              id: "feature-4",
              title: "Competitions & Hackathons",
              description: "Test your skills in friendly competitions and participate in hackathons. Win prizes, gain recognition, and push your creative boundaries.",
              imageSrc: "http://img.b2bpic.net/free-photo/side-view-friends-winning-videogame_23-2149349984.jpg",
              imageAlt: "Hackathon participants working on their solutions"
            }
          ]}
          gridVariant="bento-grid"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          buttons={[
            { text: "Join Our Community", href: "/contact" },
            { text: "Learn More", href: "/about" }
          ]}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="metrics-section" data-section="metrics-section">
        <MetricCardOne
          title="Our Impact in Numbers"
          description="The Computer Club has grown into a thriving community of tech enthusiasts, fostering innovation and collaboration among students passionate about technology."
          tag="Club Achievements"
          tagIcon={TrendingUp}
          tagAnimation="slide-up"
          textboxLayout="default"
          gridVariant="bento-grid"
          animationType="scale-rotate"
          useInvertedBackground={false}
          metrics={[
            {
              id: "members",
              value: "450",
              title: "Active Members",
              description: "Growing community of tech enthusiasts and students",
              icon: Users
            },
            {
              id: "events",
              value: "32",
              title: "Events Hosted",
              description: "Workshops, hackathons, and networking sessions annually",
              icon: Calendar
            },
            {
              id: "projects",
              value: "28",
              title: "Projects Completed",
              description: "Collaborative initiatives showcasing member skills",
              icon: Code
            },
            {
              id: "partnerships",
              value: "12",
              title: "Industry Partners",
              description: "Connections with leading tech companies and mentors",
              icon: Handshake
            },
            {
              id: "workshops",
              value: "85",
              title: "Learning Sessions",
              description: "Technical workshops covering diverse programming topics",
              icon: BookOpen
            },
            {
              id: "satisfaction",
              value: "98",
              title: "Member Satisfaction",
              description: "High engagement and positive feedback from our community",
              icon: Star
            }
          ]}
          buttons={[
            { text: "Join Our Community", href: "/contact" }
          ]}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="testimonials-section" data-section="testimonials-section">
        <TestimonialCardOne
          title="What Our Members Say"
          description="Hear from passionate tech enthusiasts and students who have grown their skills and connections through our computer club community."
          tag="Member Voices"
          tagIcon={Users}
          tagAnimation="slide-up"
          textboxLayout="default"
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          useInvertedBackground={false}
          testimonials={[
            {
              id: "testimonial-1",
              name: "Alex Chen",
              role: "Computer Science Student",
              company: "Tech University",
              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/excited-enthusiastic-girl-feeling-thrilled-makes-fist-pump-screams-from-joy-posing-with_1258-190568.jpg",
              imageAlt: "Alex Chen, Computer Science Student"
            },
            {
              id: "testimonial-2",
              name: "Jordan Martinez",
              role: "Software Developer",
              company: "Innovation Labs",
              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",
              imageAlt: "Jordan Martinez, Software Developer"
            },
            {
              id: "testimonial-3",
              name: "Casey Williams",
              role: "Data Science Enthusiast",
              company: "Tech Community Member",
              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/young-businesswoman-portrait-office_1262-1506.jpg",
              imageAlt: "Casey Williams, Data Science Enthusiast"
            }
          ]}
        />
      </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>
  );
}