"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from "@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen";
import InlineImageSplitTextAbout from "@/components/sections/about/InlineImageSplitTextAbout";
import TestimonialCardTwelve from "@/components/sections/testimonial/TestimonialCardTwelve";
import FaqSplitMedia from "@/components/sections/faq/FaqSplitMedia";
import FooterMedia from "@/components/sections/footer/FooterMedia";
import { Star, HelpCircle } from "lucide-react";

export default function DashboardPreviewPage() {
  const footerColumns = [
    {
      title: "Product",
      items: [
        { label: "Features", href: "/features" },
        { label: "Services", href: "/services" },
        { label: "Pricing", href: "/pricing" },
        { label: "Security", href: "#" },
        { label: "API", href: "#" },
      ],
    },
    {
      title: "Company",
      items: [
        { label: "About", href: "/about" },
        { label: "Blog", href: "#" },
        { label: "Careers", href: "#" },
        { label: "Contact", href: "/contact" },
        { label: "Partners", href: "#" },
      ],
    },
    {
      title: "Resources",
      items: [
        { label: "Documentation", href: "#" },
        { label: "Help Center", href: "#" },
        { label: "FAQ", href: "/faq" },
        { label: "Community", href: "#" },
        { label: "Status Page", href: "#" },
      ],
    },
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="smallMedium"
      sizing="largeSmall"
      background="floatingGradient"
      cardStyle="solid"
      primaryButtonStyle="primary-glow"
      secondaryButtonStyle="layered"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          navItems={[
            { name: "Home", id: "/" },
            { name: "Services", id: "/services" },
            { name: "Features", id: "/features" },
            { name: "Pricing", id: "/pricing" },
            { name: "Contact", id: "/contact" },
          ]}
          brandName="SponsorDesk"
          bottomLeftText="HR & Legal Solutions"
          bottomRightText="support@sponsordesk.com"
        />
      </div>

      <div id="dashboard-preview" data-section="dashboard-preview">
        <InlineImageSplitTextAbout
          heading={[
            {
              type: "text",
              content: "Your Complete Dashboard for",
            },
            {
              type: "image",
              src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Aev8H9mL7eFI9KHWlmK4WotoLx/modern-flat-design-icon-representing-a-d-1772966293950-8666e013.png",
              alt: "Dashboard",
            },
            {
              type: "text",
              content: "Employee Management",
            },
          ]}
          buttons={[
            {
              text: "View Dashboard Demo",
              href: "/dashboard-preview",
            },
            {
              text: "Schedule Demo",
              href: "/contact",
            },
          ]}
          buttonAnimation="slide-up"
          useInvertedBackground={true}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwelve
          testimonials={[
            {
              id: "1",
              name: "Fatima Al-Dosari",
              imageSrc:
                "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Aev8H9mL7eFI9KHWlmK4WotoLx/professional-headshot-of-a-confident-mid-1772966296012-d9bc1ccb.png?_wi=2",
            },
            {
              id: "2",
              name: "Omar Al-Rashid",
              imageSrc:
                "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Aev8H9mL7eFI9KHWlmK4WotoLx/professional-headshot-of-a-middle-easter-1772966294599-cc6d6669.png?_wi=2",
            },
            {
              id: "3",
              name: "Noura Al-Mansouri",
              imageSrc:
                "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Aev8H9mL7eFI9KHWlmK4WotoLx/professional-headshot-of-a-middle-easter-1772966294425-068b90e4.png?_wi=2",
            },
            {
              id: "4",
              name: "Khalid Al-Suwaidi",
              imageSrc:
                "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Aev8H9mL7eFI9KHWlmK4WotoLx/professional-headshot-of-a-middle-easter-1772966294558-4e0e20ae.png?_wi=2",
            },
            {
              id: "5",
              name: "Aisha Al-Khaleej",
              imageSrc:
                "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Aev8H9mL7eFI9KHWlmK4WotoLx/professional-headshot-of-a-middle-easter-1772966297366-b1980538.png?_wi=2",
            },
            {
              id: "6",
              name: "Hassan Al-Shammari",
              imageSrc:
                "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Aev8H9mL7eFI9KHWlmK4WotoLx/professional-headshot-of-a-middle-easter-1772966294727-2c206b24.png?_wi=2",
            },
          ]}
          cardTitle="Trusted by 10,000+ HR professionals and business leaders across the Middle East"
          cardTag="See what they say"
          cardTagIcon={Star}
          cardAnimation="blur-reveal"
          useInvertedBackground={false}
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqSplitMedia
          faqs={[
            {
              id: "1",
              title: "Is my data secure with SponsorDesk?",
              content:
                "Yes. We use enterprise-grade encryption, compliance with ISO 27001 standards, and comply with all Middle East data protection regulations. All documents are encrypted at rest and in transit.",
            },
            {
              id: "2",
              title: "How do automated reminders work?",
              content:
                "Our system continuously monitors expiry dates for all documents. You receive notifications via email and dashboard alerts weeks before expiration, ensuring you never miss critical deadlines.",
            },
            {
              id: "3",
              title: "Can I integrate with my existing HR system?",
              content:
                "Yes. SponsorDesk offers API integrations with popular HR management systems. Our team can help set up seamless data synchronization for your specific requirements.",
            },
            {
              id: "4",
              title: "What support does your team provide?",
              content:
                "We offer 24/7 email support, dedicated account managers for enterprise clients, comprehensive documentation, and regular training sessions for your HR team.",
            },
            {
              id: "5",
              title: "How quickly can we get started?",
              content:
                "Onboarding typically takes 1-2 weeks. Our team handles setup, data migration, and staff training. Most customers are fully operational within 30 days.",
            },
            {
              id: "6",
              title: "Do you support bilingual documents?",
              content:
                "Absolutely. SponsorDesk fully supports Arabic and English with proper RTL/LTR formatting. All documents, workflows, and the dashboard are available in both languages.",
            },
          ]}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Aev8H9mL7eFI9KHWlmK4WotoLx/modern-illustration-representing-faq-sup-1772966295233-817188c7.png?_wi=2"
          imageAlt="FAQ Support Team"
          mediaAnimation="blur-reveal"
          mediaPosition="left"
          title="Frequently Asked Questions"
          description="Everything you need to know about SponsorDesk and how we help manage your employee documentation."
          tag="Help & Support"
          tagIcon={HelpCircle}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          faqsAnimation="slide-up"
          animationType="smooth"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterMedia
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Aev8H9mL7eFI9KHWlmK4WotoLx/modern-professional-footer-background-im-1772966297548-b6b1fe45.png?_wi=4"
          imageAlt="Footer background"
          columns={footerColumns}
          logoText="SponsorDesk"
          copyrightText="© 2025 SponsorDesk. All rights reserved."
        />
      </div>
    </ThemeProvider>
  );
}