"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 HeroLogo from '@/components/sections/hero/HeroLogo';
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">
      <HeroLogo
      logoText="Hacienda Real"
      description="Authentic flavors, traditional recipes, and a warm welcome await you. Experience the true taste of Mexico in every bite."
      buttons={[
        {
          text: "View Menu",
          href: "#menu",
        },
        {
          text: "Book Table",
          href: "#contact",
        },
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/beautiful-mexican-party-decoration-with-food_23-2149317344.jpg?_wi=1"
    />
  </div>

  <div id="about" data-section="about">
      <TestimonialAboutCard
      useInvertedBackground={false}
      tag="Our Story"
      title="A Legacy of Flavor"
      description="Established with a passion for tradition, Hacienda Real brings you recipes passed down through generations. Our kitchen serves the freshest ingredients in a vibrant, family-friendly atmosphere."
      subdescription="Come join our family for a memorable dining experience where every meal feels like home."
      icon={Award}
      imageSrc="http://img.b2bpic.net/free-photo/male-chef-kitchen-cooking_23-2148934701.jpg"
      mediaAnimation="slide-up"
    />
  </div>

  <div id="menu" data-section="menu">
      <ProductCardTwo
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={false}
      products={[
        {
          id: "1",
          brand: "Signature",
          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: "Signature",
          name: "Classic Burrito Grande",
          price: "$14.50",
          rating: 4,
          reviewCount: "95",
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-blackboard-national-mexican-food_23-2147740813.jpg",
        },
        {
          id: "3",
          brand: "Appetizer",
          name: "Fresh Guacamole",
          price: "$9.95",
          rating: 5,
          reviewCount: "210",
          imageSrc: "http://img.b2bpic.net/free-photo/arrangement-various-biscuits-cookies-colorful-bowls-marble-background_114579-69815.jpg",
        },
        {
          id: "4",
          brand: "Entree",
          name: "Cheese Enchiladas",
          price: "$13.95",
          rating: 4,
          reviewCount: "88",
          imageSrc: "http://img.b2bpic.net/free-photo/traditional-mexican-chili-dish_58702-1316.jpg",
        },
        {
          id: "5",
          brand: "Side",
          name: "Salsa Verde Duo",
          price: "$5.95",
          rating: 5,
          reviewCount: "64",
          imageSrc: "http://img.b2bpic.net/free-photo/pink-bowl-ripe-green-bell-peppers-marble-table_114579-66175.jpg",
        },
        {
          id: "6",
          brand: "Appetizer",
          name: "Street Corn Elote",
          price: "$7.50",
          rating: 5,
          reviewCount: "112",
          imageSrc: "http://img.b2bpic.net/free-photo/woman-with-delicious-esquites-front-view_23-2149891091.jpg",
        },
      ]}
      title="Chef's Specials"
      description="Explore our curated selection of signature Mexican dishes, from sizzling fajitas to authentic street tacos."
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardSix
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      testimonials={[
        {
          id: "1",
          name: "Carlos M.",
          handle: "@carlosm",
          testimonial: "The best tacos I've had outside of Mexico City. Truly authentic!",
          imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-young-woman-enjoying-drinks_23-2147859549.jpg",
        },
        {
          id: "2",
          name: "Elena R.",
          handle: "@elenar",
          testimonial: "My favorite place for Sunday family dinner. Everyone loves the guacamole.",
          imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-taking-food-photos_23-2149250116.jpg",
        },
        {
          id: "3",
          name: "James L.",
          handle: "@jamesl",
          testimonial: "Fantastic atmosphere and even better margaritas. Highly recommended.",
          imageSrc: "http://img.b2bpic.net/free-photo/lovely-couple-celebrating-valentine-s-day-with-bottle-wine_23-2148435715.jpg",
        },
        {
          id: "4",
          name: "Sophia P.",
          handle: "@sophiap",
          testimonial: "The service is exceptional and the food is so consistent. Always a win.",
          imageSrc: "http://img.b2bpic.net/free-photo/girl-with-cheesecake_1303-3944.jpg",
        },
        {
          id: "5",
          name: "Robert B.",
          handle: "@robertb",
          testimonial: "Hacienda Real is an absolute gem. The enchiladas are to die for.",
          imageSrc: "http://img.b2bpic.net/free-photo/people-having-dinner-luxurious-restaurants_23-2151081871.jpg",
        },
      ]}
      title="Diner Reviews"
      description="See why locals call Hacienda Real their favorite Mexican destination."
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactSplit
      useInvertedBackground={false}
      background={{
        variant: "gradient-bars",
      }}
      tag="Visit Us"
      title="Join Us for Dinner"
      description="Reserve your table or sign up for our newsletter to receive monthly specials and event updates."
      imageSrc="http://img.b2bpic.net/free-photo/restaurant-table-with-cutlery_23-2148172713.jpg"
      mediaAnimation="slide-up"
      buttonText="Subscribe"
    />
  </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: "Specials",
              href: "#menu",
            },
            {
              label: "Full Menu",
              href: "#menu",
            },
            {
              label: "Drinks",
              href: "#menu",
            },
          ],
        },
        {
          title: "Information",
          items: [
            {
              label: "Hours",
              href: "#contact",
            },
            {
              label: "Contact",
              href: "#contact",
            },
            {
              label: "Reservation",
              href: "#contact",
            },
          ],
        },
        {
          title: "Legal",
          items: [
            {
              label: "Privacy Policy",
              href: "#",
            },
            {
              label: "Terms of Service",
              href: "#",
            },
          ],
        },
      ]}
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
