"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import BlogCardOne from '@/components/sections/blog/BlogCardOne';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
import FeatureCardOne from '@/components/sections/feature/FeatureCardOne';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import HeroBillboard from '@/components/sections/hero/HeroBillboard';
import InlineImageSplitTextAbout from '@/components/sections/about/InlineImageSplitTextAbout';
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import TestimonialCardSixteen from '@/components/sections/testimonial/TestimonialCardSixteen';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="icon-arrow"
        defaultTextAnimation="background-highlight"
        borderRadius="pill"
        contentWidth="smallMedium"
        sizing="mediumLarge"
        background="floatingGradient"
        cardStyle="outline"
        primaryButtonStyle="gradient"
        secondaryButtonStyle="solid"
        headingFontWeight="normal"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarLayoutFloatingOverlay
      navItems={[
        {
          name: "Home",          id: "/"},
        {
          name: "About",          id: "#about"},
        {
          name: "Menu",          id: "/menu"},
        {
          name: "Specials",          id: "#specials"},
        {
          name: "Testimonials",          id: "#testimonials"},
        {
          name: "FAQ",          id: "#faq"},
        {
          name: "Blog",          id: "#blog"},
        {
          name: "Contact",          id: "#contact"},
      ]}
      logoSrc="http://img.b2bpic.net/free-vector/coffee-shop-logo-template_23-2150529598.jpg"
      logoAlt="Alfredo Cafe Logo"
      brandName="Alfredo Cafe"
      button={{
        text: "Order Now",        href: "#contact"}}
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroBillboard
      background={{
        variant: "plain"}}
      title="Welcome to Alfredo Cafe"
      description="Experience the aroma of freshly brewed coffee, delightful pastries, and a cozy atmosphere. Your perfect escape awaits."
      buttons={[
        {
          text: "View Menu",          href: "/menu"},
        {
          text: "Visit Us",          href: "#contact"},
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/woman-standing-with-cup-coffee_53876-15193.jpg"
      imageAlt="delicious coffee latte art cafe"
      avatars={[
        {
          src: "http://img.b2bpic.net/free-photo/good-day-only-with-good-coffee_329181-2927.jpg",          alt: "Smiling cafe customer"},
        {
          src: "http://img.b2bpic.net/free-photo/outdoor-portrait-smiling-attractive-young-woman-with-short-curly-dark-hair-red-lips_291650-524.jpg",          alt: "Happy person enjoying coffee"},
        {
          src: "http://img.b2bpic.net/free-photo/medium-shot-smiley-woman-with-kebab_23-2148773545.jpg",          alt: "Cafe patron smiling"},
        {
          src: "http://img.b2bpic.net/free-photo/beautiful-young-woman-drinking-tea-coffee-morning-holding-her-smartphone-hand-got-exciting-message-enthusiastically-looking-phone-wearing-nice-pajama_197531-2812.jpg",          alt: "Young woman drinking coffee"},
        {
          src: "http://img.b2bpic.net/free-photo/positive-confident-man-drinking-coffee-looking-camera_1262-14326.jpg",          alt: "Man with coffee cup"},
      ]}
      avatarText="Join our community of coffee lovers!"
      marqueeItems={[
        {
          type: "text",          text: "Freshly Brewed Excellence \u2022 "},
        {
          type: "image",          src: "http://img.b2bpic.net/free-photo/businessman-having-coffee_53876-24896.jpg",          alt: "A businessman having coffee"},
        {
          type: "text",          text: "Artisan Pastries Daily \u2022 "},
        {
          type: "image",          src: "http://img.b2bpic.net/free-photo/businesswoman-having-cup-coffee_53876-40350.jpg",          alt: "Businesswoman having a cup of coffee"},
        {
          type: "text",          text: "Your Cozy Corner"},
      ]}
    />
  </div>

  <div id="about" data-section="about">
      <InlineImageSplitTextAbout
      useInvertedBackground={false}
      heading={[
        {
          type: "text",          content: "Our Story"},
        {
          type: "image",          src: "http://img.b2bpic.net/free-vector/coffee-shop-logo-template_23-2150529598.jpg",          alt: "cafe logo elegant vintage"},
        {
          type: "text",          content: "A Passion for Coffee"},
      ]}
    />
  </div>

  <div id="specials" data-section="specials">
      <FeatureCardOne
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={false}
      features={[
        {
          title: "Artisan Coffee Blends",          description: "Savor our exclusive blends, carefully roasted and brewed to perfection. Each cup tells a story of rich flavors and aromatic notes.",          imageSrc: "http://img.b2bpic.net/free-photo/male-barista-brewing-coffee-alternative-method-pour_176420-14715.jpg",          imageAlt: "professional espresso machine coffee shop"},
        {
          title: "Freshly Baked Pastries",          description: "Indulge in our daily selection of pastries, baked fresh every morning. Croissants, muffins, cakes \u2013 a sweet delight for every palate.",          imageSrc: "http://img.b2bpic.net/free-photo/chocolate-doughnuts-black-surface-stone-board_114579-17439.jpg",          imageAlt: "fresh pastry display bakery cafe"},
        {
          title: "Relaxing Ambiance",          description: "Unwind in our cozy interior or enjoy the fresh air on our outdoor patio. The perfect spot to meet friends or simply enjoy a quiet moment.",          imageSrc: "http://img.b2bpic.net/free-photo/beautiful-young-asian-woman-sitting-cafe-with-cup-coffee-talking-mobile-phone-having-lively_1258-198945.jpg",          imageAlt: "outdoor cafe seating summer terrace"},
      ]}
      title="Our Signature Offerings"
      description="Discover the unique tastes and experiences that make Alfredo Cafe special. From expertly crafted beverages to freshly baked goods, there's always something new to love."
    />
  </div>

  <div id="menu" data-section="menu">
      <ProductCardTwo
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={false}
      products={[
        {
          id: "p-croissant",          brand: "Alfredo's Bakery",          name: "Buttery Croissant",          price: "$3.50",          rating: 5,
          reviewCount: "25",          imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-bagels-with-cakes-light-white-background_140725-50217.jpg?_wi=1",          imageAlt: "fresh buttery croissant plate"},
        {
          id: "p-sandwich",          brand: "Alfredo's Kitchen",          name: "Gourmet Chicken Sandwich",          price: "$12.00",          rating: 4,
          reviewCount: "18",          imageSrc: "http://img.b2bpic.net/free-photo/high-angle-salad-sandwich-with-tomato_23-2148640135.jpg?_wi=1",          imageAlt: "gourmet sandwich fresh ingredients"},
        {
          id: "p-smoothie",          brand: "Alfredo's Refreshments",          name: "Berry Blast Smoothie",          price: "$7.00",          rating: 5,
          reviewCount: "30",          imageSrc: "http://img.b2bpic.net/free-photo/healthy-smoothie-with-fruits-dryfruits-white-background_23-2147907019.jpg?_wi=1",          imageAlt: "refreshing fruit smoothie glass"},
        {
          id: "p-cake",          brand: "Alfredo's Sweets",          name: "Chocolate Fudge Cake",          price: "$6.50",          rating: 5,
          reviewCount: "22",          imageSrc: "http://img.b2bpic.net/free-photo/slice-medovic-cake-black-platter_114579-17495.jpg?_wi=1",          imageAlt: "decadent chocolate cake slice dessert"},
        {
          id: "p-tea",          brand: "Alfredo's Brews",          name: "English Breakfast Tea",          price: "$4.00",          rating: 4,
          reviewCount: "15",          imageSrc: "http://img.b2bpic.net/free-photo/composition-with-cup-cocoa-cinnamon-sticks-knitted-element_169016-27055.jpg?_wi=1",          imageAlt: "warm cup of tea herbal"},
        {
          id: "p-salad",          brand: "Alfredo's Fresh",          name: "Mediterranean Salad",          price: "$11.00",          rating: 4,
          reviewCount: "10",          imageSrc: "http://img.b2bpic.net/free-photo/hawaiian-poke-bowl-with-salmon-bowl-with-seaweed-sesame-seeds-cabbage-top-view-flat-lay-banner_127032-2486.jpg?_wi=1",          imageAlt: "fresh vibrant salad bowl healthy"},
      ]}
      title="Delightful Menu"
      description="Explore our wide range of delicious food and beverages, prepared with care and the freshest ingredients. There's something for everyone at Alfredo Cafe."
      buttons={[
        {
          text: "Order Online",          href: "#contact"
        },
        {
          text: "Browse All Items",          href: "/menu"
        }
      ]}
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardSixteen
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      testimonials={[
        {
          id: "t1",          name: "Sarah Johnson",          role: "Local Resident",          company: "Community",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/young-pretty-woman-outdoors_624325-737.jpg"},
        {
          id: "t2",          name: "Michael Chen",          role: "Food Blogger",          company: "TasteExplorer",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/man-enjoying-his-virtual-date_23-2149307232.jpg"},
        {
          id: "t3",          name: "Emily Rodriguez",          role: "Student",          company: "University",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/mother-looking-woman_23-2147784551.jpg"},
        {
          id: "t4",          name: "David Kim",          role: "Small Business Owner",          company: "Local Biz",          rating: 4,
          imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-friends-posing-together_23-2150172192.jpg"},
        {
          id: "t5",          name: "Jessica Lee",          role: "Coffee Enthusiast",          company: "Coffee Lovers Club",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/front-view-cook-preparing-meat-covering-meal-inside-plate-fry-meat-food_140725-26016.jpg"},
      ]}
      kpiItems={[
        {
          value: "4.9/5",          label: "Average Rating"},
        {
          value: "10k+",          label: "Happy Customers"},
        {
          value: "200+",          label: "Daily Visitors"},
      ]}
      title="What Our Customers Say"
      description="Hear from those who've experienced the warmth and quality of Alfredo Cafe. Their smiles are our greatest reward."
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqSplitMedia
      textboxLayout="default"
      useInvertedBackground={false}
      faqs={[
        {
          id: "q1",          title: "Do you offer vegan options?",          content: "Yes, we have a variety of delicious vegan pastries and plant-based milk alternatives for all our coffee beverages. Just ask our staff for recommendations!"},
        {
          id: "q2",          title: "Can I reserve a table?",          content: "Absolutely! For groups of 4 or more, we recommend making a reservation, especially on weekends. Please contact us via phone or email to book your spot."},
        {
          id: "q3",          title: "Do you have Wi-Fi?",          content: "Yes, complimentary high-speed Wi-Fi is available for all our customers. Feel free to connect and enjoy your time while working or relaxing."},
        {
          id: "q4",          title: "What are your opening hours?",          content: "We are open Monday to Friday from 7 AM to 7 PM, and Saturday & Sunday from 8 AM to 6 PM. Special holiday hours may apply."},
        {
          id: "q5",          title: "Do you cater for events?",          content: "Yes, Alfredo Cafe offers catering services for various events. From coffee and pastry platters to full lunch spreads, we can customize a menu for your needs. Contact us to discuss your event!"},
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/portrait-smiling-asian-girl-barista-giving-out-order-cafe-inviting-guest-pick-up-takeaway-o_1258-138307.jpg"
      imageAlt="friendly barista preparing coffee"
      mediaAnimation="slide-up"
      title="Frequently Asked Questions"
      description="Got questions about our cafe, menu, or services? We've got answers! Browse our FAQs or reach out directly if you need more assistance."
      faqsAnimation="opacity"
    />
  </div>

  <div id="blog" data-section="blog">
      <BlogCardOne
      animationType="scale-rotate"
      textboxLayout="default"
      useInvertedBackground={false}
      title="Cafe Blog & News"
      description="Stay updated with the latest news, special events, and delicious recipes from Alfredo Cafe. Dive into the world of coffee and culinary delights."
      blogs={[
        {
          id: "b1",          category: "Coffee Culture",          title: "The Art of the Perfect Latte",          excerpt: "Learn the secrets behind crafting beautiful latte art and the science of creamy microfoam.",          imageSrc: "http://img.b2bpic.net/free-photo/close-up-coffee-concept-wooden-table_23-2148464808.jpg",          imageAlt: "roasted coffee beans close-up",          authorName: "Alfredo Cafe Team",          authorAvatar: "http://img.b2bpic.net/free-vector/coffee-pastry-shop-logo-vector-set_53876-61332.jpg",          date: "July 15, 2024"},
        {
          id: "b2",          category: "Recipes",          title: "Homemade Banana Bread Recipe",          excerpt: "Recreate our beloved banana bread at home with this easy-to-follow recipe, perfect with your morning coffee.",          imageSrc: "http://img.b2bpic.net/free-photo/breakfast-with-dessert-smoothie-tea-white-round-table_23-2148067133.jpg",          imageAlt: "healthy breakfast spread table",          authorName: "Chef Maria",          authorAvatar: "http://img.b2bpic.net/free-vector/cold-brew-coffee-logos-concept_23-2148659562.jpg",          date: "July 10, 2024"},
        {
          id: "b3",          category: "Events",          title: "Summer Jazz Nights at Alfredo Cafe",          excerpt: "Join us every Friday evening for live jazz music, special cocktails, and a relaxing atmosphere.",          imageSrc: "http://img.b2bpic.net/free-photo/multiethnic-group-stylish-young-students-drinking-tea-cafe-break-woman-hat-reading-book-while-redhead-woman-african-man-using-electronic-gadgets_273609-671.jpg",          imageAlt: "cafe live music event night",          authorName: "Alfredo Cafe Events",          authorAvatar: "http://img.b2bpic.net/free-vector/flat-street-food-facebook_23-2149030904.jpg",          date: "July 5, 2024"},
      ]}
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactSplitForm
      useInvertedBackground={false}
      title="Get in Touch"
      description="We'd love to hear from you! Whether it's a reservation, feedback, or a catering inquiry, fill out the form or find us at our location."
      inputs={[
        {
          name: "name",          type: "text",          placeholder: "Your Name",          required: true,
        },
        {
          name: "email",          type: "email",          placeholder: "Your Email",          required: true,
        },
      ]}
      textarea={{
        name: "message",        placeholder: "Your Message",        rows: 4,
        required: true,
      }}
      imageSrc="http://img.b2bpic.net/free-photo/elegant-woman-skirt-coat-drinking-coffee-street-with-gently-smile_197531-6909.jpg"
      imageAlt="charming cafe exterior storefront"
      mediaAnimation="opacity"
      buttonText="Send Message"
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterLogoEmphasis
      logoSrc="http://img.b2bpic.net/free-vector/coffee-shop-elements-flat-design_23-2147599186.jpg"
      logoAlt="cafe logo elegant vintage"
      columns={[
        {
          items: [
            {
              label: "Home",              href: "/"},
            {
              label: "About Us",              href: "#about"},
            {
              label: "Menu",              href: "/menu"},
            {
              label: "Specials",              href: "#specials"},
          ],
        },
        {
          items: [
            {
              label: "Testimonials",              href: "#testimonials"},
            {
              label: "FAQ",              href: "#faq"},
            {
              label: "Blog",              href: "#blog"},
            {
              label: "Contact",              href: "#contact"},
          ],
        },
        {
          items: [
            {
              label: "Privacy Policy",              href: "#"},
            {
              label: "Terms of Service",              href: "#"},
            {
              label: "Careers",              href: "#"},
          ],
        },
      ]}
      logoText="Alfredo Cafe"
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}