"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import FeatureCardTwentyFour from '@/components/sections/feature/FeatureCardTwentyFour';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import HeroSplitKpi from '@/components/sections/hero/HeroSplitKpi';
import MetricCardFourteen from '@/components/sections/metrics/MetricCardFourteen';
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import TestimonialCardTwo from '@/components/sections/testimonial/TestimonialCardTwo';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="elastic-effect"
        defaultTextAnimation="background-highlight"
        borderRadius="pill"
        contentWidth="smallMedium"
        sizing="mediumSizeLargeTitles"
        background="grid"
        cardStyle="inset"
        primaryButtonStyle="shadow"
        secondaryButtonStyle="solid"
        headingFontWeight="light"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleFullscreen
      navItems={[
        {
          name: "Home",          id: "/"},
        {
          name: "About",          id: "/about"},
        {
          name: "Courses",          id: "/courses"},
        {
          name: "Contact",          id: "/contact"},
      ]}
      brandName="Wisdom Science & Maths"
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroSplitKpi
      title="Build Your Future with Excellence in Science & Mathematics"
      description="English Medium & Sinhala Medium Classes for Grade 6 to O/L. Enroll today for top-tier academic coaching."
      background={{ variant: "gradient-bars" }}
      kpis={[
        { value: "95%", label: "Pass Rate" },
        { value: "500+", label: "Enrolled" },
        { value: "15+", label: "Expert Tutors" }
      ]}
      enableKpiAnimation={true}
      buttons={[
        { text: "Enroll Now", href: "/contact" },
        { text: "Contact Us", href: "/contact" }
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/creative-students-brainstorming-new-project_23-2147664141.jpg"
    />
  </div>

  <div id="features" data-section="features">
      <FeatureCardTwentyFour
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={true}
      features={[
        {
          id: "f1",          title: "Experienced Teachers",          author: "Expert Faculty",          description: "Subject masters dedicated to your success.",          tags: [
            "Experienced",            "Qualified"],
          imageSrc: "http://img.b2bpic.net/free-photo/light-bulb-near-back-school-writing_23-2147864634.jpg"},
        {
          id: "f2",          title: "Small Group Classes",          author: "Individual Focus",          description: "Personalized learning paths for everyone.",          tags: [
            "Personalized",            "Small Groups"],
          imageSrc: "http://img.b2bpic.net/free-photo/abstract-creation-made-from-3d-geometric-shapes_23-2150829267.jpg"},
        {
          id: "f3",          title: "Exam-Focused",          author: "Results Driven",          description: "Strategy-based revision for O/Ls.",          tags: [
            "Focused",            "Revision"],
          imageSrc: "http://img.b2bpic.net/free-vector/modern-education-elements-background_23-2147748628.jpg"},
        {
          id: "f4",          title: "Modern Resources",          author: "Smart Learning",          description: "Latest study materials and tools.",          tags: [
            "Resourceful",            "Tech-Enabled"],
          imageSrc: "http://img.b2bpic.net/free-photo/creative-composition-with-pins_23-2147654566.jpg"},
        {
          id: "f5",          title: "Flexible Scheduling",          author: "Convenient",          description: "Classes arranged to suit your busy day.",          tags: [
            "Flexible",            "Accessible"],
          imageSrc: "http://img.b2bpic.net/free-photo/man-with-magnifying-glass-with-risograph-effect-remixed-media_53876-126906.jpg"},
      ]}
      title="Why Wisdom Tuition Centre?"
      description="Excellence in every lesson."
    />
  </div>

  <div id="metrics" data-section="metrics">
      <MetricCardFourteen
      useInvertedBackground={false}
      title="Proven Track Record"
      tag="Excellence"
      metrics={[
        {
          id: "m1",          value: "95%",          description: "Pass Rate"},
        {
          id: "m2",          value: "500+",          description: "Students Enrolled"},
        {
          id: "m3",          value: "15+",          description: "Expert Tutors"},
      ]}
      metricsAnimation="slide-up"
    />
  </div>

  <div id="socialProof" data-section="socialProof">
      <SocialProofOne
      textboxLayout="default"
      useInvertedBackground={false}
      title="Trusted by Families"
      description="We are proud to serve the community for over a decade."
      names={[
        "Island Toppers",        "Math Olympians",        "Academic Excellence Award",        "Science Fair Winners",        "High Achievers Hub"]}
    />
  </div>

  <div id="testimonial" data-section="testimonial">
      <TestimonialCardTwo
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      testimonials={[]}
      title="Testimonials"
      description="What our students say."
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterLogoEmphasis
      columns={[
        {
          items: [
            {
              label: "About",              href: "/about"},
            {
              label: "Courses",              href: "/courses"},
          ],
        },
        {
          items: [
            {
              label: "Contact Us",              href: "/contact"},
            {
              label: "Schedule",              href: "#"},
          ],
        },
      ]}
      logoText="Wisdom Science & Maths"
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}