"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import HeroBillboardScroll from '@/components/sections/hero/HeroBillboardScroll';
import MediaAbout from '@/components/sections/about/MediaAbout';
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="expand-hover"
        defaultTextAnimation="reveal-blur"
        borderRadius="pill"
        contentWidth="compact"
        sizing="largeSmallSizeLargeTitles"
        background="noiseDiagonalGradient"
        cardStyle="gradient-bordered"
        primaryButtonStyle="shadow"
        secondaryButtonStyle="solid"
        headingFontWeight="medium"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleFullscreen
      navItems={[
        {
          name: "Home",
          id: "hero",
        },
        {
          name: "About",
          id: "about",
        },
        {
          name: "Menu",
          id: "menu",
        },
        {
          name: "Reviews",
          id: "reviews",
        },
        {
          name: "Visit",
          id: "contact",
        },
      ]}
      brandName="Tamiya’s Tasty Treats"
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroBillboardScroll
      background={{
        variant: "sparkles-gradient",
      }}
      title="Austin’s Coziest Coffee & Breakfast Spot."
      description="Start your day right with fresh coffee, delicious breakfast sandwiches, and friendly service in the heart of downtown."
      buttons={[
        {
          text: "Visit Us Today",
          href: "#contact",
        },
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/top-view-cup-coffee-espresso-with-chocolate-cake-white-surface-chocolate-cake-biscuit-cookie-sweet_140725-72058.jpg"
    />
  </div>

  <div id="about" data-section="about">
      <MediaAbout
      useInvertedBackground={false}
      title="About Tamiya’s Tasty Treats"
      description="Opened in January 2024, we’re a locally owned coffee truck committed to crafting the perfect cup and serving fresh pastries with a smile. Tamiya curates a welcoming home-away-from-home vibe where everyone feels like a community neighbor."
      imageSrc="http://img.b2bpic.net/free-photo/portrait-young-asia-girl-waitress-wear-medical-face-mask-feeling-happy-smile-waiting-clients-after-lockdown-urban-cafe_7861-3250.jpg"
    />
  </div>

  <div id="menu" data-section="menu">
      <ProductCardThree
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={false}
      products={[
        {
          id: "1",
          name: "Churro Lover Latte",
          price: "$6.50",
          imageSrc: "http://img.b2bpic.net/free-photo/sweet-plate-with-various-sweets_114579-21336.jpg",
        },
        {
          id: "2",
          name: "Breakfast Bagel Sandwich",
          price: "$8.00",
          imageSrc: "http://img.b2bpic.net/free-photo/continental-breakfast-table_658428-37.jpg",
        },
        {
          id: "3",
          name: "Nitro Cold Brew",
          price: "$5.00",
          imageSrc: "http://img.b2bpic.net/free-photo/hand-holding-coffee-cup_1203-3413.jpg",
        },
        {
          id: "4",
          name: "Ham & Cheese Croissant",
          price: "$5.50",
          imageSrc: "http://img.b2bpic.net/free-photo/top-view-chocolate-eclairs-oval-plate-cup-o-tea-strawberries-saucer-tarts-cinnamon-dried-lemons-dark-wooden-table_140725-90832.jpg",
        },
        {
          id: "5",
          name: "Yogurt Parfait",
          price: "$7.00",
          imageSrc: "http://img.b2bpic.net/free-photo/people-serve-beautiful-fresh-relax-morning-coffee-cup-set_1150-7058.jpg",
        },
        {
          id: "6",
          name: "Iced Eclipse",
          price: "$6.00",
          imageSrc: "http://img.b2bpic.net/free-photo/closeup-barista-making-latte-art_53876-13485.jpg",
        },
      ]}
      title="Menu Highlights"
      description="Hand-crafted coffee drinks, fresh breakfast staples, and daily pastries."
    />
  </div>

  <div id="reviews" data-section="reviews">
      <TestimonialCardOne
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={false}
      testimonials={[
        {
          id: "1",
          name: "Sarah Miller",
          role: "Regular",
          company: "Downtown Austin",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/smiling-asian-girl-barista-giving-order-client-holding-takeaway-coffee-cup-wearing-apron-working_1258-199319.jpg",
        },
        {
          id: "2",
          name: "Jason Reed",
          role: "Coffee Enthusiast",
          company: "Austin",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/portrait-pensive-young-woman-holding-mobile-phone-coffee_1262-16373.jpg",
        },
        {
          id: "3",
          name: "Elena Torres",
          role: "Local",
          company: "Austin",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/photo-cheerful-relaxed-black-girl-with-curly-hair-holds-mug-coffee-enjoys-pastime-visits-exotic-cafeteria-has-summer-holidays-abroad-looks-aside_273609-29077.jpg",
        },
        {
          id: "4",
          name: "Mark Evans",
          role: "Breakfast Fan",
          company: "Austin",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/talk-coffee-break_1098-16160.jpg",
        },
        {
          id: "5",
          name: "Chloe Smith",
          role: "Commuter",
          company: "Austin",
          rating: 4,
          imageSrc: "http://img.b2bpic.net/free-photo/friendly-lovely-girl-with-bright-make-up-dark-collected-hair-dressed-white-tshirt-is-smiling-camera-spend-time-outdoor-city-center-warm-sunny-day_291650-2385.jpg",
        },
      ]}
      title="Loved by Austin Locals"
      description="With a 4.9-star rating, our community keeps us growing."
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactSplitForm
      useInvertedBackground={false}
      title="Visit Us Today"
      description="102 W 3rd St, Austin, TX 78701 | Daily until 3 PM | (737) 587-2756"
      inputs={[
        {
          name: "name",
          type: "text",
          placeholder: "Your Name",
        },
        {
          name: "email",
          type: "email",
          placeholder: "Email Address",
        },
      ]}
      textarea={{
        name: "message",
        placeholder: "Any questions or large order requests?",
      }}
      imageSrc="http://img.b2bpic.net/free-photo/still-life-cozy-room-with-beautiful-handmade-ceramic-cup_169016-3810.jpg"
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterMedia
      imageSrc="http://img.b2bpic.net/free-photo/outdoor-portrait-shocked-brunette-girl-sunglasses-talking-phone-autumn-morning-surprised-shopaholic-woman-with-tanned-skin-posing-cafe-after-shopping-weekend_197531-25110.jpg"
      logoText="Tamiya’s Tasty Treats"
      columns={[
        {
          title: "Visit",
          items: [
            {
              label: "102 W 3rd St, Austin, TX",
              href: "#",
            },
          ],
        },
        {
          title: "Social",
          items: [
            {
              label: "Instagram",
              href: "#",
            },
            {
              label: "Facebook",
              href: "#",
            },
          ],
        },
      ]}
      copyrightText="© 2024 Tamiya’s Tasty Treats"
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
