"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import AboutMetric from '@/components/sections/about/AboutMetric';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import MetricCardFourteen from '@/components/sections/metrics/MetricCardFourteen';
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import { Building, Lightbulb, Users } from "lucide-react";

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="about-us" data-section="about-us">
      <AboutMetric
      useInvertedBackground={true}
      title="Dedicated to Your Health and Well-being"
      metrics={[
        {
          icon: Users,
          label: "Patients Served",
          value: "10K+",
        },
        {
          icon: Building,
          label: "Modern Facilities",
          value: "3",
        },
        {
          icon: Lightbulb,
          label: "Innovation Awards",
          value: "7",
        },
      ]}
      metricsAnimation="blur-reveal"
    />
  </div>

  <div id="metrics-impact" data-section="metrics-impact">
      <MetricCardFourteen
      useInvertedBackground={false}
      title="Our Impact: Shaping the Future of Healthcare"
      tag="Our Achievements"
      metrics={[
        {
          id: "1",
          value: "99.5%",
          description: "Accuracy in Diagnostics",
        },
        {
          id: "2",
          value: "24/7",
          description: "Emergency Support",
        },
        {
          id: "3",
          value: "150+",
          description: "Medical Research Papers",
        },
        {
          id: "4",
          value: "5-Star",
          description: "Patient Rating",
        },
      ]}
      metricsAnimation="blur-reveal"
    />
  </div>

  <div id="social-proof" data-section="social-proof">
      <SocialProofOne
      textboxLayout="default"
      useInvertedBackground={true}
      names={[
        "Health Alliance",
        "MediTech Group",
        "BioGen Labs",
        "PharmaCorp",
        "CareLink Systems",
        "Future Health Inc.",
        "Wellness Solutions",
      ]}
      title="Trusted by Leading Healthcare Innovators"
      description="We partner with top institutions and technology providers to ensure the highest standards of care and continuous innovation."
      speed={40}
    />
  </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>
  );
}
