"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import HeroBillboardCarouselSplit from '@/components/sections/hero/HeroBillboardCarouselSplit';
import TextAbout from '@/components/sections/about/TextAbout';
import ProductCardSeven from '@/components/sections/product/ProductCardSeven';
import TestimonialCardTwo from '@/components/sections/testimonial/TestimonialCardTwo';
import TeamCardEleven from '@/components/sections/team/TeamCardEleven';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterBaseSocial from '@/components/sections/footer/FooterBaseSocial';
import { Instagram, Facebook } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="smallMedium"
      sizing="largeSmallSizeMediumTitles"
      background="dotGrid"
      cardStyle="spotlight"
      primaryButtonStyle="radial-glow"
      secondaryButtonStyle="glass"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          brandName="Sakura Sushi"
          navItems={[
            { name: "Home", id: "hero" },
            { name: "About", id: "about" },
            { name: "Menu", id: "products" },
            { name: "Reviews", id: "testimonials" },
            { name: "Team", id: "team" },
            { name: "Contact", id: "contact" }
          ]}
          button={{
            text: "Reserve",
            href: "contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardCarouselSplit
          title="Sakura Sushi Restaurant"
          mediaItems={[
            {
              imageSrc: "https://images.unsplash.com/photo-1579584425555-c3ce17fd4351?w=1200&h=800&fit=crop",
              imageAlt: "Premium sushi platter"
            },
            {
              imageSrc: "https://images.unsplash.com/photo-1553621042-f6e147245172?w=1200&h=800&fit=crop",
              imageAlt: "Fresh nigiri sushi selection"
            },
            {
              imageSrc: "https://images.unsplash.com/photo-1546069901-ba9599a7e63c?w=1200&h=800&fit=crop",
              imageAlt: "Artfully arranged sushi rolls"
            },
            {
              imageSrc: "https://images.unsplash.com/photo-1579584425555-c3ce17fd4351?w=1200&h=800&fit=crop",
              imageAlt: "Master chef crafting sushi"
            },
            {
              imageSrc: "https://images.unsplash.com/photo-1552693485-bcb978bb78d5?w=1200&h=800&fit=crop",
              imageAlt: "Premium sashimi assortment"
            }
          ]}
          buttons={[
            { text: "Explore Menu", href: "products" },
            { text: "Make Reservation", href: "contact" }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <TextAbout
          title="Experience authentic Japanese sushi crafted by master chefs. We combine traditional Edo-mae sushi techniques with the finest premium ingredients sourced directly from Japan. Every piece of sushi is a work of art, reflecting our commitment to excellence and respect for the craft."
          useInvertedBackground="noInvert"
          buttons={[
            { text: "Learn Our Story", href: "about" }
          ]}
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardSeven
          title="Our Premium Menu"
          description="Handcrafted sushi and Japanese specialties using the finest ingredients and traditional techniques"
          products={[
            {
              id: "1",
              name: "Toro Nigiri Set",
              price: "¥2,800",
              imageSrc: "https://images.unsplash.com/photo-1580959375944-abd7e991f971?w=800&h=800&fit=crop",
              imageAlt: "Premium toro nigiri selection"
            },
            {
              id: "2",
              name: "Dragon Roll",
              price: "¥2,200",
              imageSrc: "https://images.unsplash.com/photo-1579584425555-c3ce17fd4351?w=800&h=800&fit=crop",
              imageAlt: "Dragon roll with avocado and eel"
            },
            {
              id: "3",
              name: "Omakase Experience",
              price: "¥5,500",
              imageSrc: "https://images.unsplash.com/photo-1553621042-f6e147245172?w=800&h=800&fit=crop",
              imageAlt: "Chef's choice omakase selection"
            }
          ]}
          gridVariant="uniform-all-items-equal"
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwo
          title="What Our Guests Say"
          description="Experience the difference master craftsmanship makes"
          testimonials={[
            {
              id: "1",
              name: "Yuki Tanaka",
              role: "Regular Guest",
              testimonial: "The sushi at Sakura is exceptional. Every visit is a masterclass in flavor and technique. This is authentic sushi at its finest.",
              imageSrc: "https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=400&h=400&fit=crop",
              imageAlt: "Yuki Tanaka"
            },
            {
              id: "2",
              name: "James Mitchell",
              role: "Food Critic",
              testimonial: "I've dined at top sushi restaurants worldwide. Sakura's dedication to quality and tradition is unmatched. Truly remarkable.",
              imageSrc: "https://images.unsplash.com/photo-1500648767791-00dcc994a43e?w=400&h=400&fit=crop",
              imageAlt: "James Mitchell"
            },
            {
              id: "3",
              name: "Sakura Yamamoto",
              role: "Chef & Food Blogger",
              testimonial: "As a chef myself, I'm impressed by the precision and respect for tradition here. This is how sushi should be made.",
              imageSrc: "https://images.unsplash.com/photo-1494790108377-be9c29b29330?w=400&h=400&fit=crop",
              imageAlt: "Sakura Yamamoto"
            },
            {
              id: "4",
              name: "David Chen",
              role: "Restaurant Owner",
              testimonial: "I recommend Sakura to all my guests. The attention to detail and culinary excellence is something special.",
              imageSrc: "https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=400&h=400&fit=crop",
              imageAlt: "David Chen"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="team" data-section="team">
        <TeamCardEleven
          title="Meet Our Master Chefs"
          description="Our talented team of sushi masters and culinary professionals dedicated to excellence"
          groups={[
            {
              id: "sushi-chefs",
              groupTitle: "Sushi Masters",
              members: [
                {
                  id: "1",
                  title: "Chef Hiroshi Yamada",
                  subtitle: "Head Sushi Chef",
                  detail: "25+ years of experience, trained in Tokyo",
                  imageSrc: "https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=400&h=400&fit=crop",
                  imageAlt: "Chef Hiroshi Yamada"
                },
                {
                  id: "2",
                  title: "Chef Kenji Sato",
                  subtitle: "Senior Sushi Chef",
                  detail: "15 years specializing in nigiri",
                  imageSrc: "https://images.unsplash.com/photo-1500648767791-00dcc994a43e?w=400&h=400&fit=crop",
                  imageAlt: "Chef Kenji Sato"
                },
                {
                  id: "3",
                  title: "Chef Akiko Tanaka",
                  subtitle: "Sushi Chef",
                  detail: "Specializes in rolls and innovative pieces",
                  imageSrc: "https://images.unsplash.com/photo-1494790108377-be9c29b29330?w=400&h=400&fit=crop",
                  imageAlt: "Chef Akiko Tanaka"
                }
              ]
            },
            {
              id: "support-staff",
              groupTitle: "Support Team",
              members: [
                {
                  id: "4",
                  title: "Yuki Nakamura",
                  subtitle: "Restaurant Manager",
                  detail: "Ensures exceptional dining experience",
                  imageSrc: "https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=400&h=400&fit=crop",
                  imageAlt: "Yuki Nakamura"
                },
                {
                  id: "5",
                  title: "Tomoe Suzuki",
                  subtitle: "Head Server",
                  detail: "Expert in sake and wine pairings",
                  imageSrc: "https://images.unsplash.com/photo-1500648767791-00dcc994a43e?w=400&h=400&fit=crop",
                  imageAlt: "Tomoe Suzuki"
                }
              ]
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplit
          tag="Get Updates"
          title="Subscribe to Our Newsletter"
          description="Stay informed about new menu items, seasonal specials, and exclusive dining experiences at Sakura Sushi."
          useInvertedBackground="noInvert"
          inputPlaceholder="Your email address"
          buttonText="Subscribe"
          termsText="We respect your privacy. Unsubscribe anytime."
          mediaPosition="right"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseSocial
          logoText="Sakura Sushi"
          description="Premium sushi restaurant featuring master chefs and authentic Japanese cuisine."
          columns={[
            {
              title: "Restaurant",
              items: [
                { label: "Menu", href: "products" },
                { label: "About Us", href: "about" },
                { label: "Our Chefs", href: "team" }
              ]
            },
            {
              title: "Legal",
              items: [
                { label: "Terms of Service", href: "terms" },
                { label: "Privacy Policy", href: "privacy" }
              ]
            },
            {
              title: "Contact",
              items: [
                { label: "Reservations", href: "contact" },
                { label: "Location", href: "contact" }
              ]
            }
          ]}
          socialLinks={[
            {
              icon: Instagram,
              href: "https://instagram.com",
              ariaLabel: "Instagram"
            },
            {
              icon: Facebook,
              href: "https://facebook.com",
              ariaLabel: "Facebook"
            }
          ]}
          copyrightText="© 2025 Sakura Sushi. All rights reserved."
        />
      </div>
    </ThemeProvider>
  );
}