"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import HeroSplitKpi from '@/components/sections/hero/HeroSplitKpi';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import MediaSplitTabsAbout from '@/components/sections/about/MediaSplitTabsAbout';
import FeatureBento from '@/components/sections/feature/FeatureBento';
import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive';
import MetricCardEleven from '@/components/sections/metrics/MetricCardEleven';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
import { Sparkles, Flower2, Heart, Flower, Gift, Mail } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="shift-hover"
      defaultTextAnimation="background-highlight"
      borderRadius="sharp"
      contentWidth="small"
      sizing="large"
      background="aurora"
      cardStyle="gradient-radial"
      primaryButtonStyle="primary-glow"
      secondaryButtonStyle="layered"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="Doo Kvitka"
          navItems={[
            { name: "Collections", id: "collections" },
            { name: "About", id: "about" },
            { name: "Services", id: "services" },
            { name: "Testimonials", id: "testimonials" },
            { name: "Contact", id: "contact" }
          ]}
          button={{
            text: "Order Now",            href: "#contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplitKpi
          title="Artisan Flower Arrangements Crafted with Care"
          description="Experience the beauty of fresh, handcrafted floral designs. Every bouquet tells a story of elegance, passion, and botanical artistry."
          background={{ variant: "glowing-orb" }}
          kpis={[
            { value: "10+", label: "Years Experience" },
            { value: "5000+", label: "Happy Customers" },
            { value: "100%", label: "Fresh Flowers" }
          ]}
          enableKpiAnimation={true}
          tag="Premium Flower Studio"
          tagIcon={Sparkles}
          imageSrc="https://img.b2bpic.net/free-photo/some-pink-roses-basket-white-background_268835-1382.jpg"
          imageAlt="Beautiful floral arrangement"
          imagePosition="right"
          buttons={[
            { text: "Browse Collections", href: "#collections" },
            { text: "Learn More", href: "#about" }
          ]}
        />
      </div>

      <div id="collections" data-section="collections">
        <ProductCardOne
          title="Featured Collections"
          description="Discover our handpicked selection of stunning flower arrangements, each designed with precision and artistry."
          tag="New Arrivals"
          tagIcon={Flower2}
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          animationType="slide-up"
          products={[
            {
              id: "1",              name: "Romantic Rose Bouquet",              price: "₴899",              imageSrc: "https://img.b2bpic.net/free-photo/floral-decor-woman-holding-bouquet-anthurium_140725-10842.jpg",              imageAlt: "Romantic red roses bouquet"
            },
            {
              id: "2",              name: "Mixed Garden Arrangement",              price: "₴1,299",              imageSrc: "https://img.b2bpic.net/free-photo/bouquet-roses_1162-10.jpg",              imageAlt: "Colorful mixed flower arrangement"
            },
            {
              id: "3",              name: "Bright Sunflower Mix",              price: "₴749",              imageSrc: "https://img.b2bpic.net/free-photo/composition-valentine-s-day-with-bouquet-red-drink-cup_169016-26067.jpg",              imageAlt: "Cheerful sunflower arrangement"
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          buttons={[
            { text: "View All Arrangements", href: "#collections" }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <MediaSplitTabsAbout
          title="About Doo Kvitka Studio"
          description="Discover the passion and expertise behind every arrangement we create."
          tabs={[
            {
              id: "mission",              label: "Our Mission",              description: "We are dedicated to creating unforgettable floral experiences that bring joy and beauty to life's most important moments. Each arrangement is a masterpiece designed with love and attention to detail."
            },
            {
              id: "craftsmanship",              label: "Craftsmanship",              description: "With over a decade of experience, our team combines traditional floral design techniques with contemporary creativity. We source only the freshest blooms and work with premium materials to ensure lasting beauty."
            },
            {
              id: "sustainability",              label: "Sustainability",              description: "We are committed to environmentally responsible practices. Our flowers are sourced from ethical suppliers, and we use eco-friendly packaging to deliver beauty without compromising our planet's future."
            }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/full-shot-woman-holding-flowers_23-2149247574.jpg"
          imageAlt="Doo Kvitka flower studio workspace"
          imagePosition="right"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="services" data-section="services">
        <FeatureBento
          title="Our Services & Expertise"
          description="From intimate celebrations to grand events, we offer comprehensive floral services tailored to your vision."
          tag="What We Offer"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          animationType="slide-up"
          features={[
            {
              title: "Wedding Flowers",              description: "Complete floral design for weddings, from bridal bouquets to stunning ceremony installations.",              bentoComponent: "orbiting-icons",              centerIcon: Heart,
              items: [
                { icon: Flower2, ring: 1 },
                { icon: Sparkles, ring: 2 }
              ]
            },
            {
              title: "Event Arrangements",              description: "Custom floral centerpieces and decorations for corporate events, parties, and celebrations.",              bentoComponent: "3d-stack-cards",              items: [
                {
                  icon: Flower,
                  title: "Weddings",                  subtitle: "Timeless elegance",                  detail: "From intimate to grand celebrations"
                },
                {
                  icon: Sparkles,
                  title: "Events",                  subtitle: "Memorable moments",                  detail: "Corporate and private functions"
                },
                {
                  icon: Gift,
                  title: "Gifts",                  subtitle: "Thoughtful presents",                  detail: "Perfect for any occasion"
                }
              ]
            },
            {
              title: "Subscription Service",              description: "Regular flower deliveries bringing fresh blooms to your home or office every week.",              bentoComponent: "animated-bar-chart"
            },
            {
              title: "Custom Consultations",              description: "Personal design consultations to create bespoke arrangements matching your exact vision.",              bentoComponent: "marquee",              centerIcon: Sparkles,
              variant: "text",              texts: ["Custom Designs", "Premium Quality", "Fresh Blooms", "Expert Advice", "Same Day Delivery"]
            }
          ]}
          carouselMode="buttons"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFive
          title="What Our Customers Say"
          description="Real stories from people whose moments became more beautiful with Doo Kvitka flowers."
          tag="Testimonials"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          testimonials={[
            {
              id: "1",              name: "Mariya Kovalenko, Bride",              date: "Date: 15 June 2024",              title: "Made our wedding day absolutely perfect!",              quote: "The bridal bouquet and ceremony flowers were stunning beyond imagination. Every detail was exactly what we envisioned. The team's professionalism and creativity made us feel completely at ease.",              tag: "Wedding",              avatarSrc: "https://img.b2bpic.net/free-photo/front-view-business-woman-suit_23-2148603018.jpg",              imageSrc: "https://img.b2bpic.net/free-photo/girlfriend-standing-living-room-filled-with-romantic-gifts_482257-77346.jpg",              imageAlt: "Wedding floral arrangement"
            },
            {
              id: "2",              name: "Andrii Petrov, Event Organizer",              date: "Date: 20 August 2024",              title: "Transformed our corporate gala completely",              quote: "The floral centerpieces and stage arrangements elevated the entire event. The team understood our vision immediately and delivered exceptional work within our timeline. Highly recommended for any event.",              tag: "Corporate Events",              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/wedding-roses-bouquet-stands-chair-around-are-scattered-petals-roses_8353-9798.jpg",              imageAlt: "Event centerpiece arrangement"
            },
            {
              id: "3",              name: "Olena Shevchenko, Regular Customer",              date: "Date: 30 September 2024",              title: "Fresh flowers every week make me smile",              quote: "Their subscription service is amazing. Every week brings a new surprise of fresh, beautifully arranged flowers. The quality is consistently excellent, and the delivery is always reliable and punctual.",              tag: "Subscription",              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/floral-decor-woman-holding-bouquet-anthurium_140725-10842.jpg",              imageAlt: "Weekly flower subscription"
            },
            {
              id: "4",              name: "Sergiy Bondarenko, Groom",              date: "Date: 10 May 2024",              title: "Everything was absolutely flawless",              quote: "From the initial consultation to delivery day, Doo Kvitka provided exceptional service. The flowers were fresh, vibrant, and exactly as we discussed. Our guests couldn't stop complimenting the arrangements.",              tag: "Wedding",              avatarSrc: "https://img.b2bpic.net/free-photo/portrait-young-entrepreneur-woman_23-2148898746.jpg",              imageSrc: "https://img.b2bpic.net/free-photo/girlfriend-standing-living-room-filled-with-romantic-gifts_482257-77346.jpg",              imageAlt: "Anniversary arrangement"
            }
          ]}
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardEleven
          title="Our Track Record"
          description="Numbers that reflect our commitment to excellence and customer satisfaction."
          tag="Quality Metrics"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          animationType="slide-up"
          metrics={[
            {
              id: "1",              value: "98%",              title: "Customer Satisfaction",              description: "Consistently exceeding expectations with every arrangement",              imageSrc: "https://img.b2bpic.net/free-photo/full-shot-woman-holding-flowers_23-2149247574.jpg",              imageAlt: "Studio workspace"
            },
            {
              id: "2",              value: "24hr",              title: "Delivery Available",              description: "Same-day delivery for orders placed before noon",              imageSrc: "https://img.b2bpic.net/free-photo/romantic-bouquet-fresh-flowers-wedding-celebration-generated-by-ai_188544-45526.jpg",              imageAlt: "Florist preparing arrangement"
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCenter
          tag="Get Started"
          title="Ready to Brighten Your Moment?"
          description="Subscribe to our newsletter for exclusive offers, new arrangements, and floral design tips. Join our growing community of flower lovers."
          tagIcon={Mail}
          useInvertedBackground="noInvert"
          inputPlaceholder="Enter your email address"
          buttonText="Subscribe"
          termsText="By subscribing, you agree to receive updates about our latest arrangements and special offers. We respect your privacy."
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterLogoReveal logoText="Doo Kvitka" />
      </div>
    </ThemeProvider>
  );
}