"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import SplitAbout from '@/components/sections/about/SplitAbout';
import TestimonialCardTwo from '@/components/sections/testimonial/TestimonialCardTwo';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="hover-bubble"
        defaultTextAnimation="entrance-slide"
        borderRadius="rounded"
        contentWidth="mediumLarge"
        sizing="largeSmall"
        background="circleGradient"
        cardStyle="solid"
        primaryButtonStyle="gradient"
        secondaryButtonStyle="solid"
        headingFontWeight="bold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleApple
      navItems={[
        {
          name: "Home",
          id: "/",
        },
        {
          name: "Menu",
          id: "/menu",
        },
        {
          name: "Reservations",
          id: "/reservations",
        },
        {
          name: "About",
          id: "/about",
        },
        {
          name: "Contact",
          id: "/contact",
        },
      ]}
      brandName="Rowleys"
    />
  </div>

  <div id="about" data-section="about">
      <SplitAbout
      textboxLayout="default"
      useInvertedBackground={false}
      title="Our Heritage"
      description="Quality, integrity, and fire."
      imageSrc="http://img.b2bpic.net/free-photo/grilled-juicy-steak-cooking-fire-created-with-generative-ai-technology_185193-110097.jpg"
      mediaAnimation="slide-up"
      bulletPoints={[
        {
          title: "Sourced Locally",
          description: "Supporting the finest suppliers.",
        },
        {
          title: "Legacy of Taste",
          description: "Decades of culinary mastery.",
        },
      ]}
    />
  </div>

  <div id="testimonial" data-section="testimonial">
      <TestimonialCardTwo
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      title="Our Team"
      description="The faces behind the excellence."
      testimonials={[
        {
          id: "team-1",
          name: "Chef Marco",
          role: "Executive Chef",
          testimonial: "Every plate is a masterpiece.",
          imageSrc: "http://img.b2bpic.net/free-photo/front-view-cook-preparing-meal-designing-meal-inside-plate-fry-meat-food-meal_140725-26012.jpg",
        },
        {
          id: "team-2",
          name: "Elena",
          role: "Head Sommelier",
          testimonial: "Exquisite wine pairing expertise.",
          imageSrc: "http://img.b2bpic.net/free-photo/portrait-one-black-american-female-eats-gourmet-vegetarian-meal-drinks-wine-restaurant_613910-7365.jpg",
        },
      ]}
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterBaseCard
      logoText="Rowleys"
      columns={[
        {
          title: "Navigation",
          items: [
            {
              label: "Menu",
              href: "/menu",
            },
            {
              label: "About",
              href: "/about",
            },
            {
              label: "Reservations",
              href: "/reservations",
            },
          ],
        },
        {
          title: "Location",
          items: [
            {
              label: "Downtown Dubai",
              href: "#",
            },
            {
              label: "Parking Info",
              href: "#",
            },
          ],
        },
        {
          title: "Contact",
          items: [
            {
              label: "+971 4 000 0000",
              href: "tel:+97140000000",
            },
            {
              label: "reservations@rowleys.com",
              href: "mailto:reservations@rowleys.com",
            },
          ],
        },
      ]}
      copyrightText="© 2025 Rowleys Steakhouse"
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
