"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FaqDouble from '@/components/sections/faq/FaqDouble';
import FeatureCardTwentyThree from '@/components/sections/feature/FeatureCardTwentyThree';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
import HeroSplitKpi from '@/components/sections/hero/HeroSplitKpi';
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
import TestimonialCardTen from '@/components/sections/testimonial/TestimonialCardTen';
import { Award, Leaf } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="hover-magnetic"
        defaultTextAnimation="reveal-blur"
        borderRadius="soft"
        contentWidth="mediumSmall"
        sizing="large"
        background="aurora"
        cardStyle="gradient-bordered"
        primaryButtonStyle="gradient"
        secondaryButtonStyle="glass"
        headingFontWeight="extrabold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarLayoutFloatingInline
      navItems={[
        {
          name: "Home",
          id: "#home",
        },
        {
          name: "About",
          id: "#about",
        },
        {
          name: "Menu",
          id: "#menu",
        },
        {
          name: "Testimonials",
          id: "#testimonials",
        },
        {
          name: "FAQ",
          id: "#faq",
        },
        {
          name: "Contact",
          id: "#contact",
        },
      ]}
      brandName="Rustic Garden"
      button={{
        text: "Reserve Your Table",
        href: "#contact",
      }}
    />
  </div>

  <div id="home" data-section="home">
      <HeroSplitKpi
      background={{
        variant: "radial-gradient",
      }}
      title="Authentic Rustic Dining in Nature's Heart"
      description="Award-rated restaurant with traditional cuisine, scenic garden terrace, and warm hospitality. Experience genuine flavors in Călărași's most beloved countryside retreat."
      kpis={[
        {
          value: "42",
          label: "Star Rating",
        },
        {
          value: "25+",
          label: "Years of Tradition",
        },
        {
          value: "10K+",
          label: "Happy Customers",
        },
      ]}
      enableKpiAnimation={true}
      buttons={[
        {
          text: "Reserve Your Table",
          href: "#contact",
        },
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/table-chairs-italian-garden_628469-330.jpg"
      imageAlt="Outdoor dining area at Rustic Garden restaurant"
      mediaAnimation="slide-up"
      avatars={[
        {
          src: "http://img.b2bpic.net/free-photo/cheerful-woman-with-dog-park_23-2147911439.jpg",
          alt: "Happy guest 1",
        },
        {
          src: "http://img.b2bpic.net/free-photo/smiley-woman-posing-outdoors-medium-shot_23-2149412636.jpg",
          alt: "Happy guest 2",
        },
        {
          src: "http://img.b2bpic.net/free-photo/medium-shot-smiley-woman-nature_23-2149615177.jpg",
          alt: "Happy guest 3",
        },
        {
          src: "http://img.b2bpic.net/free-photo/bohemian-personalities-going-adventure-together_23-2149623173.jpg",
          alt: "Happy guest 4",
        },
        {
          src: "http://img.b2bpic.net/free-photo/confident-businessman-posing-thoughtfully-cafe_23-2147689187.jpg",
          alt: "Happy guest 5",
        },
      ]}
      avatarText="Join our 10K+ happy customers"
      marqueeItems={[
        {
          type: "text",
          text: "Traditional Romanian Cuisine",
        },
        {
          type: "text-icon",
          text: "Fresh Local Ingredients",
          icon: Leaf,
        },
        {
          type: "text",
          text: "Scenic Garden Terrace",
        },
        {
          type: "text-icon",
          text: "Award-Winning Service",
          icon: Award,
        },
        {
          type: "text",
          text: "Family-Friendly Atmosphere",
        },
      ]}
    />
  </div>

  <div id="about" data-section="about">
      <TestimonialAboutCard
      useInvertedBackground={true}
      tag="Our Story"
      title="Experience the Charm of Rustic Garden"
      description="Nestled in the heart of Călărași's countryside, Rustic Garden offers a unique culinary journey. We pride ourselves on authentic traditional cuisine, crafted with fresh, local ingredients and served with heartfelt hospitality."
      subdescription="Our scenic garden terrace provides a tranquil escape, perfect for families and couples seeking a memorable dining experience amidst nature's beauty."
      icon={Leaf}
      imageSrc="http://img.b2bpic.net/free-photo/woman-blue-hat-sits-windowsill-cafe_8353-194.jpg"
      imageAlt="Charming entrance of Rustic Garden restaurant with flowers"
      mediaAnimation="slide-up"
    />
  </div>

  <div id="features" data-section="features">
      <FeatureCardTwentyThree
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      features={[
        {
          id: "f1",
          title: "Farm-to-Table Freshness",
          tags: [
            "Local",
            "Seasonal",
          ],
          imageSrc: "http://img.b2bpic.net/free-photo/unrecognizable-cook-cutting-celery-salad_23-2148253392.jpg",
          imageAlt: "Basket of fresh vegetables",
        },
        {
          id: "f2",
          title: "Handcrafted Recipes",
          tags: [
            "Authentic",
            "Heritage",
          ],
          imageSrc: "http://img.b2bpic.net/free-photo/leaves-dolma-served-clay-pot_140725-3435.jpg",
          imageAlt: "Traditional cooking",
        },
        {
          id: "f3",
          title: "Seasonal Specialties",
          tags: [
            "Fresh",
            "Dynamic Menu",
          ],
          imageSrc: "http://img.b2bpic.net/free-photo/composition-vegetables-black-board_23-2147951144.jpg",
          imageAlt: "Autumn harvest ingredients",
        },
        {
          id: "f4",
          title: "Artisanal Wines",
          tags: [
            "Regional",
            "Paired",
          ],
          imageSrc: "http://img.b2bpic.net/free-photo/man-waiting-girlfriend-valentine-s-day_1157-45999.jpg",
          imageAlt: "Wine bottles in a rustic cellar",
        },
      ]}
      title="Traditional Flavors, Modern Presentation"
      description="Savor the taste of Călărași with our meticulously prepared traditional dishes. Each plate is a celebration of local ingredients and timeless recipes, offering a true taste of Romanian heritage."
      tag="Our Cuisine"
    />
  </div>

  <div id="menu" data-section="menu">
      <ProductCardThree
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={true}
      carouselMode="buttons"
      products={[
        {
          id: "p1",
          name: "Sarmale cu Mămăliguță",
          price: "45 RON",
          imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-meat-meal-rolled-inside-cabbage-with-tomatoes-dark-blue-desk-meat-food-dinner-calorie-vegetable-cooking_140725-64470.jpg",
          imageAlt: "Sarmale with polenta",
        },
        {
          id: "p2",
          name: "Mici cu Muștar",
          price: "35 RON",
          imageSrc: "http://img.b2bpic.net/free-photo/lule-kebab-served-with-bulgur-bowl-onion-salad-red-cabbage-pickles_140725-5862.jpg",
          imageAlt: "Mici with mustard",
        },
        {
          id: "p3",
          name: "Ciorbă de Burtă",
          price: "28 RON",
          imageSrc: "http://img.b2bpic.net/free-photo/vegetable-soup-broth_140725-10071.jpg",
          imageAlt: "Beef tripe soup",
        },
        {
          id: "p4",
          name: "Plăcintă cu Brânză",
          price: "22 RON",
          imageSrc: "http://img.b2bpic.net/free-photo/pressed-out-dough-by-cook-with-fork_176474-5503.jpg",
          imageAlt: "Homemade cheese pie",
        },
        {
          id: "p5",
          name: "Papanasi cu Dulceață",
          price: "26 RON",
          imageSrc: "http://img.b2bpic.net/free-photo/top-close-up-view-fresh-fruits-colorful-berries-around-paper-white-flowers-dark-surface_140725-14278.jpg",
          imageAlt: "Papanasi with jam",
        },
        {
          id: "p6",
          name: "Vin Fiert",
          price: "18 RON",
          imageSrc: "http://img.b2bpic.net/free-photo/apple-tea-with-spices-cup_501050-874.jpg",
          imageAlt: "Mulled wine",
        },
      ]}
      title="Culinary Delights from Our Kitchen"
      description="Discover some of our most beloved creations, crafted to perfection and bursting with authentic flavors, reflecting the rich culinary heritage of Călărași."
      tag="Signature Dishes"
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardTen
      textboxLayout="default"
      useInvertedBackground={false}
      testimonials={[
        {
          id: "t1",
          title: "A True Taste of Romania",
          quote: "The ambiance is enchanting and the food is simply divine. Highly recommend the Sarmale!",
          name: "Elena P.",
          role: "Local Food Enthusiast",
          imageSrc: "http://img.b2bpic.net/free-photo/charming-lady-with-short-hair-jacket-olive-pants-sits-grass-holds-smartphone-outdoors-woman-headphones-smiles-outside_197531-19355.jpg",
          imageAlt: "Portrait of Elena P.",
        },
        {
          id: "t2",
          title: "Feels Like Home",
          quote: "Every visit feels like coming home. The garden is stunning, and the staff are incredibly warm and attentive. A gem in Călărași.",
          name: "Andrei M.",
          role: "Regular Guest",
          imageSrc: "http://img.b2bpic.net/free-photo/elegant-young-man-table-restaurant_23-2147689186.jpg",
          imageAlt: "Portrait of Andrei M.",
        },
        {
          id: "t3",
          title: "Perfect for Any Occasion",
          quote: "Perfect for a romantic dinner or a family gathering. The traditional dishes are authentic and made with love. We keep coming back!",
          name: "Sofia L.",
          role: "Happy Customer",
          imageSrc: "http://img.b2bpic.net/free-photo/portrait-waitress-standing-counter_1170-668.jpg",
          imageAlt: "Portrait of Sofia L.",
        },
        {
          id: "t4",
          title: "Exceeded Expectations",
          quote: "Found this place by chance and it exceeded all expectations. The fresh ingredients truly make a difference. The best rustic dining experience!",
          name: "Bogdan C.",
          role: "Tourist Visitor",
          imageSrc: "http://img.b2bpic.net/free-photo/male-female-graphic-designers-working-together_1170-915.jpg",
          imageAlt: "Portrait of Bogdan C.",
        },
        {
          id: "t5",
          title: "Culinary Bliss",
          quote: "From the first bite to the last, pure culinary bliss. The Papanasi are a must-try! Rustic Garden is an absolute delight.",
          name: "Ioana D.",
          role: "Dessert Lover",
          imageSrc: "http://img.b2bpic.net/free-photo/girl-is-great-asian-meal-guide-knows-every-popular-restaurant-i_197531-31019.jpg",
          imageAlt: "Portrait of Ioana D.",
        },
      ]}
      title="Cherished Moments, Unforgettable Flavors"
      description="Our patrons consistently rave about the authentic experience, warm ambiance, and exquisite cuisine. See why Rustic Garden is Călărași's top-rated destination."
      tag="What Our Guests Say"
    />
  </div>

  <div id="social-proof" data-section="social-proof">
      <SocialProofOne
      textboxLayout="default"
      useInvertedBackground={true}
      names={[
        "Călărași Food Guide",
        "Taste of Romania",
        "Local Eateries Magazine",
        "Garden Lovers Digest",
        "Traveler's Choice Awards",
        "Culinary Excellence Review",
        "Regional Tourism Board",
      ]}
      title="Accolades & Happy Partners"
      description="Proudly acknowledged by local culinary guides and beloved by our community. Our commitment to quality shines through in every aspect of our dining experience."
      tag="Recognized Excellence"
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqDouble
      textboxLayout="default"
      useInvertedBackground={false}
      faqs={[
        {
          id: "q1",
          title: "Can I make a reservation online?",
          content: "Yes, you can easily make a reservation through our website by clicking the 'Reserve Your Table' button or by visiting our contact page.",
        },
        {
          id: "q2",
          title: "Do you offer vegetarian options?",
          content: "We have a selection of delicious vegetarian dishes and can accommodate other dietary needs upon request. Please inform us when booking.",
        },
        {
          id: "q3",
          title: "Is Rustic Garden child-friendly?",
          content: "Absolutely! Our spacious garden and welcoming atmosphere are perfect for families. We also have a children's menu available.",
        },
        {
          id: "q4",
          title: "What are your opening hours?",
          content: "Our restaurant is open Tuesday to Sunday from 12:00 PM to 10:00 PM. We are closed on Mondays.",
        },
      ]}
      title="Your Dining Experience, Clarified"
      description="Find quick answers to common questions about reservations, menu options, special events, and more, ensuring a seamless and enjoyable visit to Rustic Garden."
      tag="Questions & Answers"
      faqsAnimation="slide-up"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactSplitForm
      useInvertedBackground={true}
      title="Plan Your Visit"
      description="Reach out to us for reservations, private events, or any special requests. We look forward to welcoming you to Rustic Garden and providing an unforgettable experience."
      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)",
          required: false,
        },
      ]}
      textarea={{
        name: "message",
        placeholder: "Your Message or Reservation Details",
        rows: 4,
        required: true,
      }}
      imageSrc="http://img.b2bpic.net/free-photo/high-angle-dining-table-assortment_23-2150312225.jpg"
      imageAlt="Cozy interior of Rustic Garden restaurant"
      mediaAnimation="slide-up"
      buttonText="Send Message"
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterLogoReveal
      logoText="Rustic Garden"
      leftLink={{
        text: "Privacy Policy",
        href: "#",
      }}
      rightLink={{
        text: "Terms of Service",
        href: "#",
      }}
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
