"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import PricingCardEight from '@/components/sections/pricing/PricingCardEight';
import FeatureCardTwentyOne from '@/components/sections/feature/FeatureCardTwentyOne';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import { Sparkles, Crown, CheckCircle } from "lucide-react";

export default function CoursesPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="elastic-effect"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="medium"
      sizing="medium"
      background="aurora"
      cardStyle="soft-shadow"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="glass"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="NoGoogle"
          navItems={[
            { name: "Home", id: "/" },
            { name: "Courses", id: "/courses" },
            { name: "About", id: "/about" },
            { name: "Blog", id: "/blog" }
          ]}
          button={{ text: "Enroll Now", href: "/enroll" }}
        />
      </div>

      <div id="pricing" data-section="pricing">
        <PricingCardEight
          title="Flexible Learning Plans"
          description="Choose the program that fits your goals and budget."
          tag="Pricing"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="slide-up"
          plans={[
            {
              id: "beginner",
              badge: "Perfect Start",
              badgeIcon: Sparkles,
              price: "$299",
              subtitle: "Per month",
              buttons: [{ text: "Get Started", href: "/enroll" }],
              features: [
                "Fundamentals of Web Development",
                "12 weeks of coursework",
                "Community access",
                "Project portfolio building",
                "Email support"
              ]
            },
            {
              id: "professional",
              badge: "Most Popular",
              badgeIcon: Sparkles,
              price: "$599",
              subtitle: "Per month",
              buttons: [{ text: "Enroll Now", href: "/enroll" }],
              features: [
                "Full-Stack Development Track",
                "24 weeks of intensive training",
                "1-on-1 mentorship",
                "Industry project experience",
                "Job preparation support",
                "Career coaching"
              ]
            },
            {
              id: "enterprise",
              badge: "Premium",
              badgeIcon: Crown,
              price: "$999",
              subtitle: "Per month",
              buttons: [{ text: "Book Consultation", href: "/contact" }],
              features: [
                "Advanced AI & Cloud Engineering",
                "36 weeks specialized track",
                "Premium mentorship",
                "Live industry collaboration",
                "Advanced portfolio projects",
                "Priority job placement",
                "Lifetime alumni network"
              ]
            }
          ]}
        />
      </div>

      <div id="curriculum-features" data-section="curriculum-features">
        <FeatureCardTwentyOne
          title="Comprehensive Curriculum"
          description="Our courses are designed to give you practical skills that employers want."
          tag="What You'll Learn"
          tagIcon={CheckCircle}
          imageSrc="https://img.b2bpic.net/free-photo/guy-girl-are-sitting-table-african-girl-computer-science-class-kids-playing-computer-games_1157-42298.jpg"
          imageAlt="Students learning curriculum"
          useInvertedBackground="invertDefault"
          mediaPosition="left"
          accordionItems={[
            {
              id: "1",
              title: "Modern Web Technologies",
              content: "Master React, Next.js, TypeScript, and modern JavaScript frameworks used by top tech companies."
            },
            {
              id: "2",
              title: "Cloud & DevOps",
              content: "Learn AWS, Docker, Kubernetes, and CI/CD pipelines to deploy and scale applications."
            },
            {
              id: "3",
              title: "AI & Machine Learning",
              content: "Build intelligent applications with Python, TensorFlow, and modern AI frameworks."
            }
          ]}
        />
      </div>

      <div id="mentorship-features" data-section="mentorship-features">
        <FeatureCardTwentyOne
          title="Expert Mentorship Program"
          description="Get personalized guidance from industry professionals working at leading tech companies."
          tag="1-on-1 Support"
          tagIcon={CheckCircle}
          imageSrc="https://img.b2bpic.net/free-photo/medium-shot-men-discussing-work_52683-101636.jpg"
          imageAlt="Mentoring session"
          useInvertedBackground="noInvert"
          mediaPosition="right"
          accordionItems={[
            {
              id: "1",
              title: "Weekly Code Reviews",
              content: "Get your code reviewed by senior developers and learn best practices from real-world experience."
            },
            {
              id: "2",
              title: "Career Guidance",
              content: "Navigate your tech career with insights from professionals who've been there and done that."
            },
            {
              id: "3",
              title: "Portfolio Development",
              content: "Build a standout portfolio that showcases your skills and attracts top employers."
            }
          ]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseCard
          logoText="NoGoogle"
          columns={[
            {
              title: "Programs",
              items: [
                { label: "Web Development", href: "/courses/web-development" },
                { label: "Cloud Engineering", href: "/courses/cloud-engineering" },
                { label: "AI & Machine Learning", href: "/courses/ai-ml" },
                { label: "Full Stack Bootcamp", href: "/courses/bootcamp" }
              ]
            },
            {
              title: "Company",
              items: [
                { label: "About Us", href: "/about" },
                { label: "Our Team", href: "/team" },
                { label: "Blog", href: "/blog" },
                { label: "Careers", href: "/careers" }
              ]
            },
            {
              title: "Resources",
              items: [
                { label: "FAQ", href: "/faq" },
                { label: "Documentation", href: "/docs" },
                { label: "Community", href: "/community" },
                { label: "Support", href: "/support" }
              ]
            },
            {
              title: "Connect",
              items: [
                { label: "Twitter", href: "https://twitter.com" },
                { label: "GitHub", href: "https://github.com" },
                { label: "LinkedIn", href: "https://linkedin.com" },
                { label: "Discord", href: "https://discord.com" }
              ]
            }
          ]}
          copyrightText="© 2025 NoGoogle. All rights reserved."
        />
      </div>
    </ThemeProvider>
  );
}