"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import HeroSplitDualMedia from '@/components/sections/hero/HeroSplitDualMedia';
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
import FeatureCardThree from '@/components/sections/feature/featureCardThree/FeatureCardThree';
import BlogCardOne from '@/components/sections/blog/BlogCardOne';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import TestimonialCardThirteen from '@/components/sections/testimonial/TestimonialCardThirteen';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
import { Award, Calendar, ChefHat, Heart, Image, Star, Utensils } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="icon-arrow"
      defaultTextAnimation="background-highlight"
      borderRadius="soft"
      contentWidth="mediumLarge"
      sizing="medium"
      background="aurora"
      cardStyle="solid"
      primaryButtonStyle="flat"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          navItems={[
            { name: "Home", id: "hero" },
            { name: "About", id: "about" },
            { name: "Menu", id: "menu" },
            { name: "Gallery", id: "gallery" },
            { name: "Reservations", id: "reservations" }
          ]}
          brandName="Savour"
          bottomLeftText="Fine Dining Experience"
          bottomRightText="hello@savour.restaurant"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplitDualMedia
          background={{ variant: "plain" }}
          tag="Welcome to Savour"
          tagIcon={Utensils}
          title="Culinary Excellence Meets Warm Hospitality"
          description="Experience an unforgettable evening with our expertly crafted cuisine, curated wine selection, and impeccable service. Each dish tells a story of passion and precision."
          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/close-up-chef-cooking-restaurant-kitchen_329181-16131.jpg",              imageAlt: "Professional chef in kitchen"
            }
          ]}
          rating={5}
          ratingText="Rated by discerning diners"
          buttons={[
            { text: "Make a Reservation", href: "#reservations" },
            { text: "View Our Menu", href: "#menu" }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <TestimonialAboutCard
          tag="Our Story"
          tagIcon={Award}
          title="Crafting Memorable Dining Experiences Since 2010"
          description="Chef Marcus Laurent"
          subdescription="Executive Chef & Founder"
          icon={Heart}
          imageSrc="https://img.b2bpic.net/free-photo/close-up-chef-cooking-restaurant-kitchen_329181-16131.jpg"
          imageAlt="Chef Marcus Laurent"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="menu" data-section="menu">
        <FeatureCardThree
          title="Our Culinary Offerings"
          description="Discover our expertly curated menu featuring seasonal ingredients and timeless classics"
          tag="Menu"
          tagIcon={ChefHat}
          features={[
            {
              id: "01",              title: "Appetizers",              description: "Delicate starters crafted to awaken the palate with fresh, premium ingredients",              imageSrc: "https://img.b2bpic.net/free-photo/front-view-sliced-meals-different-dishes-inside-white-plate-table_140725-11651.jpg",              imageAlt: "Gourmet appetizers"
            },
            {
              id: "02",              title: "Main Courses",              description: "Signature dishes prepared with precision and passion, featuring locally sourced meats and seafood",              imageSrc: "https://img.b2bpic.net/free-photo/crackers-with-tomato-slices-eggplant-rolls-berries_114579-3194.jpg",              imageAlt: "Main course dish"
            },
            {
              id: "03",              title: "Desserts",              description: "Sweet finales crafted by our pastry chef, combining classic techniques with modern creativity",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-view-delicious-food-arrangement_23-2148510885.jpg",              imageAlt: "Artisanal desserts"
            },
            {
              id: "04",              title: "Beverages",              description: "Thoughtfully selected wines, craft cocktails, and premium non-alcoholic pairings",              imageSrc: "https://img.b2bpic.net/free-photo/toasted-sandwiches-with-thyme-wooden-chopping-board_23-2147922295.jpg",              imageAlt: "Wine selection"
            }
          ]}
          gridVariant="two-columns-alternating-heights"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="gallery" data-section="gallery">
        <BlogCardOne
          title="Gallery"
          description="Visual journey through our restaurant atmosphere, cuisine, and moments that matter"
          tag="Photo Gallery"
          tagIcon={Image}
          blogs={[
            {
              id: "1",              category: "Ambiance",              title: "Intimate Dining Room",              excerpt: "Experience the warmth and elegance of our thoughtfully designed dining space, perfect for special occasions",              imageSrc: "https://img.b2bpic.net/free-photo/grey-painted-fancy-restaurant-with-empty-dinner-table_140725-8729.jpg",              imageAlt: "Restaurant dining room",              authorName: "Savour Team",              authorAvatar: "https://img.b2bpic.net/free-photo/close-up-chef-cooking-restaurant-kitchen_329181-16131.jpg",              date: "Ambiance"
            },
            {
              id: "2",              category: "Kitchen",              title: "Open Kitchen Theater",              excerpt: "Watch our culinary artists at work in our state-of-the-art kitchen, where technique meets creativity",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-restaurant-table-with-pink-velvet-chairs-grey-painted-hall-with-classic-paintings_140725-8705.jpg",              imageAlt: "Open kitchen",              authorName: "Savour Team",              authorAvatar: "https://img.b2bpic.net/free-photo/close-up-chef-cooking-restaurant-kitchen_329181-16131.jpg",              date: "Kitchen"
            },
            {
              id: "3",              category: "Cuisine",              title: "Signature Plate",              excerpt: "Our award-winning signature dish, a testament to our commitment to culinary excellence",              imageSrc: "https://img.b2bpic.net/free-photo/grilled-tuna-with-avocado-tomatoes-greens-sesame-sauce-bread-glass-tarhun-lemonade-table_140725-10940.jpg",              imageAlt: "Signature dish",              authorName: "Savour Team",              authorAvatar: "https://img.b2bpic.net/free-photo/close-up-chef-cooking-restaurant-kitchen_329181-16131.jpg",              date: "Cuisine"
            },
            {
              id: "4",              category: "Cuisine",              title: "Seasonal Creation",              excerpt: "Discover how we celebrate seasonal ingredients in our ever-evolving menu",              imageSrc: "https://img.b2bpic.net/free-photo/side-dish-with-peppers-grated-cheese-greens-served-with-glass-wine_141793-948.jpg",              imageAlt: "Seasonal dish",              authorName: "Savour Team",              authorAvatar: "https://img.b2bpic.net/free-photo/close-up-chef-cooking-restaurant-kitchen_329181-16131.jpg",              date: "Cuisine"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          carouselMode="buttons"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="reservations" data-section="reservations">
        <ContactSplit
          tag="Book Your Table"
          tagIcon={Calendar}
          title="Reserve Your Culinary Experience"
          description="Join us for an unforgettable evening. Secure your reservation and let us prepare a memorable dining experience tailored to your preferences."
          background={{ variant: "plain" }}
          useInvertedBackground="noInvert"
          imageSrc="https://img.b2bpic.net/free-photo/grey-painted-fancy-restaurant-with-empty-dinner-table_140725-8729.jpg"
          imageAlt="Restaurant reservation"
          mediaPosition="right"
          inputPlaceholder="your@email.com"
          buttonText="Reserve Now"
          termsText="We will confirm your reservation within 24 hours and accommodate any special dietary preferences or occasion details."
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardThirteen
          title="What Our Guests Say"
          description="Discover why food lovers choose Savour for their most memorable meals"
          tag="Testimonials"
          tagIcon={Star}
          testimonials={[
            {
              id: "1",              name: "Victoria Chen",              handle: "@foodlover_vic",              testimonial: "Absolutely exceptional experience. Every dish was a masterpiece, and the service was impeccable. This is fine dining at its finest.",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/closeup-smiling-beautiful-adult-businesswoman_1262-1760.jpg",              imageAlt: "Victoria Chen"
            },
            {
              id: "2",              name: "James Mitchell",              handle: "@james.dines",              testimonial: "The attention to detail is remarkable. From the plating to the wine pairings, everything was thoughtfully curated. Highly recommend for special occasions.",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/portrait-smiley-business-woman_23-2148603029.jpg",              imageAlt: "James Mitchell"
            },
            {
              id: "3",              name: "Sarah Anderson",              handle: "@sarah_eats",              testimonial: "Chef Marcus knows exactly how to balance flavors. Each course told a story, and our anniversary dinner became unforgettable.",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/close-up-good-looking-smiling-friendly-female-trainee-ready-tackle-assignments-smiling-broadly-feeling-lucky-day-work-self-assured-encouraged-achieve-success-goal-white-wall_176420-35567.jpg",              imageAlt: "Sarah Anderson"
            },
            {
              id: "4",              name: "David Rodriguez",              handle: "@davidfood",              testimonial: "The seasonal menu is constantly surprising and delightful. Service staff are knowledgeable and gracious. Simply outstanding.",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/blond-business-woman-blue-shirt_23-2148095792.jpg",              imageAlt: "David Rodriguez"
            }
          ]}
          showRating={true}
          animationType="slide-up"
          textboxLayout="default"
          carouselMode="buttons"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseReveal
          columns={[
            {
              title: "Dine",              items: [
                { label: "Menu", href: "#menu" },
                { label: "Reservations", href: "#reservations" },
                { label: "Private Events", href: "#" }
              ]
            },
            {
              title: "Connect",              items: [
                { label: "About", href: "#about" },
                { label: "Gallery", href: "#gallery" },
                { label: "Contact", href: "#reservations" }
              ]
            },
            {
              title: "Contact",              items: [
                { label: "hello@savour.restaurant", href: "mailto:hello@savour.restaurant" },
                { label: "(555) 123-4567", href: "tel:+15551234567" },
                { label: "123 Culinary Lane, Gastro City, GC 12345", href: "#" }
              ]
            }
          ]}
          copyrightText="© 2025 Savour Restaurant | Crafting Memories, One Dish at a Time"
        />
      </div>
    </ThemeProvider>
  );
}