"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";

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">
        <div className="min-h-screen bg-gradient-to-br from-orange-50 to-amber-100 flex items-center justify-center">
          <div className="text-center space-y-8">
            <h1 className="text-6xl font-bold text-gray-800">Hotel Setsu</h1>
            <p className="text-xl text-gray-600 max-w-2xl mx-auto">Experience authentic Japanese hospitality in the heart of Kyoto. Discover tranquility, elegance, and timeless tradition.</p>
            <div className="space-x-4">
              <button className="px-8 py-3 bg-orange-600 text-white rounded-lg hover:bg-orange-700 transition-colors">Book Your Stay</button>
              <button className="px-8 py-3 border border-orange-600 text-orange-600 rounded-lg hover:bg-orange-50 transition-colors">Explore More</button>
            </div>
          </div>
        </div>
      </div>

      <div id="hero" data-section="hero">
        <div className="min-h-screen bg-white flex items-center justify-center">
          <div className="max-w-6xl mx-auto px-4 grid grid-cols-1 lg:grid-cols-2 gap-12 items-center">
            <div className="space-y-6">
              <h2 className="text-5xl font-bold text-gray-800">Our Heritage</h2>
              <p className="text-lg text-gray-600">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.</p>
            </div>
            <div className="aspect-square bg-gradient-to-br from-orange-200 to-amber-200 rounded-lg"></div>
          </div>
        </div>
      </div>

      <div id="about" data-section="about">
        <div className="min-h-screen bg-gray-50 py-20">
          <div className="max-w-6xl mx-auto px-4">
            <div className="text-center space-y-6 mb-16">
              <h2 className="text-4xl font-bold text-gray-800">Our Room Collection</h2>
              <p className="text-lg text-gray-600 max-w-2xl mx-auto">Each room is individually designed with attention to detail, blending traditional aesthetics with modern comfort.</p>
            </div>
            <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6">
              <div className="bg-white rounded-lg p-6 space-y-4">
                <div className="aspect-square bg-gradient-to-br from-orange-200 to-amber-200 rounded-lg"></div>
                <h3 className="text-xl font-semibold">Luxury Suite with Private Garden</h3>
                <p className="text-orange-600 font-semibold">¥250,000/night</p>
                <p className="text-gray-600">Our premium suite featuring a private garden and authentic Japanese design elements.</p>
              </div>
              <div className="bg-white rounded-lg p-6 space-y-4">
                <div className="aspect-square bg-gradient-to-br from-orange-200 to-amber-200 rounded-lg"></div>
                <h3 className="text-xl font-semibold">Premium Room with Garden View</h3>
                <p className="text-orange-600 font-semibold">¥180,000/night</p>
                <p className="text-gray-600">Spacious room with stunning views of our meticulously maintained gardens.</p>
              </div>
              <div className="bg-white rounded-lg p-6 space-y-4">
                <div className="aspect-square bg-gradient-to-br from-orange-200 to-amber-200 rounded-lg"></div>
                <h3 className="text-xl font-semibold">Traditional Tatami Room</h3>
                <p className="text-orange-600 font-semibold">¥120,000/night</p>
                <p className="text-gray-600">Experience authentic Japanese living with traditional tatami mats and furnishings.</p>
              </div>
              <div className="bg-white rounded-lg p-6 space-y-4">
                <div className="aspect-square bg-gradient-to-br from-orange-200 to-amber-200 rounded-lg"></div>
                <h3 className="text-xl font-semibold">Standard Comfort Room</h3>
                <p className="text-orange-600 font-semibold">¥80,000/night</p>
                <p className="text-gray-600">Comfortable and elegant accommodations with modern amenities and Japanese touches.</p>
              </div>
            </div>
          </div>
        </div>
      </div>

      <div id="rooms" data-section="rooms">
        <div className="min-h-screen bg-white py-20">
          <div className="max-w-6xl mx-auto px-4">
            <div className="text-center space-y-6 mb-16">
              <h2 className="text-4xl font-bold text-gray-800">Hotel Activities</h2>
              <p className="text-lg text-gray-600 max-w-2xl mx-auto">Discover our curated selection of wellness and cultural experiences to enhance your stay at Hotel Setsu.</p>
            </div>
            <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8">
              <div className="text-center space-y-4">
                <div className="w-16 h-16 bg-orange-100 rounded-full mx-auto flex items-center justify-center">
                  <div className="w-8 h-8 bg-orange-600 rounded"></div>
                </div>
                <h3 className="text-xl font-semibold">Traditional Tea Ceremonies</h3>
                <p className="text-gray-600">Learn the art of Japanese tea preparation in our serene tea house with expert guidance.</p>
              </div>
              <div className="text-center space-y-4">
                <div className="w-16 h-16 bg-orange-100 rounded-full mx-auto flex items-center justify-center">
                  <div className="w-8 h-8 bg-orange-600 rounded"></div>
                </div>
                <h3 className="text-xl font-semibold">Cultural Cooking Classes</h3>
                <p className="text-gray-600">Master the techniques of authentic Japanese cuisine with our skilled chefs.</p>
              </div>
              <div className="text-center space-y-4">
                <div className="w-16 h-16 bg-orange-100 rounded-full mx-auto flex items-center justify-center">
                  <div className="w-8 h-8 bg-orange-600 rounded"></div>
                </div>
                <h3 className="text-xl font-semibold">Garden Meditation Tours</h3>
                <p className="text-gray-600">Find inner peace through guided meditation sessions in our tranquil gardens.</p>
              </div>
              <div className="text-center space-y-4">
                <div className="w-16 h-16 bg-orange-100 rounded-full mx-auto flex items-center justify-center">
                  <div className="w-8 h-8 bg-orange-600 rounded"></div>
                </div>
                <h3 className="text-xl font-semibold">Traditional Arts Workshops</h3>
                <p className="text-gray-600">Explore calligraphy, origami, and other traditional Japanese arts.</p>
              </div>
            </div>
          </div>
        </div>
      </div>

      <div id="activities" data-section="activities">
        <div className="min-h-screen bg-gray-50 py-20">
          <div className="max-w-4xl mx-auto px-4">
            <div className="text-center space-y-6 mb-16">
              <h2 className="text-4xl font-bold text-gray-800">Ready to Experience Setsu?</h2>
              <p className="text-lg text-gray-600">Let us help you plan the perfect stay in Kyoto. Contact our team for personalized recommendations.</p>
              <button className="px-8 py-3 bg-orange-600 text-white rounded-lg hover:bg-orange-700 transition-colors">Book Your Stay</button>
            </div>
            <div className="space-y-6">
              <div className="bg-white rounded-lg p-6">
                <h3 className="text-lg font-semibold mb-2">What is the cancellation policy?</h3>
                <p className="text-gray-600">We offer flexible cancellation up to 48 hours before arrival for a full refund. Bookings made within 48 hours are non-refundable.</p>
              </div>
              <div className="bg-white rounded-lg p-6">
                <h3 className="text-lg font-semibold mb-2">Do you offer airport transfers?</h3>
                <p className="text-gray-600">Yes, complimentary airport transfers are available from Kansai International Airport. Please request at the time of booking.</p>
              </div>
              <div className="bg-white rounded-lg p-6">
                <h3 className="text-lg font-semibold mb-2">Are meals included?</h3>
                <p className="text-gray-600">Our rooms include a traditional Japanese breakfast. Dinner options are available at our on-site restaurant with advance reservation.</p>
              </div>
              <div className="bg-white rounded-lg p-6">
                <h3 className="text-lg font-semibold mb-2">What cultural experiences are available?</h3>
                <p className="text-gray-600">We offer tea ceremonies, traditional cooking classes, garden tours, and guided visits to local temples and gardens.</p>
              </div>
            </div>
          </div>
        </div>
      </div>

      <div id="contact" data-section="contact">
        <div className="bg-gray-800 text-white py-20">
          <div className="max-w-6xl mx-auto px-4 text-center space-y-8">
            <h2 className="text-3xl font-bold">Hotel Setsu</h2>
            <p className="text-gray-300 max-w-2xl mx-auto">Experience authentic Japanese hospitality in the heart of Kyoto. Discover tranquility, elegance, and timeless tradition.</p>
            <div className="flex flex-col md:flex-row justify-center space-y-4 md:space-y-0 md:space-x-8">
              <div>
                <h3 className="font-semibold mb-2">Contact</h3>
                <p className="text-gray-300">info@hotelsetsu.jp</p>
                <p className="text-gray-300">+81 75 123 4567</p>
              </div>
              <div>
                <h3 className="font-semibold mb-2">Address</h3>
                <p className="text-gray-300">123 Gion District</p>
                <p className="text-gray-300">Kyoto, Japan 605-0001</p>
              </div>
            </div>
            <div className="border-t border-gray-700 pt-8">
              <p className="text-gray-400">© 2024 Hotel Setsu. All rights reserved.</p>
            </div>
          </div>
        </div>
      </div>

      <div id="footer" data-section="footer">
        <div className="h-20 bg-gray-900"></div>
      </div>
    </ThemeProvider>
  );
}