"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import HeroOverlay from '@/components/sections/hero/HeroOverlay';
import TextAbout from '@/components/sections/about/TextAbout';
import FeatureCardTwentyFour from '@/components/sections/feature/FeatureCardTwentyFour';
import ProductCardFour from '@/components/sections/product/ProductCardFour';
import TeamCardTwo from '@/components/sections/team/TeamCardTwo';
import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import { Sparkles, ChefHat, Crown, Award, Star, Globe, Wine, Users } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-shift"
      defaultTextAnimation="background-highlight"
      borderRadius="soft"
      contentWidth="compact"
      sizing="mediumLarge"
      background="floatingGradient"
      cardStyle="solid"
      primaryButtonStyle="inset-glow"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="Niseko"
          navItems={[
            { name: "About", id: "about" },
            { name: "Menu", id: "dishes" },
            { name: "Experience", id: "experience" },
            { name: "Team", id: "team" },
            { name: "Reviews", id: "testimonials" }
          ]}
          button={{ text: "Reserve", href: "contact" }}
        />
      </div>
      
      <div id="hero" data-section="hero">
        <HeroOverlay
          title="Culinary Excellence in the Heart of Niseko"
          description="Experience refined Japanese cuisine in an intimate luxury setting overlooking pristine mountain vistas"
          tag="Fine Dining"
          tagIcon={Sparkles}
          imageSrc="https://img.b2bpic.net/free-photo/profiteroles-chocolate-sauce-inside-white-plate_114579-2410.jpg"
          imageAlt="Luxury Niseko restaurant dining experience"
          textPosition="bottom-left"
          showBlur={true}
          showDimOverlay={true}
          buttons={[
            { text: "Reserve Your Table", href: "contact" },
            { text: "Explore Menu", href: "dishes" }
          ]}
        />
      </div>
      
      <div id="about" data-section="about">
        <TextAbout
          title="Niseko represents the pinnacle of Japanese hospitality merged with contemporary culinary artistry. Perched above Niseko's legendary slopes, we curate an unforgettable dining experience that celebrates seasonal ingredients, traditional techniques, and innovative presentation."
          useInvertedBackground="invertDefault"
          buttons={[
            { text: "About Our Chef", href: "team" }
          ]}
        />
      </div>
      
      <div id="dishes" data-section="dishes">
        <FeatureCardTwentyFour
          title="Signature Cuisine"
          description="Our curated selection of dishes showcasing the finest ingredients from Japan and the world"
          tag="Menu Highlights"
          tagIcon={ChefHat}
          features={[
            {
              id: "1",              title: "Premium Sushi & Sashimi Selection",              author: "Executive Chef Takeshi",              description: "Daily selections of the finest fish sourced directly from Tokyo markets, prepared with meticulous attention to traditional techniques.",              tags: ["Sushi", "Sashimi", "Premium"],
              imageSrc: "https://img.b2bpic.net/free-photo/sushi-rolls-topped-with-salmon-radish_140725-4241.jpg"
            },
            {
              id: "2",              title: "Seasonal Tempura Delicacies",              author: "Kitchen Master Yuki",              description: "Exquisitely light and crispy tempura featuring seasonal vegetables and premium seafood, served with house-made dipping sauces.",              tags: ["Tempura", "Seasonal", "Artisanal"],
              imageSrc: "https://img.b2bpic.net/free-photo/sushi-set-table_140725-6837.jpg"
            },
            {
              id: "3",              title: "A5 Wagyu & Premium Proteins",              author: "Executive Chef Takeshi",              description: "Hand-selected A5 Japanese Wagyu prepared tableside, complemented by truffle-infused preparations and rare seasonal proteins.",              tags: ["Wagyu", "Grilled", "Premium"],
              imageSrc: "https://img.b2bpic.net/free-photo/sliced-pie-platter-with-chocolate-drops_114579-16479.jpg"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>
      
      <div id="experience" data-section="experience">
        <ProductCardFour
          title="Dining Experiences"
          description="Curated tasting menus and exclusive experiences designed for the most discerning palates"
          tag="Premium Experiences"
          tagIcon={Crown}
          products={[
            {
              id: "omakase",              name: "Omakase Selection",              price: "¥18,000",              variant: "15-course chef's selection",              imageSrc: "https://img.b2bpic.net/free-photo/wonderful-wedding-table-amazing-restaurant_8353-9875.jpg",              imageAlt: "Omakase dining experience"
            },
            {
              id: "kaiseki",              name: "Kaiseki Tasting Menu",              price: "¥16,500",              variant: "12-course seasonal journey",              imageSrc: "https://img.b2bpic.net/free-photo/wicker-gray-table-with-glass-gray-chairs_140725-3025.jpg",              imageAlt: "Kaiseki multi-course dinner"
            },
            {
              id: "private",              name: "Private Dining Experience",              price: "¥22,000",              variant: "Customized menu for your party",              imageSrc: "https://img.b2bpic.net/free-photo/profiteroles-chocolate-sauce-inside-white-plate_114579-2410.jpg",              imageAlt: "Private dining room"
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>
      
      <div id="team" data-section="team">
        <TeamCardTwo
          title="Meet Our Team"
          description="Exceptional talent dedicated to creating unforgettable culinary moments"
          tag="Leadership"
          tagIcon={Award}
          members={[
            {
              id: "1",              name: "Chef Takeshi Nakamura",              role: "Executive Chef",              description: "30+ years of culinary mastery. Trained under three Michelin-starred mentors in Tokyo and Kyoto. Specializes in contemporary kaiseki.",              imageSrc: "https://img.b2bpic.net/free-photo/chef-showing-his-fine-cuisine-professional-food-decoration_482257-10348.jpg",              imageAlt: "Chef Takeshi Nakamura",              socialLinks: [{ icon: Globe, url: "https://niseko-restaurant.com" }]
            },
            {
              id: "2",              name: "Yuki Yamamoto",              role: "Sommelier & Beverage Director",              description: "Award-winning sommelier with expertise in pairing Japanese cuisine with premium wines and sake. Certified by the Japanese Sommelier Association.",              imageSrc: "https://img.b2bpic.net/free-photo/front-view-cook-preparing-meal-designing-meal-inside-plate-fry-meat-food-meal_140725-26012.jpg",              imageAlt: "Sommelier Yuki Yamamoto",              socialLinks: [{ icon: Wine, url: "https://niseko-restaurant.com" }]
            },
            {
              id: "3",              name: "Kenji Tanaka",              role: "General Manager",              description: "Hospitality expert with 20 years in luxury service. Fluent in six languages and dedicated to creating personalized experiences for every guest.",              imageSrc: "https://img.b2bpic.net/free-photo/front-view-cook-preparing-food-inside-kitchen-food-meal-fry-cook_140725-26010.jpg",              imageAlt: "General Manager Kenji Tanaka",              socialLinks: [{ icon: Users, url: "https://niseko-restaurant.com" }]
            },
            {
              id: "4",              name: "Hiroshi Kobayashi",              role: "Sous Chef",              description: "Culinary virtuoso specializing in sushi preparation and traditional Japanese techniques. Trained in Tsukiji and mentored by national masters.",              imageSrc: "https://img.b2bpic.net/free-photo/vertical-shot-male-chef-wearing-face-mask-preparing-delicious-meal_181624-32255.jpg",              imageAlt: "Sous Chef Hiroshi Kobayashi",              socialLinks: [{ icon: ChefHat, url: "https://niseko-restaurant.com" }]
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>
      
      <div id="testimonials" data-section="testimonials">
        <TestimonialCardSix
          title="Guest Experiences"
          description="What our most discerning guests say about their time at Niseko"
          tag="Client Testimonials"
          tagIcon={Star}
          testimonials={[
            {
              id: "1",              name: "James Mitchell",              handle: "London, England",              testimonial: "Absolutely transcendent dining. The precision, artistry, and attention to detail exceeded even my expectations from a three-Michelin establishment. Will return.",              imageSrc: "https://img.b2bpic.net/free-photo/landscape-ropeways-surrounded-by-hills-forests-covered-snow-blue-sky_181624-39788.jpg",              imageAlt: "James Mitchell"
            },
            {
              id: "2",              name: "Sophie Dubois",              handle: "Paris, France",              testimonial: "An exceptional experience where every course told a story. Chef Nakamura's vision is extraordinary, and the service was impeccable throughout.",              imageSrc: "https://img.b2bpic.net/free-photo/landscape-ropeways-surrounded-by-hills-forests-covered-snow-blue-sky_181624-39788.jpg",              imageAlt: "Sophie Dubois"
            },
            {
              id: "3",              name: "Yuki Tanaka",              handle: "Tokyo, Japan",              testimonial: "Having dined at the finest establishments in Tokyo and Kyoto, this restaurant ranks among the very best. Authentic, innovative, and deeply respectful of tradition.",              imageSrc: "https://img.b2bpic.net/free-photo/landscape-ropeways-surrounded-by-hills-forests-covered-snow-blue-sky_181624-39788.jpg",              imageAlt: "Yuki Tanaka"
            },
            {
              id: "4",              name: "Michael Chen",              handle: "Hong Kong",              testimonial: "The mountain views are breathtaking, but it's the food that stays with you. Each dish is a masterpiece. Chef Nakamura is a true artist.",              imageSrc: "https://img.b2bpic.net/free-photo/landscape-ropeways-surrounded-by-hills-forests-covered-snow-blue-sky_181624-39788.jpg",              imageAlt: "Michael Chen"
            },
            {
              id: "5",              name: "Isabella Romano",              handle: "Milan, Italy",              testimonial: "Niseko represents the pinnacle of Japanese fine dining. The respect for ingredients, the technique, the presentation—everything is perfection.",              imageSrc: "https://img.b2bpic.net/free-photo/landscape-ropeways-surrounded-by-hills-forests-covered-snow-blue-sky_181624-39788.jpg",              imageAlt: "Isabella Romano"
            },
            {
              id: "6",              name: "David Schmidt",              handle: "Munich, Germany",              testimonial: "A dining destination worth traveling anywhere for. The entire experience—from the moment you arrive to the final course—is carefully orchestrated excellence.",              imageSrc: "https://img.b2bpic.net/free-photo/landscape-ropeways-surrounded-by-hills-forests-covered-snow-blue-sky_181624-39788.jpg",              imageAlt: "David Schmidt"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          speed={40}
        />
      </div>
      
      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Reserve Your Experience"
          description="Book your table at Niseko. Our team will confirm your reservation and discuss any special preferences or dietary requirements."
          inputs={[
            { name: "name", type: "text", placeholder: "Full Name", required: true },
            { name: "email", type: "email", placeholder: "Email Address", required: true },
            { name: "phone", type: "tel", placeholder: "Phone Number", required: true },
            { name: "date", type: "date", placeholder: "Preferred Date", required: true }
          ]}
          textarea={{
            name: "message",            placeholder: "Special requests, dietary restrictions, or occasion details",            rows: 5,
            required: false
          }}
          useInvertedBackground="noInvert"
          imageSrc="https://img.b2bpic.net/free-photo/grey-painted-fancy-restaurant-with-empty-dinner-table_140725-8729.jpg"
          imageAlt="Niseko restaurant reservation"
          mediaPosition="right"
          buttonText="Reserve Now"
        />
      </div>
      
      <div id="footer" data-section="footer">
        <FooterBaseCard
          logoText="Niseko"
          columns={[
            {
              title: "Restaurant",              items: [
                { label: "Reservations", href: "contact" },
                { label: "Hours", href: "#" },
                { label: "Location", href: "#" },
                { label: "Dress Code", href: "#" }
              ]
            },
            {
              title: "Experience",              items: [
                { label: "Menu", href: "dishes" },
                { label: "Tasting Menus", href: "experience" },
                { label: "Private Events", href: "#" },
                { label: "Chef", href: "team" }
              ]
            },
            {
              title: "Connect",              items: [
                { label: "Instagram", href: "https://instagram.com" },
                { label: "Facebook", href: "https://facebook.com" },
                { label: "Contact", href: "contact" },
                { label: "Press", href: "#" }
              ]
            }
          ]}
          copyrightText="© 2025 Niseko. All rights reserved. Fine Dining in Niseko, Hokkaido, Japan."
        />
      </div>
    </ThemeProvider>
  );
}