"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import TeamCardEleven from '@/components/sections/team/TeamCardEleven';
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
import { Coffee } from "lucide-react";

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="about-page" data-section="about-page">
      <TestimonialAboutCard
      useInvertedBackground={true}
      tag="Our Heritage"
      title="Crafting Moments, One Cup at a Time"
      description="Cozy Cabin Coffee began with a simple vision in 2014: to create a welcoming spot where locals could enjoy exceptional coffee and friendly service. From humble beginnings, we've grown into a beloved community staple."
      subdescription="Our journey continued with the opening of our second location in Pulaski in 2017, allowing us to share our passion for quality beverages with even more customers. We pride ourselves on handcrafting every drink, from rich espresso to refreshing smoothies and energizing Red Bull Fusions, always paired with a warm smile and efficient drive-thru service."
      icon={Coffee}
      imageSrc="http://img.b2bpic.net/free-photo/front-view-barista-cafe_23-2148436129.jpg"
      imageAlt="Cozy coffee shop interior"
      mediaAnimation="slide-up"
    />
  </div>

  <div id="team" data-section="team">
      <TeamCardEleven
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      groups={[
        {
          id: "baristas",
          groupTitle: "Our Dedicated Baristas",
          members: [
            {
              id: "barista-1",
              title: "Lead Barista",
              subtitle: "Lawrenceburg Location",
              detail: "Known for award-winning latte art and a passion for customer service.",
              imageSrc: "http://img.b2bpic.net/free-photo/smiling-friendly-waitress-coffee-shop-barista-giving-out-takeaway-order-cappuccino-paper-cup_1258-203449.jpg",
              imageAlt: "Barista John Doe",
            },
            {
              id: "barista-2",
              title: "Coffee Specialist",
              subtitle: "Pulaski Location",
              detail: "An expert in blending unique smoothie creations and seasonal drinks.",
              imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-barista-holding-coffee-cup_23-2148892880.jpg",
              imageAlt: "Barista Jane Smith",
            },
            {
              id: "barista-3",
              title: "Morning Shift Supervisor",
              subtitle: "Lawrenceburg Location",
              detail: "Always ready with a friendly greeting and the fastest drive-thru service.",
              imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-asian-female-barista-making-coffee-holding-cup-tea-taking-it-cafe-clie_1258-138284.jpg",
              imageAlt: "Barista Emily White",
            },
          ],
          imageSrc: "http://img.b2bpic.net/free-photo/top-view-coffee-paper-bags-with-labels_23-2148441226.jpg",
          imageAlt: "friendly barista smiling",
        },
      ]}
      title="Meet Our Friendly Team"
      description="Our baristas are the heart of Cozy Cabin Coffee, dedicated to crafting your perfect drink and making your day a little brighter."
    />
  </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>
  );
}
