"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import HeroSignup from '@/components/sections/hero/HeroSignup';
import MediaAbout from '@/components/sections/about/MediaAbout';
import FeatureCardTwentyTwo from '@/components/sections/feature/FeatureCardTwentyTwo';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import TestimonialCardTwelve from '@/components/sections/testimonial/TestimonialCardTwelve';
import MetricCardTwo from '@/components/sections/metrics/MetricCardTwo';
import FaqDouble from '@/components/sections/faq/FaqDouble';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterBase from '@/components/sections/footer/FooterBase';
import { Crown, Home, Sparkles, Star } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="slide-background"
      defaultTextAnimation="background-highlight"
      borderRadius="pill"
      contentWidth="mediumLarge"
      sizing="largeSmallSizeLargeTitles"
      background="circleGradient"
      cardStyle="gradient-bordered"
      primaryButtonStyle="primary-glow"
      secondaryButtonStyle="solid"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          brandName="Luxury Hotel"
          navItems={[
            { name: "Rooms", id: "rooms" },
            { name: "Amenities", id: "amenities" },
            { name: "About", id: "about" },
            { name: "Contact", id: "contact" },
            { name: "Book Now", id: "booking" }
          ]}
          bottomLeftText="Premium Hospitality"
          bottomRightText="reservations@luxuryhotel.com"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSignup
          title="Welcome to Luxury Hotel"
          description="Experience unparalleled comfort and world-class service in our premium accommodations. Reserve your perfect getaway today and discover the art of hospitality."
          tag="Exclusive Hospitality"
          tagIcon={Sparkles}
          background={{ variant: "sparkles-gradient" }}
          inputPlaceholder="Enter your email"
          buttonText="Reserve Your Stay"
        />
      </div>

      <div id="about" data-section="about">
        <MediaAbout
          title="Discover Our Legacy"
          description="For over two decades, our hotel has been the destination of choice for discerning travelers seeking exceptional service, elegant accommodations, and unforgettable experiences. Nestled in a prime location, we combine modern luxury with timeless charm."
          tag="Our Story"
          imageSrc="https://img.b2bpic.net/free-photo/wooden-sauna-with-mountain-view-panoramic-calm_169016-70823.jpg"
          imageAlt="Elegant hotel lobby with luxury furnishings"
          useInvertedBackground="noInvert"
          buttons={[
            { text: "Learn More", href: "#amenities" },
            { text: "Book Now", href: "#contact" }
          ]}
        />
      </div>

      <div id="amenities" data-section="amenities">
        <FeatureCardTwentyTwo
          title="World-Class Amenities"
          description="Indulge in our comprehensive range of premium facilities designed for your ultimate comfort and relaxation."
          tag="Premium Services"
          tagIcon={Crown}
          features={[
            {
              id: "1",              title: "Michelin-Starred Restaurant & Fine Dining",              category: ["Culinary", "Dining"],
              imageSrc: "https://img.b2bpic.net/free-photo/hotel-lobby_23-2149397559.jpg",              imageAlt: "Fine dining restaurant with elegant ambiance"
            },
            {
              id: "2",              title: "Spa & Wellness Center with Expert Therapists",              category: ["Wellness", "Relaxation"],
              imageSrc: "https://img.b2bpic.net/free-photo/luxury-hotel-reception-hall-lounge-restaurant-with-high-ceiling_105762-1771.jpg",              imageAlt: "Luxury spa with tranquil atmosphere"
            },
            {
              id: "3",              title: "Olympic-Size Swimming Pool & Aquatic Facilities",              category: ["Recreation", "Fitness"],
              imageSrc: "https://img.b2bpic.net/free-photo/side-view-woman-looking-out-window_23-2149622868.jpg",              imageAlt: "Stunning resort pool surrounded by tropical landscaping"
            },
            {
              id: "4",              title: "State-of-the-Art Fitness Center & Gym",              category: ["Fitness", "Health"],
              imageSrc: "https://img.b2bpic.net/free-photo/elegant-stools-table-huge-bright-hall_1127-3339.jpg",              imageAlt: "Modern gym equipment and fitness facility"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          buttons={[
            { text: "Explore All Amenities", href: "#rooms" }
          ]}
        />
      </div>

      <div id="rooms" data-section="rooms">
        <ProductCardThree
          title="Our Premium Rooms"
          description="Choose from our exquisite collection of elegantly appointed rooms and suites, each designed for maximum comfort and style."
          tag="Accommodation"
          tagIcon={Home}
          products={[
            {
              id: "1",              name: "Deluxe Room",              price: "$299/night",              imageSrc: "https://img.b2bpic.net/free-photo/panoramic-sauna-view-organic-wooden-columns-resort-style-wellness_169016-68883.jpg",              imageAlt: "Spacious deluxe room with king bed"
            },
            {
              id: "2",              name: "Executive Suite",              price: "$599/night",              imageSrc: "https://img.b2bpic.net/free-photo/modern-sauna-with-panoramic-windows-wooden-design_169016-70021.jpg",              imageAlt: "Luxurious executive suite with separate living area"
            },
            {
              id: "3",              name: "Ocean View Penthouse",              price: "$899/night",              imageSrc: "https://img.b2bpic.net/free-photo/hotel-guest-having-fun-with-tablet_482257-81606.jpg",              imageAlt: "Premium penthouse with panoramic ocean views"
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          buttons={[
            { text: "View All Rooms", href: "#booking" }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwelve
          cardTitle="Over 15,000 satisfied guests trust us for their memorable stays and unforgettable experiences"
          cardTag="Guest Reviews"
          cardTagIcon={Star}
          testimonials={[
            {
              id: "1",              name: "Sarah Johnson",              imageSrc: "https://img.b2bpic.net/free-photo/attractive-european-girl-with-charming-smile-keeps-arms-folded-wears-round-spectacles_273609-18493.jpg",              imageAlt: "Sarah Johnson portrait"
            },
            {
              id: "2",              name: "Michael Chen",              imageSrc: "https://img.b2bpic.net/free-photo/handsome-business-man-wearing-suit-looking-camera-smiling-broadly-with-happy-face-standing-white-background_141793-54115.jpg",              imageAlt: "Michael Chen portrait"
            },
            {
              id: "3",              name: "Emma Rodriguez",              imageSrc: "https://img.b2bpic.net/free-photo/closeup-content-pretty-businesswoman-glasses_1262-1740.jpg",              imageAlt: "Emma Rodriguez portrait"
            },
            {
              id: "4",              name: "David Williams",              imageSrc: "https://img.b2bpic.net/free-photo/cheerful-young-businesswoman-smiling-camera_74855-4022.jpg",              imageAlt: "David Williams portrait"
            }
          ]}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardTwo
          title="Why Choose Us"
          description="Our proven track record of excellence and guest satisfaction speaks for itself"
          tag="Statistics"
          metrics={[
            {
              id: "1",              value: "25+",              description: "Years of Excellence"
            },
            {
              id: "2",              value: "98%",              description: "Guest Satisfaction Rate"
            },
            {
              id: "3",              value: "150+",              description: "Luxury Rooms & Suites"
            },
            {
              id: "4",              value: "50+",              description: "Awards & Recognitions"
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqDouble
          title="Frequently Asked Questions"
          description="Find answers to common questions about our hotel, bookings, and services"
          tag="Help & Support"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="smooth"
          faqs={[
            {
              id: "1",              title: "What is your cancellation policy?",              content: "We offer flexible cancellation options. Cancellations made up to 48 hours before arrival are fully refundable. Cancellations within 48 hours may incur a one-night charge. Please contact our reservations team for special circumstances."
            },
            {
              id: "2",              title: "Do you offer airport transfers?",              content: "Yes, we provide complimentary airport transfers for all guests. Simply inform us of your flight details during booking, and our concierge will arrange pickup and drop-off service."
            },
            {
              id: "3",              title: "What amenities are included in the room rate?",              content: "All rooms include complimentary Wi-Fi, premium bedding, marble bathroom amenities, 24-hour room service, access to the fitness center, and business center facilities. Additional amenities vary by room type."
            },
            {
              id: "4",              title: "Are pets allowed at the hotel?",              content: "We welcome well-behaved pets with advance notice. A pet fee of $50 per night applies. Please contact our reservations team to arrange pet accommodations and discuss any special requirements."
            },
            {
              id: "5",              title: "Do you have meeting and event facilities?",              content: "Absolutely! We feature 8,000 square feet of versatile meeting space with state-of-the-art technology. Our experienced events team can coordinate conferences, weddings, and private celebrations of any size."
            },
            {
              id: "6",              title: "What is your check-in and check-out time?",              content: "Standard check-in is at 3 PM and check-out is at 11 AM. Early check-in and late check-out may be available depending on occupancy. We recommend contacting us in advance to arrange special requests."
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Reserve Your Stay"
          description="Book your room with us today and experience luxury hospitality. Our reservations team is ready to assist you with any special requests or questions."
          imageSrc="https://img.b2bpic.net/free-photo/older-people-talk-about-holiday-plans_482257-76640.jpg"
          imageAlt="Hotel reception desk"
          mediaPosition="right"
          useInvertedBackground="noInvert"
          inputs={[
            { name: "name", type: "text", placeholder: "Full Name", required: true },
            { name: "email", type: "email", placeholder: "Email Address", required: true },
            { name: "checkIn", type: "date", placeholder: "Check-In Date", required: true },
            { name: "checkOut", type: "date", placeholder: "Check-Out Date", required: true }
          ]}
          textarea={{ name: "message", placeholder: "Special requests or questions...", rows: 4, required: false }}
          buttonText="Complete Booking"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBase
          logoText="Luxury Hotel"
          copyrightText="© 2025 Luxury Hotel. All rights reserved."
          columns={[
            {
              title: "Rooms",              items: [
                { label: "Deluxe Rooms", href: "rooms" },
                { label: "Suites", href: "rooms" },
                { label: "Penthouses", href: "rooms" }
              ]
            },
            {
              title: "Services",              items: [
                { label: "Restaurant", href: "amenities" },
                { label: "Spa & Wellness", href: "amenities" },
                { label: "Events & Meetings", href: "amenities" }
              ]
            },
            {
              title: "Information",              items: [
                { label: "About Us", href: "about" },
                { label: "Contact", href: "contact" },
                { label: "Privacy Policy", href: "#" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}