"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleMinimal from '@/components/navbar/NavbarStyleMinimal';
import HeroBillboardScroll from '@/components/sections/hero/HeroBillboardScroll';
import AboutMetric from '@/components/sections/about/AboutMetric';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import FeatureCardTwelve from '@/components/sections/feature/FeatureCardTwelve';
import TeamCardTwo from '@/components/sections/team/TeamCardTwo';
import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterBase from '@/components/sections/footer/FooterBase';
import { Flame, ChefHat, Users, Leaf, Award, Globe } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="background-highlight"
      borderRadius="sharp"
      contentWidth="medium"
      sizing="large"
      background="none"
      cardStyle="outline"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="solid"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleMinimal
          brandName="NISEKO"
          button={{
            text: "Reserve Table",            href: "contact"
          }}
          className="border-b border-[var(--primary-cta)]"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardScroll
          title="NISEKO'S MOST PRESTIGIOUS CULINARY DESTINATION"
          description="An exclusive fine dining experience where Japanese tradition meets contemporary gastronomy. Savor meticulously crafted dishes in an atmosphere of refined elegance overlooking Japan's most sought-after mountain resort."
          tag="Michelin-Standard Excellence"
          tagIcon={Flame}
          background={{ variant: "plain" }}
          imageSrc="https://img.b2bpic.net/free-photo/tuna-salad-with-olive-pickled-cucumber-red-bell-pepper-lettuce-corn_140725-8472.jpg"
          imageAlt="Luxury Niseko restaurant dining experience"
          buttons={[
            {
              text: "Reserve Your Table",              href: "contact"
            },
            {
              text: "View Menu",              href: "#signature"
            }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <AboutMetric
          title="Where Heritage Meets Innovation. Niseko's Premier Dining Institution Since 2015."
          useInvertedBackground="noInvert"
          metrics={[
            {
              icon: ChefHat,
              label: "Michelin Standard",              value: "5-Star Rating"
            },
            {
              icon: Users,
              label: "Discerning Guests",              value: "10,000+"
            },
            {
              icon: Leaf,
              label: "Premium Ingredients",              value: "100% Curated"
            },
            {
              icon: Award,
              label: "Culinary Awards",              value: "15+ Honors"
            }
          ]}
        />
      </div>

      <div id="signature" data-section="signature">
        <ProductCardOne
          title="Signature Dishes"
          description="Each creation represents the pinnacle of our chef's artistry, combining premium Japanese ingredients with innovative techniques to create unforgettable culinary moments."
          products={[
            {
              id: "1",              name: "Omakase Experience",              price: "¥25,000",              imageSrc: "https://img.b2bpic.net/free-photo/vegetable-salad-with-caviar-shrimps_140725-6375.jpg",              imageAlt: "Signature omakase platter"
            },
            {
              id: "2",              name: "Wagyu Zenith",              price: "¥18,000",              imageSrc: "https://img.b2bpic.net/free-photo/side-view-table-with-cheese-plate-pate-it_140725-12866.jpg",              imageAlt: "Premium Wagyu presentation"
            },
            {
              id: "3",              name: "Seasonal Kaiseki",              price: "¥22,000",              imageSrc: "https://img.b2bpic.net/free-photo/gourmet-meal-served-with-wine_23-2148516896.jpg",              imageAlt: "Seasonal kaiseki course"
            },
            {
              id: "4",              name: "Sake Pairing Collection",              price: "¥8,000",              imageSrc: "https://img.b2bpic.net/free-photo/top-view-grilled-chicken-fillet-served-with-bulgur-vegetables-white-wine_141793-2435.jpg",              imageAlt: "Curated sake selection"
            }
          ]}
          gridVariant="asymmetric-60-wide-40-narrow"
          animationType="blur-reveal"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardTwelve
          title="The Complete Luxury Experience"
          description="Every element of your evening has been meticulously curated to deliver an unforgettable sensory journey."
          features={[
            {
              id: "ambiance",              label: "Ambiance",              title: "Refined Japanese Minimalism",              items: [
                "Floor-to-ceiling windows overlooking Mt. Yotei",                "Private tatami and contemporary seating areas",                "Bespoke lighting design for optimal dining",                "Curated artwork by Japanese masters"
              ],
              buttons: [
                {
                  text: "View Gallery",                  href: "#"
                }
              ]
            },
            {
              id: "service",              label: "Service",              title: "White-Glove Hospitality Excellence",              items: [
                "Dedicated sommelier and service team",                "Personalized menu customization available",                "Multi-course progression with narrative",                "24/7 concierge for special requests"
              ],
              buttons: [
                {
                  text: "Customize Experience",                  href: "#contact"
                }
              ]
            },
            {
              id: "provenance",              label: "Provenance",              title: "Sourced From Japan's Finest Producers",              items: [
                "Direct relationships with artisan producers",                "Seasonal selection from Hokkaido's bounty",                "Premium sake selection from throughout Japan",                "Sustainable and ethical sourcing standards"
              ]
            }
          ]}
          animationType="opacity"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="team" data-section="team">
        <TeamCardTwo
          title="Master Craftspeople"
          description="Meet the visionary culinary leaders who have redefined fine dining in Niseko."
          members={[
            {
              id: "1",              name: "Chef Hiroshi Tanaka",              role: "Executive Chef & Founder",              description: "30 years of Michelin experience across Tokyo, Kyoto, and international stages. Specializing in contemporary kaiseki with bold innovation.",              imageSrc: "https://img.b2bpic.net/free-photo/chef-cooking-kitchen-while-wearing-professional-attire_23-2151208316.jpg",              imageAlt: "Chef Hiroshi Tanaka",              socialLinks: [
                {
                  icon: Globe,
                  url: "https://example.com"
                }
              ]
            },
            {
              id: "2",              name: "Yuki Ishida",              role: "Sommelier & Beverage Director",              description: "Certified sake sommelier with mastery of Japanese and international wine pairings. Curator of our 500+ selection.",              imageSrc: "https://img.b2bpic.net/free-photo/medium-shot-professional-chef-posing_23-2151232159.jpg",              imageAlt: "Yuki Ishida"
            },
            {
              id: "3",              name: "Sakura Nakamura",              role: "Pastry Chef",              description: "Award-winning pastry artist blending traditional Japanese sweets with modern plating techniques.",              imageSrc: "https://img.b2bpic.net/free-photo/medium-shot-smiley-man-kitchen_23-2149631673.jpg",              imageAlt: "Sakura Nakamura"
            },
            {
              id: "4",              name: "Kenji Yamamoto",              role: "Hospitality Director",              description: "Luxury service veteran ensuring every guest interaction reflects our commitment to excellence.",              imageSrc: "https://img.b2bpic.net/free-photo/front-view-male-chef-posing-with-arms-crossed-kitchen_23-2148763123.jpg",              imageAlt: "Kenji Yamamoto"
            }
          ]}
          gridVariant="four-items-2x2-equal-grid"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFive
          title="Experiences That Transcend Expectation"
          description="Hear from global culinary connoisseurs who have graced our tables."
          testimonials={[
            {
              id: "1",              name: "Alexandra Chen, Luxury Travel Curator",              date: "Date: November 2024",              title: "An absolute masterpiece of gastronomy",              quote: "I've dined at three-Michelin establishments worldwide, and Niseko stands among the elite. The precision of each dish combined with the genuine hospitality created a transcendent evening I'll treasure forever.",              tag: "Premium Experience",              avatarSrc: "https://img.b2bpic.net/free-photo/shot-professional-old-chef-dressed-uniform-holding-kitchen-spatula-tongs_613910-17564.jpg",              imageSrc: "https://img.b2bpic.net/free-photo/side-view-table-with-cheese-plate-pate-it_140725-12866.jpg"
            },
            {
              id: "2",              name: "James Wellington, CEO Technology",              date: "Date: October 2024",              title: "Where business becomes pleasure",              quote: "We hosted our most important client dinner here. The seamless service, exquisite cuisine, and intimate ambiance made an unforgettable impression that sealed our partnership.",              tag: "Corporate Excellence",              avatarSrc: "https://img.b2bpic.net/free-photo/mid-shot-pizza-chef-posing_23-2148785710.jpg",              imageSrc: "https://img.b2bpic.net/free-photo/gourmet-meal-served-with-wine_23-2148516896.jpg"
            },
            {
              id: "3",              name: "Isabelle Moreau, Michelin Inspector",              date: "Date: September 2024",              title: "Consistently exceeding culinary standards",              quote: "The commitment to precision, innovation, and respect for ingredients is evident in every plate. This establishment represents the future of fine dining in Asia.",              tag: "Excellence Recognized",              avatarSrc: "https://img.b2bpic.net/free-photo/front-view-smiley-man-holding-knife_23-2149631738.jpg",              imageSrc: "https://img.b2bpic.net/free-photo/vegetable-salad-with-caviar-shrimps_140725-6375.jpg"
            },
            {
              id: "4",              name: "Marco Santoro, Luxury Hotelier",              date: "Date: August 2024",              title: "An essential Niseko destination",              quote: "Our guests consistently rank this among their most memorable experiences. The restaurant has become a cornerstone of luxury hospitality in the region.",              tag: "Destination Choice",              avatarSrc: "https://img.b2bpic.net/free-photo/female-chef-kitchen-dressed-apron-uniform_23-2149720712.jpg",              imageSrc: "https://img.b2bpic.net/free-photo/top-view-grilled-chicken-fillet-served-with-bulgur-vegetables-white-wine_141793-2435.jpg"
            },
            {
              id: "5",              name: "Yuki Sato, Food Critic",              date: "Date: July 2024",              title: "Innovation rooted in tradition",              quote: "Chef Tanaka's philosophy of honoring ingredients while pushing creative boundaries results in dishes that challenge and delight. A true culinary voice.",              tag: "Culinary Innovation",              avatarSrc: "https://img.b2bpic.net/free-photo/medium-shot-professional-chef-posing_23-2151232159.jpg",              imageSrc: "https://img.b2bpic.net/free-photo/chef-cooking-kitchen-while-wearing-professional-attire_23-2151208316.jpg"
            },
            {
              id: "6",              name: "Sophie Laurent, Travel Magazine",              date: "Date: June 2024",              title: "The crown jewel of Niseko dining",              quote: "From aperitif to the final petit four, every moment is orchestrated with impeccable attention to detail. This is fine dining reimagined.",              tag: "Editor's Choice",              avatarSrc: "https://img.b2bpic.net/free-photo/medium-shot-smiley-man-kitchen_23-2149631673.jpg",              imageSrc: "https://img.b2bpic.net/free-photo/gourmet-meal-served-with-wine_23-2148516896.jpg"
            }
          ]}
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Reserve Your Exclusive Evening"
          description="Secure your table at Niseko's premier culinary destination. Our concierge team will ensure every detail of your experience exceeds expectations."
          inputs={[
            {
              name: "name",              type: "text",              placeholder: "Your Full Name",              required: true
            },
            {
              name: "email",              type: "email",              placeholder: "Email Address",              required: true
            },
            {
              name: "date",              type: "date",              placeholder: "Preferred Date",              required: true
            },
            {
              name: "guests",              type: "number",              placeholder: "Number of Guests",              required: true
            },
            {
              name: "phone",              type: "tel",              placeholder: "+81 (Country Code) Phone",              required: true
            }
          ]}
          textarea={{
            name: "preferences",            placeholder: "Special requests, dietary restrictions, or menu preferences...",            rows: 4,
            required: false
          }}
          useInvertedBackground="noInvert"
          imageSrc="https://img.b2bpic.net/free-photo/side-view-table-with-cheese-plate-pate-it_140725-12866.jpg"
          imageAlt="Niseko luxury dining experience"
          mediaPosition="right"
          buttonText="Confirm Reservation"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBase
          logoText="NISEKO LUXURY DINING"
          copyrightText="© 2025 Niseko Premium Restaurant. All rights reserved."
          columns={[
            {
              title: "DINING",              items: [
                {
                  label: "Reserve Table",                  href: "contact"
                },
                {
                  label: "View Menu",                  href: "#signature"
                },
                {
                  label: "About Us",                  href: "#about"
                }
              ]
            },
            {
              title: "EXPERIENCE",              items: [
                {
                  label: "Our Team",                  href: "#team"
                },
                {
                  label: "Amenities",                  href: "#features"
                },
                {
                  label: "Private Events",                  href: "#contact"
                }
              ]
            },
            {
              title: "CONTACT",              items: [
                {
                  label: "Email: reservations@niseko-dining.jp",                  href: "mailto:reservations@niseko-dining.jp"
                },
                {
                  label: "Phone: +81-136-XXXX-XXXX",                  href: "tel:+81136xxxxxxxx"
                },
                {
                  label: "Niseko, Hokkaido, Japan",                  href: "#"
                }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}