"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactCTA from '@/components/sections/contact/ContactCTA';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import PricingCardNine from '@/components/sections/pricing/PricingCardNine';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="text-shift"
        defaultTextAnimation="reveal-blur"
        borderRadius="soft"
        contentWidth="small"
        sizing="mediumLargeSizeMediumTitles"
        background="noiseDiagonalGradient"
        cardStyle="outline"
        primaryButtonStyle="primary-glow"
        secondaryButtonStyle="layered"
        headingFontWeight="bold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleCentered
      navItems={[
        {
          name: "Home",
          id: "/",
        },
        {
          name: "About",
          id: "/about",
        },
        {
          name: "Services",
          id: "/services",
        },
        {
          name: "Doctors",
          id: "/doctors",
        },
        {
          name: "Book Appointment",
          id: "/book-appointment",
        },
        {
          name: "Blog",
          id: "/blog",
        },
        {
          name: "Contact",
          id: "/contact",
        },
        {
          name: "Dashboard",
          id: "/dashboard",
        },
      ]}
      button={{
        text: "Book Appointment",
        href: "/book-appointment",
      }}
      topBarButton={{
        text: "Emergency Contact",
        href: "/contact#emergency",
      }}
      brandName="NovaCare Clinic"
    />
  </div>

  <div id="appointment-options" data-section="appointment-options">
      <PricingCardNine
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={true}
      plans={[
        {
          id: "general",
          title: "General Consultation",
          price: "$150",
          period: "/ session",
          features: [
            "30-minute doctor's visit",
            "Basic health check-up",
            "General medical advice",
            "Follow-up scheduling",
          ],
          button: {
            text: "Book Now",
            href: "#",
          },
          imageSrc: "http://img.b2bpic.net/free-photo/clinic-general-practitioner-expert-talking-retired-patient-about-health-risks-treatment-benefits-hospital-medic-specialist-speaking-about-consultation-appointment-prescribed-medicine-exam_482257-44409.jpg",
          imageAlt: "General Consultation",
        },
        {
          id: "specialist",
          title: "Specialist Consultation",
          price: "$250",
          period: "/ session",
          features: [
            "45-minute specialist visit",
            "Targeted diagnostic review",
            "Advanced treatment plan",
            "Direct referral coordination",
          ],
          button: {
            text: "Book Now",
            href: "#",
          },
          imageSrc: "http://img.b2bpic.net/free-photo/empty-bright-medical-office-having-computer-table-with-coronavirus-cell-screen-virus-examination-hospital-room-with-nobody-it-equipped-with-professional-tools-virus-illustration_482257-39808.jpg",
          imageAlt: "Specialist Consultation",
        },
        {
          id: "wellness",
          title: "Comprehensive Wellness Plan",
          price: "$400",
          period: "/ year",
          features: [
            "Annual full body check-up",
            "Personalized wellness plan",
            "Priority booking access",
            "Health coaching sessions",
          ],
          button: {
            text: "Enroll Now",
            href: "#",
          },
          imageSrc: "http://img.b2bpic.net/free-photo/health-life-medical-exercise-concept_53876-124795.jpg",
          imageAlt: "Wellness Plan",
        },
      ]}
      title="Choose Your Appointment Type"
      description="Select the best option for your needs, from general check-ups to specialized consultations. Our streamlined booking process makes it easy."
    />
  </div>

  <div id="booking-support" data-section="booking-support">
      <ContactCTA
      useInvertedBackground={false}
      background={{
        variant: "plain",
      }}
      tag="Need Help Booking?"
      title="Our Team is Here to Assist You"
      description="If you have any questions about booking, need help choosing a specialist, or require immediate assistance, please don't hesitate to reach out."
      buttons={[
        {
          text: "Call Us Now",
          href: "tel:+11234567890",
        },
        {
          text: "Send an Inquiry",
          href: "/contact",
        },
      ]}
      buttonAnimation="slide-up"
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterMedia
      imageSrc="http://img.b2bpic.net/free-photo/futuristic-store-with-abstract-concept-architecture_23-2150861962.jpg"
      imageAlt="Modern Clinic at Sunset"
      logoText="NovaCare Clinic"
      columns={[
        {
          title: "Quick Links",
          items: [
            {
              label: "Home",
              href: "/",
            },
            {
              label: "About Us",
              href: "/about",
            },
            {
              label: "Services",
              href: "/services",
            },
            {
              label: "Doctors",
              href: "/doctors",
            },
          ],
        },
        {
          title: "Departments",
          items: [
            {
              label: "General Medicine",
              href: "/services#general-medicine",
            },
            {
              label: "Dental Care",
              href: "/services#dental-care",
            },
            {
              label: "Cardiology",
              href: "/services#cardiology",
            },
            {
              label: "Orthopedics",
              href: "/services#orthopedics",
            },
          ],
        },
        {
          title: "Support",
          items: [
            {
              label: "Book Appointment",
              href: "/book-appointment",
            },
            {
              label: "Patient Dashboard",
              href: "/dashboard",
            },
            {
              label: "Emergency: +1 (123) 456-7890",
              href: "tel:+11234567890",
            },
            {
              label: "Contact Us",
              href: "/contact",
            },
          ],
        },
      ]}
      copyrightText="© 2024 NovaCare Clinic. All rights reserved."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
