"use client"
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import HeroBillboardGallery from '@/components/sections/hero/HeroBillboardGallery';
import MediaSplitTabsAbout from '@/components/sections/about/MediaSplitTabsAbout';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import BlogCardOne from '@/components/sections/blog/BlogCardOne';
import ContactFaq from '@/components/sections/contact/ContactFaq';
import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne';
import FooterSimple from '@/components/sections/footer/FooterSimple';
import { Utensils, ChefHat, Camera, Calendar, Star } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="slide-background"
      defaultTextAnimation="entrance-slide"
      borderRadius="sharp"
      contentWidth="medium"
      sizing="mediumLargeSizeLargeTitles"
      background="none"
      cardStyle="layered-gradient"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="Savoria"
          navItems={[
            { name: "Home", id: "hero" },
            { name: "About", id: "about" },
            { name: "Menu", id: "menu" },
            { name: "Gallery", id: "gallery" },
            { name: "Reservations", id: "reservations" }
          ]}
          button={{
            text: "Book a Table",            href: "reservations"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardGallery
          title="Welcome to Savoria"
          description="Experience culinary excellence with our seasonal menu and world-class service. Every dish is crafted with passion and the finest ingredients."
          background={{ variant: "radial-gradient" }}
          tag="Fine Dining"
          tagIcon={Utensils}
          mediaItems={[
            {
              imageSrc: "https://img.b2bpic.net/free-photo/top-view-grilled-chicken-fillet-served-with-bulgur-vegetables-white-wine_141793-2435.jpg",              imageAlt: "Gourmet plated dish"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/vertical-view-delicious-tuna-dish-with-glass-wine-cheese-set_8353-10584.jpg",              imageAlt: "Chef-prepared cuisine"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/meat-rolls-with-herbs-sauce-glass-wine_140725-3451.jpg",              imageAlt: "Artfully plated appetizer"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/vegetable-salad-with-caviar-shrimps_140725-6375.jpg",              imageAlt: "Elegant dessert presentation"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/shrimp-plate-garnished-with-sauce-bread-stuffing-spinach-shredded-carrot_141793-2276.jpg",              imageAlt: "Luxurious restaurant meal"
            }
          ]}
          buttons={[
            { text: "Reserve Now", href: "reservations" },
            { text: "View Menu", href: "menu" }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <MediaSplitTabsAbout
          title="About Savoria"
          description="Discover our story and philosophy"
          tabs={[
            {
              id: "our-story",              label: "Our Story",              description: "Founded in 2015, Savoria has been serving the community with authentic, innovative cuisine. Our head chef trained in the top kitchens of Europe and brings years of expertise to every dish."
            },
            {
              id: "philosophy",              label: "Our Philosophy",              description: "We believe in using only the freshest, locally-sourced ingredients. Every plate that leaves our kitchen is a masterpiece of flavor, presentation, and care."
            },
            {
              id: "team",              label: "Our Team",              description: "Our passionate team of chefs and service professionals is dedicated to creating an unforgettable dining experience for every guest."
            }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/life-style_1122-1806.jpg"
          imageAlt="Elegant restaurant interior"
          imagePosition="right"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="menu" data-section="menu">
        <ProductCardOne
          title="Our Menu"
          description="Explore our carefully curated selection of seasonal dishes crafted by our renowned chefs"
          tag="Seasonal Specialties"
          tagIcon={ChefHat}
          products={[
            {
              id: "1",              name: "Pan-Seared Salmon",              price: "$34",              imageSrc: "https://img.b2bpic.net/free-photo/selective-focus-shot-delicious-cooked-meat-with-vegetables_181624-35358.jpg",              imageAlt: "Pan-seared salmon with vegetables"
            },
            {
              id: "2",              name: "Truffle Risotto",              price: "$28",              imageSrc: "https://img.b2bpic.net/free-photo/top-view-grilled-chicken-fillet-served-with-bulgur-vegetables-white-wine_141793-2436.jpg",              imageAlt: "Creamy truffle risotto"
            },
            {
              id: "3",              name: "Prime Ribeye Steak",              price: "$45",              imageSrc: "https://img.b2bpic.net/free-photo/creamy-mushroom-dish-topped-with-green-salad-with-tomato_140725-5789.jpg",              imageAlt: "Grilled prime ribeye steak"
            },
            {
              id: "4",              name: "Organic Garden Salad",              price: "$18",              imageSrc: "https://img.b2bpic.net/free-photo/chicken-nuggets-filled-with-cream-ham-served-with-pineapple_140725-1517.jpg",              imageAlt: "Fresh organic garden salad"
            }
          ]}
          animationType="slide-up"
          gridVariant="two-columns-alternating-heights"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          buttons={[
            { text: "View Full Menu", href: "menu" }
          ]}
        />
      </div>

      <div id="gallery" data-section="gallery">
        <BlogCardOne
          title="Photo Gallery"
          description="A glimpse into the artistry and ambiance of Savoria"
          tag="Gallery"
          tagIcon={Camera}
          blogs={[
            {
              id: "1",              category: "Appetizers",              title: "Seared Scallops",              excerpt: "Pan-seared scallops with lemon butter and seasonal vegetables",              imageSrc: "https://img.b2bpic.net/free-photo/top-view-grilled-chicken-fillet-served-with-bulgur-vegetables-white-wine_141793-2436.jpg",              imageAlt: "Seared scallops",              authorName: "Chef Marco",              authorAvatar: "https://img.b2bpic.net/free-photo/serious-beautiful-middle-aged-business-woman_1262-3072.jpg",              date: "Featured Dish"
            },
            {
              id: "2",              category: "Main Courses",              title: "Grilled Branzino",              excerpt: "Fresh Mediterranean branzino grilled to perfection with herb sauce",              imageSrc: "https://img.b2bpic.net/free-photo/selective-focus-shot-delicious-cooked-meat-with-vegetables_181624-35358.jpg",              imageAlt: "Grilled branzino",              authorName: "Chef Marco",              authorAvatar: "https://img.b2bpic.net/free-photo/serious-beautiful-middle-aged-business-woman_1262-3072.jpg",              date: "Featured Dish"
            },
            {
              id: "3",              category: "Main Courses",              title: "Dry-Aged Ribeye",              excerpt: "Our signature dry-aged ribeye with truffle mashed potatoes",              imageSrc: "https://img.b2bpic.net/free-photo/creamy-mushroom-dish-topped-with-green-salad-with-tomato_140725-5789.jpg",              imageAlt: "Dry-aged ribeye steak",              authorName: "Chef Marco",              authorAvatar: "https://img.b2bpic.net/free-photo/serious-beautiful-middle-aged-business-woman_1262-3072.jpg",              date: "Featured Dish"
            },
            {
              id: "4",              category: "Vegetables",              title: "Seasonal Vegetables",              excerpt: "Roasted farm-fresh vegetables with balsamic reduction",              imageSrc: "https://img.b2bpic.net/free-photo/chicken-nuggets-filled-with-cream-ham-served-with-pineapple_140725-1517.jpg",              imageAlt: "Seasonal vegetables",              authorName: "Chef Marco",              authorAvatar: "https://img.b2bpic.net/free-photo/serious-beautiful-middle-aged-business-woman_1262-3072.jpg",              date: "Featured Dish"
            },
            {
              id: "5",              category: "Beverages",              title: "Wine Selection",              excerpt: "Curated wine pairings from renowned vineyards worldwide",              imageSrc: "https://img.b2bpic.net/free-photo/fried-salmon-fillet-with-sauce-top_140725-6436.jpg",              imageAlt: "Wine glasses",              authorName: "Sommelier",              authorAvatar: "https://img.b2bpic.net/free-photo/close-up-positive-businesswoman_1098-3531.jpg",              date: "Pairings"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          carouselMode="buttons"
        />
      </div>

      <div id="reservations" data-section="reservations">
        <ContactFaq
          ctaTitle="Reserve Your Table"
          ctaDescription="Experience an unforgettable evening with us. Book your table now and let us create a memorable dining experience."
          ctaButton={{
            text: "Book Now",            href: "https://reservations.example.com"
          }}
          ctaIcon={Calendar}
          faqs={[
            {
              id: "1",              title: "How far in advance should I book?",              content: "We recommend booking 2-4 weeks in advance for optimal seating during peak hours. However, we do our best to accommodate walk-ins and last-minute reservations whenever possible."
            },
            {
              id: "2",              title: "What is your cancellation policy?",              content: "Cancellations made 48 hours or more before your reservation receive a full refund. Cancellations within 48 hours may incur a charge of 50% of the meal cost."
            },
            {
              id: "3",              title: "Do you accommodate dietary restrictions?",              content: "Absolutely! Please mention any dietary restrictions or allergies when making your reservation. Our chefs are happy to create special dishes to accommodate your needs."
            },
            {
              id: "4",              title: "What is the dress code?",              content: "Business casual is recommended. Jackets are optional but appreciated. We simply ask that guests dress to respect the fine dining atmosphere."
            }
          ]}
          useInvertedBackground="noInvert"
          animationType="slide-up"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardOne
          title="What Our Guests Say"
          description="Join hundreds of satisfied diners who have experienced Savoria"
          tag="Reviews"
          tagIcon={Star}
          testimonials={[
            {
              id: "1",              name: "Sarah Mitchell",              role: "Fine Dining Enthusiast",              company: "Travel & Taste Magazine",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/serious-beautiful-middle-aged-business-woman_1262-3072.jpg",              imageAlt: "Portrait of Sarah Mitchell"
            },
            {
              id: "2",              name: "James Patterson",              role: "Executive Chef",              company: "Culinary Academy",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/close-up-positive-businesswoman_1098-3531.jpg",              imageAlt: "Portrait of James Patterson"
            },
            {
              id: "3",              name: "Elena Rodriguez",              role: "Food Critic",              company: "Epicurean Review",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/casual-smile-street-style-background-spring_1139-777.jpg",              imageAlt: "Portrait of Elena Rodriguez"
            },
            {
              id: "4",              name: "David Chen",              role: "Restaurant Owner",              company: "Dining Collective",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/portrait-happy-woman-black-jacket-happy-short-haired-girl-dark-suit-widely-sincerely-smiles-isolated-background_197531-18508.jpg",              imageAlt: "Portrait of David Chen"
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterSimple
          columns={[
            {
              title: "Navigate",              items: [
                { label: "Home", href: "#hero" },
                { label: "Menu", href: "#menu" },
                { label: "Gallery", href: "#gallery" },
                { label: "Reservations", href: "#reservations" }
              ]
            },
            {
              title: "Contact",              items: [
                { label: "Phone", href: "tel:+1234567890" },
                { label: "Email", href: "mailto:info@savoria.com" },
                { label: "Address", href: "https://maps.google.com" },
                { label: "Hours", href: "#" }
              ]
            },
            {
              title: "Follow",              items: [
                { label: "Instagram", href: "https://instagram.com" },
                { label: "Facebook", href: "https://facebook.com" },
                { label: "Twitter", href: "https://twitter.com" }
              ]
            }
          ]}
          bottomLeftText="© 2025 Savoria. All rights reserved."
          bottomRightText="Fine Dining Experience"
        />
      </div>
    </ThemeProvider>
  );
}