"use client"

import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import HeroBillboardGallery from '@/components/sections/hero/HeroBillboardGallery';
import FeatureCardTwentyTwo from '@/components/sections/feature/FeatureCardTwentyTwo';
import MetricCardOne from '@/components/sections/metrics/MetricCardOne';
import PricingCardNine from '@/components/sections/pricing/PricingCardNine';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import { Sparkles, BookOpen, Users, TrendingUp, Award, Target } from "lucide-react";
import HeroBillboard1 from '@/components/sections/hero/HeroBillboard1';
import ButtonTextUnderline from '@/components/button/ButtonTextUnderline';
import TeamCardOne1 from '@/components/sections/team/TeamCardOne1';

export default function TechAcademyPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-shift"
      defaultTextAnimation="entrance-slide"
      borderRadius="lg"
      contentWidth="medium"
      sizing="largeSmallSizeMediumTitles"
      background="none"
      cardStyle="elevated"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          brandName="TechMasters"
          navItems={[
            { name: "Home", id: "hero" },
            { name: "Courses", id: "courses" },
            { name: "About", id: "about" },
            { name: "Pricing", id: "pricing" },
            { name: "Contact", id: "contact" }
          ]}
          button={{
            text: "Enroll Now",            href: "contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardGallery
          title="Master In-Demand Tech Skills"
          description="Learn from industry experts and transform your career with our comprehensive IT academy. Hands-on courses in web development, data science, cloud computing, and more."
          background={{ variant: "radial-gradient" }}
          tag="Welcome to TechMasters"
          tagIcon={Sparkles}
          buttons={[
            { text: "Start Learning", href: "courses" },
            { text: "Explore Courses", href: "courses" }
          ]}
          mediaItems={[
            { imageSrc: "https://img.b2bpic.net/free-photo/learning-concept-close-up-student-using-laptop-alibrary_1150-16609.jpg", imageAlt: "Student coding on laptop" },
            { imageSrc: "https://img.b2bpic.net/free-photo/young-man-learning-virtual-classroom_23-2149200181.jpg", imageAlt: "Developer at workspace" },
            { imageSrc: "https://img.b2bpic.net/free-photo/row-serious-focused-coworkers-sitting-table-typing-laptops_74855-10363.jpg", imageAlt: "Software engineer professional" },
            { imageSrc: "https://img.b2bpic.net/free-photo/medium-shot-woman-reading-coffee-shop_23-2150183751.jpg", imageAlt: "Online course in progress" },
            { imageSrc: "https://img.b2bpic.net/free-photo/medium-shot-woman-reading-coffee-shop_23-2150183754.jpg", imageAlt: "Training workshop session" }
          ]}
        />
      </div>

      <div id="courses" data-section="courses">
        <FeatureCardTwentyTwo
          title="Our Popular Courses"
          description="Comprehensive learning pathways designed by industry professionals to prepare you for real-world challenges"
          tag="Courses"
          tagIcon={BookOpen}
          features={[
            {
              id: "1",              title: "Full Stack Web Development: From Frontend to Backend Mastery",              category: ["Web Development", "JavaScript", "React"],
              imageSrc: "https://img.b2bpic.net/free-photo/person-front-computer-working-html_23-2150040428.jpg",              imageAlt: "Web development course"
            },
            {
              id: "2",              title: "Data Science & Machine Learning: Unlock Predictive Analytics Power",              category: ["Data Science", "Python", "AI"],
              imageSrc: "https://img.b2bpic.net/free-photo/programming-background-collage_23-2149901777.jpg",              imageAlt: "Data science course"
            },
            {
              id: "3",              title: "Cloud Computing with AWS: Build Scalable Infrastructure",              category: ["Cloud", "AWS", "DevOps"],
              imageSrc: "https://img.b2bpic.net/free-photo/person-front-computer-working-html_23-2150040416.jpg",              imageAlt: "Cloud computing course"
            },
            {
              id: "4",              title: "Cybersecurity Fundamentals: Protect Your Digital Assets",              category: ["Security", "Networking", "Protection"],
              imageSrc: "https://img.b2bpic.net/free-photo/person-front-computer-working-html_23-2150040428.jpg",              imageAlt: "Cybersecurity course"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          buttons={[
            { text: "View All Courses", href: "#" }
          ]}
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardOne
          title="Our Impact by Numbers"
          description="Trusted by thousands of students and employers worldwide"
          metrics={[
            {
              id: "1",              value: "5000",              title: "Students Trained",              description: "Successful learners completing our programs",              icon: Users
            },
            {
              id: "2",              value: "95",              title: "% Job Placement",              description: "Graduates landing roles within 3 months",              icon: TrendingUp
            },
            {
              id: "3",              value: "50",              title: "Industry Partners",              description: "Leading tech companies hiring our graduates",              icon: Award
            },
            {
              id: "4",              value: "100",              title: "Expert Instructors",              description: "Certified professionals with real-world experience",              icon: Target
            }
          ]}
          animationType="slide-up"
          gridVariant="uniform-all-items-equal"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Get in Touch"
          description="We would love to hear from you"
          inputs={[
            { name: "fullName", type: "text", placeholder: "Your full name", required: true },
            { name: "email", type: "email", placeholder: "your.email@example.com", required: true },
            { name: "phone", type: "tel", placeholder: "+1 (555) 000-0000", required: false },
            { name: "courseInterest", type: "text", placeholder: "Which course interests you?", required: true }
          ]}
          textarea={{
            name: "message",            placeholder: "Tell us about your learning goals and experience level...",            rows: 5,
            required: false
          }}
          useInvertedBackground="noInvert"
          imageSrc="https://example.com/new-contact.jpg"
          imageAlt="Contact us for enrollment"
          mediaPosition="right"
          buttonText="Enroll Now"
          className="animate-fade-in"
        />
      </div>

      <div id="team" data-section="team">
      <TeamCardOne1
      title="Meet Our Expert Team"
      />
      </div>
      <div id="pricing" data-section="pricing">
        <PricingCardNine
          title="Best Pricing Plans"
          description="Choose the perfect plan for your learning journey and budget"
          plans={[
            {
              id: "starter",              title: "Starter",              price: "$99",              period: "/month",              imageSrc: "https://img.b2bpic.net/free-photo/young-woman-holding-face-brushes-smiling_259150-60140.jpg",              imageAlt: "Starter plan",              button: {
                text: "Get Started",                href: "contact"
              },
              features: [
                "Access to 5 beginner courses",                "Community forum access",                "Email support",                "Certificate of completion",                "30-day money-back guarantee"
              ]
            },
            {
              id: "professional",              title: "Professional",              price: "$299",              period: "/month",              imageSrc: "https://img.b2bpic.net/free-photo/front-view-bride-getting-ready-event_23-2149721976.jpg",              imageAlt: "Professional plan",              button: {
                text: "Upgrade to Pro",                href: "contact"
              },
              features: [
                "All Starter features",                "Access to all 20+ courses",                "1-on-1 mentorship",                "Priority support",                "Job placement assistance",                "Career coaching sessions"
              ]
            },
            {
              id: "enterprise",              title: "Enterprise",              price: "$999",              period: "/month",              imageSrc: "https://img.b2bpic.net/free-photo/beautiful-young-woman-making-make-up-near-mirror-home_1301-7637.jpg",              imageAlt: "Enterprise plan",              button: {
                text: "Contact Sales",                href: "contact"
              },
              features: [
                "All Professional features",                "Custom curriculum design",                "Dedicated success manager",                "Team training programs",                "Corporate partnerships",                "API access for integrations"
              ]
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="hero_billboard_1" data-section="hero_billboard_1">
        <HeroBillboard1
          title="Transform Your Tech Career"
          background={{ variant: "plain" }}
        />
      </div>
      <div id="hero_billboard_gallery" data-section="hero_billboard_gallery">
        <HeroBillboardGallery
          title="Empower Your Tech Journey"
          description="Unlock your potential with TechMasters, where innovation meets education."
          background={{ variant: "plain" }}
          tag="TechMastery"
          buttons={[{ label: "Explore Courses", href: "#" }, { label: "Join Now", href: "#" }]}
          mediaItems={[{ title: "Master In-Demand Tech Skills", description: "Stay ahead in the tech industry with our cutting-edge courses." }, { title: "Empowering the Next Generation", description: "Invest in your future with TechMasters' comprehensive learning programs." }]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterMedia
          imageSrc="https://example.com/new-footer-bg.jpg"
          imageAlt="Technology background"
          logoText="TechMasters"
          copyrightText="© 2026 TechMasters. All rights reserved."
          columns={[
            {
              title: "Programs",              items: [
                { label: "Web Development", href: "#" },
                { label: "Data Science", href: "#" },
                { label: "Cloud Computing", href: "#" },
                { label: "Cybersecurity", href: "#" }
              ]
            },
            {
              title: "Resources",              items: [
                { label: "Course Catalog", href: "#" },
                { label: "Blog & Articles", href: "#" },
                { label: "Documentation", href: "#" },
                { label: "Career Resources", href: "#" }
              ]
            },
            {
              title: "Company",              items: [
                { label: "About Us", href: "#" },
                { label: "Contact Support", href: "#" },
                { label: "Partners", href: "#" },
                { label: "Careers at TechMasters", href: "#" }
              ]
            }
          ]}
        />
      </div>
      <div id="button_text_underline" data-section="button_text_underline">
        <ButtonTextUnderline
          text="Join Our Community"
          scrollToSection={false}
          type="button"
        />
      </div>    </ThemeProvider>
  );
}