"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FeatureCardTwentyFour from '@/components/sections/feature/FeatureCardTwentyFour';
import FooterBase from '@/components/sections/footer/FooterBase';
import HeroSplitKpi from '@/components/sections/hero/HeroSplitKpi';
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import SplitAbout from '@/components/sections/about/SplitAbout';
import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne';
import { Coffee, Leaf, Sparkles } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="hover-bubble"
        defaultTextAnimation="reveal-blur"
        borderRadius="soft"
        contentWidth="smallMedium"
        sizing="medium"
        background="circleGradient"
        cardStyle="subtle-shadow"
        primaryButtonStyle="flat"
        secondaryButtonStyle="solid"
        headingFontWeight="medium"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarLayoutFloatingOverlay
      navItems={[
        {
          name: "Home",
          id: "#hero",
        },
        {
          name: "Menu",
          id: "#menu",
        },
        {
          name: "About",
          id: "#about",
        },
        {
          name: "Contact",
          id: "#contact",
        },
      ]}
      brandName="BOYINAS"
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroSplitKpi
      background={{
        variant: "radial-gradient",
      }}
      title="Experience Culinary Excellence at BOYINAS"
      description="Where every dish tells a story of fresh, farm-sourced ingredients and artisanal craftsmanship. Indulge in premium flavors, meticulously prepared for your delight."
      kpis={[
        {
          value: "100%",
          label: "Farm-Sourced",
        },
        {
          value: "20+",
          label: "Artisanal Recipes",
        },
        {
          value: "5-Star",
          label: "Customer Love",
        },
      ]}
      enableKpiAnimation={true}
      imageSrc="http://img.b2bpic.net/free-photo/wedding-hall-with-white-wooden-furniture-interior_114579-2232.jpg"
      imageAlt="Luxurious cafe interior with warm lighting"
      mediaAnimation="slide-up"
      avatars={[
        {
          src: "http://img.b2bpic.net/free-photo/friendly-waitress-with-cup-hot-drink_23-2147775876.jpg",
          alt: "Satisfied customer Sarah",
        },
        {
          src: "http://img.b2bpic.net/free-photo/handsome-man-tasting-morning-coffee_329181-664.jpg",
          alt: "Happy customer Michael",
        },
        {
          src: "http://img.b2bpic.net/free-photo/cheerful-young-caucasian-brunette-girl-white-hoodie-closing-her-eyes-laughs-covering-face-with-hand-indoors_197531-33296.jpg",
          alt: "Smiling patron Emily",
        },
        {
          src: "http://img.b2bpic.net/free-photo/woman-with-fork-delicious-fresh-chocolate-dessert-restaurant_23-2148001620.jpg",
          alt: "Enjoying meal David",
        },
        {
          src: "http://img.b2bpic.net/free-photo/close-up-hands-holding-cup_23-2148892853.jpg",
          alt: "Food enthusiast Anna",
        },
      ]}
      avatarText="Join our community of food lovers!"
      marqueeItems={[
        {
          type: "text-icon",
          text: "Fresh Ingredients",
          icon: Leaf,
        },
        {
          type: "text-icon",
          text: "Artisanal Quality",
          icon: Sparkles,
        },
        {
          type: "text",
          text: "Daily Baked",
        },
        {
          type: "text-icon",
          text: "Premium Coffee",
          icon: Coffee,
        },
        {
          type: "text",
          text: "Customer Favorites",
        },
      ]}
      marqueeSpeed={30}
      showMarqueeCard={true}
    />
  </div>

  <div id="about" data-section="about">
      <SplitAbout
      textboxLayout="default"
      useInvertedBackground={true}
      title="Our Philosophy: From Farm to Your Table"
      description="At BOYINAS, we believe in the power of fresh, seasonal ingredients. Our commitment to sourcing directly from local farms ensures that every plate we serve embodies unparalleled quality and vibrant flavor. Taste the difference that true dedication makes."
      bulletPoints={[
        {
          title: "Local Sourcing",
          description: "Direct partnerships with local farms for the freshest produce.",
        },
        {
          title: "Premium Quality",
          description: "Only the finest ingredients selected for superior taste.",
        },
        {
          title: "Artisanal Craft",
          description: "Meticulous preparation by skilled culinary artists.",
        },
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/farmer-holding-crate-freshly-harvested-vegetables_23-2151983628.jpg"
      imageAlt="Hands gathering fresh organic produce from a farm"
      mediaAnimation="slide-up"
    />
  </div>

  <div id="menu" data-section="menu">
      <ProductCardOne
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={false}
      products={[
        {
          id: "1",
          name: "Death by Chocolate",
          price: "$12.00",
          imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-creamy-cake-with-chocolate-raisins-light-dark-background_140725-136311.jpg",
          imageAlt: "Decadent Death by Chocolate cake",
        },
        {
          id: "2",
          name: "Truffle Cake Sundae",
          price: "$14.50",
          imageSrc: "http://img.b2bpic.net/free-photo/front-view-pistachio-icecream-with-nuts_23-2148431193.jpg",
          imageAlt: "Elegant Truffle Cake Sundae",
        },
        {
          id: "3",
          name: "White Sauce Pasta",
          price: "$18.00",
          imageSrc: "http://img.b2bpic.net/free-photo/pasta-dish-restaurant-table_7939-2481.jpg",
          imageAlt: "Creamy White Sauce Pasta with fresh herbs",
        },
        {
          id: "4",
          name: "Cold Coffee",
          price: "$7.50",
          imageSrc: "http://img.b2bpic.net/free-photo/caramel-macchiato-table_140725-7660.jpg",
          imageAlt: "Stylish Cold Coffee with foam",
        },
        {
          id: "5",
          name: "Premium Fries",
          price: "$8.00",
          imageSrc: "http://img.b2bpic.net/free-photo/front-view-french-fries-tasty-along-with-ketchup-mayyonaise-green-desk_140725-11616.jpg",
          imageAlt: "Artfully presented Premium Fries",
        },
        {
          id: "6",
          name: "Artisanal Sandwich",
          price: "$16.00",
          imageSrc: "http://img.b2bpic.net/free-photo/front-view-toast-sandwich-with-greens-tomatoes_23-2148893621.jpg",
          imageAlt: "Gourmet artisanal sandwich",
        },
      ]}
      title="Our Signature Creations"
      description="Discover a symphony of flavors, from decadent desserts to savory delights, each crafted with the finest ingredients and culinary passion."
    />
  </div>

  <div id="features" data-section="features">
      <FeatureCardTwentyFour
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={true}
      features={[
        {
          id: "1",
          title: "Gourmet Preparation",
          author: "Head Chef",
          description: "Every dish is meticulously crafted using advanced techniques and a touch of culinary artistry.",
          tags: [
            "Precision",
            "Innovation",
          ],
          imageSrc: "http://img.b2bpic.net/free-photo/high-angle-female-chef-holding-bowl-with-ingredients_23-2148491259.jpg",
          imageAlt: "Chef meticulously plating a gourmet dish",
        },
        {
          id: "2",
          title: "Freshly Baked Goods",
          author: "Pastry Chef",
          description: "Indulge in our exquisite selection of pastries, baked fresh daily with the finest ingredients and a passion for perfection.",
          tags: [
            "Daily",
            "Handmade",
          ],
          imageSrc: "http://img.b2bpic.net/free-photo/croissant-coffee-food-photography_53876-104492.jpg",
          imageAlt: "Freshly baked artisanal pastries on a cooling rack",
        },
        {
          id: "3",
          title: "Expert Coffee Brewing",
          author: "Head Barista",
          description: "Our baristas are masters of their craft, ensuring every cup of coffee is a perfect blend of aroma and flavor.",
          tags: [
            "Craft",
            "Perfection",
          ],
          imageSrc: "http://img.b2bpic.net/free-photo/coffee-beans-coffee-grinder-coffee-beans-closeup_169016-63004.jpg",
          imageAlt: "Barista pouring latte art into a cup",
        },
      ]}
      title="Artisanal Craftsmanship in Every Bite"
      description="Our skilled chefs transform premium ingredients into culinary masterpieces, focusing on traditional techniques blended with modern innovation. Experience true passion on a plate."
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardOne
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={false}
      testimonials={[
        {
          id: "1",
          name: "Sarah Johnson",
          role: "Food Critic",
          company: "Taste Magazine",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/cheerful-european-man-glasses-suit-smiling-excited-looking-camera-with-amazed-happy-face-w_1258-154166.jpg",
          imageAlt: "Portrait of Sarah Johnson",
        },
        {
          id: "2",
          name: "Michael Chen",
          role: "Local Entrepreneur",
          company: "City Hub",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/attractive-hipster-dressed-leather-jacket-eating-vegan-burger_613910-504.jpg",
          imageAlt: "Portrait of Michael Chen",
        },
        {
          id: "3",
          name: "Emily Rodriguez",
          role: "Gourmet Blogger",
          company: "The Flavor Journey",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/vertical-shot-smiling-girl-working-as-barista-prepare-pour-making-filter-coffee-batch-brew_1258-203377.jpg",
          imageAlt: "Portrait of Emily Rodriguez",
        },
        {
          id: "4",
          name: "David Kim",
          role: "Regular Patron",
          company: "BOYINAS",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/group-friends-having-lunch-together-restaurant_23-2150520109.jpg",
          imageAlt: "Portrait of David Kim",
        },
        {
          id: "5",
          name: "Anna Williams",
          role: "Culinary Enthusiast",
          company: "Foodie Club",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/be-my-valentine_1098-15263.jpg",
          imageAlt: "Portrait of Anna Williams",
        },
      ]}
      title="What Our Guests Say"
      description="Hear from our cherished patrons about their unforgettable dining experiences and why BOYINAS is their favorite culinary destination."
    />
  </div>

  <div id="social-proof" data-section="social-proof">
      <SocialProofOne
      textboxLayout="default"
      useInvertedBackground={true}
      names={[
        "Green Acres Farm",
        "Harvest Moon Dairy",
        "Artisan Roast Co.",
        "The Baker's Guild",
        "Fresh Fields Produce",
        "Eco-Source Grains",
        "Gourmet Food Awards",
      ]}
      title="Partnerships for Perfection"
      description="We collaborate with esteemed local farms and suppliers who share our unwavering commitment to quality and sustainable practices."
      speed={30}
      showCard={true}
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactSplitForm
      useInvertedBackground={false}
      title="Visit Us or Get in Touch"
      description="Find us at our charming location or send us a message for reservations, catering inquiries, or any questions about BOYINAS."
      inputs={[
        {
          name: "name",
          type: "text",
          placeholder: "Your Name",
          required: true,
        },
        {
          name: "email",
          type: "email",
          placeholder: "Your Email",
          required: true,
        },
        {
          name: "phone",
          type: "tel",
          placeholder: "Your Phone Number (optional)",
        },
      ]}
      textarea={{
        name: "message",
        placeholder: "Your Message",
        rows: 4,
        required: true,
      }}
      imageSrc="http://img.b2bpic.net/free-photo/blurred-city-lights_23-2148139051.jpg"
      imageAlt="Charming cafe exterior"
      mediaPosition="right"
      buttonText="Send Message"
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterBase
      columns={[
        {
          title: "Explore",
          items: [
            {
              label: "Home",
              href: "#hero",
            },
            {
              label: "Menu",
              href: "#menu",
            },
            {
              label: "About Us",
              href: "#about",
            },
          ],
        },
        {
          title: "Connect",
          items: [
            {
              label: "Contact",
              href: "#contact",
            },
            {
              label: "Reservations",
              href: "#contact",
            },
            {
              label: "Catering",
              href: "#contact",
            },
          ],
        },
        {
          title: "Legal",
          items: [
            {
              label: "Privacy Policy",
              href: "#",
            },
            {
              label: "Terms of Service",
              href: "#",
            },
          ],
        },
      ]}
      logoText="BOYINAS"
      copyrightText="© 2024 BOYINAS. All rights reserved."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
