"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import HeroCarouselLogo from '@/components/sections/hero/heroCarouselLogo/HeroCarouselLogo';
import AboutMetric from '@/components/sections/about/AboutMetric';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import FeatureCardTwentyFour from '@/components/sections/feature/FeatureCardTwentyFour';
import TestimonialCardTwelve from '@/components/sections/testimonial/TestimonialCardTwelve';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import { Globe, Users, Award, Star, Heart } from 'lucide-react';

export default function HomePage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="entrance-slide"
      borderRadius="soft"
      contentWidth="small"
      sizing="mediumSizeLargeTitles"
      background="floatingGradient"
      cardStyle="gradient-radial"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          navItems={[
            { name: "Home", id: "/" },
            { name: "Rooms", id: "/rooms" },
            { name: "Amenities", id: "/amenities" },
            { name: "Booking", id: "/booking" },
            { name: "Contact", id: "/contact" }
          ]}
          brandName="Luxury Stays"
          bottomLeftText="Worldwide Hospitality"
          bottomRightText="reservations@luxurystays.com"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroCarouselLogo
          logoText="LUXURY STAYS"
          description="Experience world-class hospitality with our premium accommodations, exceptional service, and unforgettable moments."
          buttons={[
            { text: "Book Now", href: "/booking" },
            { text: "Explore Rooms", href: "/rooms" }
          ]}
          slides={[
            {
              imageSrc: "https://img.b2bpic.net/free-photo/luxury-architecture-exterior-design_23-2151920954.jpg",
              imageAlt: "Luxury hotel room with panoramic view"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/luxury-poolside-experience-where-guests-bask-opulence-cabanas_1268-31113.jpg",
              imageAlt: "Modern deluxe bedroom suite"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/side-view-breakfast-with-coffee-cup-omelette-plate-hotel-room_176474-3020.jpg",
              imageAlt: "Elegant hotel lobby entrance"
            }
          ]}
          autoplayDelay={4000}
          showDimOverlay={true}
        />
      </div>

      <div id="about" data-section="about">
        <AboutMetric
          title="Redefining luxury hospitality with world-class service, stunning accommodations, and unforgettable guest experiences since 1995."
          useInvertedBackground="invertDefault"
          metrics={[
            {
              icon: Globe,
              label: "Global Properties",
              value: "25+"
            },
            {
              icon: Users,
              label: "Happy Guests Yearly",
              value: "100K+"
            },
            {
              icon: Award,
              label: "Industry Awards",
              value: "45+"
            },
            {
              icon: Star,
              label: "Average Rating",
              value: "4.9/5"
            }
          ]}
        />
      </div>

      <div id="product" data-section="product">
        <ProductCardThree
          title="Exclusive Room Collections"
          description="Choose from our curated selection of luxury accommodations designed for ultimate comfort and style."
          products={[
            {
              id: "1",
              name: "Deluxe Room",
              price: "$189/night",
              imageSrc: "https://img.b2bpic.net/free-photo/luxury-bedroom-interior-with-rich-furniture-scenic-view-from-walkout-deck_1258-111483.jpg",
              imageAlt: "Deluxe Room with city view",
              initialQuantity: 1
            },
            {
              id: "2",
              name: "Penthouse Suite",
              price: "$349/night",
              imageSrc: "https://img.b2bpic.net/free-photo/luxury-bedroom-interior-with-rich-furniture-scenic-view-from-walkout-deck_1258-111480.jpg",
              imageAlt: "Luxury Penthouse Suite",
              initialQuantity: 1
            },
            {
              id: "3",
              name: "Family Suite",
              price: "$249/night",
              imageSrc: "https://img.b2bpic.net/free-photo/hotel-room-with-lit-lamp_1203-547.jpg",
              imageAlt: "Spacious Family Suite",
              initialQuantity: 1
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="feature" data-section="feature">
        <FeatureCardTwentyFour
          title="Premium Amenities & Services"
          description="Indulge in our world-class facilities and personalized services designed for your complete relaxation and enjoyment."
          features={[
            {
              id: "1",
              title: "Wellness Spa",
              author: "Rejuvenation",
              description: "Full-service spa offering massages, facials, and holistic wellness treatments in a serene atmosphere.",
              tags: ["Wellness", "Spa", "Relaxation"],
              imageSrc: "https://img.b2bpic.net/free-photo/woman-relaxing-bath-with-bubbles_1303-24667.jpg",
              imageAlt: "Luxury spa treatment area"
            },
            {
              id: "2",
              title: "Fine Dining Restaurant",
              author: "Culinary Excellence",
              description: "Michelin-starred cuisine featuring international and local delicacies prepared by award-winning chefs.",
              tags: ["Dining", "Gastronomy", "Cuisine"],
              imageSrc: "https://img.b2bpic.net/free-photo/attractive-young-woman-is-relaxing-spa-complex-with-sauna_169016-22729.jpg",
              imageAlt: "Elegant fine dining restaurant"
            },
            {
              id: "3",
              title: "Olympic Pool & Beach",
              author: "Recreation",
              description: "Crystal-clear infinity pool overlooking the ocean, complemented by private beach access and water sports.",
              tags: ["Recreation", "Pool", "Beach"],
              imageSrc: "https://img.b2bpic.net/free-photo/attractive-young-woman-black-swimsuit-is-relaxing-pool_169016-22735.jpg",
              imageAlt: "Resort swimming pool"
            },
            {
              id: "4",
              title: "State-of-the-Art Fitness",
              author: "Health & Wellness",
              description: "Modern gym equipped with latest equipment, personal trainers, and yoga studios for complete fitness.",
              tags: ["Fitness", "Health", "Training"],
              imageSrc: "https://img.b2bpic.net/free-photo/spa-massage-concept-with-woman_23-2147817018.jpg",
              imageAlt: "Modern fitness center"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="testimonial" data-section="testimonial">
        <TestimonialCardTwelve
          testimonials={[
            {
              id: "1",
              name: "Sarah Thompson",
              imageSrc: "https://img.b2bpic.net/free-photo/young-businesswoman-portrait-office_1262-1506.jpg",
              imageAlt: "Sarah Thompson"
            },
            {
              id: "2",
              name: "Michael Chen",
              imageSrc: "https://img.b2bpic.net/free-photo/portrait-smiley-business-woman_23-2148603029.jpg",
              imageAlt: "Michael Chen"
            },
            {
              id: "3",
              name: "Emma Rodriguez",
              imageSrc: "https://img.b2bpic.net/free-photo/happy-business-woman-white-shirt_23-2148095748.jpg",
              imageAlt: "Emma Rodriguez"
            },
            {
              id: "4",
              name: "James Wilson",
              imageSrc: "https://img.b2bpic.net/free-photo/closeup-smiling-beautiful-adult-businesswoman_1262-1760.jpg",
              imageAlt: "James Wilson"
            },
            {
              id: "5",
              name: "Lisa Anderson",
              imageSrc: "https://img.b2bpic.net/free-photo/close-up-positive-executive-work_1098-519.jpg",
              imageAlt: "Lisa Anderson"
            },
            {
              id: "6",
              name: "David Martinez",
              imageSrc: "https://img.b2bpic.net/free-photo/smiling-female-staff-airport-terminal_107420-85049.jpg",
              imageAlt: "David Martinez"
            }
          ]}
          cardTitle="Over 50,000 guests experience world-class hospitality and create unforgettable memories with us annually"
          cardTag="Guest Satisfaction"
          cardTagIcon={Heart}
          useInvertedBackground="noInvert"
        />
      </div>

      <FooterLogoEmphasis
        logoText="LUXURY STAYS"
        columns={[
          {
            items: [
              { label: "About Us", href: "/about" },
              { label: "Our Rooms", href: "/rooms" },
              { label: "Amenities", href: "/amenities" }
            ]
          },
          {
            items: [
              { label: "Booking", href: "/booking" },
              { label: "Special Offers", href: "/contact" },
              { label: "Loyalty Program", href: "#" }
            ]
          },
          {
            items: [
              { label: "Contact Us", href: "/contact" },
              { label: "Careers", href: "#" },
              { label: "Sustainability", href: "#" }
            ]
          },
          {
            items: [
              { label: "Privacy Policy", href: "#" },
              { label: "Terms of Service", href: "#" },
              { label: "Accessibility", href: "#" }
            ]
          }
        ]}
      />
    </ThemeProvider>
  );
}