"use client"

import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import TextAbout from '@/components/sections/about/TextAbout';
import FeatureCardTwentyTwo from '@/components/sections/feature/FeatureCardTwentyTwo';
import MetricCardOne from '@/components/sections/metrics/MetricCardOne';
import TeamCardEleven from '@/components/sections/team/TeamCardEleven';
import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne';
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";

export default function TechAcademyPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-shift"
      defaultTextAnimation="entrance-slide"
      borderRadius="sharp"
      contentWidth="medium"
      sizing="largeSmallSizeMediumTitles"
      background="none"
      cardStyle="elevated"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          brandName="Jessica & Flowers"
          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="about" data-section="about">
        <TextAbout
          title="We build amazing products"
          useInvertedBackground="invertDefault"
          buttons={[
            { text: "Learn Our Mission", href: "#" }
          ]}
        />
      </div>

      <div id="courses" data-section="courses">
        <FeatureCardTwentyTwo
          title="New Horizons"
          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="team" data-section="team">
        <TeamCardEleven
          title="Meet Our Expert Instructors"
          description="Learn from industry veterans with decades of combined experience in tech"
          groups={[
            {
              id: "senior-team",              groupTitle: "Senior Instructors",              members: [
                {
                  id: "1",                  title: "Sarah Mitchell",                  subtitle: "Lead Web Developer",                  detail: "sarah.mitchell@techacademy.com",                  imageSrc: "https://img.b2bpic.net/free-photo/mid-shot-counselor-cabinet_23-2148759108.jpg",                  imageAlt: "Sarah Mitchell"
                },
                {
                  id: "2",                  title: "Alex Chen",                  subtitle: "Data Science Lead",                  detail: "alex.chen@techacademy.com",                  imageSrc: "https://img.b2bpic.net/free-photo/closeup-senior-lecturer-with-arms-crossed_1262-1753.jpg",                  imageAlt: "Alex Chen"
                },
                {
                  id: "3",                  title: "Marcus Johnson",                  subtitle: "Cloud Architecture Expert",                  detail: "marcus.johnson@techacademy.com",                  imageSrc: "https://img.b2bpic.net/free-photo/close-up-young-business-person-doing-internship_23-2149305396.jpg",                  imageAlt: "Marcus Johnson"
                }
              ]
            },
            {
              id: "support-team",              groupTitle: "Mentors & Support",              members: [
                {
                  id: "4",                  title: "Emma Wilson",                  subtitle: "Career Mentor",                  detail: "emma.wilson@techacademy.com",                  imageSrc: "https://img.b2bpic.net/free-photo/mature-business-manager-office_1098-21368.jpg",                  imageAlt: "Emma Wilson"
                },
                {
                  id: "5",                  title: "David Park",                  subtitle: "Technical Support Lead",                  detail: "david.park@techacademy.com",                  imageSrc: "https://img.b2bpic.net/free-photo/mid-shot-counselor-cabinet_23-2148759108.jpg",                  imageAlt: "David Park"
                }
              ]
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardOne
          title="Our Feedbacks"
          description="Real success stories from graduates who transformed their careers"
          testimonials={[
            {
              id: "1",              name: "James Rodriguez",              role: "Junior Developer",              company: "Tech Startup Inc",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              imageAlt: "James Rodriguez"
            },
            {
              id: "2",              name: "Lisa Wong",              role: "Data Analyst",              company: "Fortune 500 Corp",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/happy-bearded-man-busines-clothes-with-crossed-arms-looking-camera-gray_171337-11335.jpg",              imageAlt: "Lisa Wong"
            },
            {
              id: "3",              name: "Ahmed Hassan",              role: "Cloud Engineer",              company: "Global Tech Solutions",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/man-portrait-posing-loft-modern-space_158595-5368.jpg",              imageAlt: "Ahmed Hassan"
            },
            {
              id: "4",              name: "Rachel Green",              role: "Full Stack Developer",              company: "Digital Agency Pro",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/man-button-up-his-jacket-smiles_23-2148401389.jpg",              imageAlt: "Rachel Green"
            },
            {
              id: "5",              name: "Michael Torres",              role: "DevOps Engineer",              company: "Cloud Infrastructure Co",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/handsome-young-man-posing_158595-3050.jpg",              imageAlt: "Michael Torres"
            },
            {
              id: "6",              name: "Sophia Patel",              role: "Machine Learning Engineer",              company: "AI Innovation Labs",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/portrait-confident-businessman_107420-84879.jpg",              imageAlt: "Sophia Patel"
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          carouselMode="buttons"
        />
      </div>

      <div id="pricing" data-section="pricing">
        <PricingCardNine
          title="Flexible 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="contact" data-section="contact">
        <ContactSplitForm
          title="Ready to Start Your Tech Journey?"
          description="Enroll in a course today and get 20% off your first month. Our enrollment team is here to answer any questions and help you choose the perfect program."
          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://img.b2bpic.net/free-photo/cheerful-mature-call-center-operator-looking-laptop-screen_74855-4013.jpg"
          imageAlt="Contact us for enrollment"
          mediaPosition="right"
          buttonText="Enroll Now"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterMedia
          imageSrc="https://img.b2bpic.net/free-vector/digital-particle-flowing-mesh-technology-background_1017-28408.jpg"
          imageAlt="Technology background"
          logoText="Jessica & Flowers"
          copyrightText="© 2025 Jessica & Flowers. 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 Jessica & Flowers", href: "#" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}