"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import HeroCarouselLogo from '@/components/sections/hero/heroCarouselLogo/HeroCarouselLogo';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import TextAbout from '@/components/sections/about/TextAbout';
import MetricCardTwo from '@/components/sections/metrics/MetricCardTwo';
import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive';
import PricingCardEight from '@/components/sections/pricing/PricingCardEight';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterSimple from '@/components/sections/footer/FooterSimple';
import { Crown, Sparkles } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="icon-arrow"
      defaultTextAnimation="reveal-blur"
      borderRadius="soft"
      contentWidth="compact"
      sizing="mediumSizeLargeTitles"
      background="floatingGradient"
      cardStyle="subtle-shadow"
      primaryButtonStyle="radial-glow"
      secondaryButtonStyle="solid"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="LUXE"
          navItems={[
            { name: "Collections", id: "products" },
            { name: "About", id: "about" },
            { name: "Testimonials", id: "testimonials" },
            { name: "Pricing", id: "pricing" },
            { name: "Contact", id: "contact" }
          ]}
          button={{
            text: "Shop Now",            href: "products"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroCarouselLogo
          logoText="LUXE BOUTIQUE"
          description="Discover our exclusive collection of premium luxury items crafted with meticulous attention to detail"
          buttons={[
            { text: "Explore Collection", href: "products" },
            { text: "Schedule Visit", href: "contact" }
          ]}
          slides={[
            {
              imageSrc: "https://img.b2bpic.net/free-photo/woman-hands-man-s-back_1304-3785.jpg",              imageAlt: "Luxury jewelry showcase"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/view-luxurious-golden-ring-with-transparent-glass_23-2150329680.jpg",              imageAlt: "Premium product display"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/close-up-portrait-elegant-beautiful-woman-sitting-vintage-cafe-black-velvet-dress-evening-gown-rich-stylish-lady-elegant-fashion-trend-holding-golden-purse-hands_285396-7234.jpg",              imageAlt: "Luxury fashion collection"
            }
          ]}
          autoplayDelay={5000}
          showDimOverlay={true}
          logoLineHeight={1.15}
          className="w-full"
          containerClassName="min-h-screen"
          descriptionClassName="text-lg md:text-xl"
          buttonContainerClassName="flex gap-4 flex-col md:flex-row"
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardOne
          title="Featured Collection"
          description="Handpicked luxury items selected for their exceptional craftsmanship and timeless elegance"
          tag="Exclusive"
          products={[
            {
              id: "1",              name: "Heritage Leather Handbag",              price: "$2,850",              imageSrc: "https://img.b2bpic.net/free-photo/golden-easter-eggs-by-easter-decorations_1303-30816.jpg",              imageAlt: "Luxury leather handbag"
            },
            {
              id: "2",              name: "Precision Chronograph Watch",              price: "$4,200",              imageSrc: "https://img.b2bpic.net/free-photo/golden-easter-eggs-by-easter-decorations_1303-30802.jpg",              imageAlt: "Premium designer watch"
            },
            {
              id: "3",              name: "Signature Fragrance",              price: "$180",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-portrait-elegant-beautiful-woman-sitting-vintage-cafe-black-velvet-dress-evening-gown-rich-stylish-lady-elegant-fashion-trend-holding-golden-purse-hands_285396-7233.jpg",              imageAlt: "Luxury perfume bottle"
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          useInvertedBackground="noInvert"
          textboxLayout="default"
          className="w-full"
          containerClassName="py-20"
        />
      </div>

      <div id="about" data-section="about">
        <TextAbout
          title="Curated with passion. Crafted with precision. Presented with elegance. Every piece in our collection represents the pinnacle of luxury and refinement."
          useInvertedBackground="invertDefault"
          buttons={[
            { text: "Learn Our Story", href: "#" }
          ]}
          className="w-full"
          containerClassName="py-24"
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardTwo
          title="By The Numbers"
          description="A testament to our commitment to excellence and customer satisfaction"
          metrics={[
            {
              id: "1",              value: "500+",              description: "Curated Luxury Items"
            },
            {
              id: "2",              value: "25",              description: "Years of Excellence"
            },
            {
              id: "3",              value: "98%",              description: "Customer Satisfaction"
            },
            {
              id: "4",              value: "12K+",              description: "Satisfied Clients Worldwide"
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          className="w-full"
          containerClassName="py-20"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFive
          title="Client Stories"
          description="Hear from our distinguished clients about their experiences with our premium collections"
          testimonials={[
            {
              id: "1",              name: "Victoria Sterling, CEO of Sterling Enterprises",              date: "Date: 15 November 2024",              title: "Exceptional Quality and Service",              quote: "The attention to detail and personalized service I received was outstanding. Every piece in my collection represents true luxury and craftsmanship.",              tag: "Premium Member",              avatarSrc: "https://img.b2bpic.net/free-photo/front-view-business-woman-suit_23-2148603018.jpg",              imageSrc: "https://img.b2bpic.net/free-photo/woman-hands-man-s-back_1304-3785.jpg",              imageAlt: "Luxury collection showcase"
            },
            {
              id: "2",              name: "James Mitchell, Collector and Philanthropist",              date: "Date: 08 October 2024",              title: "A Treasure Trove of Refinement",              quote: "I have been a loyal client for over a decade. The curated selection and expert guidance have elevated my personal collection significantly.",              tag: "Gold Member",              avatarSrc: "https://img.b2bpic.net/free-photo/closeup-young-female-professional-making-eye-contact-against-colored-background_662251-651.jpg",              imageSrc: "https://img.b2bpic.net/free-photo/golden-easter-eggs-by-easter-decorations_1303-30816.jpg",              imageAlt: "Heritage leather collection"
            },
            {
              id: "3",              name: "Alexandra Chen, Fashion Designer",              date: "Date: 22 September 2024",              title: "Inspiration Meets Luxury",              quote: "The pieces I found here have become iconic elements of my signature style. The quality is unmatched and the shopping experience is truly luxurious.",              tag: "VIP Member",              avatarSrc: "https://img.b2bpic.net/free-photo/front-view-professional-business-woman-suit_23-2148603020.jpg",              imageSrc: "https://img.b2bpic.net/free-photo/golden-easter-eggs-by-easter-decorations_1303-30802.jpg",              imageAlt: "Premium timepiece collection"
            },
            {
              id: "4",              name: "David Rothschild, Art Collector",              date: "Date: 14 August 2024",              title: "Investment Grade Luxury",              quote: "Beyond mere aesthetics, these pieces are sound investments. The expertise and authenticity guarantee here sets them apart from competitors.",              tag: "Platinum Member",              avatarSrc: "https://img.b2bpic.net/free-photo/portrait-young-smiling-pretty-girl-plaid-shirt-posing_114579-70643.jpg",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-portrait-elegant-beautiful-woman-sitting-vintage-cafe-black-velvet-dress-evening-gown-rich-stylish-lady-elegant-fashion-trend-holding-golden-purse-hands_285396-7233.jpg",              imageAlt: "Exclusive fragrance collection"
            }
          ]}
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          className="w-full"
          containerClassName="py-20"
        />
      </div>

      <div id="pricing" data-section="pricing">
        <PricingCardEight
          title="Membership Tiers"
          description="Exclusive benefits and privileges tailored to your luxury shopping preferences"
          tag="Membership"
          plans={[
            {
              id: "silver",              badge: "Entry Level",              price: "Free",              subtitle: "Perfect for exploring our collection",              buttons: [
                { text: "Join Today", href: "#" }
              ],
              features: [
                "Access to new arrivals",                "10% discount on purchases",                "Exclusive email previews",                "Member-only events"
              ]
            },
            {
              id: "gold",              badge: "Most Popular",              badgeIcon: Sparkles,
              price: "$500/year",              subtitle: "For the discerning collector",              buttons: [
                { text: "Upgrade to Gold", href: "#" }
              ],
              features: [
                "20% discount on all items",                "Priority customer service",                "Personal shopping assistant",                "Exclusive private viewings",                "Free shipping worldwide"
              ]
            },
            {
              id: "platinum",              badge: "Ultimate Luxury",              badgeIcon: Crown,
              price: "$2,000/year",              subtitle: "For our most valued clients",              buttons: [
                { text: "Become VIP", href: "#" }
              ],
              features: [
                "30% discount on all items",                "24/7 concierge service",                "Bespoke collection curation",                "Private appointment access",                "Complimentary alterations",                "Invitation to exclusive events"
              ]
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          className="w-full"
          containerClassName="py-20"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplitForm
          title="Get in Touch"
          description="Have questions about our collection or would like to schedule a private appointment? We'd love to hear from you. Contact our team of luxury specialists."
          inputs={[
            {
              name: "name",              type: "text",              placeholder: "Your Name",              required: true
            },
            {
              name: "email",              type: "email",              placeholder: "Your Email",              required: true
            },
            {
              name: "phone",              type: "tel",              placeholder: "Your Phone",              required: false
            }
          ]}
          textarea={{
            name: "message",            placeholder: "Tell us about your preferences and we'll curate a selection just for you...",            rows: 5,
            required: true
          }}
          useInvertedBackground="invertDefault"
          imageSrc="https://img.b2bpic.net/free-photo/fresh-wildlife-insecta-summer-bug_1232-3548.jpg"
          imageAlt="Luxury boutique interior"
          mediaPosition="right"
          buttonText="Send Inquiry"
          className="w-full"
          containerClassName="py-20"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterSimple
          columns={[
            {
              title: "Collections",              items: [
                { label: "Handbags", href: "#" },
                { label: "Watches", href: "#" },
                { label: "Jewelry", href: "#" },
                { label: "Accessories", href: "#" }
              ]
            },
            {
              title: "Company",              items: [
                { label: "About Us", href: "#about" },
                { label: "Our Story", href: "#" },
                { label: "Careers", href: "#" },
                { label: "Press", href: "#" }
              ]
            },
            {
              title: "Support",              items: [
                { label: "Contact", href: "#contact" },
                { label: "Shipping Info", href: "#" },
                { label: "Returns", href: "#" },
                { label: "FAQ", href: "#" }
              ]
            },
            {
              title: "Legal",              items: [
                { label: "Privacy Policy", href: "#" },
                { label: "Terms of Service", href: "#" },
                { label: "Sitemap", href: "#" }
              ]
            }
          ]}
          bottomLeftText="© 2025 Luxe Boutique. All rights reserved."
          bottomRightText="Crafted with Excellence"
          className="w-full bg-gradient-to-b from-background to-background-accent"
          containerClassName="max-w-7xl mx-auto px-4 py-12"
        />
      </div>
    </ThemeProvider>
  );
}