"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 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="Hidden Stand"
          navItems={[
            { name: "Home", id: "hero" },
            { name: "About", id: "about" },
            { name: "Products", id: "products" },
            { name: "Reviews", id: "testimonials" },
            { name: "Contact", id: "contact" }
          ]}
          button={{
            text: "Reserve",
            href: "contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardCarouselSplit
          title="Hidden Stand Bakery"
          mediaItems={[
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766815282638-jqdn27ad.jpg",
              imageAlt: "Artisan bread fresh from the oven"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766823072820-fh9j8gqy.jpg",
              imageAlt: "Traditional sourdough loaf"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766815285364-7q7e9roz.jpg",
              imageAlt: "Golden croissants and pastries"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766823073749-ox9qhm29.jpg",
              imageAlt: "Japanese-inspired bakery selection"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766823074689-81v54jo8.jpg",
              imageAlt: "Premium artisan bread assortment"
            }
          ]}
          buttons={[
            { text: "Explore Products", href: "products" },
            { text: "Order Now", href: "contact" }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <TextAbout
          title="Crafting premium artisan bread in the heart of Niseko. We combine traditional Japanese baking techniques with European sourdough mastery to create extraordinary bread experiences. Every loaf tells a story of passion, precision, and the finest ingredients."
          useInvertedBackground="noInvert"
          buttons={[
            { text: "Learn Our Story", href: "about" }
          ]}
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardSeven
          title="Our Signature Collection"
          description="Handcrafted breads and pastries using premium ingredients and traditional techniques"
          products={[
            {
              id: "1",
              name: "Sourdough Loaf",
              price: "¥680",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766823075552-1cw5ayus.jpg",
              imageAlt: "Whole grain sourdough loaf"
            },
            {
              id: "2",
              name: "Butter Croissants",
              price: "¥580",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766815286222-1wyqliyq.jpg",
              imageAlt: "Fresh butter croissants"
            },
            {
              id: "3",
              name: "Dark Rye Bread",
              price: "¥720",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766245920754-l4cqyyki.jpg",
              imageAlt: "Traditional dark rye loaf"
            }
          ]}
          gridVariant="uniform-all-items-equal"
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwo
          title="What Our Customers Say"
          description="Experience the difference quality craftsmanship makes"
          testimonials={[
            {
              id: "1",
              name: "Yuki Tanaka",
              role: "Regular Customer",
              testimonial: "The bread at Hidden Stand is exceptional. Every morning, I look forward to their fresh sourdough. It's become a ritual.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766154635301-vse33sxl.jpg",
              imageAlt: "Yuki Tanaka"
            },
            {
              id: "2",
              name: "James Mitchell",
              role: "Restaurant Owner",
              testimonial: "I supply Hidden Stand bread to my restaurant. Our guests consistently praise the quality and authenticity.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766823077103-l79lbi6f.jpg",
              imageAlt: "James Mitchell"
            },
            {
              id: "3",
              name: "Sakura Yamamoto",
              role: "Food Blogger",
              testimonial: "Hidden Stand represents the perfect fusion of Japanese precision and European baking tradition. Simply masterful.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766183842429-uezzjpov.jpg",
              imageAlt: "Sakura Yamamoto"
            },
            {
              id: "4",
              name: "David Chen",
              role: "Niseko Resident",
              testimonial: "As someone from Niseko, this is the bakery I recommend to all my friends and visitors. It's a true gem.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766184309647-aqbmmuiq.jpg",
              imageAlt: "David Chen"
            }
          ]}
          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 products, seasonal specials, and exclusive offers from Hidden Stand Bakery."
          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="Hidden Stand"
          description="Premium artisan bakery in Niseko, Japan. Crafting exceptional bread since 2020."
          columns={[
            {
              title: "Bakery",
              items: [
                { label: "Products", href: "products" },
                { label: "About Us", href: "about" },
                { label: "Our Story", href: "about" }
              ]
            },
            {
              title: "Legal",
              items: [
                { label: "Terms of Service", href: "terms" },
                { label: "Privacy Policy", href: "privacy" }
              ]
            },
            {
              title: "Contact",
              items: [
                { label: "Email", 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 Hidden Stand Bakery. All rights reserved."
        />
      </div>
    </ThemeProvider>
  );
}