"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactCTA from '@/components/sections/contact/ContactCTA';
import FaqDouble from '@/components/sections/faq/FaqDouble';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="hover-magnetic"
        defaultTextAnimation="background-highlight"
        borderRadius="soft"
        contentWidth="small"
        sizing="mediumLargeSizeLargeTitles"
        background="noise"
        cardStyle="inset"
        primaryButtonStyle="flat"
        secondaryButtonStyle="layered"
        headingFontWeight="semibold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleCentered
      navItems={[
        {
          name: "Home",
          id: "/",
        },
        {
          name: "Menu",
          id: "/menu",
        },
        {
          name: "About",
          id: "/about",
        },
        {
          name: "Locations",
          id: "/locations",
        },
        {
          name: "Contact",
          id: "/contact",
        },
      ]}
      logoSrc="http://img.b2bpic.net/free-photo/top-view-coffee-paper-bags-with-labels_23-2148441226.jpg"
      logoAlt="Cozy Cabin Coffee logo"
      brandName="Cozy Cabin Coffee"
    />
  </div>

  <div id="contact-page" data-section="contact-page">
      <ContactCTA
      useInvertedBackground={true}
      background={{
        variant: "plain",
      }}
      tag="Get in Touch"
      title="We'd Love to Hear From You"
      description="Questions, comments, or just want to say hello? Reach out to us! Our friendly team is always happy to assist you."
      buttons={[
        {
          text: "Call Us: (931) 201-8018",
          href: "tel:+19312018018",
        },
        {
          text: "Find Our Locations",
          href: "/locations",
        },
      ]}
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqDouble
      textboxLayout="default"
      useInvertedBackground={false}
      faqs={[
        {
          id: "faq-1",
          title: "What are your operating hours?",
          content: "Our Lawrenceburg location is open Monday–Friday: 6:00 AM – 4:00 PM and Saturday: 7:00 AM – 4:00 PM. We are closed on Sundays. Please check our Locations page for specific Pulaski hours.",
        },
        {
          id: "faq-2",
          title: "Do you have a drive-thru?",
          content: "Yes, both our Lawrenceburg and Pulaski locations offer convenient drive-thru service for quick and easy pick-ups of your favorite drinks and snacks.",
        },
        {
          id: "faq-3",
          title: "Do you offer sugar-free options?",
          content: "Absolutely! We have a variety of sugar-free syrups and alternative milks available for most of our drinks. Please ask your barista for the options when ordering.",
        },
        {
          id: "faq-4",
          title: "Can I order ahead?",
          content: "Currently, we do not offer online ordering or call-ahead service, but our drive-thru is designed for speed and efficiency! We appreciate your patience and look forward to serving you.",
        },
      ]}
      title="Frequently Asked Questions"
      description="Get quick answers to common questions about our service, menu, and locations."
      faqsAnimation="slide-up"
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterLogoEmphasis
      logoSrc="http://img.b2bpic.net/free-photo/top-view-coffee-paper-bags-with-labels_23-2148441226.jpg"
      logoAlt="Cozy Cabin Coffee logo"
      columns={[
        {
          items: [
            {
              label: "Home",
              href: "/",
            },
            {
              label: "Menu",
              href: "/menu",
            },
            {
              label: "About Us",
              href: "/about",
            },
            {
              label: "Locations",
              href: "/locations",
            },
            {
              label: "Contact",
              href: "/contact",
            },
          ],
        },
        {
          items: [
            {
              label: "Hot Coffee",
              href: "/menu#hot-coffee",
            },
            {
              label: "Iced Drinks",
              href: "/menu#iced-drinks",
            },
            {
              label: "Smoothies",
              href: "/menu#smoothies",
            },
            {
              label: "Breakfast",
              href: "/menu#food-items",
            },
          ],
        },
        {
          items: [
            {
              label: "Lawrenceburg, TN",
              href: "https://www.google.com/maps/search/616+N+Locust+Ave,+Lawrenceburg,+TN+38464",
            },
            {
              label: "Pulaski, TN",
              href: "https://www.google.com/maps/search/Cozy+Cabin+Coffee+Pulaski",
            },
            {
              label: "(931) 201-8018",
              href: "tel:+19312018018",
            },
          ],
        },
      ]}
      logoText="Cozy Cabin Coffee"
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
