"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import HeroBillboardMetrics from '@/components/sections/hero/HeroBillboardMetrics';
import TagMediaSplitAbout from '@/components/sections/about/TagMediaSplitAbout';
import ProductCardSix from '@/components/sections/product/ProductCardSix';
import FeatureCardTwentyOne from '@/components/sections/feature/FeatureCardTwentyOne';
import TestimonialCardEleven from '@/components/sections/testimonial/TestimonialCardEleven';
import PricingCardSix from '@/components/sections/pricing/PricingCardSix';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FooterMedia from '@/components/sections/footer/FooterMedia';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-bubble"
      defaultTextAnimation="background-highlight"
      borderRadius="sharp"
      contentWidth="mediumSmall"
      sizing="medium"
      background="dotGrid"
      cardStyle="solid-accent"
      primaryButtonStyle="flat"
      secondaryButtonStyle="outline"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          navItems={[
            { name: "Rooms", id: "rooms" },
            { name: "Amenities", id: "amenities" },
            { name: "Dining", id: "dining" },
            { name: "About", id: "about" },
            { name: "Contact", id: "contact" }
          ]}
          brandName="Luxe Hotels"
          button={{
            text: "Book Now",
            href: "#booking"
          }}
          buttonClassName="px-6 py-2 rounded-sm"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardMetrics
          title="Experience Luxury Hospitality"
          description="Welcome to our award-winning hotel featuring elegant rooms, world-class amenities, and exceptional service for your perfect getaway."
          tag="Premium Accommodations"
          buttons={[
            { text: "Book Your Stay", href: "#rooms" },
            { text: "View Amenities", href: "#amenities" }
          ]}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767387351047-q7hz2tgo.jpg"
          imageAlt="Luxury hotel lobby and entrance"
          frameStyle="card"
          metricsLabel="Trusted by thousands of satisfied guests worldwide"
          metrics={[
            { id: "1", value: "4.9★", label: "Guest Rating" },
            { id: "2", value: "250+", label: "Luxury Rooms" },
            { id: "3", value: "20+", label: "Years Excellence" }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <TagMediaSplitAbout
          title="Discover Our Legacy"
          description="For over two decades, we have been synonymous with luxury, comfort, and exceptional hospitality."
          textboxLayout="default"
          contentTag="OUR STORY"
          contentTitle="Where Every Stay Becomes a Memory"
          contentDescription="Our hotel combines timeless elegance with modern comfort. From our meticulously designed rooms to our world-class restaurants, every detail is crafted to exceed expectations. We believe in creating not just accommodation, but unforgettable experiences for our valued guests."
          contentButtons={[{ text: "Learn More", href: "#" }]}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767392075122-y1s48dzy.jpg"
          imageAlt="Hotel exterior and architecture"
          imagePosition="right"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="rooms" data-section="rooms">
        <ProductCardSix
          title="Our Exquisite Room Collection"
          description="Choose from our selection of thoughtfully designed rooms, each offering premium comfort and elegant amenities."
          products={[
            {
              id: "1",
              name: "Deluxe Room",
              price: "$199/night",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767392072061-mngkj3ws.jpg",
              imageAlt: "Deluxe hotel room with king bed"
            },
            {
              id: "2",
              name: "Executive Suite",
              price: "$349/night",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767392072508-54st6sr8.jpg",
              imageAlt: "Luxury executive suite with separate living area"
            },
            {
              id: "3",
              name: "Standard Room",
              price: "$129/night",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767392072832-rqci924i.jpg",
              imageAlt: "Comfortable standard hotel room"
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="amenities" data-section="amenities">
        <FeatureCardTwentyOne
          title="World-Class Amenities"
          description="Indulge in our comprehensive range of facilities designed for your ultimate comfort and relaxation."
          tag="Facilities"
          accordionItems={[
            {
              id: "1",
              title: "Luxury Spa & Wellness Center",
              content: "Experience our full-service spa offering rejuvenating treatments, massages, and wellness therapies. Our expert therapists use premium products to ensure your complete relaxation and revival."
            },
            {
              id: "2",
              title: "Fine Dining Restaurants",
              content: "Savor exquisite cuisines at our award-winning restaurants. Our world-renowned chefs create masterpieces combining international flavors with local ingredients for an unforgettable culinary journey."
            },
            {
              id: "3",
              title: "State-of-the-Art Fitness Center",
              content: "Stay fit during your stay with our modern gym equipped with premium equipment, personal trainers, and yoga studios overlooking scenic views."
            },
            {
              id: "4",
              title: "Olympic-Size Swimming Pool",
              content: "Dive into relaxation in our heated swimming pool with cabanas, a separate children's pool, and poolside bar service available throughout the day."
            }
          ]}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767392073150-qz3xbwvt.jpg"
          imageAlt="Luxury spa and wellness center"
          useInvertedBackground="noInvert"
          mediaPosition="left"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardEleven
          title="What Our Guests Say"
          description="Real experiences from travelers who have made us their preferred destination."
          textboxLayout="default"
          useInvertedBackground="noInvert"
          testimonials={[
            {
              id: "1",
              nameTitle: "Sarah Mitchell, Travel Enthusiast",
              quote: "Absolutely phenomenal stay! The service was impeccable, the rooms are luxurious, and the attention to detail is remarkable. We've stayed at many hotels, but this one truly stands out.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767387355177-nx9mprtv.jpg",
              imageAlt: "Sarah Mitchell"
            },
            {
              id: "2",
              nameTitle: "James Chen, Business Executive",
              quote: "Perfect for business travel. The location is convenient, the rooms are spacious, and the business center is excellent. I'll definitely return for my next conference.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767387356195-5bzvao2a.jpg",
              imageAlt: "James Chen"
            },
            {
              id: "3",
              nameTitle: "Emma Rodriguez, Family Traveler",
              quote: "Our family vacation was unforgettable! The kids loved the pool, the restaurant had great options for everyone, and the staff made us feel so welcome.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767392076428-d7mkkhle.jpg",
              imageAlt: "Emma Rodriguez"
            },
            {
              id: "4",
              nameTitle: "David Thompson, Couple Getaway",
              quote: "We celebrated our anniversary here and it was magical. The romantic ambiance, incredible dining experience, and spa treatments made it truly special.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767392076846-pfzrhhwo.jpg",
              imageAlt: "David Thompson"
            }
          ]}
        />
      </div>

      <div id="pricing" data-section="pricing">
        <PricingCardSix
          title="Flexible Booking Options"
          description="Choose the perfect package for your stay with our transparent pricing and exceptional value."
          textboxLayout="default"
          useInvertedBackground="noInvert"
          plans={[
            {
              id: "weekend",
              price: "$199/night",
              subtitle: "Perfect for weekend getaways and short stays",
              features: [
                "Room accommodation",
                "Daily breakfast included",
                "Fitness center access",
                "Parking included",
                "Room service until 11 PM"
              ],
              buttons: [{ text: "Reserve Now", href: "#" }],
              bottomNotes: ["2-night minimum", "Free cancellation up to 7 days"]
            },
            {
              id: "extended",
              price: "$169/night",
              subtitle: "Best value for longer stays and business travel",
              features: [
                "Room accommodation",
                "Daily breakfast and dinner",
                "24/7 fitness and spa access",
                "Complimentary parking",
                "24-hour room service",
                "Premium toiletries"
              ],
              buttons: [{ text: "Book Extended Stay", href: "#" }],
              bottomNotes: ["7+ nights qualify", "Free late checkout", "Flexible cancellation policy"]
            },
            {
              id: "vip",
              price: "$349/night",
              subtitle: "The ultimate luxury experience with exclusive privileges",
              features: [
                "Suite accommodation with views",
                "All meals included (breakfast, lunch, dinner)",
                "Unlimited spa and wellness services",
                "Dedicated concierge service",
                "Airport transfers included",
                "Priority everything"
              ],
              buttons: [{ text: "Experience VIP", href: "#" }],
              bottomNotes: ["Premium member exclusive", "Complimentary upgrades", "24-hour personal assistant"]
            }
          ]}
          animationType="slide-up"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCenter
          tag="Stay Updated"
          title="Subscribe to Our Newsletter"
          description="Get exclusive offers, travel tips, and special promotions delivered to your inbox. Be the first to hear about our latest packages and events."
          useInvertedBackground="noInvert"
          inputPlaceholder="Enter your email address"
          buttonText="Subscribe"
          termsText="We respect your privacy. Unsubscribe anytime. By subscribing, you agree to our Terms and Privacy Policy."
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterMedia
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767392075895-fspj6qea.jpg"
          imageAlt="Hotel at night with elegant lighting"
          logoText="Luxe Hotels"
          copyrightText="© 2025 Luxe Hotels. All rights reserved."
          columns={[
            {
              title: "Accommodations",
              items: [
                { label: "Deluxe Rooms", href: "#rooms" },
                { label: "Executive Suites", href: "#rooms" },
                { label: "Special Packages", href: "#pricing" }
              ]
            },
            {
              title: "Services",
              items: [
                { label: "Spa & Wellness", href: "#amenities" },
                { label: "Dining", href: "#amenities" },
                { label: "Event Venues", href: "#" }
              ]
            },
            {
              title: "Information",
              items: [
                { label: "About Us", href: "#about" },
                { label: "Contact", href: "#contact" },
                { label: "Careers", href: "#" },
                { label: "Privacy Policy", href: "#" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}