"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FaqSplitText from '@/components/sections/faq/FaqSplitText';
import FeatureHoverPattern from '@/components/sections/feature/featureHoverPattern/FeatureHoverPattern';
import FooterBase from '@/components/sections/footer/FooterBase';
import HeroCarouselLogo from '@/components/sections/hero/heroCarouselLogo/HeroCarouselLogo';
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import ProductCardFour from '@/components/sections/product/ProductCardFour';
import SplitAbout from '@/components/sections/about/SplitAbout';
import TestimonialCardSixteen from '@/components/sections/testimonial/TestimonialCardSixteen';
import { Award, Car, Coffee, Droplet, MapPin, Sparkles, Star, Tv, Wifi } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="icon-arrow"
        defaultTextAnimation="background-highlight"
        borderRadius="soft"
        contentWidth="medium"
        sizing="largeSmallSizeLargeTitles"
        background="noise"
        cardStyle="gradient-radial"
        primaryButtonStyle="diagonal-gradient"
        secondaryButtonStyle="radial-glow"
        headingFontWeight="normal"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleCentered
      navItems={[
        {
          name: "Home",          id: "hero"},
        {
          name: "About Us",          id: "about"},
        {
          name: "Amenities",          id: "features"},
        {
          name: "Rooms",          id: "products"},
        {
          name: "Testimonials",          id: "testimonials"},
        {
          name: "FAQ",          id: "faq"},
        {
          name: "Contact",          id: "contact"},
      ]}
      button={{
        text: "Book Now",        href: "#contact"}}
      logoSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=ezt0y9"
      brandName="Guest Residence"
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroCarouselLogo
      logoText="Guest Residence"
      description="Experience unparalleled comfort and tranquility in our exquisite home guest residence. Your perfect escape awaits."
      buttons={[
        {
          text: "Explore Rooms",          href: "#products"},
        {
          text: "Book Your Stay",          href: "#contact"},
      ]}
      slides={[
        {
          imageSrc: "http://img.b2bpic.net/free-photo/high-angle-shot-bedroom-with-interior-stuff-beige-tones_181624-33128.jpg",          imageAlt: "Luxurious master bedroom"},
        {
          imageSrc: "http://img.b2bpic.net/free-photo/wooden-table-background-cityscape_1153-3808.jpg",          imageAlt: "Outdoor patio with seating"},
        {
          imageSrc: "http://img.b2bpic.net/free-photo/woman-pouring-water-container-filled-with-torned-papers_23-2147845600.jpg",          imageAlt: "Modern gourmet kitchen"},
        {
          imageSrc: "http://img.b2bpic.net/free-photo/modern-interior-design-interior_23-2151929522.jpg",          imageAlt: "Spa-like bathroom with tub"},
        {
          imageSrc: "http://img.b2bpic.net/free-photo/beautiful-interior-room-design-concept_23-2148786481.jpg",          imageAlt: "Cozy living room with fireplace"},
        {
          imageSrc: "http://img.b2bpic.net/free-photo/italy-architecture-outdoor-landmark-europe_1203-6325.jpg",          imageAlt: "Elegant exterior of the residence"},
      ]}
      autoplayDelay={4000}
      showDimOverlay={true}
    />
  </div>

  <div id="about" data-section="about">
      <SplitAbout
      textboxLayout="default"
      useInvertedBackground={false}
      title="Welcome to Your Home Away From Home"
      description="Guest Residence offers a unique blend of luxury, comfort, and privacy. Nestled in a peaceful location, our residence is designed to provide an unforgettable experience for every guest, whether you're seeking a relaxing getaway or a vibrant local adventure. Discover the charm and sophistication that makes our home truly special."
      bulletPoints={[
        {
          title: "Exceptional Comfort",          description: "Plush furnishings and thoughtful details for a restful stay.",          icon: Sparkles,
        },
        {
          title: "Prime Location",          description: "Easy access to local attractions, dining, and natural beauty.",          icon: MapPin,
        },
        {
          title: "Personalized Service",          description: "Dedicated staff to ensure all your needs are met.",          icon: Award,
        },
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/interior-fragment-with-armchairs-glass-wall-stylish-lounge-area-furniture_169016-72729.jpg"
      imageAlt="Modern living room interior of a guest residence"
      mediaAnimation="slide-up"
    />
  </div>

  <div id="features" data-section="features">
      <FeatureHoverPattern
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      features={[
        {
          icon: Wifi,
          title: "High-Speed Wi-Fi",          description: "Stay connected with complimentary high-speed internet access throughout the residence."},
        {
          icon: Coffee,
          title: "Gourmet Kitchen",          description: "Fully equipped kitchen with premium appliances for your culinary adventures."},
        {
          icon: Star,
          title: "Private Pool",          description: "Relax and unwind in your exclusive swimming pool, perfect for sunny days."},
        {
          icon: Droplet,
          title: "Spa-like Bathrooms",          description: "Luxurious bathrooms with rainfall showers and premium toiletries."},
        {
          icon: Tv,
          title: "Entertainment Hub",          description: "Smart TVs and sound systems for ultimate indoor entertainment."},
        {
          icon: Car,
          title: "Private Parking",          description: "Secure, complimentary parking available on the premises for your convenience."},
      ]}
      title="Unrivaled Amenities for a Perfect Stay"
      description="Every detail at Guest Residence is crafted to enhance your experience. Enjoy a wide range of amenities designed for your relaxation and convenience."
    />
  </div>

  <div id="products" data-section="products">
      <ProductCardFour
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={false}
      products={[
        {
          id: "room-1",          name: "The Grand Suite",          price: "From $350/night",          variant: "King Bed, Private Balcony",          imageSrc: "http://img.b2bpic.net/free-photo/luxurious-modern-apartment-comfortable-bedding-illuminated-window-generated-by-ai_188544-17085.jpg",          imageAlt: "Luxurious suite with a king-size bed and a private balcony."},
        {
          id: "room-2",          name: "Comfort Double Room",          price: "From $200/night",          variant: "Queen Bed, Garden View",          imageSrc: "http://img.b2bpic.net/free-photo/vertical-shot-beautiful-asian-girl-lying-bedroom-with-sophisticated-interrior-smiling_1258-191155.jpg",          imageAlt: "Cozy double room with a queen-size bed overlooking the garden."},
        {
          id: "room-3",          name: "Family Haven",          price: "From $450/night",          variant: "Two Bedrooms, Living Area",          imageSrc: "http://img.b2bpic.net/free-photo/kids-with-tablet-couch_23-2147782782.jpg",          imageAlt: "Spacious family suite with two bedrooms and a comfortable living area."},
        {
          id: "room-4",          name: "Executive Retreat",          price: "From $280/night",          variant: "King Bed, Dedicated Workspace",          imageSrc: "http://img.b2bpic.net/free-photo/business-woman-leaving-office-job-sunset-waving-man-employee-working-online-presentation-planning-data-research-information-create-startup-management-report_482257-50938.jpg",          imageAlt: "Executive room with a king bed and a dedicated desk for work."},
        {
          id: "room-5",          name: "Skyview Penthouse",          price: "From $600/night",          variant: "Panoramic City Views, Jacuzzi",          imageSrc: "http://img.b2bpic.net/free-photo/empty-professional-psychotherapy-office-with-modern-couch-furniture_482257-124895.jpg",          imageAlt: "Penthouse suite offering panoramic city views and a private jacuzzi."},
        {
          id: "room-6",          name: "Garden Cottage",          price: "From $220/night",          variant: "Private Entrance, Cozy Charm",          imageSrc: "http://img.b2bpic.net/free-photo/country-music-band-singing-outdoors_23-2149498461.jpg",          imageAlt: "Charming garden cottage with a private entrance and rustic decor."},
      ]}
      title="Our Luxurious Accommodations"
      description="Choose from a selection of elegantly designed rooms and suites, each offering a unique charm and utmost comfort tailored to your preferences."
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardSixteen
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      testimonials={[
        {
          id: "1",          name: "Sarah J.",          role: "Travel Blogger",          company: "Wanderlust Diaries",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/young-woman-smiling-confident-standing-seaside_839833-17503.jpg",          imageAlt: "Portrait of Sarah J."},
        {
          id: "2",          name: "Michael T.",          role: "Business Executive",          company: "Global Corp",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/smiling-successful-businessman-suit-showing-okay-sign-looking-satisfied-standing-against-white-ba_1258-173565.jpg",          imageAlt: "Portrait of Michael T."},
        {
          id: "3",          name: "Emily R.",          role: "Family Vacationer",          company: "Happy Travelers",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/happy-couple-beach-enjoying-summer_23-2151995441.jpg",          imageAlt: "Portrait of Emily R."},
        {
          id: "4",          name: "David L.",          role: "Weekend Escapist",          company: "Local Adventures",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/front-view-family-posing-together_23-2148670087.jpg",          imageAlt: "Portrait of David L."},
        {
          id: "5",          name: "Jessica M.",          role: "Solo Traveler",          company: "Independent Explorer",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/full-shot-traveling-couple-sitting_23-2148656243.jpg",          imageAlt: "Portrait of Jessica M."},
      ]}
      kpiItems={[
        {
          value: "5/5",          label: "Guest Satisfaction"},
        {
          value: "100+",          label: "Positive Reviews"},
        {
          value: "20+",          label: "Years in Service"},
      ]}
      title="What Our Guests Say"
      description="Hear from visitors who have experienced the magic of Guest Residence. Their words reflect our commitment to excellence."
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqSplitText
      useInvertedBackground={false}
      faqs={[
        {
          id: "faq-1",          title: "What are the check-in and check-out times?",          content: "Check-in is typically from 3:00 PM, and check-out is by 11:00 AM. Early check-in or late check-out may be available upon request and subject to availability."},
        {
          id: "faq-2",          title: "Is breakfast included with my stay?",          content: "Most of our bookings include a complimentary continental breakfast. Please check your specific booking details for confirmation or contact us for more information."},
        {
          id: "faq-3",          title: "Are pets allowed at the residence?",          content: "We understand pets are part of the family, but to ensure the comfort of all our guests, we generally have a no-pet policy. Exceptions may be made for service animals with prior arrangement."},
        {
          id: "faq-4",          title: "Do you offer airport transportation?",          content: "We can arrange airport transfers for an additional fee. Please inform us of your flight details at least 48 hours in advance to schedule your pick-up."},
        {
          id: "faq-5",          title: "What local attractions are nearby?",          content: "Our residence is conveniently located near several popular attractions, including historical sites, beautiful hiking trails, and renowned local restaurants. A detailed guide is provided upon arrival."},
      ]}
      sideTitle="Common Questions & Answers"
      sideDescription="Find quick answers to the most frequently asked questions about your stay at Guest Residence. If you don't find what you're looking for, feel free to contact us directly."
      faqsAnimation="slide-up"
      textPosition="left"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactSplit
      useInvertedBackground={false}
      background={{
        variant: "radial-gradient"}}
      tag="Get in Touch"
      title="Plan Your Serene Escape"
      description="Ready to book your stay or have a question? Our friendly team is here to assist you. Fill out the form below or reach out to us directly."
      imageSrc="http://img.b2bpic.net/free-photo/young-women-paying-shoppings_23-2148312175.jpg"
      imageAlt="Elegant reception area of a guest residence"
      mediaAnimation="slide-up"
      mediaPosition="right"
      inputPlaceholder="Your Email Address"
      buttonText="Send Inquiry"
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterBase
      columns={[
        {
          title: "Explore",          items: [
            {
              label: "Home",              href: "#hero"},
            {
              label: "About Us",              href: "#about"},
            {
              label: "Amenities",              href: "#features"},
            {
              label: "Rooms",              href: "#products"},
          ],
        },
        {
          title: "Guests",          items: [
            {
              label: "Testimonials",              href: "#testimonials"},
            {
              label: "FAQ",              href: "#faq"},
            {
              label: "Contact",              href: "#contact"},
            {
              label: "Book Now",              href: "#contact"},
          ],
        },
        {
          title: "Legal",          items: [
            {
              label: "Privacy Policy",              href: "#"},
            {
              label: "Terms of Service",              href: "#"},
            {
              label: "Cookie Policy",              href: "#"},
          ],
        },
      ]}
      logoSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=ezt0y9"
      logoText="Guest Residence"
      copyrightText="© 2024 Guest Residence. All rights reserved."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}