"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FaqBase from '@/components/sections/faq/FaqBase';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="expand-hover"
        defaultTextAnimation="reveal-blur"
        borderRadius="rounded"
        contentWidth="mediumSmall"
        sizing="mediumSizeLargeTitles"
        background="noiseDiagonalGradient"
        cardStyle="gradient-radial"
        primaryButtonStyle="primary-glow"
        secondaryButtonStyle="radial-glow"
        headingFontWeight="medium"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleApple
      navItems={[
        {
          name: "Home",
          id: "/",
        },
        {
          name: "Services",
          id: "/services",
        },
        {
          name: "About",
          id: "/about",
        },
        {
          name: "Contact",
          id: "/contact",
        },
      ]}
      brandName="Al-Nour Translation"
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqBase
      textboxLayout="default"
      useInvertedBackground={false}
      faqs={[
        {
          id: "faq-1",
          title: "What types of documents do you translate?",
          content: "We translate a wide range of documents including legal contracts, technical manuals, medical reports, academic certificates, marketing materials, and websites. We also offer certified translations for official use.",
        },
        {
          id: "faq-2",
          title: "How do you ensure translation quality?",
          content: "Our process includes translation by native speakers, rigorous proofreading, and quality assurance checks by a second independent linguist. We adhere to ISO 17100 standards for certified translation quality.",
        },
        {
          id: "faq-3",
          title: "What is the turnaround time for translations?",
          content: "Turnaround time varies based on document length, complexity, and language pair. We provide an estimated delivery time with your quote. Expedited and urgent services are also available for tight deadlines.",
        },
        {
          id: "faq-4",
          title: "Do you offer certified translations?",
          content: "Yes, we provide certified translations accepted by governmental bodies, educational institutions, and legal entities worldwide. Our certifications meet international standards.",
        },
        {
          id: "faq-5",
          title: "How do I get a quote for my project?",
          content: "You can request a free quote by filling out the contact form on our website, or by emailing us your documents directly. We will get back to you with a detailed estimate.",
        },
      ]}
      title="Frequently Asked Questions"
      description="Find quick answers to common queries about our translation services, process, and pricing. If you can't find what you're looking for, feel free to contact us."
      faqsAnimation="slide-up"
    />
  </div>

  <div id="contact-form" data-section="contact-form">
      <ContactCenter
      useInvertedBackground={true}
      background={{
        variant: "rotated-rays-static",
      }}
      tag="Get in Touch"
      title="Request a Free Quote Today"
      description="Have a question or need a personalized translation quote? Fill out the form below, and our team will get back to you promptly to discuss your project."
      inputPlaceholder="Enter your email address"
      buttonText="Send Message"
      termsText="By submitting this form, you agree to our Privacy Policy."
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterBaseCard
      logoText="Al-Nour Translation"
      columns={[
        {
          title: "Services",
          items: [
            {
              label: "Legal Translation",
              href: "/services#doc-trans",
            },
            {
              label: "Technical Translation",
              href: "/services#doc-trans",
            },
            {
              label: "Medical Translation",
              href: "/services#doc-trans",
            },
            {
              label: "Website Localization",
              href: "/services#web-localization",
            },
            {
              label: "Certified Translations",
              href: "/services#certified-trans",
            },
          ],
        },
        {
          title: "Company",
          items: [
            {
              label: "About Us",
              href: "/about",
            },
            {
              label: "Our Team",
              href: "/about#team",
            },
            {
              label: "Contact Us",
              href: "/contact",
            },
            {
              label: "Careers",
              href: "#",
            },
          ],
        },
        {
          title: "Resources",
          items: [
            {
              label: "FAQs",
              href: "/contact#faq",
            },
            {
              label: "Privacy Policy",
              href: "#",
            },
            {
              label: "Terms of Service",
              href: "#",
            },
            {
              label: "Blog",
              href: "#",
            },
          ],
        },
      ]}
      copyrightText="© 2024 Al-Nour Certified Translation. All rights reserved."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
