"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import HeroSplitKpi from '@/components/sections/hero/HeroSplitKpi';
import MediaSplitTabsAbout from '@/components/sections/about/MediaSplitTabsAbout';
import FeatureCardTwentyOne from '@/components/sections/feature/FeatureCardTwentyOne';
import PricingCardNine from '@/components/sections/pricing/PricingCardNine';
import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import ContactFaq from '@/components/sections/contact/ContactFaq';
import FooterSimple from '@/components/sections/footer/FooterSimple';
import { Flower2, Gift, Phone, Sparkles } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="shift-hover"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="medium"
      sizing="largeSmall"
      background="floatingGradient"
      cardStyle="solid"
      primaryButtonStyle="diagonal-gradient"
      secondaryButtonStyle="solid"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          brandName="Liliya"
          navItems={[
            { name: "About", id: "about" },
            { name: "Collections", id: "collections" },
            { name: "Services", id: "services" },
            { name: "Testimonials", id: "testimonials" },
            { name: "Contact", id: "contact" }
          ]}
          button={{
            text: "Book Now",            href: "contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplitKpi
          background={{ variant: "glowing-orb" }}
          title="Artisanal Flower Arrangements Crafted with Passion"
          description="Welcome to Liliya, where every bloom tells a story. We create bespoke floral designs for weddings, events, and special moments that deserve beauty beyond words."
          tag="Premium Floristry Studio"
          tagIcon={Sparkles}
          kpis={[
            { value: "500+", label: "Happy Clients" },
            { value: "10 Years", label: "Industry Experience" },
            { value: "100%", label: "Fresh Flowers" }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/bouquet-pink-roses-single-branch-rose-with-green-leaves-inside-vase_114579-1440.jpg"
          imageAlt="Stunning luxury flower arrangement with roses and premium blooms"
          enableKpiAnimation={true}
          buttons={[
            { text: "Explore Collections", href: "collections" },
            { text: "Contact Us", href: "contact" }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <MediaSplitTabsAbout
          title="About Liliya Studio"
          description="Discover the artistry and dedication behind every arrangement."
          tabs={[
            {
              id: "philosophy",              label: "Our Philosophy",              description: "At Liliya, we believe flowers are nature's poetry. Every arrangement is carefully composed to express emotion, celebrate moments, and transform spaces with elegance and authenticity."
            },
            {
              id: "craft",              label: "Our Craft",              description: "With over a decade of expertise, we source only the freshest blooms from premium growers worldwide. Our Master Florist personally oversees each design to ensure perfection in every detail."
            },
            {
              id: "commitment",              label: "Our Commitment",              description: "We're committed to sustainability, fair trade practices, and creating unforgettable moments. Your satisfaction is our greatest achievement, and your joy is our inspiration."
            }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/vertical-closeup-shot-luxurious-bouquet-orange-brown-roses-black-background_181624-24211.jpg"
          imageAlt="Liliya flower studio workspace with fresh flowers and arrangements"
          imagePosition="right"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardTwentyOne
          title="Why Choose Our Arrangements"
          description="Experience the Liliya difference through our commitment to quality, artistry, and customer satisfaction."
          tag="Featured Services"
          tagIcon={Flower2}
          imageSrc="https://img.b2bpic.net/free-photo/violet-pink-tone-flowers-bouquet_114579-2150.jpg"
          imageAlt="Premium wedding flower arrangement showcasing artistry"
          useInvertedBackground="noInvert"
          mediaPosition="left"
          accordionItems={[
            {
              id: "1",              title: "Sourced Premium Blooms",              content: "We partner directly with certified growers to source the finest, freshest flowers. Every bloom is hand-selected and arrives at our studio daily to ensure maximum longevity and vibrant beauty in your arrangements."
            },
            {
              id: "2",              title: "Personalized Design Consultation",              content: "Our Master Florist works closely with you to understand your vision, preferences, and needs. We combine your ideas with our expertise to create arrangements that perfectly match your aesthetic and celebrate your special moments."
            },
            {
              id: "3",              title: "Eco-Friendly Practices",              content: "Sustainability is at our core. We use recycled materials, compostable packaging, and support fair-trade growers. Our commitment to the environment is reflected in every arrangement we create."
            },
            {
              id: "4",              title: "Same-Day Delivery Available",              content: "Rush orders? No problem. We offer same-day delivery within our service area for last-minute celebrations and heartfelt moments that need immediate expression."
            }
          ]}
        />
      </div>

      <div id="collections" data-section="collections">
        <PricingCardNine
          title="Our Collections"
          description="Choose from our curated collections or create something entirely custom for your special occasion."
          tag="Collections"
          tagIcon={Gift}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="invertDefault"
          plans={[
            {
              id: "essential",              title: "Essential Collection",              price: "$75",              period: "per arrangement",              imageSrc: "https://img.b2bpic.net/free-photo/beautiful-bouquet-lilacs-roses-standing-rustic-hence-vase_114579-1849.jpg",              imageAlt: "Beautiful essential flower arrangement",              features: [
                "Mixed seasonal flowers",                "Standard vase included",                "Perfect for daily joy",                "5-7 day freshness"
              ],
              button: {
                text: "Choose This",                href: "contact"
              }
            },
            {
              id: "premium",              title: "Premium Collection",              price: "$150",              period: "per arrangement",              imageSrc: "https://img.b2bpic.net/free-photo/flower-bouquet-christmas-ligths-cinnamon-decoration-sticks_114579-2442.jpg",              imageAlt: "Luxury premium flower arrangement with exotic blooms",              features: [
                "Premium exotic flowers",                "Designer vessel selection",                "Artistic focal design",                "7-10 day freshness",                "Personalized styling"
              ],
              button: {
                text: "Choose This",                href: "contact"
              }
            },
            {
              id: "bespoke",              title: "Bespoke Custom Design",              price: "$250+",              period: "custom pricing",              imageSrc: "https://img.b2bpic.net/free-photo/red-violet-color-combination-flower-bouquet_114579-2250.jpg",              imageAlt: "Bespoke custom flower arrangement",              features: [
                "Fully customized design",                "Luxury flowers & vessels",                "One-on-one consultation",                "Unlimited revisions",                "Premium delivery included"
              ],
              button: {
                text: "Start Custom Design",                href: "contact"
              }
            }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFifteen
          testimonial="Liliya created the most breathtaking wedding flowers I could have imagined. Every arrangement was perfection, and the attention to detail was extraordinary. Our guests are still talking about the beauty!"
          rating={5}
          author="Sarah Mitchell, Bride 2024"
          avatars={[
            {
              src: "https://img.b2bpic.net/free-photo/front-view-business-woman-suit_23-2148603018.jpg",              alt: "Sarah Mitchell"
            },
            {
              src: "https://img.b2bpic.net/free-photo/front-view-professional-business-woman-suit_23-2148603020.jpg",              alt: "Jessica Lee"
            },
            {
              src: "https://img.b2bpic.net/free-photo/portrait-young-smiling-pretty-girl-plaid-shirt-posing_114579-70643.jpg",              alt: "Emma Rodriguez"
            },
            {
              src: "https://img.b2bpic.net/free-photo/portrait-young-entrepreneur-woman_23-2148898746.jpg",              alt: "Laura Chen"
            },
            {
              src: "https://img.b2bpic.net/free-photo/close-up-confident-corporate-woman-professional-entrepreneur-smiling-cross-arms-chest-smiling-enthusiastic-standing-white-background_1258-85600.jpg",              alt: "Amanda Parks"
            },
            {
              src: "https://img.b2bpic.net/free-photo/young-beautiful-woman-smiling-posing-purple-wall_176420-2852.jpg",              alt: "Michelle Johnson"
            }
          ]}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="services" data-section="services">
        <ProductCardTwo
          title="Our Services"
          description="From intimate celebrations to grand events, Liliya offers comprehensive floral services tailored to your needs."
          tag="Services"
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="invertDefault"
          gridVariant="three-columns-all-equal-width"
          products={[
            {
              id: "1",              brand: "Liliya Studio",              name: "Wedding Flowers",              price: "Starting $800",              rating: 5,
              reviewCount: "87",              imageSrc: "https://img.b2bpic.net/free-photo/floral-decor-light-pink-roses-vase-scissors-rope-rose-petals-black_140725-10930.jpg",              imageAlt: "Wedding flower arrangement"
            },
            {
              id: "2",              brand: "Liliya Studio",              name: "Event Decorations",              price: "Custom Quote",              rating: 5,
              reviewCount: "65",              imageSrc: "https://img.b2bpic.net/free-photo/composition-flowers-stand-table_8353-10452.jpg",              imageAlt: "Event flower decoration"
            },
            {
              id: "3",              brand: "Liliya Studio",              name: "Weekly Subscription",              price: "From $50/week",              rating: 5,
              reviewCount: "124",              imageSrc: "https://img.b2bpic.net/free-photo/vertical-closeup-shot-luxurious-bouquet-orange-brown-roses_181624-28580.jpg",              imageAlt: "Fresh flower weekly subscription"
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactFaq
          ctaTitle="Ready to Create Beauty?"
          ctaDescription="Get in touch with our team to discuss your floral vision and start planning your perfect arrangement."
          ctaButton={{
            text: "Schedule Consultation",            href: "#contact"
          }}
          ctaIcon={Phone}
          useInvertedBackground="noInvert"
          animationType="slide-up"
          accordionAnimationType="smooth"
          faqs={[
            {
              id: "1",              title: "How far in advance should I book?",              content: "For weddings and large events, we recommend booking 2-3 months in advance. For smaller arrangements, 1-2 weeks is typically sufficient. We do accommodate rush orders based on availability."
            },
            {
              id: "2",              title: "Do you offer delivery?",              content: "Yes! We offer same-day delivery within our service area, as well as scheduled delivery options. Delivery fees vary based on location. Please inquire when contacting us for a quote."
            },
            {
              id: "3",              title: "Can you work with my budget?",              content: "Absolutely. We create beautiful arrangements at various price points and love working within your budget. Our team will suggest options that maximize impact and beauty within your financial parameters."
            },
            {
              id: "4",              title: "Are your flowers fresh?",              content: "Yes, we source fresh flowers daily from premium certified growers. All arrangements are created the day of or day before delivery to ensure maximum freshness and longevity."
            },
            {
              id: "5",              title: "What if I have allergies?",              content: "We can create hypoallergenic arrangements or substitute specific flowers based on your needs. Please mention any allergies during your consultation, and we'll ensure your arrangement is perfect for you."
            },
            {
              id: "6",              title: "How long do arrangements last?",              content: "Most arrangements last 7-10 days with proper care. Premium arrangements with longer-lasting flowers may last up to 14 days. We include care instructions with every delivery."
            }
          ]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterSimple
          columns={[
            {
              title: "Studio",              items: [
                { label: "About Liliya", href: "#about" },
                { label: "Our Services", href: "#services" },
                { label: "Collections", href: "#collections" }
              ]
            },
            {
              title: "Services",              items: [
                { label: "Wedding Flowers", href: "#services" },
                { label: "Events & Decor", href: "#services" },
                { label: "Subscriptions", href: "#services" }
              ]
            },
            {
              title: "Support",              items: [
                { label: "Contact Us", href: "#contact" },
                { label: "FAQs", href: "#contact" },
                { label: "Care Guide", href: "#" }
              ]
            },
            {
              title: "Connect",              items: [
                { label: "Instagram", href: "#" },
                { label: "Facebook", href: "#" },
                { label: "Pinterest", href: "#" }
              ]
            }
          ]}
          bottomLeftText="© 2025 Liliya Flowers Studio. All rights reserved."
          bottomRightText="Crafted with love and fresh blooms"
        />
      </div>
    </ThemeProvider>
  );
}