"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FaqDouble from '@/components/sections/faq/FaqDouble';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';

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="contact-body" data-section="contact-body">
      <ContactSplit
      useInvertedBackground={false}
      background={{
        variant: "plain",
      }}
      title="Contact Us"
      description="1st Floor, Buthgamuwa Road, Angoda, Sri Lanka. Call us: 077 111 3391"
      imageSrc="http://img.b2bpic.net/free-photo/girl-near-microscope-observing-teacher_259150-60352.jpg"
      mediaAnimation="slide-up"
      tag="Get in touch"
    />
  </div>

  <div id="faq-body" data-section="faq-body">
      <FaqDouble
      textboxLayout="default"
      useInvertedBackground={true}
      faqs={[
        {
          id: "q1",
          title: "Do you provide notes?",
          content: "Yes, comprehensive notes are provided for all subjects.",
        },
        {
          id: "q2",
          title: "What mediums do you cover?",
          content: "We cover both English and Sinhala mediums.",
        },
        {
          id: "q3",
          title: "Are there demo classes?",
          content: "Yes, we encourage students to attend a demo session.",
        },
      ]}
      title="Common Questions"
      faqsAnimation="slide-up"
      description="Find answers to frequently asked questions about our programs."
    />
  </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>
  );
}
