"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay";
import HeroBillboardGallery from "@/components/sections/hero/HeroBillboardGallery";
import InlineImageSplitTextAbout from "@/components/sections/about/InlineImageSplitTextAbout";
import ProductCardTwo from "@/components/sections/product/ProductCardTwo";
import FeatureCardTen from "@/components/sections/feature/FeatureCardTen";
import TestimonialCardSixteen from "@/components/sections/testimonial/TestimonialCardSixteen";
import FaqSplitMedia from "@/components/sections/faq/FaqSplitMedia";
import ContactCTA from "@/components/sections/contact/ContactCTA";
import FooterBase from "@/components/sections/footer/FooterBase";
import { CheckCircle, Clock, Heart, HelpCircle, Leaf, MapPin, Palette, Sparkles, Star, Users, Zap, Flower2 } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="icon-arrow"
      defaultTextAnimation="reveal-blur"
      borderRadius="soft"
      contentWidth="smallMedium"
      sizing="mediumLargeSizeLargeTitles"
      background="noise"
      cardStyle="subtle-shadow"
      primaryButtonStyle="shadow"
      secondaryButtonStyle="glass"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="Chelsea Florist"
          navItems={[
            { name: "About", id: "about" },
            { name: "Products", id: "products" },
            { name: "Services", id: "features" },
            { name: "Testimonials", id: "testimonials" },
            { name: "Contact", id: "contact" },
          ]}
          button={{ text: "Order Now", href: "#contact" }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardGallery
          title="Exquisite Floral Arrangements for Every Occasion"
          description="Welcome to Chelsea Florist NYC. We craft stunning, fresh flower arrangements for weddings, celebrations, and special moments. Same-day delivery available throughout Manhattan."
          tag="Premium Florist"
          tagIcon={Flower2}
          tagAnimation="slide-up"
          background={{ variant: "noise" }}
          buttons={[
            { text: "Shop Now", href: "#products" },
            { text: "Learn More", href: "#about" },
          ]}
          buttonAnimation="slide-up"
          mediaItems={[
            {
              imageSrc: "http://img.b2bpic.net/free-photo/excited-florist-smelling-flowers-shop_23-2147761068.jpg",              imageAlt: "Fresh flower bouquet arrangement"},
            {
              imageSrc: "http://img.b2bpic.net/free-photo/beautiful-wedding-bouquet-roses_24837-420.jpg",              imageAlt: "Red roses bouquet"},
            {
              imageSrc: "http://img.b2bpic.net/free-photo/woman-decorating-her-house-with-orchids_23-2150970094.jpg",              imageAlt: "Exotic orchid arrangement"},
            {
              imageSrc: "http://img.b2bpic.net/free-photo/flowers_23-2148133794.jpg",              imageAlt: "Bright sunflower arrangement"},
            {
              imageSrc: "http://img.b2bpic.net/free-photo/overhead-view-colorful-tulips-baby-s-breath-flower-wooden-desk_23-2148048500.jpg",              imageAlt: "Colorful tulip bouquet"},
          ]}
          mediaAnimation="slide-up"
          ariaLabel="Hero section featuring beautiful floral arrangements"
        />
      </div>

      <div id="about" data-section="about">
        <InlineImageSplitTextAbout
          heading={[
            { type: "text", content: "Crafting Beauty Since" },
            {
              type: "image",              src: "http://img.b2bpic.net/free-photo/flowers-florist-atelier_23-2147761223.jpg",              alt: "Chelsea Florist shop"},
            { type: "text", content: "2005" },
          ]}
          buttons={[
            { text: "Our Story", href: "#features" },
            { text: "Contact Us", href: "#contact" },
          ]}
          buttonAnimation="slide-up"
          useInvertedBackground={false}
          ariaLabel="About Chelsea Florist"
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardTwo
          title="Our Premium Collections"
          description="Handcrafted arrangements for every celebration and sentiment. Each bouquet is carefully designed with the freshest flowers."
          tag="Best Sellers"
          tagIcon={Star}
          tagAnimation="slide-up"
          buttons={[{ text: "View All Products", href: "#contact" }]}
          buttonAnimation="slide-up"
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground={false}
          gridVariant="three-columns-all-equal-width"
          products={[
            {
              id: "wedding",              brand: "Chelsea Florist",              name: "Wedding Bridal Bouquet",              price: "$250.00",              rating: 5,
              reviewCount: "124",              imageSrc: "http://img.b2bpic.net/free-photo/wedding-roses-bouquet-stands-chair-around-are-scattered-petals-roses_8353-9798.jpg",              imageAlt: "Elegant wedding bridal bouquet"},
            {
              id: "sympathy",              brand: "Chelsea Florist",              name: "Sympathy Arrangement",              price: "$180.00",              rating: 5,
              reviewCount: "89",              imageSrc: "http://img.b2bpic.net/free-photo/close-up-white-spring-peonies-flowers-bed_169016-21421.jpg",              imageAlt: "Beautiful sympathy arrangement"},
            {
              id: "anniversary",              brand: "Chelsea Florist",              name: "Anniversary Red Roses",              price: "$145.00",              rating: 5,
              reviewCount: "156",              imageSrc: "http://img.b2bpic.net/free-photo/festive-background-valentine39s-day-with-bouquet-red-roses-copy-space_169016-26933.jpg",              imageAlt: "Romantic anniversary rose arrangement"},
          ]}
          ariaLabel="Product collection section"
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardTen
          title="Why Choose Chelsea Florist"
          description="Experience the difference with our premium service and exceptional quality flowers."
          tag="Our Services"
          tagIcon={Sparkles}
          tagAnimation="slide-up"
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground={false}
          buttons={[{ text: "Order Now", href: "#contact" }]}
          buttonAnimation="slide-up"
          features={[
            {
              id: "1",              title: "Same-Day Delivery",              description: "Get your fresh flowers delivered the same day throughout Manhattan. Our expert team ensures every arrangement arrives in perfect condition.",              media: {
                imageSrc: "http://img.b2bpic.net/free-photo/delivery-man-running-fast_1368-6380.jpg",                imageAlt: "Fast delivery service"},
              items: [
                { icon: Zap, text: "Express same-day delivery" },
                { icon: MapPin, text: "Coverage across Manhattan" },
                { icon: Clock, text: "Scheduled delivery times" },
              ],
              reverse: false,
            },
            {
              id: "2",              title: "Custom Design Service",              description: "Work with our talented florists to create your perfect arrangement. We specialize in personalized designs for weddings, events, and special occasions.",              media: {
                imageSrc: "http://img.b2bpic.net/free-photo/young-woman-making-flowers-arrangement_23-2148826770.jpg",                imageAlt: "Custom floral design"},
              items: [
                { icon: Palette, text: "Personalized color schemes" },
                { icon: Users, text: "Consultation with florists" },
                { icon: Heart, text: "Special occasion expertise" },
              ],
              reverse: true,
            },
            {
              id: "3",              title: "Guaranteed Freshness",              description: "We source the finest, freshest flowers daily from premium growers. Every arrangement includes care instructions to keep your flowers beautiful longer.",              media: {
                imageSrc: "http://img.b2bpic.net/free-vector/spring-badges-retro-style_23-2147506480.jpg",                imageAlt: "Fresh flower guarantee"},
              items: [
                { icon: CheckCircle, text: "Premium flower sources" },
                { icon: Leaf, text: "Daily fresh deliveries" },
                { icon: Heart, text: "Flower care guide included" },
              ],
              reverse: false,
            },
          ]}
          ariaLabel="Features and services section"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardSixteen
          title="What Our Clients Say"
          description="Discover why thousands of New Yorkers trust Chelsea Florist for their special moments."
          tag="Client Love"
          tagIcon={Heart}
          tagAnimation="slide-up"
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground={false}
          testimonials={[
            {
              id: "1",              name: "Sarah Johnson",              role: "Bride",              company: "Manhattan Wedding",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/casual-smile-street-style-background-spring_1139-777.jpg?_wi=1",              imageAlt: "Sarah Johnson"},
            {
              id: "2",              name: "Michael Chen",              role: "Event Planner",              company: "NYC Events",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/happy-businessman-smiling-camera_1163-4660.jpg?_wi=1",              imageAlt: "Michael Chen"},
            {
              id: "3",              name: "Emma Rodriguez",              role: "Corporate Client",              company: "Finance Firm",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/casual-smile-street-style-background-spring_1139-777.jpg?_wi=2",              imageAlt: "Emma Rodriguez"},
            {
              id: "4",              name: "David Kim",              role: "Restaurant Owner",              company: "Chelsea Venue",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/happy-businessman-smiling-camera_1163-4660.jpg?_wi=2",              imageAlt: "David Kim"},
          ]}
          kpiItems={[
            { value: "5,000+", label: "Happy Customers" },
            { value: "98%", label: "Satisfaction Rate" },
            { value: "20+", label: "Years Experience" },
          ]}
          ariaLabel="Testimonials section"
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqSplitMedia
          title="Frequently Asked Questions"
          description="Find answers to common questions about our floral arrangements and services."
          tag="Help"
          tagIcon={HelpCircle}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          imageSrc="http://img.b2bpic.net/free-photo/side-view-flowers-florist-process-making-bouquet_176420-16672.jpg"
          imageAlt="Flower care guide"
          mediaAnimation="slide-up"
          mediaPosition="left"
          faqsAnimation="slide-up"
          faqs={[
            {
              id: "1",              title: "How long do your flowers last?",              content: "Our fresh flowers typically last 7-14 days when properly cared for. We include detailed care instructions with every arrangement to maximize the lifespan of your bouquet."},
            {
              id: "2",              title: "Do you offer same-day delivery?",              content: "Yes! We offer same-day delivery throughout Manhattan for orders placed before 3 PM. Orders after 3 PM can be scheduled for the next available delivery time."},
            {
              id: "3",              title: "Can I customize my arrangement?",              content: "Absolutely! Our florists specialize in custom designs. Contact us to discuss your vision, color preferences, and budget. We'll create a unique arrangement just for you."},
            {
              id: "4",              title: "What payment methods do you accept?",              content: "We accept all major credit cards, digital payments, and bank transfers. We also offer flexible payment options for large orders and corporate accounts."},
            {
              id: "5",              title: "Are you available for corporate events?",              content: "Yes, we provide corporate floral services including event arrangements, office installations, and ongoing maintenance. Contact our corporate team for a quote."},
            {
              id: "6",              title: "What is your refund policy?",              content: "We guarantee satisfaction with every arrangement. If there's any issue with your flowers, contact us within 24 hours and we'll make it right."},
          ]}
          ariaLabel="FAQ section"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCTA
          tag="Ready to Order?"
          tagIcon={Flower2}
          tagAnimation="slide-up"
          title="Let's Create Your Perfect Arrangement"
          description="Contact Chelsea Florist today to place your order or discuss a custom design. Our team is ready to help make your celebration unforgettable."
          buttons={[
            { text: "Call Now", href: "tel:+12125551234" },
            { text: "Email Us", href: "mailto:info@chelseafloristnyc.com" },
          ]}
          buttonAnimation="slide-up"
          background={{ variant: "plain" }}
          useInvertedBackground={false}
          ariaLabel="Contact section"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBase
          logoText="Chelsea Florist"
          copyrightText="© 2025 Chelsea Florist NYC. All rights reserved."
          columns={[
            {
              title: "Quick Links",              items: [
                { label: "About Us", href: "#about" },
                { label: "Products", href: "#products" },
                { label: "Services", href: "#features" },
                { label: "Contact", href: "#contact" },
              ],
            },
            {
              title: "Services",              items: [
                { label: "Wedding Flowers", href: "#products" },
                { label: "Event Arrangements", href: "#features" },
                { label: "Same-Day Delivery", href: "#features" },
                { label: "Custom Design", href: "#features" },
              ],
            },
            {
              title: "Contact",              items: [
                { label: "Phone: (212) 555-1234", href: "tel:+12125551234" },
                { label: "Email: info@chelseafloristnyc.com", href: "mailto:info@chelseafloristnyc.com" },
                { label: "123 Chelsea Avenue, NYC", href: "https://maps.google.com/?q=123+Chelsea+Avenue+New+York" },
                { label: "Hours: Mon-Fri 9AM-6PM", href: "#" },
              ],
            },
          ]}
          ariaLabel="Site footer"
        />
      </div>
    </ThemeProvider>
  );
}
