"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
import FeatureCardTwentySeven from '@/components/sections/feature/FeatureCardTwentySeven';
import FooterCard from '@/components/sections/footer/FooterCard';
import HeroOverlayTestimonial from '@/components/sections/hero/HeroOverlayTestimonial';
import MetricSplitMediaAbout from '@/components/sections/about/MetricSplitMediaAbout';
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import TestimonialCardTwelve from '@/components/sections/testimonial/TestimonialCardTwelve';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="elastic-effect"
        defaultTextAnimation="reveal-blur"
        borderRadius="soft"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleFullscreen
      navItems={[
        {
          name: "Home",
          id: "hero",
        },
        {
          name: "About",
          id: "about",
        },
        {
          name: "Menu",
          id: "products",
        },
        {
          name: "Contact",
          id: "contact",
        },
      ]}
      brandName="Sacrestia Restaurant"
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroOverlayTestimonial
      title="Welcome to Sacrestia Restaurant"
      description="Authentic Italian flavors in a refined, cozy setting. Experience tradition in every bite."
      testimonials={[
        {
          name: "Marco Rossi",
          handle: "@marco_foodie",
          testimonial: "The best pasta I've ever had in this area. Authentic and rich.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-view-delicious-thanksgiving-meal_23-2148629558.jpg",
          imageAlt: "cozy rustic italian restaurant interior",
        },
        {
          name: "Elena Bianchi",
          handle: "@elena_travels",
          testimonial: "A truly magical place with a warm and inviting atmosphere.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/female-chef-holding-sheet-dough_23-2148491268.jpg",
          imageAlt: "cozy rustic italian restaurant interior",
        },
        {
          name: "Giovanni Verdi",
          handle: "@giovanni_c",
          testimonial: "Exceptional service and high-quality ingredients. Highly recommended.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/overhead-view-delicious-dinner-with-meat-potatoes-served-with-green-black-plate-pepper-garlic-oil-bottle_179666-19956.jpg",
          imageAlt: "cozy rustic italian restaurant interior",
        },
        {
          name: "Anna Neri",
          handle: "@anna_n",
          testimonial: "A hidden gem. The attention to detail is remarkable.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/vegetables-pizzas-near-pasta_23-2147772122.jpg",
          imageAlt: "cozy rustic italian restaurant interior",
        },
        {
          name: "Luca Bruno",
          handle: "@luca_b",
          testimonial: "The wine selection paired perfectly with the main courses.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/top-view-grilled-eggplant-rolls-tomatoes-plate-cherry-tomatoes-wood-board-spices-wooden-spoons-green-kitchen-towel-nude_140725-98697.jpg",
          imageAlt: "cozy rustic italian restaurant interior",
        },
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/close-up-view-delicious-thanksgiving-meal_23-2148629558.jpg"
      avatars={[
        {
          src: "http://img.b2bpic.net/free-photo/cozy-lively-home-interior-design_23-2151118891.jpg",
          alt: "Cozy and lively home interior design",
        },
        {
          src: "http://img.b2bpic.net/free-photo/vintage-chairs-antique-store_23-2149640752.jpg",
          alt: "Vintage chairs at the antique store",
        },
        {
          src: "http://img.b2bpic.net/free-photo/wicker-gray-table-with-glass-gray-chairs_140725-3025.jpg",
          alt: "Wicker gray table with glass and gray chairs",
        },
        {
          src: "http://img.b2bpic.net/free-photo/cocktail-wooden-table-restaurant_23-2147936121.jpg",
          alt: "Cocktail on wooden table in the restaurant",
        },
        {
          src: "http://img.b2bpic.net/free-photo/happy-woman-enjoying-dining-table-while-communicating-with-her-husband_637285-3516.jpg",
          alt: "Happy customer fine dining portrait",
        },
      ]}
      avatarText="Join 5,000+ happy diners"
    />
  </div>

  <div id="about" data-section="about">
      <MetricSplitMediaAbout
      useInvertedBackground={true}
      title="Our Passion for Tradition"
      description="At Sacrestia Restaurant, we believe in the sanctity of food. Our recipes are passed down through generations, utilizing local products to bring authentic Italian cuisine to your table."
      metrics={[
        {
          value: "20+",
          title: "Years of Tradition",
        },
        {
          value: "100%",
          title: "Local Ingredients",
        },
        {
          value: "5k+",
          title: "Satisfied Diners",
        },
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/female-chef-holding-sheet-dough_23-2148491268.jpg"
      mediaAnimation="slide-up"
      metricsAnimation="slide-up"
    />
  </div>

  <div id="features" data-section="features">
      <FeatureCardTwentySeven
      animationType="slide-up"
      textboxLayout="split"
      useInvertedBackground={false}
      features={[
        {
          id: "1",
          title: "Fresh Homemade Pasta",
          descriptions: [
            "Handmade daily with fresh, local eggs and flour.",
          ],
          imageSrc: "http://img.b2bpic.net/free-photo/italian-chef-uniform-is-preparing-pastry-pizza-kitchen_613910-14748.jpg",
        },
        {
          id: "2",
          title: "Exquisite Wine Cellar",
          descriptions: [
            "A carefully curated selection of local and regional wines.",
          ],
          imageSrc: "http://img.b2bpic.net/free-photo/low-angle-red-wine-carafe-glass_23-2149706781.jpg",
        },
        {
          id: "3",
          title: "Seasonal Menus",
          descriptions: [
            "Menus that change with the seasons to ensure freshness.",
          ],
          imageSrc: "http://img.b2bpic.net/free-photo/top-view-spaghetti-pasta-with-ingredients-around-note-pad-wooden-surface-with-copy-space_141793-10192.jpg",
        },
      ]}
      title="Our Culinary Experience"
      description="Everything we do is designed to make your dinner special."
    />
  </div>

  <div id="products" data-section="products">
      <ProductCardTwo
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="uniform-all-items-equal"
      useInvertedBackground={true}
      products={[
        {
          id: "p1",
          brand: "Signature",
          name: "Tagliatelle al Tartufo",
          price: "€22",
          rating: 5,
          reviewCount: "120",
          imageSrc: "http://img.b2bpic.net/free-photo/overhead-view-delicious-dinner-with-meat-potatoes-served-with-green-black-plate-pepper-garlic-oil-bottle_179666-19956.jpg",
        },
        {
          id: "p2",
          brand: "Dessert",
          name: "Homemade Tiramisu",
          price: "€9",
          rating: 5,
          reviewCount: "85",
          imageSrc: "http://img.b2bpic.net/free-photo/vegetables-pizzas-near-pasta_23-2147772122.jpg",
        },
        {
          id: "p3",
          brand: "Starter",
          name: "Burrata with Tomatoes",
          price: "€14",
          rating: 4,
          reviewCount: "95",
          imageSrc: "http://img.b2bpic.net/free-photo/top-view-grilled-eggplant-rolls-tomatoes-plate-cherry-tomatoes-wood-board-spices-wooden-spoons-green-kitchen-towel-nude_140725-98697.jpg",
        },
        {
          id: "p4",
          brand: "Main",
          name: "Bistecca alla Fiorentina",
          price: "€45",
          rating: 5,
          reviewCount: "200",
          imageSrc: "http://img.b2bpic.net/free-photo/fried-chicken-with-herbs-pomegranate_140725-3613.jpg",
        },
        {
          id: "p5",
          brand: "Main",
          name: "Seafood Risotto",
          price: "€26",
          rating: 5,
          reviewCount: "150",
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-bowl-with-delicious-pasta-mussels_23-2148375704.jpg",
        },
        {
          id: "p6",
          brand: "Wine",
          name: "Chianti Classico",
          price: "€35",
          rating: 5,
          reviewCount: "60",
          imageSrc: "http://img.b2bpic.net/free-photo/pouring-glass-red-wine_53876-18232.jpg",
        },
      ]}
      title="Our Specialties"
      description="Discover our signature dishes prepared with love."
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardTwelve
      useInvertedBackground={false}
      testimonials={[
        {
          id: "t1",
          name: "Marco",
          imageSrc: "http://img.b2bpic.net/free-photo/happy-woman-enjoying-dining-table-while-communicating-with-her-husband_637285-3516.jpg",
        },
        {
          id: "t2",
          name: "Elena",
          imageSrc: "http://img.b2bpic.net/free-photo/happy-extended-family-having-fun-while-toasting-lunch-dining-table-focus-is-young-man_637285-2868.jpg",
        },
        {
          id: "t3",
          name: "Giovanni",
          imageSrc: "http://img.b2bpic.net/free-photo/internationals-people-standing-cafe-drinking-cocktails_1157-32440.jpg",
        },
        {
          id: "t4",
          name: "Anna",
          imageSrc: "http://img.b2bpic.net/free-photo/lovely-couple-celebrating-valentine-s-day-with-bottle-wine_23-2148435715.jpg",
        },
        {
          id: "t5",
          name: "Luca",
          imageSrc: "http://img.b2bpic.net/free-photo/blurred-restaurant_1203-65.jpg",
        },
      ]}
      cardTitle="Guest Reviews"
      cardTag="Our Customers"
      cardAnimation="slide-up"
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqSplitMedia
      textboxLayout="split"
      useInvertedBackground={true}
      faqs={[
        {
          id: "f1",
          title: "Do I need a reservation?",
          content: "Yes, we highly recommend booking in advance.",
        },
        {
          id: "f2",
          title: "Are there vegetarian options?",
          content: "We offer a variety of vegetarian and vegan dishes.",
        },
        {
          id: "f3",
          title: "Do you host events?",
          content: "Yes, please contact us to discuss private bookings.",
        },
      ]}
      title="Frequently Asked Questions"
      description="Have questions? We have answers."
      faqsAnimation="slide-up"
      imageSrc="http://img.b2bpic.net/free-photo/nice-woman-with-menu_23-2147681072.jpg"
    />
  </div>

  <div id="social-proof" data-section="social-proof">
      <SocialProofOne
      textboxLayout="default"
      useInvertedBackground={false}
      names={[
        "TripAdvisor",
        "Michelin Guide",
        "Slow Food",
        "Gambero Rosso",
        "Yelp",
        "Google Maps",
        "Local Food Association",
      ]}
      title="Recognized Excellence"
      description="Proudly featured in the best culinary guides."
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactSplit
      useInvertedBackground={true}
      background={{
        variant: "gradient-bars",
      }}
      tag="Visit Us"
      title="Get in Touch"
      description="Visit us at our location or contact us for reservations."
      imageSrc="http://img.b2bpic.net/free-photo/restaurant-chilling-out-classy-lifestyle-reserved-concept_53876-15896.jpg"
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterCard
      logoText="Sacrestia Restaurant"
      copyrightText="© 2025 Sacrestia Restaurant"
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
