"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import FaqSplitText from '@/components/sections/faq/FaqSplitText';
import FeatureCardTen from '@/components/sections/feature/FeatureCardTen';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import { Apple, CalendarClock, Camera, Network, Scan, ShieldCheck } 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="detailed-services" data-section="detailed-services">
      <FeatureCardTen
      animationType="slide-up"
      textboxLayout="split"
      useInvertedBackground={true}
      features={[
        {
          title: "Advanced Diagnostic Imaging",
          description: "Utilising cutting-edge MRI, CT, and X-ray technologies for precise and accurate diagnoses.",
          media: {
            imageSrc: "http://img.b2bpic.net/free-photo/patient-ready-get-ct-scan-medium-shot_23-2149341500.jpg",
            imageAlt: "Advanced Diagnostic Imaging",
          },
          items: [
            {
              icon: Scan,
              text: "MRI Scans",
            },
            {
              icon: Camera,
              text: "CT Scans",
            },
            {
              icon: XRay,
              text: "Digital X-rays",
            },
          ],
          reverse: false,
          imageSrc: "http://img.b2bpic.net/free-photo/doctors-nurses-discussing-digital-tablet_107420-84814.jpg",
          imageAlt: "MRI scan machine modern clinic",
        },
        {
          title: "Personalised Preventive Care",
          description: "Proactive health management through regular screenings, vaccinations, and lifestyle counselling tailored to you.",
          media: {
            imageSrc: "http://img.b2bpic.net/free-photo/african-american-doctor-talking-about-medicines-with-mature-woman-home-visit_637285-11326.jpg",
            imageAlt: "Personalised Preventive Care",
          },
          items: [
            {
              icon: ShieldCheck,
              text: "Wellness Checkups",
            },
            {
              icon: HeartHandshake,
              text: "Vaccination Programs",
            },
            {
              icon: Apple,
              text: "Lifestyle Coaching",
            },
          ],
          reverse: true,
          imageSrc: "http://img.b2bpic.net/free-photo/lively-african-american-nurse-pointing-copy-space-tablet-x-ray_482257-122300.jpg",
          imageAlt: "MRI scan machine modern clinic",
        },
        {
          title: "Seamless Specialist Referrals",
          description: "Access to our extensive network of top specialists with streamlined referral processes and coordinated care plans.",
          media: {
            imageSrc: "http://img.b2bpic.net/free-photo/team-technicians-working-server-farm-using-laptops-analyze-data_482257-125909.jpg",
            imageAlt: "Seamless Specialist Referrals",
          },
          items: [
            {
              icon: Network,
              text: "Expert Network Access",
            },
            {
              icon: CalendarClock,
              text: "Priority Appointments",
            },
            {
              icon: ClipboardList,
              text: "Integrated Care Plans",
            },
          ],
          reverse: false,
          imageSrc: "http://img.b2bpic.net/free-photo/images-that-simulate-x-rays-with-neon-colors_23-2151521382.jpg",
          imageAlt: "MRI scan machine modern clinic",
        },
      ]}
      title="Comprehensive Services for Your Well-being"
      description="From routine care to specialized treatments, NovaCare Clinic offers a full spectrum of services designed to meet your every health need."
    />
  </div>

  <div id="service-faq" data-section="service-faq">
      <FaqSplitText
      useInvertedBackground={false}
      faqs={[
        {
          id: "1",
          title: "What insurance plans do you accept?",
          content: "NovaCare Clinic accepts a wide range of insurance providers. Please contact our billing department or check our website for a detailed list of accepted plans before your visit.",
        },
        {
          id: "2",
          title: "How can I book an appointment?",
          content: "You can easily book an appointment through our online portal, by calling our reception desk, or using our mobile app. We offer flexible scheduling options.",
        },
        {
          id: "3",
          title: "Do you offer telemedicine consultations?",
          content: "Yes, NovaCare Clinic provides secure and convenient telemedicine consultations for various specialties. Please inquire when booking your appointment.",
        },
        {
          id: "4",
          title: "What are your clinic's operating hours?",
          content: "Our main clinic operates from Monday to Friday, 8:00 AM to 6:00 PM, with extended hours for certain specialties. Emergency services are available 24/7.",
        },
        {
          id: "5",
          title: "How do I access my patient records?",
          content: "Patient records are securely accessible through your personal patient dashboard on our website or mobile app. You will receive login credentials upon your first visit.",
        },
      ]}
      sideTitle="Frequently Asked Questions"
      sideDescription="Find quick answers to common questions about our services, appointments, and clinic operations."
      faqsAnimation="slide-up"
      textPosition="left"
    />
  </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>
  );
}
