"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered";
import HeroLogoBillboardSplit from "@/components/sections/hero/HeroLogoBillboardSplit";
import TextAbout from "@/components/sections/about/TextAbout";
import FeatureCardMedia from "@/components/sections/feature/FeatureCardMedia";
import TestimonialCardSix from "@/components/sections/testimonial/TestimonialCardSix";
import MetricCardTwo from "@/components/sections/metrics/MetricCardTwo";
import ContactText from "@/components/sections/contact/ContactText";
import FooterMedia from "@/components/sections/footer/FooterMedia";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-shift"
      defaultTextAnimation="reveal-blur"
      borderRadius="soft"
      contentWidth="mediumSmall"
      sizing="mediumLargeSizeLargeTitles"
      background="none"
      cardStyle="soft-shadow"
      primaryButtonStyle="diagonal-gradient"
      secondaryButtonStyle="layered"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered 
          brandName="Jake's Adventure"
          navItems={[
            { name: "Menu", id: "dishes" },
            { name: "About", id: "about" },
            { name: "Testimonials", id: "testimonials" },
            { name: "Ambiance", id: "ambiance" },
            { name: "Contact", id: "contact" }
          ]}
          button={{ text: "Reserve Table", href: "contact" }}
        />
      </div>
      
      <div id="hero" data-section="hero">
        <HeroLogoBillboardSplit
          logoText="Jake's Adventure"
          description="Experience authentic Italian cuisine crafted with passion and tradition. From classic pasta dishes to refined risottos, every plate tells a story of Italian culinary heritage."
          buttons={[
            { text: "Explore Menu", href: "dishes" },
            { text: "Reserve Now", href: "contact" }
          ]}
          layoutOrder="default"
          imageSrc="https://img.b2bpic.net/free-photo/people-having-dinner-luxurious-restaurants_23-2151081864.jpg"
          imageAlt="Jake's Adventure Italian Restaurant - Elegant dining ambiance"
          frameStyle="card"
          logoLineHeight={1.2}
        />
      </div>
      
      <div id="about" data-section="about">
        <TextAbout
          title="Welcome to Jake's Adventure - Where Italian tradition meets culinary innovation. Our family has been perfecting the art of Italian cuisine for generations, bringing you the most authentic flavors and warm hospitality."
          buttons={[
            { text: "Our Story", href: "#" }
          ]}
          useInvertedBackground="invertDefault"
        />
      </div>
      
      <div id="dishes" data-section="dishes">
        <FeatureCardMedia
          title="Our Signature Dishes"
          description="Discover the dishes that define Jake's Adventure - each one carefully crafted to showcase authentic Italian flavors and premium ingredients"
          features={[
            {
              id: "pasta",              title: "Handmade Pasta",              description: "Traditional egg pasta prepared daily using recipes passed down through generations",              tag: "Specialty",              imageSrc: "https://img.b2bpic.net/free-photo/pasta-dish-restaurant-table_7939-2483.jpg",              imageAlt: "Handmade Italian Pasta Carbonara"
            },
            {
              id: "risotto",              title: "Creamy Risotto",              description: "Silky risotto with saffron, mushrooms, and premium arborio rice from northern Italy",              tag: "Specialty",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-bowl-with-tasty-pasta_23-2147772010.jpg",              imageAlt: "Authentic Italian Risotto"
            },
            {
              id: "dessert",              title: "Traditional Tiramisu",              description: "Authentic tiramisu made with mascarpone, cocoa, and espresso - a perfect ending to your meal",              tag: "Dessert",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-cutlery-near-pasta-meat_23-2147772011.jpg",              imageAlt: "Classic Italian Tiramisu"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>
      
      <div id="testimonials" data-section="testimonials">
        <TestimonialCardSix
          title="What Our Guests Say"
          description="Join hundreds of satisfied diners who have experienced the magic of authentic Italian cuisine at Jake's Adventure"
          testimonials={[
            {
              id: "1",              name: "Maria Rossi",              handle: "@maria.dines",              testimonial: "The most authentic Italian experience outside of Italy! Every dish is prepared with such care and attention to detail. Simply magnificent.",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              imageAlt: "Maria Rossi"
            },
            {
              id: "2",              name: "Giovanni Ferrari",              handle: "Culinary Enthusiast",              testimonial: "Jake's Adventure captures the true essence of Italian hospitality. The pasta is handmade perfection, and the ambiance is absolutely enchanting.",              imageSrc: "https://img.b2bpic.net/free-photo/happy-businessman-smiling-camera_1163-4660.jpg",              imageAlt: "Giovanni Ferrari"
            },
            {
              id: "3",              name: "Elena Marconi",              handle: "@food_explorer",              testimonial: "I've dined at restaurants across Italy, and this place rivals them all. The flavors are authentic, the service is impeccable, and I'm already planning my next visit.",              imageSrc: "https://img.b2bpic.net/free-photo/smiling-homosexual-man-official-suit-looking-camera-close-up-shot-happy-gay-getting-dressed-wedding-ceremony-standing-hotel-room-with-his-partner-background-love-emotion-concept_74855-22675.jpg",              imageAlt: "Elena Marconi"
            },
            {
              id: "4",              name: "Antonio Bellini",              handle: "@antonio.loves.food",              testimonial: "A hidden gem! The wine selection is outstanding, the risotto is creamy perfection, and Jake makes every guest feel like family. Bravo!",              imageSrc: "https://img.b2bpic.net/free-photo/pensive-person-alone-corridor-serious_1262-1042.jpg",              imageAlt: "Antonio Bellini"
            },
            {
              id: "5",              name: "Sofia Conti",              handle: "Restaurant Critic",              testimonial: "Outstanding execution of traditional Italian cuisine. The attention to ingredient quality and preparation methods sets Jake's Adventure apart from competitors.",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              imageAlt: "Sofia Conti"
            },
            {
              id: "6",              name: "Marco Benedetti",              handle: "@marco.epicurean",              testimonial: "My family and I visit every month. The handmade pasta is unparalleled, the atmosphere is perfect, and Jake's hospitality makes it feel like home away from home.",              imageSrc: "https://img.b2bpic.net/free-photo/happy-businessman-smiling-camera_1163-4660.jpg",              imageAlt: "Marco Benedetti"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          speed={40}
          topMarqueeDirection="left"
        />
      </div>
      
      <div id="ambiance" data-section="ambiance">
        <MetricCardTwo
          title="The Jake's Adventure Experience"
          description="Discover what makes our restaurant special and why guests return again and again"
          metrics={[
            {
              id: "1",              value: "20+",              description: "Years of Excellence"
            },
            {
              id: "2",              value: "100%",              description: "Handmade Pasta"
            },
            {
              id: "3",              value: "500+",              description: "Happy Guests Monthly"
            },
            {
              id: "4",              value: "150+",              description: "Italian Wine Selection"
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>
      
      <div id="contact" data-section="contact">
        <ContactText
          text="Ready to embark on your culinary adventure? Reserve your table at Jake's Adventure today and experience authentic Italian hospitality at its finest."
          animationType="reveal-blur"
          buttons={[
            { text: "Reserve Your Table", href: "#" },
            { text: "Call Us", href: "#" }
          ]}
          useInvertedBackground="invertDefault"
        />
      </div>
      
      <div id="footer" data-section="footer">
        <FooterMedia
          imageSrc="https://img.b2bpic.net/free-photo/high-angle-pizza-dough-with-wooden-board-parmesan-cheese_23-2148753785.jpg"
          imageAlt="Italian kitchen and culinary heritage"
          logoText="Jake's Adventure"
          copyrightText="© 2025 | Jake's Adventure Italian Restaurant"
          columns={[
            {
              title: "Restaurant",              items: [
                { label: "Menu", href: "dishes" },
                { label: "Reservations", href: "contact" },
                { label: "Events", href: "#" },
                { label: "Catering", href: "#" }
              ]
            },
            {
              title: "Company",              items: [
                { label: "About Us", href: "about" },
                { label: "Our Story", href: "#" },
                { label: "Careers", href: "#" },
                { label: "Contact", href: "contact" }
              ]
            },
            {
              title: "Connect",              items: [
                { label: "Instagram", href: "#" },
                { label: "Facebook", href: "#" },
                { label: "Phone", href: "#" },
                { label: "Email", href: "#" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}