"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import HeroBillboardGallery from '@/components/sections/hero/HeroBillboardGallery';
import TextAbout from '@/components/sections/about/TextAbout';
import FeatureCardMedia from '@/components/sections/feature/FeatureCardMedia';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import TestimonialCardTwo from '@/components/sections/testimonial/TestimonialCardTwo';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import { Utensils } from 'lucide-react';

export default function RestaurantPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="mediumSmall"
      sizing="largeSmall"
      background="circleGradient"
      cardStyle="glass-depth"
      primaryButtonStyle="inset-glow"
      secondaryButtonStyle="glass"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="Delicious"
          navItems={[
            { name: "Menu", id: "menu" },
            { name: "About", id: "about" },
            { name: "Gallery", id: "gallery" },
            { name: "Reviews", id: "reviews" }
          ]}
          button={{
            text: "Reserve Table",            href: "contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardGallery
          title="Culinary Excellence Awaits"
          description="Discover exquisite flavors crafted with passion and premium ingredients. Join us for an unforgettable dining experience that celebrates the art of gastronomy."
          background={{ variant: "radial-gradient" }}
          tag="Fine Dining"
          tagIcon={Utensils}
          mediaItems={[
            {
              imageSrc: "https://img.b2bpic.net/free-photo/chicken-leg-served-with-mashed-potatoes-sour-cream_7502-7082.jpg",              imageAlt: "Gourmet plated dish"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/top-view-grilled-chicken-fillet-served-with-bulgur-vegetables-white-wine_141793-2435.jpg",              imageAlt: "Italian pasta creation"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/meat-rolls-with-herbs-sauce-glass-wine_140725-3451.jpg",              imageAlt: "Premium seafood plate"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/front-view-salad-cow-tongue-with-orange-carrots-arugula-plate-with-tomatoes-cucumber-soft-drink-table_141793-2843.jpg",              imageAlt: "Fresh salad composition"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/healthy-baked-vegetables-ham-sandwiches_7502-7403.jpg",              imageAlt: "Artisan dessert presentation"
            }
          ]}
          buttons={[
            { text: "View Menu", href: "menu" },
            { text: "Book Now", href: "contact" }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <TextAbout
          title="Passionate About Creating Memorable Dining Moments. Our chef-led team brings decades of culinary expertise and a commitment to sourcing the finest local ingredients for every dish we serve."
          useInvertedBackground="invertDefault"
          buttons={[
            { text: "Meet Our Chef", href: "#" }
          ]}
        />
      </div>

      <div id="menu" data-section="menu">
        <FeatureCardMedia
          title="Explore Our Culinary Journey"
          description="From morning freshness to evening indulgence, we offer a carefully curated selection of dishes that showcase seasonal ingredients and timeless techniques."
          tag="Menu Highlights"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          features={[
            {
              id: "1",              title: "Breakfast Specialties",              description: "Start your day with artisanal breads, fresh pastries, and traditional breakfast favorites prepared with attention to detail.",              tag: "Morning",              imageSrc: "https://img.b2bpic.net/free-photo/closeup-side-dish-with-vegetables-caviar-top-with-blurred-background_181624-2204.jpg"
            },
            {
              id: "2",              title: "Lunch Selection",              description: "Midday cravings satisfied with fresh ingredients, creative sandwiches, and light yet satisfying options that delight the palate.",              tag: "Midday",              imageSrc: "https://img.b2bpic.net/free-photo/side-view-fish-fillet-grilled-with-vegetables-served-with-fresh-herbs-sauce-plate_141793-2969.jpg"
            },
            {
              id: "3",              title: "Evening Dinners",              description: "Our signature dinners feature premium proteins, seasonal vegetables, and house-made sauces that reflect our culinary philosophy.",              tag: "Evening",              imageSrc: "https://img.b2bpic.net/free-photo/front-view-fried-meat-asparagus-with-mashed-potatoes-herbs-plate_141793-6093.jpg"
            }
          ]}
        />
      </div>

      <div id="gallery" data-section="gallery">
        <ProductCardOne
          title="Signature Dishes"
          description="Our most celebrated creations, perfected through years of refinement and passion. Each dish tells a story of flavor, technique, and culinary artistry."
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="invertDefault"
          gridVariant="three-columns-all-equal-width"
          products={[
            {
              id: "1",              name: "Gourmet Burger",              price: "$18",              imageSrc: "https://img.b2bpic.net/free-photo/grilled-chicken-breast-with-potato-greens-spices-sauces-side-view_141793-3740.jpg",              imageAlt: "Premium burger with fresh ingredients"
            },
            {
              id: "2",              name: "Wood-Fired Pizza",              price: "$16",              imageSrc: "https://img.b2bpic.net/free-photo/vertical-view-delicious-tuna-dish-with-glass-wine-cheese-set_8353-10584.jpg",              imageAlt: "Authentic Italian pizza fresh from oven"
            },
            {
              id: "3",              name: "Grilled Salmon",              price: "$28",              imageSrc: "https://img.b2bpic.net/free-photo/side-view-fried-fish-fillet-with-herbs-vegetables-sauce-plate_141793-2974.jpg",              imageAlt: "Premium grilled salmon fillet"
            }
          ]}
        />
      </div>

      <div id="reviews" data-section="reviews">
        <TestimonialCardTwo
          title="What Our Guests Say"
          description="Don't just take our word for it. Read the heartfelt reviews from guests who have experienced our hospitality and culinary excellence."
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="slide-up"
          testimonials={[
            {
              id: "1",              name: "Sarah Williams",              role: "Food Critic",              testimonial: "The most exceptional dining experience I've had all year. Every dish was a masterpiece, and the attention to detail was extraordinary. Highly recommended!",              imageSrc: "https://img.b2bpic.net/free-photo/chef-working-together-professional-kitchen_23-2149727992.jpg",              imageAlt: "Sarah Williams"
            },
            {
              id: "2",              name: "Michael Chen",              role: "Regular Guest",              testimonial: "I've been coming here for years and the quality never wavers. The chef truly cares about creating memorable meals. Worth every penny!",              imageSrc: "https://img.b2bpic.net/free-photo/man-chef-cooking-asian-chicken-cafe-kitchen_1303-32155.jpg",              imageAlt: "Michael Chen"
            },
            {
              id: "3",              name: "Emma Rodriguez",              role: "Event Planner",              testimonial: "Hosted my corporate dinner here and it was flawless. The service was impeccable, the food was stunning, and all guests raved about the experience.",              imageSrc: "https://img.b2bpic.net/free-photo/view-chef-working-kitchen_23-2149727975.jpg",              imageAlt: "Emma Rodriguez"
            },
            {
              id: "4",              name: "James Peterson",              role: "Restaurant Enthusiast",              testimonial: "A hidden gem that deserves to be packed every night. The flavors are bold, the presentation is beautiful, and the staff truly cares.",              imageSrc: "https://img.b2bpic.net/free-photo/female-chef-chopping-vegetables-kitchen_23-2148763134.jpg",              imageAlt: "James Peterson"
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Reserve Your Table"
          description="Join us for an unforgettable culinary experience. Reserve your table today and let us create a memorable evening for you and your guests."
          useInvertedBackground="invertDefault"
          inputs={[
            {
              name: "name",              type: "text",              placeholder: "Your Name",              required: true
            },
            {
              name: "email",              type: "email",              placeholder: "Email Address",              required: true
            },
            {
              name: "phone",              type: "tel",              placeholder: "Phone Number",              required: true
            },
            {
              name: "guests",              type: "number",              placeholder: "Number of Guests",              required: true
            }
          ]}
          textarea={{
            name: "message",            placeholder: "Special requests or dietary preferences...",            rows: 4,
            required: false
          }}
          imageSrc="https://img.b2bpic.net/free-photo/life-style_1122-1806.jpg"
          mediaPosition="right"
          buttonText="Reserve Table"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterMedia
          imageSrc="https://img.b2bpic.net/free-photo/wicker-gray-table-with-glass-gray-chairs_140725-3025.jpg"
          logoText="Delicious"
          copyrightText="© 2025 Delicious Restaurant | All Rights Reserved"
          columns={[
            {
              title: "Restaurant",              items: [
                { label: "About Us", href: "#about" },
                { label: "Menu", href: "#menu" },
                { label: "Gallery", href: "#gallery" },
                { label: "Chef's Blog", href: "#" }
              ]
            },
            {
              title: "Dining",              items: [
                { label: "Reservations", href: "#contact" },
                { label: "Hours & Location", href: "#" },
                { label: "Private Events", href: "#" },
                { label: "Catering", href: "#" }
              ]
            },
            {
              title: "Connect",              items: [
                { label: "Contact Us", href: "#contact" },
                { label: "Instagram", href: "#" },
                { label: "Facebook", href: "#" },
                { label: "Newsletter", href: "#" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}