"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
import FeatureCardTwentySix from '@/components/sections/feature/FeatureCardTwentySix';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import HeroOverlay from '@/components/sections/hero/HeroOverlay';
import MetricCardFourteen from '@/components/sections/metrics/MetricCardFourteen';
import MetricSplitMediaAbout from '@/components/sections/about/MetricSplitMediaAbout';
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import TeamCardOne from '@/components/sections/team/TeamCardOne';
import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen';
import { BookOpenText, HeartPulse, Award, Brain } from 'lucide-react';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="directional-hover"
        defaultTextAnimation="background-highlight"
        borderRadius="pill"
        contentWidth="smallMedium"
        sizing="mediumSizeLargeTitles"
        background="noise"
        cardStyle="layered-gradient"
        primaryButtonStyle="gradient"
        secondaryButtonStyle="solid"
        headingFontWeight="semibold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleApple
      navItems={[
        {
          name: "Home",          id: "#hero"},
        {
          name: "About Us",          id: "#about"},
        {
          name: "Programs",          id: "#features"},
        {
          name: "Our Team",          id: "#team"},
        {
          name: "Admissions",          id: "#faq"},
        {
          name: "Contact",          id: "#contact"},
      ]}
      brandName="Vidyashree International School"
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroOverlay
      title="Vidyashree International School: Nurturing Excellence from Playgroup to 12th Grade"
      description="Providing the best quality CBSE English Medium education with a strong focus on academics, sports, and comprehensive preparation for Navodya classes."
      buttons={[
        {
          text: "Explore Programs",          href: "#features"},
        {
          text: "Admissions",          href: "#contact"},
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/cheerful-student-posing-fence_23-2147666700.jpg"
      imageAlt="Modern school building with students"
      showBlur={true}
      textPosition="bottom"
      avatars={[
        {
          src: "http://img.b2bpic.net/free-photo/portrait-woman-working-her-office-businesswoman-sitting-with-her-notebook-writing-making_1258-194709.jpg",          alt: "Parent smiling"},
        {
          src: "http://img.b2bpic.net/free-photo/cheerful-businesswoman-showing-winning-gesture_1262-4730.jpg",          alt: "Satisfied parent"},
        {
          src: "http://img.b2bpic.net/free-photo/portrait-business-woman-suit-sitting-her-office-answering-phone-call-with-pleased_1258-194677.jpg",          alt: "Supportive community member"},
        {
          src: "http://img.b2bpic.net/free-photo/business-woman-green-suit-using-phone-outside-street_1303-29546.jpg",          alt: "Happy student's guardian"},
        {
          src: "http://img.b2bpic.net/free-photo/mid-shot-father-son-posingh-smiling_23-2148441074.jpg",          alt: "Engaged parent"},
      ]}
      avatarText="Join our growing community of happy families!"
    />
  </div>

  <div id="about" data-section="about">
      <MetricSplitMediaAbout
      useInvertedBackground={true}
      title="Our Vision for Holistic Education"
      description="At Vidyashree International School, we are dedicated to fostering intellectual curiosity, physical well-being, and strong character in every student. Our CBSE English Medium curriculum, spanning from Playgroup to 12th grade, is designed to provide a challenging yet supportive learning environment. We believe in nurturing well-rounded individuals prepared for global challenges and future success."
      metrics={[
        {
          value: "20+",          title: "Years of Excellence"},
        {
          value: "2000+",          title: "Students Enrolled"},
        {
          value: "150+",          title: "Qualified Educators"},
        {
          value: "100%",          title: "CBSE Pass Rate"},
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/medium-shot-kids-laying-floor_23-2149351765.jpg"
      imageAlt="Happy students learning in a classroom"
      mediaAnimation="slide-up"
    />
  </div>

  <div id="features" data-section="features">
      <FeatureCardTwentySix
      textboxLayout="default"
      useInvertedBackground={false}
      features={[
        {
          title: "Academic Excellence (CBSE)",          description: "Our rigorous CBSE English Medium curriculum ensures a strong foundation in all subjects, preparing students for higher education and competitive exams.",          imageSrc: "http://img.b2bpic.net/free-photo/woman-writing-business-idea_23-2148898699.jpg",          imageAlt: "Students in a modern classroom",          buttonIcon: BookOpenText,
        },
        {
          title: "Holistic Sports Program",          description: "Beyond academics, we offer a diverse range of sports and physical activities, promoting teamwork, discipline, and healthy lifestyles from a young age.",          imageSrc: "http://img.b2bpic.net/free-photo/child-fitness-teenager-girls-running-stadium-track_169016-43140.jpg",          imageAlt: "Children playing sports on a field",          buttonIcon: HeartPulse,
        },
        {
          title: "Navodya Class Preparation",          description: "Dedicated coaching and specialized resources for students aspiring to join Navodya Vidyalaya, ensuring they are well-equipped for success.",          imageSrc: "http://img.b2bpic.net/free-photo/handsome-youngster-casual-t-shirt_273609-44841.jpg",          imageAlt: "Students studying for competitive exams",          buttonIcon: Award,
        },
        {
          title: "Character & Skill Development",          description: "We focus on developing critical thinking, creativity, communication, and collaboration through various extracurricular and co-curricular activities.",          imageSrc: "http://img.b2bpic.net/free-photo/teens-doing-experiments-robotics-laboratory-boy-girl-protective-glasses-working_1268-23736.jpg",          imageAlt: "Students engaged in creative activities",          buttonIcon: Brain,
        },
      ]}
      title="Our Pillars of Quality Education"
      description="Discover what makes Vidyashree International School the ideal place for your child's growth and learning journey."
    />
  </div>

  <div id="metrics" data-section="metrics">
      <MetricCardFourteen
      useInvertedBackground={true}
      title="Proven Track Record of Success"
      tag="Our Achievements"
      metrics={[
        {
          id: "m1",          value: "98%",          description: "Student Satisfaction Rate"},
        {
          id: "m2",          value: "A+",          description: "Overall School Rating"},
        {
          id: "m3",          value: "15+",          description: "National Sports Awards"},
        {
          id: "m4",          value: "90%",          description: "Graduates in Top Universities"},
      ]}
      metricsAnimation="slide-up"
    />
  </div>

  <div id="team" data-section="team">
      <TeamCardOne
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={false}
      members={[
        {
          id: "t1",          name: "Dr. Anjali Sharma",          role: "Principal",          imageSrc: "http://img.b2bpic.net/free-photo/closeup-happy-senior-businessman-with-flipchart_1262-1744.jpg",          imageAlt: "Dr. Anjali Sharma"},
        {
          id: "t2",          name: "Mr. Rohan Singh",          role: "Head of Academics",          imageSrc: "http://img.b2bpic.net/free-photo/word-school-supplies-white_23-2147655991.jpg",          imageAlt: "Mr. Rohan Singh"},
        {
          id: "t3",          name: "Ms. Priya Mehta",          role: "Sports Coordinator",          imageSrc: "http://img.b2bpic.net/free-photo/brutal-athletic-male-vogue-model-dressed-white-shirt-grey-background_613910-9888.jpg",          imageAlt: "Ms. Priya Mehta"},
        {
          id: "t4",          name: "Mr. Vikram Kumar",          role: "Admissions Officer",          imageSrc: "http://img.b2bpic.net/free-photo/young-woman-sitting-library_273609-15845.jpg",          imageAlt: "Mr. Vikram Kumar"},
        {
          id: "t5",          name: "Mrs. Kavita Rao",          role: "Senior Science Teacher",          imageSrc: "http://img.b2bpic.net/free-photo/job-colleagues-using-whiteboard_23-2148761316.jpg",          imageAlt: "Mrs. Kavita Rao"},
        {
          id: "t6",          name: "Ms. Sneha Gupta",          role: "Playgroup Educator",          imageSrc: "http://img.b2bpic.net/free-photo/children-drawing-together-classroom_23-2148925457.jpg",          imageAlt: "Ms. Sneha Gupta"},
      ]}
      title="Meet Our Dedicated Educators"
      description="Our faculty comprises highly experienced and passionate educators committed to inspiring young minds and fostering a love for learning."
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardFifteen
      useInvertedBackground={true}
      testimonial="Vidyashree International School has truly transformed my child's academic journey. The focus on holistic development and personalized attention is exceptional. We couldn't be happier with the quality of education and the nurturing environment."
      rating={5}
      author="Mrs. Sunita Devi, Parent"
      avatars={[
        {
          src: "http://img.b2bpic.net/free-photo/business-woman-green-suit-using-phone-outside-street_1303-29544.jpg",          alt: "Sunita Devi"},
        {
          src: "http://img.b2bpic.net/free-photo/happy-father-taking-his-son_23-2147615912.jpg",          alt: "Ramesh Kumar"},
        {
          src: "http://img.b2bpic.net/free-photo/front-view-female-student-pink-t-shirt-with-yellow-backpack-yawning-light-blue-wall_140725-42287.jpg",          alt: "Ananya Sharma"},
        {
          src: "http://img.b2bpic.net/free-photo/husband-son-positive-young-joy_1262-2826.jpg",          alt: "Priya & Amit Singh"},
        {
          src: "http://img.b2bpic.net/free-photo/portrait-smiling-young-man_1268-21877.jpg",          alt: "Rahul Verma"},
        {
          src: "http://img.b2bpic.net/free-photo/happy-beautiful-blonde-woman-wearing-white-shirt-standing-co-working-space-leaning-desk-posing_74855-9949.jpg",          alt: "Happy senior teacher portrait"},
      ]}
      ratingAnimation="slide-up"
      avatarsAnimation="slide-up"
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqSplitMedia
      textboxLayout="default"
      useInvertedBackground={false}
      faqs={[
        {
          id: "f1",          title: "What is the age criteria for Playgroup admission?",          content: "For Playgroup, children must be 2.5 years old as of 31st March of the admission year. Specific dates are available on our admissions page."},
        {
          id: "f2",          title: "What curriculum does Vidyashree International School follow?",          content: "We proudly follow the CBSE (Central Board of Secondary Education) curriculum, delivered in English Medium, ensuring comprehensive and nationally recognized education."},
        {
          id: "f3",          title: "What kind of sports facilities are available?",          content: "Our campus boasts state-of-the-art facilities including a large football ground, basketball courts, a swimming pool, indoor sports complex, and specialized trainers for various sports."},
        {
          id: "f4",          title: "How does the school prepare students for Navodya classes?",          content: "We offer specialized coaching classes, regular mock tests, and comprehensive study materials tailored to the Navodya Vidyalaya entrance examination syllabus. Our expert faculty provides personalized guidance."},
        {
          id: "f5",          title: "Are there any extracurricular activities?",          content: "Yes, we offer a wide range of extracurricular activities including music, dance, art & craft, robotics, debate club, environmental club, and various literary societies to ensure holistic development."},
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/row-multiethnic-elementary-students-reading-book-classroom-vintage-effect-style-pictures_1253-1577.jpg"
      imageAlt="Students reading books in school library"
      mediaAnimation="slide-up"
      mediaPosition="right"
      title="Frequently Asked Questions"
      description="Find quick answers to common queries about our school, admissions, and programs."
      faqsAnimation="slide-up"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactSplitForm
      useInvertedBackground={true}
      title="Get in Touch with Vidyashree"
      description="Have questions or want to learn more about admissions? Fill out the form below, and our team will get back to you shortly."
      inputs={[
        {
          name: "name",          type: "text",          placeholder: "Your Name",          required: true,
        },
        {
          name: "email",          type: "email",          placeholder: "Your Email",          required: true,
        },
        {
          name: "phone",          type: "tel",          placeholder: "Phone Number (Optional)"},
      ]}
      textarea={{
        name: "message",        placeholder: "Your Message",        rows: 4,
        required: true,
      }}
      imageSrc="http://img.b2bpic.net/free-photo/mother-prepare-little-daughter-school_1157-31770.jpg"
      imageAlt="Exterior view of Vidyashree International School"
      mediaAnimation="slide-up"
      mediaPosition="left"
      buttonText="Send Inquiry"
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterBaseCard
      logoSrc="http://img.b2bpic.net/free-photo/international-day-education-cartoon-style_23-2151007403.jpg"
      logoAlt="Vidyashree International School Logo"
      logoText="Vidyashree International School"
      columns={[
        {
          title: "Quick Links",          items: [
            {
              label: "About Us",              href: "#about"},
            {
              label: "Programs",              href: "#features"},
            {
              label: "Admissions",              href: "#faq"},
            {
              label: "Contact",              href: "#contact"},
          ],
        },
        {
          title: "Academics",          items: [
            {
              label: "CBSE Curriculum",              href: "#features"},
            {
              label: "Playgroup to 12th",              href: "#features"},
            {
              label: "Navodya Prep",              href: "#features"},
            {
              label: "Departments",              href: "#"},
          ],
        },
        {
          title: "Connect",          items: [
            {
              label: "Facebook",              href: "#"},
            {
              label: "Instagram",              href: "#"},
            {
              label: "YouTube",              href: "#"},
            {
              label: "Careers",              href: "#"},
          ],
        },
      ]}
      copyrightText="© 2024 Vidyashree International School. All rights reserved."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
