"use client"

import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import HeroSplitDualMedia from '@/components/sections/hero/HeroSplitDualMedia';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import BlogCardOne from '@/components/sections/blog/BlogCardOne';
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
import AboutMetric from '@/components/sections/about/AboutMetric';
import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne';
import ContactCTA from '@/components/sections/contact/ContactCTA';
import FooterSimple from '@/components/sections/footer/FooterSimple';
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import { Utensils, ChefHat, Camera, Calendar, Award, Users, Leaf, Star, Phone } from "lucide-react";

export default function RestaurantPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="entrance-slide"
      borderRadius="soft"
      contentWidth="mediumSmall"
      sizing="largeSmall"
      background="floatingGradient"
      cardStyle="solid"
      primaryButtonStyle="flat"
      secondaryButtonStyle="solid"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          brandName="Delicious Haven"
          navItems={[
            { name: "Menu", id: "menu" },
            { name: "Gallery", id: "gallery" },
            { name: "Reservations", id: "reservations" },
            { name: "About", id: "about" },
            { name: "Contact", id: "contact" }
          ]}
        />
      </div>
      
      <div id="hero" data-section="hero">
        <HeroSplitDualMedia
          title="Welcome to Delicious Haven"
          description="Discover exquisite cuisine crafted with passion and precision. Our award-winning restaurant offers an unforgettable dining experience with locally-sourced ingredients and innovative techniques."
          tag="Fine Dining"
          tagIcon={Utensils}
          background={{ variant: "plain" }}
          mediaItems={[
            {
              imageSrc: "https://img.b2bpic.net/free-photo/grey-painted-fancy-restaurant-with-empty-dinner-table_140725-8730.jpg",              imageAlt: "Elegant restaurant dining room"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/small-slice-pizza-with-shrimp_140725-896.jpg",              imageAlt: "Gourmet appetizer presentation"
            }
          ]}
          rating={5}
          ratingText="Rated by our happy guests"
          buttons={[
            { text: "Make a Reservation", href: "#reservations" },
            { text: "View Menu", href: "#menu" }
          ]}
        />
      </div>
      
      <div id="menu" data-section="menu">
        <ProductCardOne
          title="Our Signature Menu"
          description="Browse our carefully curated selection of dishes designed to delight your palate"
          tag="Premium Selection"
          tagIcon={ChefHat}
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          animationType="slide-up"
          gridVariant="three-columns-all-equal-width"
          products={[
            {
              id: "appetizer",              name: "Seared Scallop Carpaccio",              price: "$18",              imageSrc: "https://img.b2bpic.net/free-photo/small-slice-pizza-with-shrimp_140725-896.jpg",              imageAlt: "Seared scallop carpaccio"
            },
            {
              id: "main",              name: "Herb-Crusted Ribeye Steak",              price: "$42",              imageSrc: "https://img.b2bpic.net/free-photo/front-view-sliced-meals-different-dishes-inside-white-plate-table_140725-11651.jpg",              imageAlt: "Herb-crusted ribeye steak"
            },
            {
              id: "dessert",              name: "Dark Chocolate Soufflé",              price: "$12",              imageSrc: "https://img.b2bpic.net/free-photo/toasted-sandwiches-with-thyme-wooden-chopping-board_23-2147922295.jpg",              imageAlt: "Dark chocolate soufflé"
            }
          ]}
        />
      </div>
      
      <div id="gallery" data-section="gallery">
        <BlogCardOne
          title="Photo Gallery"
          description="Experience the ambiance and artistry of our restaurant through our collection of dining moments"
          tag="Visual Experience"
          tagIcon={Camera}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="blur-reveal"
          carouselMode="buttons"
          blogs={[
            {
              id: "1",              category: "Dining",              title: "Main Dining Room",              excerpt: "Our elegant main dining room features floor-to-ceiling windows and bespoke lighting for an intimate atmosphere.",              imageSrc: "https://img.b2bpic.net/free-photo/grey-painted-fancy-restaurant-with-empty-dinner-table_140725-8729.jpg",              imageAlt: "Main dining room with elegant seating",              authorName: "Our Team",              authorAvatar: "https://img.b2bpic.net/free-photo/wicker-gray-table-with-glass-gray-chairs_140725-3025.jpg",              date: "2025"
            },
            {
              id: "2",              category: "Culinary",              title: "Open Kitchen",              excerpt: "Watch our award-winning chefs prepare your meal in our state-of-the-art open kitchen concept.",              imageSrc: "https://img.b2bpic.net/free-photo/wonderful-wedding-table-amazing-restaurant_8353-9875.jpg",              imageAlt: "Chef preparing dishes in open kitchen",              authorName: "Our Team",              authorAvatar: "https://img.b2bpic.net/free-photo/wicker-gray-table-with-glass-gray-chairs_140725-3025.jpg",              date: "2025"
            },
            {
              id: "3",              category: "Bar",              title: "Wine & Cocktail Bar",              excerpt: "Curated wine selection and expert mixology at our sophisticated bar area with premium spirits.",              imageSrc: "https://img.b2bpic.net/free-photo/wide-restaurant-hall-with-wooden-table-chairs-6-persons_140725-8910.jpg",              imageAlt: "Restaurant bar with wine selection",              authorName: "Our Team",              authorAvatar: "https://img.b2bpic.net/free-photo/wicker-gray-table-with-glass-gray-chairs_140725-3025.jpg",              date: "2025"
            }
          ]}
        />
      </div>
      
      <div id="reservations" data-section="reservations">
        <FaqSplitMedia
          title="Book Your Table"
          description="Reserve your table for an unforgettable dining experience. We accommodate groups of all sizes and offer private dining options."
          tag="Easy Booking"
          tagIcon={Calendar}
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          imageSrc="https://img.b2bpic.net/free-photo/grey-painted-fancy-restaurant-with-empty-dinner-table_140725-8730.jpg"
          imageAlt="Restaurant interior for reservations"
          mediaPosition="right"
          faqs={[
            {
              id: "1",              title: "How do I make a reservation?",              content: "You can reserve your table by calling us at (555) 123-4567, visiting our website, or using our online booking system. We accept reservations up to 30 days in advance."
            },
            {
              id: "2",              title: "What is your cancellation policy?",              content: "Reservations can be cancelled free of charge up to 48 hours before your booking. Cancellations made within 48 hours may incur a charge of $25 per person."
            },
            {
              id: "3",              title: "Do you offer private dining?",              content: "Yes! We offer private dining rooms for groups of 10 to 50 guests. Please contact our events coordinator at events@delicioushaven.com for more information."
            },
            {
              id: "4",              title: "Can I request a specific table?",              content: "Absolutely. During the reservation process, you can indicate your preference for window seating, private booths, or other special requests."
            }
          ]}
        />
      </div>
      
      <div id="about" data-section="about">
        <AboutMetric
          title="Our Story - Crafting Excellence in Every Dish Since 2010"
          useInvertedBackground="noInvert"
          metrics={[
            { icon: Award, label: "Michelin Stars", value: "2" },
            { icon: Users, label: "Happy Guests", value: "50K+" },
            { icon: ChefHat, label: "Chef Experience", value: "20+ Years" },
            { icon: Leaf, label: "Local Ingredients", value: "100%" }
          ]}
        />
      </div>
      
      <div id="testimonials" data-section="testimonials">
        <TestimonialCardOne
          title="What Our Guests Say"
          description="Real feedback from diners who have experienced Delicious Haven"
          tag="Guest Reviews"
          tagIcon={Star}
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          animationType="scale-rotate"
          gridVariant="uniform-all-items-equal"
          testimonials={[
            {
              id: "1",              name: "Sarah Mitchell",              role: "Restaurant Critic",              company: "Food & Wine Magazine",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              imageAlt: "Sarah Mitchell"
            },
            {
              id: "2",              name: "James Chen",              role: "Executive Chef",              company: "Culinary Institute",              rating: 5,
              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: "James Chen"
            },
            {
              id: "3",              name: "Emily Richardson",              role: "Event Planner",              company: "Elegant Occasions",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/smiling-businessman-standing-airport-terminal_107420-85070.jpg",              imageAlt: "Emily Richardson"
            },
            {
              id: "4",              name: "Marcus Thompson",              role: "Food Blogger",              company: "Taste Adventures",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/portrait-smiley-business-woman_23-2148603029.jpg",              imageAlt: "Marcus Thompson"
            }
          ]}
        />
      </div>
      
      <div id="contact" data-section="contact">
        <ContactCTA
          tag="Get in Touch"
          tagIcon={Phone}
          title="Ready for an Exceptional Dining Experience?"
          description="Call us today to make your reservation or inquire about our private dining options. We look forward to welcoming you to Delicious Haven."
          background={{ variant: "plain" }}
          useInvertedBackground="noInvert"
          buttons={[
            { text: "Call (555) 123-4567", href: "tel:+15551234567" },
            { text: "Email Us", href: "mailto:reservations@delicioushaven.com" }
          ]}
        />
      </div>
      
      <div id="footer" data-section="footer">
        <FooterSimple
          columns={[
            {
              title: "Restaurant",              items: [
                { label: "Menu", href: "#menu" },
                { label: "Reservations", href: "#reservations" },
                { label: "Gallery", href: "#gallery" }
              ]
            },
            {
              title: "Information",              items: [
                { label: "About Us", href: "#about" },
                { label: "Contact", href: "#contact" },
                { label: "Hours", href: "#" }
              ]
            },
            {
              title: "Connect",              items: [
                { label: "Facebook", href: "#" },
                { label: "Instagram", href: "#" },
                { label: "Email", href: "mailto:info@delicioushaven.com" }
              ]
            }
          ]}
          bottomLeftText="© 2025 Delicious Haven Restaurant. All rights reserved."
          bottomRightText="Made with passion for great food"
        />
      </div>
    </ThemeProvider>
  );
}