"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactCTA from '@/components/sections/contact/ContactCTA';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import HeroBillboard from '@/components/sections/hero/HeroBillboard';
import MetricCardOne from '@/components/sections/metrics/MetricCardOne';
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix';
import { Calendar, Coffee, MapPin, Star } 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="hero" data-section="hero">
      <HeroBillboard
      background={{
        variant: "radial-gradient",
      }}
      title="Fresh Coffee. Friendly Service. Local Favorite Since 2014."
      description="Start your day with a smile and the perfect brew. Drive-thru convenience, handcrafted drinks, and quick bites, all at Cozy Cabin Coffee."
      buttons={[
        {
          text: "View Menu",
          href: "/menu",
        },
        {
          text: "Visit Us",
          href: "/locations",
        },
        {
          text: "Call Now",
          href: "tel:+19312018018",
        },
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/empty-wood-chair-restaurant_1339-5949.jpg"
      imageAlt="Barista preparing a coffee"
      mediaAnimation="slide-up"
      avatars={[
        {
          src: "http://img.b2bpic.net/free-photo/attractive-young-woman-sitting-cafe-holding-takeaway-coffee-cup_23-2148148111.jpg",
          alt: "Happy customer",
        },
        {
          src: "http://img.b2bpic.net/free-photo/cheerful-female-holding-cup-with-saucer_23-2147834571.jpg",
          alt: "Young woman at cafe",
        },
        {
          src: "http://img.b2bpic.net/free-photo/vertical-shot-young-man-drinking-coffee-cafe_181624-21774.jpg",
          alt: "Man enjoying coffee",
        },
        {
          src: "http://img.b2bpic.net/free-photo/waiter-making-cup-coffee-counter-cafe_1170-562.jpg",
          alt: "Friendly barista",
        },
        {
          src: "http://img.b2bpic.net/free-photo/woman-with-glasses-holding-mug_23-2148594454.jpg",
          alt: "Student with coffee",
        },
      ]}
      avatarText="Loved by over 5,000 happy customers!"
      marqueeItems={[
        {
          type: "image",
          src: "http://img.b2bpic.net/free-photo/crop-person-holding-black-coffee_23-2147764944.jpg",
          alt: "Steaming coffee",
        },
        {
          type: "text",
          text: "Freshly Roasted Beans",
        },
        {
          type: "image",
          src: "http://img.b2bpic.net/free-photo/good-morning_1122-2737.jpg",
          alt: "Latte art",
        },
        {
          type: "text",
          text: "Handcrafted with Care",
        },
        {
          type: "image",
          src: "http://img.b2bpic.net/free-photo/coffee-cup-wooden-table-with-gradient-photo-style_53876-14314.jpg",
          alt: "Cozy interior",
        },
        {
          type: "text",
          text: "Drive-Thru Convenience",
        },
        {
          type: "image",
          src: "http://img.b2bpic.net/free-photo/young-male-barista-preparing-coffee-coffee-shop_1303-31774.jpg",
          alt: "Barista working",
        },
        {
          type: "text",
          text: "Local Favorite Since 2014",
        },
      ]}
    />
  </div>

  <div id="about" data-section="about">
      <TestimonialAboutCard
      useInvertedBackground={false}
      tag="Our Story"
      title="A Local Favorite Since 2014"
      description="Cozy Cabin Coffee has been serving Lawrenceburg since 2014. Known for fast service, handcrafted coffee drinks, smoothies, and energy beverages, Cozy Cabin Coffee has become a favorite stop for locals looking for quality drinks and a friendly smile."
      subdescription="Founded in 2014, we quickly expanded with a second location in Pulaski in 2017, growing our mission to provide quality coffee and friendly service to more communities. We specialize in hot and iced coffees, flavorful smoothies, revitalizing energy drinks, and delicious quick breakfast items, all served with a smile."
      icon={Coffee}
      imageSrc="http://img.b2bpic.net/free-photo/coffee-shop-with-people_1162-118.jpg"
      imageAlt="Cozy coffee shop interior"
      mediaAnimation="slide-up"
    />
  </div>

  <div id="metrics" data-section="metrics">
      <MetricCardOne
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="uniform-all-items-equal"
      useInvertedBackground={true}
      metrics={[
        {
          id: "founded",
          value: "2014",
          title: "Year Founded",
          description: "Bringing joy through coffee since then.",
          icon: Calendar,
        },
        {
          id: "rating",
          value: "4.7",
          title: "Customer Rating",
          description: "Highly rated for taste & service.",
          icon: Star,
        },
        {
          id: "locations",
          value: "2",
          title: "Convenient Locations",
          description: "Serving Lawrenceburg & Pulaski.",
          icon: MapPin,
        },
      ]}
      title="Our Success at a Glance"
      description="We're proud of the milestones we've achieved, all thanks to our amazing customers and dedicated team."
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardSix
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      testimonials={[
        {
          id: "1",
          name: "Sarah Johnson",
          handle: "@CoffeeLover",
          testimonial: "The best coffee in town, always fresh and served with a smile!",
          imageSrc: "http://img.b2bpic.net/free-photo/smiling-blonde-woman-holding-coffee-cup-cafe_1170-692.jpg",
          imageAlt: "Sarah Johnson",
        },
        {
          id: "2",
          name: "Michael Chen",
          handle: "@MorningBoost",
          testimonial: "My go-to spot for an afternoon pick-me-up. Their smoothies are amazing!",
          imageSrc: "http://img.b2bpic.net/free-photo/portrait-handsome-young-man-working-cafe-sitting-with-laptop-coffee-hand-has-remote-job_1258-245348.jpg",
          imageAlt: "Michael Chen",
        },
        {
          id: "3",
          name: "Emily Rodriguez",
          handle: "@SmoothieQueen",
          testimonial: "Fast, friendly, and consistently delicious. Cozy Cabin never disappoints!",
          imageSrc: "http://img.b2bpic.net/free-photo/attractive-young-woman-with-glass-lemonade-hot-summer-day_169016-23191.jpg",
          imageAlt: "Emily Rodriguez",
        },
        {
          id: "4",
          name: "David Kim",
          handle: "@DailyBrew",
          testimonial: "I love the drive-thru convenience and their seasonal drinks are a must-try!",
          imageSrc: "http://img.b2bpic.net/free-photo/group-friends-looking-restaurant-menu_23-2150520104.jpg",
          imageAlt: "David Kim",
        },
        {
          id: "5",
          name: "Jessica Lee",
          handle: "@WorkAndCoffee",
          testimonial: "Perfect start to my day, every time. The staff is wonderful and efficient.",
          imageSrc: "http://img.b2bpic.net/free-photo/person-using-nfc-technology-pay-restaurant_23-2150039452.jpg",
          imageAlt: "Jessica Lee",
        },
        {
          id: "6",
          name: "Robert Green",
          handle: "@QuickBite",
          testimonial: "Their breakfast items are surprisingly good and pair perfectly with my mocha!",
          imageSrc: "http://img.b2bpic.net/free-photo/colleagues-work-having-lunch_23-2148894057.jpg",
          imageAlt: "Robert Green",
        },
      ]}
      title="What Our Customers Say"
      description="Hear from our happy customers about their Cozy Cabin Coffee experience."
    />
  </div>

  <div id="contact-cta-home" data-section="contact-cta-home">
      <ContactCTA
      useInvertedBackground={true}
      background={{
        variant: "sparkles-gradient",
      }}
      tag="Visit Us"
      title="Stop By for Your Next Coffee Break"
      description="Experience our friendly service and delicious drinks. We're ready to serve you!"
      buttons={[
        {
          text: "Get Directions",
          href: "/locations",
        },
        {
          text: "Call Us Now",
          href: "tel:+19312018018",
        },
      ]}
    />
  </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>
  );
}
