"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import HeroSplit from '@/components/sections/hero/HeroSplit';
import FeatureCardTwentyOne from '@/components/sections/feature/FeatureCardTwentyOne';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix';
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
import ContactFaq from '@/components/sections/contact/ContactFaq';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
import { Sparkles, Award, Home, HelpCircle, Phone } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="elastic-effect"
      defaultTextAnimation="entrance-slide"
      borderRadius="soft"
      contentWidth="medium"
      sizing="medium"
      background="noise"
      cardStyle="glass-depth"
      primaryButtonStyle="radial-glow"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="Luxe Hotels"
          navItems={[
            { name: "Rooms", id: "rooms" },
            { name: "Amenities", id: "features" },
            { name: "Reviews", id: "testimonials" },
            { name: "Contact", id: "contact" }
          ]}
          button={{ text: "Book Now", href: "contact" }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplit
          title="Experience Luxury Hospitality"
          description="Discover world-class accommodations, exquisite dining, and unforgettable service at Luxe Hotels. Your perfect getaway awaits."
          tag="Book Your Stay"
          tagIcon={Sparkles}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766184710583-yt05ru42.jpg"
          imageAlt="Elegant hotel lobby with modern design"
          imagePosition="right"
          buttons={[
            { text: "Book Now", href: "contact" },
            { text: "Explore Rooms", href: "rooms" }
          ]}
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardTwentyOne
          title="World-Class Amenities"
          description="Indulge in our premium facilities designed for your comfort and relaxation."
          tag="Premium Experience"
          tagIcon={Award}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767041398292-y7om0z47.jpg"
          imageAlt="Luxury spa and wellness center"
          mediaPosition="left"
          useInvertedBackground="noInvert"
          accordionItems={[
            {
              id: "1",
              title: "Spa & Wellness Center",
              content: "Rejuvenate at our full-service spa offering massages, facials, and wellness treatments by certified therapists. Experience tranquility in our steam room and sauna facilities."
            },
            {
              id: "2",
              title: "Olympic-Sized Pool & Fitness",
              content: "Stay active at our state-of-the-art fitness center with modern equipment, or relax by our heated Olympic pool with cabana service."
            },
            {
              id: "3",
              title: "Fine Dining & Bars",
              content: "Enjoy Michelin-inspired cuisine at our signature restaurant, casual dining options, and premium bar service featuring craft cocktails and fine wines."
            },
            {
              id: "4",
              title: "Concierge & Business Center",
              content: "Our dedicated concierge team arranges travel, restaurants, and experiences. Fully equipped business center for your professional needs."
            }
          ]
        />
      </div>

      <div id="rooms" data-section="rooms">
        <ProductCardOne
          title="Our Room Collections"
          description="Choose from our curated selection of rooms and suites, each designed for comfort and elegance."
          tag="Accommodations"
          tagIcon={Home}
          products={[
            {
              id: "1",
              name: "Standard Room",
              price: "$189/night",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766184722691-mip9ww4c.jpg",
              imageAlt: "Standard hotel room with modern furnishings"
            },
            {
              id: "2",
              name: "Deluxe Room",
              price: "$289/night",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766184712312-lhl1h85w.jpg",
              imageAlt: "Deluxe room with premium amenities"
            },
            {
              id: "3",
              name: "Executive Suite",
              price: "$489/night",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766184721770-arv4645s.jpg",
              imageAlt: "Spacious executive suite with separate living area"
            }
          ]
          textboxLayout="default"
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardSix
          title="Loved by Our Guests"
          description="Discover why travelers choose Luxe Hotels for their perfect escape."
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
          testimonials={[
            {
              id: "1",
              name: "Sarah Mitchell",
              handle: "@sarahtravels",
              testimonial: "Exceptional service and stunning rooms. The spa treatments were heavenly and the staff anticipated every need. Will definitely return!",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766140101670-ttp7xdlv.jpg",
              imageAlt: "Sarah Mitchell"
            },
            {
              id: "2",
              name: "James Richardson",
              handle: "@jrichardson_travels",
              testimonial: "Outstanding experience from check-in to check-out. The restaurant served the finest meal of our vacation. Highly recommend!",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766140152452-p4x3ah4p.jpg",
              imageAlt: "James Richardson"
            },
            {
              id: "3",
              name: "Elena Costa",
              handle: "@elenacosta_wanderer",
              testimonial: "Beautiful property with impeccable attention to detail. The concierge arranged our entire itinerary perfectly. A luxury gem!",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766140103339-f3be0gdh.jpg",
              imageAlt: "Elena Costa"
            },
            {
              id: "4",
              name: "Michael Chen",
              handle: "@m_chen_adventures",
              testimonial: "Perfect blend of comfort and elegance. The pool area is spectacular and the breakfast spread was incredible. Top-tier accommodation.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766184200876-idjoemdc.jpg",
              imageAlt: "Michael Chen"
            },
            {
              id: "5",
              name: "Victoria Dubois",
              handle: "@vdubois_luxury",
              testimonial: "Every detail exceeded expectations. The room views were breathtaking and the turndown service was a lovely touch. Pure luxury.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766320184384-whnns6as.jpg",
              imageAlt: "Victoria Dubois"
            },
            {
              id: "6",
              name: "David & Amanda Foster",
              handle: "@fosteradventures",
              testimonial: "Celebrated our anniversary in style! The romantic dinner arrangement and champagne were perfect. Cannot thank the team enough.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766320185368-un006460.jpg",
              imageAlt: "David and Amanda Foster"
            }
          ]
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqSplitMedia
          title="Frequently Asked Questions"
          description="Find answers to common questions about your stay with us."
          tag="Guest Support"
          tagIcon={HelpCircle}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766843736372-3ltc72sy.jpg"
          imageAlt="Hotel staff providing guest services"
          mediaPosition="left"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="smooth"
          faqs={[
            {
              id: "1",
              title: "What time are check-in and check-out?",
              content: "Standard check-in is at 3:00 PM and check-out is at 11:00 AM. Early check-in and late check-out are available upon request, subject to availability."
            },
            {
              id: "2",
              title: "Do you offer airport transportation?",
              content: "Yes, we provide airport shuttle service for all guests. Please arrange pickup and dropoff times with our concierge desk upon arrival or during booking."
            },
            {
              id: "3",
              title: "What is your cancellation policy?",
              content: "Cancellations made up to 7 days before arrival receive a full refund. Cancellations within 7 days are subject to one night's charge."
            },
            {
              id: "4",
              title: "Are pets allowed?",
              content: "We welcome well-behaved pets with a one-time fee of $50 per stay. Pet-friendly room availability is limited, so please request upon booking."
            },
            {
              id: "5",
              title: "Is WiFi complimentary?",
              content: "Yes, high-speed WiFi is complimentary for all guests throughout the property, including rooms, lobby, and dining areas."
            },
            {
              id: "6",
              title: "Do you have meeting and event spaces?",
              content: "Our hotel features multiple elegant venues perfect for conferences, weddings, and corporate events. Contact our events team for customized packages."
            }
          ]
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactFaq
          ctaTitle="Ready to Book Your Stay?"
          ctaDescription="Contact our reservations team to find the perfect room and arrange all the details for your luxurious getaway."
          ctaButton={{ text: "Reserve Now", href: "#" }}
          ctaIcon={Phone}
          useInvertedBackground="noInvert"
          animationType="slide-up"
          faqs={[
            {
              id: "1",
              title: "How do I make a reservation?",
              content: "You can book directly on our website, call our reservations team at +1-800-LUXE-HOTELS, or use any major booking platform. Direct bookings often include exclusive benefits."
            },
            {
              id: "2",
              title: "What payment methods do you accept?",
              content: "We accept all major credit cards (Visa, Mastercard, American Express), bank transfers, and digital payment methods. A valid credit card is required for room reservation."
            },
            {
              id: "3",
              title: "Can I modify my reservation?",
              content: "Yes, reservations can be modified up to 48 hours before arrival for free. Changes include dates, room type, or additional services."
            },
            {
              id: "4",
              title: "Do you offer group bookings?",
              content: "Absolutely! We offer special rates for groups of 10 or more. Please contact our group sales team for customized packages and pricing."
            }
          ]
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseReveal
          columns={[
            {
              title: "Hotel",
              items: [
                { label: "Rooms", href: "rooms" },
                { label: "Amenities", href: "features" },
                { label: "Dining", href: "#" },
                { label: "Events", href: "#" }
              ]
            },
            {
              title: "Guest Services",
              items: [
                { label: "Reservations", href: "contact" },
                { label: "Contact Us", href: "contact" },
                { label: "FAQ", href: "faq" },
                { label: "Loyalty Program", href: "#" }
              ]
            },
            {
              title: "Company",
              items: [
                { label: "About Us", href: "#" },
                { label: "Privacy Policy", href: "#" },
                { label: "Terms & Conditions", href: "#" },
                { label: "Careers", href: "#" }
              ]
            }
          ]
          copyrightText="© 2025 Luxe Hotels. All rights reserved."
        />
      </div>
    </ThemeProvider>
  );
}