"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import PricingCardOne from '@/components/sections/pricing/PricingCardOne';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import { Building, CheckCircle, Layers, Leaf, Sparkles } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="hover-bubble"
        defaultTextAnimation="background-highlight"
        borderRadius="soft"
        contentWidth="mediumSmall"
        sizing="largeSmallSizeLargeTitles"
        background="grid"
        cardStyle="inset"
        primaryButtonStyle="primary-glow"
        secondaryButtonStyle="radial-glow"
        headingFontWeight="normal"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarLayoutFloatingOverlay
      navItems={[
        {
          name: "Home",          id: "/"},
        {
          name: "About Us",          id: "/about"},
        {
          name: "Products",          id: "/products"},
        {
          name: "Services",          id: "/services"},
        {
          name: "Blog",          id: "/blog"},
        {
          name: "Testimonials",          id: "/testimonials"},
        {
          name: "FAQ",          id: "/faq"},
        {
          name: "Contact",          id: "/contact"},
      ]}
      brandName="Smart QHSE System"
      button={{
        text: "Get a Quote",        href: "/contact"}}
    />
  </div>

  <div id="digital-products" data-section="digital-products">
      <ProductCardThree
      animationType="scale-rotate"
      textboxLayout="default"
      gridVariant="two-columns-alternating-heights"
      useInvertedBackground={false}
      products={[
        {
          id: "prod-1",          name: "Risk Assessment Templates",          price: "$99",          imageSrc: "http://img.b2bpic.net/free-photo/safety-first-text-post-it_23-2149919542.jpg",          imageAlt: "Digital Risk Assessment"},
        {
          id: "prod-2",          name: "Job Safety Analysis (JSA)",          price: "$79",          imageSrc: "http://img.b2bpic.net/free-photo/tablet-with-blank-chromakey-screen_482257-126706.jpg",          imageAlt: "Digital Job Safety Analysis"},
        {
          id: "prod-3",          name: "Method Statements",          price: "$129",          imageSrc: "http://img.b2bpic.net/free-photo/front-view-male-builder-yellow-helmet-holding-white-sign-tool-light-background_140725-26905.jpg",          imageAlt: "Digital Method Statements"},
        {
          id: "prod-4",          name: "HSE Procedures Library",          price: "$199",          imageSrc: "http://img.b2bpic.net/free-photo/standard-quality-control-collage-concept_23-2149595833.jpg",          imageAlt: "Digital HSE Procedures"},
        {
          id: "prod-5",          name: "HSE Manuals Complete",          price: "$249",          imageSrc: "http://img.b2bpic.net/free-photo/male-holding-tablet-rural_23-2148154952.jpg",          imageAlt: "Digital HSE Manuals"},
        {
          id: "prod-6",          name: "Safety Forms & Checklists",          price: "$89",          imageSrc: "http://img.b2bpic.net/free-photo/health-safety-policy-statement-form-concept_53876-132299.jpg",          imageAlt: "Digital Safety Forms & Checklists"},
        {
          id: "prod-7",          name: "Toolbox Talks Collection",          price: "$69",          imageSrc: "http://img.b2bpic.net/free-photo/person-working-building-construction_23-2149184934.jpg",          imageAlt: "Digital Toolbox Talks"},
        {
          id: "prod-8",          name: "Permit To Work System",          price: "$149",          imageSrc: "http://img.b2bpic.net/free-photo/civil-engineer-with-protective-face-mask-working-touchpad-construction-site_637285-8162.jpg",          imageAlt: "Digital Permit To Work"},
        {
          id: "prod-9",          name: "Emergency Response Plans",          price: "$189",          imageSrc: "http://img.b2bpic.net/free-photo/mockup-laptop-server-farm-crosschecking_482257-89094.jpg",          imageAlt: "Digital Emergency Plans"},
      ]}
      title="Explore Our Digital QHSE Product Catalog"
      description="From templates to comprehensive platforms, find all the smart solutions you need for unparalleled quality, health, safety, and environmental management."
    />
  </div>

  <div id="featured-packages" data-section="featured-packages">
      <PricingCardOne
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      plans={[
        {
          id: "pack-1",          badge: "Premium",          badgeIcon: Sparkles,
          price: "$999",          subtitle: "Smart QHSE System Premium Pack",          features: [
            "Complete Suite",            "Full Documentation",            "Advanced Training",            "Dedicated Support"],
        },
        {
          id: "pack-2",          badge: "Essential",          badgeIcon: CheckCircle,
          price: "$499",          subtitle: "ISO 9001 Certification Package",          features: [
            "Documentation Templates",            "Audit Checklists",            "Implementation Guide",            "Quality Focus"],
        },
        {
          id: "pack-3",          badge: "Eco-Friendly",          badgeIcon: Leaf,
          price: "$499",          subtitle: "ISO 14001 Certification Package",          features: [
            "Environmental Procedures",            "Impact Assessment",            "Legal Compliance",            "Sustainability Focus"],
        },
        {
          id: "pack-4",          badge: "Safety First",          badgeIcon: Building,
          price: "$499",          subtitle: "ISO 45001 Certification Package",          features: [
            "OHS Manuals",            "Risk Control Plans",            "Emergency Preparedness",            "Worker Wellbeing"],
        },
        {
          id: "pack-5",          badge: "Integrated",          badgeIcon: Layers,
          price: "$1499",          subtitle: "IMS Complete Package",          features: [
            "ISO 9001, 14001, 45001",            "Integrated Manuals",            "Cross-Compliance",            "Holistic QHSE"],
        },
        {
          id: "pack-6",          badge: "Basic",          price: "$199",          subtitle: "Starter Pack",          features: [
            "Essential Templates",            "Basic Guidance",            "Email Support"
          ]
        },
      ]}
      title="Our Featured QHSE Packages"
      description="Unlock comprehensive solutions with our expertly curated QHSE packages, designed for various industry needs."
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterBaseCard
      logoText="Smart QHSE System"
      columns={[
        {
          title: "Products",          items: [
            {
              label: "Risk Assessment",              href: "/products"},
            {
              label: "HSE Procedures",              href: "/products"},
            {
              label: "ISO Documentation",              href: "/products"},
            {
              label: "Digital Platforms",              href: "/products"},
          ],
        },
        {
          title: "Company",          items: [
            {
              label: "About Us",              href: "/about"},
            {
              label: "Services",              href: "/services"},
            {
              label: "Blog",              href: "/blog"},
            {
              label: "Contact Us",              href: "/contact"},
          ],
        },
        {
          title: "Support",          items: [
            {
              label: "FAQ",              href: "/faq"},
            {
              label: "WhatsApp",              href: "https://wa.me/212638673530"},
            {
              label: "Email",              href: "mailto:nimadigital99@gmail.com"},
          ],
        },
      ]}
      copyrightText="Smart QHSE System © 2026 - All Rights Reserved"
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
