"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import HeroSplit from '@/components/sections/hero/HeroSplit';
import SplitAbout from '@/components/sections/about/SplitAbout';
import ProductCardSix from '@/components/sections/product/ProductCardSix';
import FeatureCardFifteen from '@/components/sections/feature/FeatureCardFifteen';
import ContactFaq from '@/components/sections/contact/ContactFaq';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';

const plan = {
  sections: [
    { id: "hero" },
    { id: "about" }, 
    { id: "rooms" },
    { id: "activities" },
    { id: "contact" },
    { id: "footer" }
  ],
  theme: {
    defaultButtonVariant: "text-shift",
    defaultTextAnimation: "reveal-blur",
    borderRadius: "soft",
    contentWidth: "medium",
    sizing: "largeSmallSizeMediumTitles",
    background: "floatingGradient",
    cardStyle: "gradient-mesh",
    primaryButtonStyle: "layered-depth",
    secondaryButtonStyle: "solid",
    headingFontWeight: "normal"
  }
};

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant={plan.theme?.defaultButtonVariant ?? "text-stagger"}
      defaultTextAnimation={plan.theme?.defaultTextAnimation ?? "entrance-slide"}
      borderRadius={plan.theme?.borderRadius ?? "rounded"}
      contentWidth={plan.theme?.contentWidth ?? "medium"}
      sizing={plan.theme?.sizing ?? "medium"}
      background={plan.theme?.background ?? "circleGradient"}
      cardStyle={plan.theme?.cardStyle ?? "glass-elevated"}
      primaryButtonStyle={plan.theme?.primaryButtonStyle ?? "gradient"}
      secondaryButtonStyle={plan.theme?.secondaryButtonStyle ?? "glass"}
      headingFontWeight={plan.theme?.headingFontWeight ?? "normal"}
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          logoSrc="/placeholders/placeholder1.webp"
          links={[
            { label: "Home", href: "#hero" },
            { label: "About", href: "#about" },
            { label: "Rooms", href: "#rooms" },
            { label: "Activities", href: "#activities" },
            { label: "Contact", href: "#contact" }
          ]}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplit
          title="Welcome to Hotel Setsu"
          description="Experience authentic Japanese hospitality in the heart of Kyoto. Discover tranquility, elegance, and timeless tradition."
          primaryButtonText="Book Your Stay"
          secondaryButtonText="Explore More"
          image="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766739074270-h0qm9zgt.jpg"
        />
      </div>

      <div id="about" data-section="about">
        <SplitAbout
          description="Hotel Setsu embodies the essence of Japanese hospitality—where ancient traditions meet contemporary comfort. Every detail reflects our commitment to creating an unforgettable experience for our guests."
        />
      </div>

      <div id="rooms" data-section="rooms">
        <ProductCardSix
          title="Our Room Collection"
          description="Each room is individually designed with attention to detail, blending traditional aesthetics with modern comfort."
          products={[
            {
              name: "Luxury Suite with Private Garden",
              price: "¥250,000/night",
              image: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766739074270-h0qm9zgt.jpg",
              description: "Our premium suite featuring a private garden and authentic Japanese design elements."
            },
            {
              name: "Premium Room with Garden View",
              price: "¥180,000/night",
              image: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766739077288-6btr929u.jpg",
              description: "Spacious room with stunning views of our meticulously maintained gardens."
            },
            {
              name: "Traditional Tatami Room",
              price: "¥120,000/night",
              image: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766739074270-h0qm9zgt.jpg",
              description: "Experience authentic Japanese living with traditional tatami mats and furnishings."
            },
            {
              name: "Standard Comfort Room",
              price: "¥80,000/night",
              image: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766739077288-6btr929u.jpg",
              description: "Comfortable and elegant accommodations with modern amenities and Japanese touches."
            }
          ]}
        />
      </div>

      <div id="activities" data-section="activities">
        <FeatureCardFifteen
          title="Hotel Activities"
          description="Discover our curated selection of wellness and cultural experiences to enhance your stay at Hotel Setsu."
          features={[
            {
              title: "Traditional Tea Ceremonies",
              description: "Learn the art of Japanese tea preparation in our serene tea house with expert guidance."
            },
            {
              title: "Cultural Cooking Classes",
              description: "Master the techniques of authentic Japanese cuisine with our skilled chefs."
            },
            {
              title: "Garden Meditation Tours",
              description: "Find inner peace through guided meditation sessions in our tranquil gardens."
            },
            {
              title: "Traditional Arts Workshops",
              description: "Explore calligraphy, origami, and other traditional Japanese arts."
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactFaq
          title="Ready to Experience Setsu?"
          description="Let us help you plan the perfect stay in Kyoto. Contact our team for personalized recommendations."
          buttonText="Book Your Stay"
          faqs={[
            {
              question: "What is the cancellation policy?",
              answer: "We offer flexible cancellation up to 48 hours before arrival for a full refund. Bookings made within 48 hours are non-refundable."
            },
            {
              question: "Do you offer airport transfers?",
              answer: "Yes, complimentary airport transfers are available from Kansai International Airport. Please request at the time of booking."
            },
            {
              question: "Are meals included?",
              answer: "Our rooms include a traditional Japanese breakfast. Dinner options are available at our on-site restaurant with advance reservation."
            },
            {
              question: "What cultural experiences are available?",
              answer: "We offer tea ceremonies, traditional cooking classes, garden tours, and guided visits to local temples and gardens."
            }
          ]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseReveal />
      </div>
    </ThemeProvider>
  );
}