"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FaqBase from '@/components/sections/faq/FaqBase';
import FeatureCardSeven from '@/components/sections/feature/FeatureCardSeven';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import HeroOverlayTestimonial from '@/components/sections/hero/HeroOverlayTestimonial';
import MetricCardOne from '@/components/sections/metrics/MetricCardOne';
import MetricSplitMediaAbout from '@/components/sections/about/MetricSplitMediaAbout';
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import ProductCardFour from '@/components/sections/product/ProductCardFour';
import TeamCardEleven from '@/components/sections/team/TeamCardEleven';
import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive';
import { Award, Leaf, Star } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="icon-arrow"
        defaultTextAnimation="entrance-slide"
        borderRadius="soft"
        contentWidth="smallMedium"
        sizing="mediumLargeSizeMediumTitles"
        background="aurora"
        cardStyle="outline"
        primaryButtonStyle="flat"
        secondaryButtonStyle="radial-glow"
        headingFontWeight="semibold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleCentered
      navItems={[
        {
          name: "Home",
          id: "#home",
        },
        {
          name: "Our Story",
          id: "#about",
        },
        {
          name: "Menu",
          id: "#menu",
        },
        {
          name: "Team",
          id: "#team",
        },
        {
          name: "Testimonials",
          id: "#testimonials",
        },
        {
          name: "Contact",
          id: "#contact",
        },
      ]}
      button={{
        text: "Make a Reservation",
        href: "#contact",
      }}
      brandName="Camillo Restaurant 1890"
    />
  </div>

  <div id="home" data-section="home">
      <HeroOverlayTestimonial
      title="Experience Authentic Roman Flavors"
      description="Camillo Restaurant has been a culinary landmark in Piazza Navona since 1890, offering exquisite Italian cuisine and an unforgettable dining experience."
      testimonials={[
        {
          name: "Isabella Rossi",
          handle: "@isabellarossi",
          testimonial: "Dining at Camillo was like stepping back in time to the golden age of Roman gastronomy. Every dish was a masterpiece!",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/man-isolated-showing-facial-emotions_1303-20271.jpg",
          imageAlt: "Isabella Rossi",
        },
        {
          name: "Giovanni Bianchi",
          handle: "@giobianchi",
          testimonial: "The best carbonara I've ever had, hands down. Camillo truly honors Italy's rich culinary tradition.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/portrait-happy-young-woman_23-2147823623.jpg",
          imageAlt: "Giovanni Bianchi",
        },
        {
          name: "Sofia Ricci",
          handle: "@sofiaricci",
          testimonial: "From the warm welcome to the last bite of tiramisu, Camillo offers an unparalleled dining experience. A must-visit in Rome!",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/happy-couple-holding-each-other-s-hand_23-2147891266.jpg",
          imageAlt: "Sofia Ricci",
        },
        {
          name: "Marco Esposito",
          handle: "@marco_eats",
          testimonial: "The atmosphere is enchanting, the service impeccable, and the food speaks for itself. Camillo is a true gem.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/stylush-successful-ambitious-attractive-young-female-marketing-specialist-sit-restaurant-modern-cafe-eat-healthy-salad-drink-coffee-smiling-delighted-business-meeting-lunch-discuss-work_197531-22203.jpg",
          imageAlt: "Marco Esposito",
        },
        {
          name: "Laura Ferrari",
          handle: "@lauraferrari",
          testimonial: "A taste of authentic Roman history with every mouthful. Camillo defines culinary excellence in the Eternal City.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/17-lifestyle-people-ordering-sushi-home_52683-100631.jpg",
          imageAlt: "Laura Ferrari",
        },
      ]}
      buttons={[
        {
          text: "View Our Menu",
          href: "#menu",
        },
        {
          text: "Make a Reservation",
          href: "#contact",
        },
      ]}
      avatars={[
        {
          src: "http://img.b2bpic.net/free-photo/smiling-young-caucasian-man-looking-camera-clenching-fists-isolated-olive-green-background-with-copy-space_141793-75152.jpg",
          alt: "Isabella Rossi",
        },
        {
          src: "http://img.b2bpic.net/free-photo/young-woman-wearing-big-hat-cafe_273609-13406.jpg",
          alt: "Giovanni Bianchi",
        },
        {
          src: "http://img.b2bpic.net/free-photo/man-preparing-propose-his-lover_23-2148060327.jpg",
          alt: "Sofia Ricci",
        },
        {
          src: "http://img.b2bpic.net/free-photo/smiling-beautiful-young-woman-taking-selfie-with-fresh-yellow-pepper-food-blogger-taking-selfie-with_1258-205094.jpg",
          alt: "Marco Esposito",
        },
        {
          src: "http://img.b2bpic.net/free-photo/elegant-table-with-drinks_1122-458.jpg",
          alt: "Laura Ferrari",
        },
      ]}
      avatarText="Loved by thousands of food enthusiasts"
      imageSrc="http://img.b2bpic.net/free-photo/elegant-table-with-drinks_1122-458.jpg"
      imageAlt="Elegant interior of Camillo Restaurant near Piazza Navona"
      showDimOverlay={true}
      showBlur={true}
      textPosition="bottom"
    />
  </div>

  <div id="about" data-section="about">
      <MetricSplitMediaAbout
      useInvertedBackground={false}
      title="A Legacy of Roman Cuisine Since 1890"
      description="Nestled in the heart of Rome, just steps from the majestic Piazza Navona, Camillo Restaurant has been an iconic culinary destination for over a century. Founded in 1890, we uphold a rich tradition of authentic Italian flavors, using only the freshest local ingredients and time-honored recipes passed down through generations. Experience the true taste of Rome in our elegant and welcoming ambiance."
      metrics={[
        {
          value: "130+",
          title: "Years of Heritage",
        },
        {
          value: "5-Star",
          title: "Customer Ratings",
        },
        {
          value: "Piazza Navona",
          title: "Historic Location",
        },
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/vertical-grayscale-shot-hats-hanged-tall-hanger-city-street_181624-57673.jpg"
      imageAlt="Historic photo of Camillo Restaurant in Piazza Navona"
      mediaAnimation="slide-up"
    />
  </div>

  <div id="features" data-section="features">
      <FeatureCardSeven
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={true}
      features={[
        {
          title: "Handmade Pasta Perfection",
          description: "Experience our renowned pasta dishes, meticulously prepared fresh daily with traditional techniques.",
          imageSrc: "http://img.b2bpic.net/free-photo/pasta-with-shrimps-grated-cheese-greens-cherry-tomato-top_140725-7995.jpg",
          imageAlt: "Gourmet pasta dish",
        },
        {
          title: "Exquisite Truffle Creations",
          description: "Indulge in seasonal truffle dishes, showcasing the rich aroma and earthy flavors of Italy's culinary treasure.",
          imageSrc: "http://img.b2bpic.net/free-photo/closeup-juicy-piece-kebab-with-cranberry-puree_651396-1445.jpg",
          imageAlt: "Exquisite truffle dish",
        },
        {
          title: "Decadent Tiramisu",
          description: "Conclude your meal with our homemade Tiramisu, a classic Italian dessert crafted to perfection.",
          imageSrc: "http://img.b2bpic.net/free-photo/pancakes-colored-coffee_1321-877.jpg",
          imageAlt: "Classic Tiramisu dessert",
        },
      ]}
      title="Our Signature Culinary Delights"
      description="Savor the essence of Italy with dishes crafted from fresh, seasonal ingredients and a passion for authentic Roman flavors."
    />
  </div>

  <div id="menu" data-section="menu">
      <ProductCardFour
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={false}
      carouselMode="buttons"
      products={[
        {
          id: "p1",
          name: "Pizza Margherita",
          price: "€14",
          variant: "Classic",
          imageSrc: "http://img.b2bpic.net/free-photo/delicious-pizza-concept-with-copy-space_23-2148643461.jpg",
          imageAlt: "Traditional Pizza Margherita",
        },
        {
          id: "p2",
          name: "Mushroom Risotto",
          price: "€22",
          variant: "Vegetarian",
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-person-making-pasta-pan_23-2148296929.jpg",
          imageAlt: "Creamy Mushroom Risotto",
        },
        {
          id: "p3",
          name: "Bistecca alla Fiorentina",
          price: "€35",
          variant: "Premium Steak",
          imageSrc: "http://img.b2bpic.net/free-photo/steak-served-with-grilled-vegetables-sour-cream_7502-7084.jpg",
          imageAlt: "Florentine Style Steak",
        },
        {
          id: "p4",
          name: "Grilled Seafood Platter",
          price: "€28",
          variant: "Catch of the Day",
          imageSrc: "http://img.b2bpic.net/free-photo/seabass-barramundi-fish-meat-steak_74190-5984.jpg",
          imageAlt: "Assorted Grilled Seafood",
        },
        {
          id: "p5",
          name: "Caprese Salad",
          price: "€12",
          variant: "Fresh Appetizer",
          imageSrc: "http://img.b2bpic.net/free-photo/green-salad-with-herbs-tomato-with-glass-orange-juice_114579-3259.jpg",
          imageAlt: "Fresh Caprese Salad",
        },
        {
          id: "p6",
          name: "Fine Italian Wines",
          price: "From €25",
          variant: "Sommelier Selection",
          imageSrc: "http://img.b2bpic.net/free-photo/grape-near-goblet-corkscrew_23-2147764885.jpg",
          imageAlt: "Selection of Italian Wines",
        },
      ]}
      title="Explore Our Full Culinary Offerings"
      description="From classic Roman staples to innovative seasonal specials, our menu promises a delightful journey for every palate."
    />
  </div>

  <div id="metrics" data-section="metrics">
      <MetricCardOne
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="uniform-all-items-equal"
      useInvertedBackground={true}
      metrics={[
        {
          id: "m1",
          value: "Award-Winning",
          title: "Culinary Team",
          description: "Our chefs are recognized for their mastery of traditional Italian cuisine.",
          icon: Award,
        },
        {
          id: "m2",
          value: "Locally Sourced",
          title: "Fresh Ingredients",
          description: "We partner with local farms to bring you the finest seasonal produce.",
          icon: Leaf,
        },
        {
          id: "m3",
          value: "Unforgettable",
          title: "Dining Experience",
          description: "Every visit promises a memorable journey through authentic Roman hospitality.",
          icon: Star,
        },
      ]}
      title="Our Commitment to Excellence"
      description="More than just a meal, it's an experience. We pride ourselves on the quality, tradition, and service we offer."
    />
  </div>

  <div id="team" data-section="team">
      <TeamCardEleven
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      groups={[
        {
          id: "g1",
          groupTitle: "Leadership & Culinary",
          members: [
            {
              id: "member1",
              title: "Chef Antonio Rossi",
              subtitle: "Head Chef",
              detail: "With over 30 years of experience, Chef Antonio masterfully blends tradition with innovation.",
              imageSrc: "http://img.b2bpic.net/free-photo/front-view-male-chef-breaking-egg-flour-create-dough_23-2148763128.jpg",
              imageAlt: "Chef Antonio Rossi",
            },
            {
              id: "member2",
              title: "Elena Bianchi",
              subtitle: "Sommelier",
              detail: "Elena curates our extensive wine list, ensuring the perfect pairing for every dish.",
              imageSrc: "http://img.b2bpic.net/free-photo/man-preparing-propose-his-lover_23-2148060585.jpg",
              imageAlt: "Elena Bianchi, Sommelier",
            },
            {
              id: "member3",
              title: "Luca Moretti",
              subtitle: "Restaurant Manager",
              detail: "Luca oversees our operations, ensuring every guest enjoys a seamless and delightful experience.",
              imageSrc: "http://img.b2bpic.net/free-photo/stylish-businesswoman-with-laptop-disposal-cup-standing-outdoors_23-2147970970.jpg",
              imageAlt: "Luca Moretti, Restaurant Manager",
            },
          ],
          imageSrc: "http://img.b2bpic.net/free-photo/elegant-table-with-drinks_1122-458.jpg",
          imageAlt: "head chef italian restaurant portrait",
        },
      ]}
      title="Meet Our Passionate Team"
      description="The dedicated individuals behind Camillo Restaurant, upholding our legacy of culinary excellence and warm hospitality."
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardFive
      textboxLayout="default"
      useInvertedBackground={true}
      testimonials={[
        {
          id: "t1",
          name: "Alessandro Conti",
          date: "October 2023",
          title: "An Unforgettable Roman Evening",
          quote: "Camillo is more than a restaurant; it's a piece of Roman history. The pasta was divine, and the ambiance truly magical. Highly recommend!",
          tag: "Five Stars",
          avatarSrc: "http://img.b2bpic.net/free-photo/happy-professional-male-chef-looking-camera_23-2147863770.jpg",
          avatarAlt: "Alessandro Conti",
          imageSrc: "http://img.b2bpic.net/free-photo/pasta-with-cheese-tomatoes_140725-3501.jpg",
          imageAlt: "Elegant table setting at Camillo",
        },
        {
          id: "t2",
          name: "Giulia Ferrari",
          date: "September 2023",
          title: "Authentic Flavors, Impeccable Service",
          quote: "Every dish felt like a loving embrace of Italian tradition. The service was attentive without being intrusive. A perfect dining experience.",
          tag: "Culinary Excellence",
          avatarSrc: "http://img.b2bpic.net/free-photo/front-view-cute-girl-looking-away_23-2148436134.jpg",
          avatarAlt: "Giulia Ferrari",
          imageSrc: "http://img.b2bpic.net/free-photo/spaghetti-with-fresh-ingredients_1220-439.jpg",
          imageAlt: "Close-up of a pasta dish",
        },
        {
          id: "t3",
          name: "Roberto Gallo",
          date: "August 2023",
          title: "A Taste of True Rome",
          quote: "If you want to experience real Roman cuisine in a setting that breathes history, Camillo is the place. The cacio e pepe was sublime!",
          tag: "Must-Visit",
          avatarSrc: "http://img.b2bpic.net/free-photo/portrait-man-talking-phone_23-2148238923.jpg",
          avatarAlt: "Roberto Gallo",
          imageSrc: "http://img.b2bpic.net/free-photo/top-view-little-creamy-cake-with-chocolate-cookies-dark-surface-biscuit-cake-sweet-pie-sugar-cookie_140725-118183.jpg",
          imageAlt: "Decadent dessert on a plate",
        },
        {
          id: "t4",
          name: "Francesca Russo",
          date: "July 2023",
          title: "Charming & Delicious",
          quote: "The location by Piazza Navona is unbeatable, and the food perfectly complements it. A wonderful spot for a romantic dinner or family gathering.",
          tag: "Perfect Ambiance",
          avatarSrc: "http://img.b2bpic.net/free-photo/women-making-vlog-while-preparing-food_23-2149063526.jpg",
          avatarAlt: "Francesca Russo",
          imageSrc: "http://img.b2bpic.net/free-photo/putting-red-wine-from-bottle-into-glass-jar_114579-3043.jpg",
          imageAlt: "Wine glasses on a table",
        },
        {
          id: "t5",
          name: "Luca Marino",
          date: "June 2023",
          title: "Beyond Expectations",
          quote: "I came for the history, but I stayed for the food! Camillo exceeded all my expectations. Truly a highlight of my trip to Rome.",
          tag: "Hidden Gem",
          avatarSrc: "http://img.b2bpic.net/free-photo/world-health-day-celebration-with-nutritious-food_23-2151359001.jpg",
          avatarAlt: "Luca Marino",
          imageSrc: "http://img.b2bpic.net/free-photo/female-chef-preparing-dish_23-2148763223.jpg",
          imageAlt: "Chef preparing a dish",
        },
      ]}
      title="What Our Valued Guests Say"
      description="Hear directly from patrons who have experienced the timeless charm and exquisite flavors of Camillo Restaurant."
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqBase
      textboxLayout="default"
      useInvertedBackground={false}
      faqs={[
        {
          id: "q1",
          title: "Do I need a reservation to dine at Camillo?",
          content: "While walk-ins are welcome, especially for smaller parties, we highly recommend making a reservation, particularly for dinner and on weekends, to ensure you get a table.",
        },
        {
          id: "q2",
          title: "What are your operating hours?",
          content: "We are open for lunch from 12:00 PM to 2:30 PM and for dinner from 6:30 PM to 10:30 PM, Monday through Saturday. We are closed on Sundays.",
        },
        {
          id: "q3",
          title: "Do you offer vegetarian or gluten-free options?",
          content: "Yes, we have a selection of vegetarian dishes, and our chefs are happy to accommodate dietary restrictions, including gluten-free options, whenever possible. Please inform your server.",
        },
        {
          id: "q4",
          title: "Is Camillo Restaurant suitable for large groups or private events?",
          content: "Absolutely! We welcome large groups and can host private events. Please contact us directly to discuss your requirements and our special event packages.",
        },
        {
          id: "q5",
          title: "Where are you located exactly?",
          content: "Camillo Restaurant is located on the charming streets adjacent to Piazza Navona in the heart of Rome. Our exact address can be found in the contact section below.",
        },
      ]}
      title="Frequently Asked Questions"
      description="Find quick answers to common inquiries about reservations, menu, and our restaurant policies."
      faqsAnimation="slide-up"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactCenter
      useInvertedBackground={true}
      background={{
        variant: "radial-gradient",
      }}
      tag="Reservations"
      title="Plan Your Visit to Camillo"
      description="Book your table today and experience the timeless elegance and authentic flavors of Camillo Restaurant near Piazza Navona."
      inputPlaceholder="Enter your email for updates"
      buttonText="Subscribe"
      termsText="By subscribing, you agree to receive promotional emails from Camillo Restaurant."
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterBaseCard
      logoText="Camillo Restaurant 1890"
      columns={[
        {
          title: "Explore",
          items: [
            {
              label: "Our Story",
              href: "#about",
            },
            {
              label: "Menu",
              href: "#menu",
            },
            {
              label: "Team",
              href: "#team",
            },
          ],
        },
        {
          title: "Visit Us",
          items: [
            {
              label: "Reservations",
              href: "#contact",
            },
            {
              label: "Location",
              href: "https://maps.google.com/?q=Piazza+Navona,Rome",
            },
            {
              label: "Hours",
              href: "#faq",
            },
          ],
        },
        {
          title: "Legal",
          items: [
            {
              label: "Privacy Policy",
              href: "#",
            },
            {
              label: "Terms of Service",
              href: "#",
            },
          ],
        },
      ]}
      copyrightText="© 2024 Camillo Restaurant. All rights reserved."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
