"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import HeroBillboardGallery from '@/components/sections/hero/HeroBillboardGallery';
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix';
import { Award } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="expand-hover"
        defaultTextAnimation="reveal-blur"
        borderRadius="pill"
        contentWidth="mediumLarge"
        sizing="largeSizeMediumTitles"
        background="noise"
        cardStyle="glass-elevated"
        primaryButtonStyle="double-inset"
        secondaryButtonStyle="layered"
        headingFontWeight="light"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarLayoutFloatingOverlay
      navItems={[
        { name: "Home", id: "hero" },
        { name: "About", id: "about" },
        { name: "Menu", id: "menu" },
        { name: "Contact", id: "contact" },
      ]}
      brandName="Hacienda Real"
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroBillboardGallery
      title="Hacienda Real Mexican Restaurant"
      description="Authentic flavors, traditional recipes, and a warm welcome. Experience the true taste of Mexico in every bite."
      background={{ variant: "gradient-bars" }}
      mediaItems={[
        { imageSrc: "http://img.b2bpic.net/free-photo/beautiful-mexican-party-decoration-with-food_23-2149317344.jpg?_wi=1", imageAlt: "Tacos" },
        { imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-mexican-food-composition_23-2148737395.jpg", imageAlt: "Mexican spread" },
        { imageSrc: "http://img.b2bpic.net/free-photo/close-up-tasty-mexican-food_23-2148858277.jpg", imageAlt: "More food" }
      ]}
      buttons={[{ text: "Explore Menu", href: "#menu" }]}
    />
  </div>

  <div id="about" data-section="about">
      <TestimonialAboutCard
      tag="Our Roots"
      title="Tradition You Can Taste"
      description="Established with a passion for heritage, Hacienda Real brings you authentic recipes passed down through generations. Our chefs use only the finest fresh ingredients."
      subdescription="Step into our vibrant dining room and experience a piece of Mexico right here in town."
      icon={Award}
      imageSrc="http://img.b2bpic.net/free-photo/male-chef-kitchen-cooking_23-2148934701.jpg"
      mediaAnimation="slide-up"
      useInvertedBackground={false}
    />
  </div>

  <div id="menu" data-section="menu">
      <ProductCardTwo
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      products={[
        {
          id: "1",          brand: "Specialty",          name: "Street Taco Trio",          price: "$16.95",          rating: 5,
          reviewCount: "128",          imageSrc: "http://img.b2bpic.net/free-photo/traditional-mexican-tacos-with-meat-vegetables-wooden-table_123827-19988.jpg"},
        {
          id: "2",          brand: "Specialty",          name: "Enchilada Supreme",          price: "$14.50",          rating: 4,
          reviewCount: "95",          imageSrc: "http://img.b2bpic.net/free-photo/traditional-mexican-chili-dish_58702-1316.jpg"},
        {
          id: "3",          brand: "Fresh",          name: "Guacamole Bowl",          price: "$9.95",          rating: 5,
          reviewCount: "210",          imageSrc: "http://img.b2bpic.net/free-photo/close-up-blackboard-national-mexican-food_23-2147740813.jpg"}
      ]}
      title="Chef's Specials"
      description="Discover our kitchen's heart and soul with these fan favorites."
      useInvertedBackground={false}
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardSix
      animationType="slide-up"
      textboxLayout="default"
      testimonials={[
        {
          id: "1",          name: "Elena Rodriguez",          handle: "@elenar",          testimonial: "Absolute perfection. The authenticity here is unmatched.",          imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-young-woman-enjoying-drinks_23-2147859549.jpg"
        },
        {
          id: "2",          name: "Marcus Thorne",          handle: "@mthorne",          testimonial: "The street corn is my weekly guilty pleasure. Simply incredible.",          imageSrc: "http://img.b2bpic.net/free-photo/lovely-couple-celebrating-valentine-s-day-with-bottle-wine_23-2148435715.jpg"
        }
      ]}
      title="Guest Reviews"
      description="See what our regulars have to say about their experience."
      useInvertedBackground={false}
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactSplit
      tag="Connect With Us"
      title="Reserve Your Table"
      description="Book a table for dinner or inquire about catering for your next private event."
      imageSrc="http://img.b2bpic.net/free-photo/restaurant-table-with-cutlery_23-2148172713.jpg"
      background={{ variant: "gradient-bars" }}
      useInvertedBackground={false}
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterMedia
      imageSrc="http://img.b2bpic.net/free-photo/beautiful-mexican-party-decoration-with-food_23-2149317344.jpg?_wi=2"
      logoText="Hacienda Real"
      columns={[
        {
          title: "Menu",          items: [{ label: "Browse Full Menu", href: "#menu" }]
        },
        {
          title: "Restaurant",          items: [{ label: "Reserve a Table", href: "#contact" }]
        }
      ]}
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
