"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import HeroBillboardCarousel from '@/components/sections/hero/HeroBillboardCarousel';
import MediaSplitTabsAbout from '@/components/sections/about/MediaSplitTabsAbout';
import FeatureCardTwentyOne from '@/components/sections/feature/FeatureCardTwentyOne';
import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix';
import ContactFaq from '@/components/sections/contact/ContactFaq';
import FooterSocial from '@/components/sections/footer/FooterSocial';
import { Award, Facebook, Heart, Instagram, Linkedin, Phone, Sparkles } from 'lucide-react';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="entrance-slide"
      borderRadius="rounded"
      contentWidth="smallMedium"
      sizing="medium"
      background="noise"
      cardStyle="shadow-colored"
      primaryButtonStyle="flat"
      secondaryButtonStyle="minimal"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="Villa Sicilia"
          navItems={[
            { name: "Home", id: "hero" },
            { name: "About", id: "about" },
            { name: "Amenities", id: "features" },
            { name: "Guests", id: "testimonials" },
            { name: "Contact", id: "contact" }
          ]}
          button={{
            text: "Book Now",            href: "contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardCarousel
          title="Experience Sicilian Luxury"
          description="Discover your sanctuary on the sun-kissed shores of Sicily. Villa Sicilia offers unparalleled elegance, world-class amenities, and authentic Mediterranean hospitality."
          tag="Premium Retreat"
          tagIcon={Sparkles}
          mediaItems={[
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767748163970-9wjvb1ug.jpg",              imageAlt: "Luxury terrace overlooking Mediterranean sea"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767748165151-nd82dbkf.jpg",              imageAlt: "Resort pool with coastal views"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767748166093-kheg48fm.jpg",              imageAlt: "Sicilian coastal landscape and architecture"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767748166909-1bxu9c3d.jpg",              imageAlt: "Fine dining restaurant with traditional Sicilian cuisine"
            },
            {
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767748168323-6t2y893i.jpg",              imageAlt: "World-class spa and wellness center"
            }
          ]}
          buttons={[
            {
              text: "Reserve Your Stay",              href: "contact"
            },
            {
              text: "Explore Amenities",              href: "features"
            }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <MediaSplitTabsAbout
          title="Villa Sicilia: Where Heritage Meets Luxury"
          description="Nestled on the rugged Sicilian coastline, our estate combines centuries of Italian charm with modern five-star hospitality."
          tabs={[
            {
              id: "heritage",              label: "Heritage",              description: "Built in 1890, our villa has hosted dignitaries, artists, and travelers seeking the finest Mediterranean experience. Every room reflects authentic Sicilian craftsmanship and timeless elegance."
            },
            {
              id: "location",              label: "Prime Location",              description: "Perched on Sicily's dramatic northern coast, we offer direct access to pristine beaches, historic towns, and the best local experiences within driving distance."
            },
            {
              id: "philosophy",              label: "Our Philosophy",              description: "We believe in creating unforgettable moments through personalized service, exceptional cuisine, and genuine Sicilian hospitality that transcends expectations."
            }
          ]}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767748169488-77kpnskh.jpg"
          imageAlt="Villa Sicilia historic architecture and entrance"
          imagePosition="right"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardTwentyOne
          title="World-Class Amenities"
          description="From our Michelin-inspired dining to our clifftop spa, every detail is crafted to exceed expectations."
          tag="Premium Services"
          tagIcon={Award}
          accordionItems={[
            {
              id: "1",              title: "Gourmet Dining Experience",              content: "Our executive chefs prepare authentic Sicilian and contemporary European cuisine using fresh local ingredients. Dine on our oceanfront terrace as the Mediterranean sunset paints the sky gold."
            },
            {
              id: "2",              title: "Clifftop Spa & Wellness",              content: "Indulge in our full-service spa featuring traditional Italian treatments, massages, and wellness therapies. Our state-of-the-art facilities overlook the Tyrrhenian Sea."
            },
            {
              id: "3",              title: "Water Sports & Activities",              content: "Explore hidden coves via private yacht, paddleboard along pristine beaches, or enjoy guided hiking through Sicily's natural reserves. Our concierge arranges all adventures."
            },
            {
              id: "4",              title: "Luxury Accommodations",              content: "Twenty elegantly appointed suites and villas with panoramic views, marble bathrooms, Italian linens, and climate control. Each room is a personal sanctuary."
            }
          ]}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767748169488-77kpnskh.jpg"
          imageAlt="Spa and wellness facilities at Villa Sicilia"
          useInvertedBackground="noInvert"
          mediaPosition="left"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardSix
          title="Loved by Our Guests"
          description="Hear from travelers who experienced the magic of Villa Sicilia"
          tag="Guest Reviews"
          tagIcon={Heart}
          textboxLayout="default"
          useInvertedBackground="invertCard"
          animationType="slide-up"
          testimonials={[
            {
              id: "1",              name: "Margherita Rossi",              handle: "Luxury Travel Curator",              testimonial: "Villa Sicilia is nothing short of perfection. The attention to detail, the stunning views, and the warmth of the staff made our anniversary unforgettable.",              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767748170658-1tpjyux8.jpg",              imageAlt: "Margherita Rossi"
            },
            {
              id: "2",              name: "Paolo Marchetti",              handle: "CEO, Milan Finance",              testimonial: "I've stayed at the finest hotels worldwide. Villa Sicilia combines elegance, authenticity, and impeccable service in a way few places can match.",              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767717474472-x5hsql9a.jpg",              imageAlt: "Paolo Marchetti"
            },
            {
              id: "3",              name: "Isabella De Luca",              handle: "Food & Wine Writer",              testimonial: "The culinary experience alone is worth the journey. Every dish tells a story of Sicily, prepared with passion and served with grace.",              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767748171631-khw09w5h.jpg",              imageAlt: "Isabella De Luca"
            },
            {
              id: "4",              name: "Christopher Morgan",              handle: "Businessman, London",              testimonial: "My family and I returned three times in two years. That's all you need to know about Villa Sicilia. It's that special.",              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767453944491-o74oac81.jpg",              imageAlt: "Christopher Morgan"
            },
            {
              id: "5",              name: "Sophia Castellano",              handle: "Artist & Traveler",              testimonial: "The beauty of the location, the sophistication of the service, and the soul of Sicily converge perfectly here. Pure magic.",              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767748173828-36b1ad8q.jpg",              imageAlt: "Sophia Castellano"
            },
            {
              id: "6",              name: "Marco Fontanella",              handle: "Architect, Rome",              testimonial: "Every element of Villa Sicilia reflects thoughtful design and respect for the environment. It's luxury done right—sustainably and beautifully.",              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767748175028-3heia300.jpg",              imageAlt: "Marco Fontanella"
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactFaq
          ctaTitle="Ready to Escape to Paradise?"
          ctaDescription="Contact our luxury concierge team to reserve your unforgettable Sicilian retreat. We're here to craft your perfect getaway."
          ctaButton={{
            text: "Schedule Your Consultation",            href: "https://example.com/booking"
          }}
          ctaIcon={Phone}
          faqs={[
            {
              id: "1",              title: "What is the best time to visit Villa Sicilia?",              content: "Spring (April-May) and fall (September-October) offer perfect weather and fewer crowds. Summer is ideal for beach enthusiasts, while winter provides peaceful tranquility and special rates."
            },
            {
              id: "2",              title: "Do you offer private events and weddings?",              content: "Absolutely. Our stunning venues and expert team specialize in creating unforgettable celebrations. Contact our events coordinator for customized proposals."
            },
            {
              id: "3",              title: "What dining options are available?",              content: "From our fine-dining restaurant to intimate private dinners on your terrace, we offer curated culinary experiences. We accommodate dietary preferences with advance notice."
            },
            {
              id: "4",              title: "Is transportation included?",              content: "We provide airport transfers and offer a private car service for exploring Sicily. Your concierge can arrange yacht charters, helicopter tours, and guided excursions."
            },
            {
              id: "5",              title: "What is your cancellation policy?",              content: "Standard bookings offer free cancellation up to 30 days prior. Premium packages have flexible terms. Special event bookings require discussion with our reservations team."
            }
          ]}
          useInvertedBackground="noInvert"
          animationType="slide-up"
          accordionAnimationType="smooth"
          showCard={true}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterSocial
          logoText="Villa Sicilia"
          copyrightText="© Villa Sicilia, 2025. All rights reserved."
          columns={[
            {
              title: "Discover",              items: [
                { label: "About Us", href: "about" },
                { label: "Amenities", href: "features" },
                { label: "Testimonials", href: "testimonials" }
              ]
            },
            {
              title: "Guest Services",              items: [
                { label: "Reservations", href: "contact" },
                { label: "Concierge", href: "contact" },
                { label: "FAQs", href: "contact" }
              ]
            },
            {
              title: "Information",              items: [
                { label: "Privacy Policy", href: "#" },
                { label: "Terms & Conditions", href: "#" },
                { label: "Contact", href: "contact" }
              ]
            },
            {
              title: "Explore Sicily",              items: [
                { label: "Nearby Attractions", href: "#" },
                { label: "Local Cuisine", href: "#" },
                { label: "Travel Guide", href: "#" }
              ]
            }
          ]}
          socialLinks={[
            {
              icon: Instagram,
              href: "https://instagram.com",              ariaLabel: "Follow us on Instagram"
            },
            {
              icon: Facebook,
              href: "https://facebook.com",              ariaLabel: "Follow us on Facebook"
            },
            {
              icon: Linkedin,
              href: "https://linkedin.com",              ariaLabel: "Connect on LinkedIn"
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}
