"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import HeroBillboardScroll from '@/components/sections/hero/HeroBillboardScroll';
import ProductCardFour from '@/components/sections/product/ProductCardFour';
import SplitAbout from '@/components/sections/about/SplitAbout';
import FeatureCardTwentySix from '@/components/sections/feature/FeatureCardTwentySix';
import TestimonialCardTen from '@/components/sections/testimonial/TestimonialCardTen';
import PricingCardNine from '@/components/sections/pricing/PricingCardNine';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FooterCard from '@/components/sections/footer/FooterCard';
import { Sparkles, Flower2, Leaf, Palette, Zap, Heart, ArrowRight, Mail, Instagram, Facebook, MapPin } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="mediumLarge"
      sizing="largeSmallSizeMediumTitles"
      background="aurora"
      cardStyle="glass-elevated"
      primaryButtonStyle="diagonal-gradient"
      secondaryButtonStyle="glass"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          navItems={[
            { name: "Home", id: "home" },
            { name: "Products", id: "products" },
            { name: "About", id: "about" },
            { name: "Testimonials", id: "testimonials" },
            { name: "Contact", id: "contact" }
          ]}
          brandName="Best Day"
          bottomLeftText="Fresh Flowers Daily"
          bottomRightText="hello@bestday.com"
        />
      </div>
      
      <div id="hero" data-section="hero">
        <HeroBillboardScroll
          title="Celebrate Every Moment with Fresh Blooms"
          description="Handcrafted floral arrangements for every occasion. From elegant roses to vibrant sunflowers, discover nature's beauty delivered to your door."
          tag="Premium Florals"
          tagIcon={Sparkles}
          background={{ variant: "rotated-rays-animated-grid" }}
          imageSrc="https://img.b2bpic.net/free-photo/delicate-bouquet-spring-flowers-vase-windowsill_169016-28349.jpg"
          imageAlt="Beautiful fresh flower arrangement"
          buttons={[
            { text: "Shop Now", href: "products" },
            { text: "Learn More", href: "about" }
          ]}
        />
      </div>
      
      <div id="products" data-section="products">
        <ProductCardFour
          title="Featured Flowers"
          description="Our best-selling arrangements, crafted with care and delivered fresh."
          tag="Bestsellers"
          tagIcon={Flower2}
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          products={[
            {
              id: "roses",              name: "Classic Red Roses",              price: "$59.99",              variant: "Dozen Premium Red",              imageSrc: "https://img.b2bpic.net/free-photo/floral-decor-woman-holding-bouquet-anthurium_140725-10842.jpg",              imageAlt: "Dozen premium red roses"
            },
            {
              id: "tulips",              name: "Spring Tulip Mix",              price: "$49.99",              variant: "Mixed Colors  Assorted",              imageSrc: "https://img.b2bpic.net/free-photo/valentines-day-womens-mothers-day-red-rose-with-ribbon-heart-gift-surprise_114579-449.jpg",              imageAlt: "Colorful spring tulip arrangement"
            },
            {
              id: "sunflowers",              name: "Sunshine Sunflowers",              price: "$45.99",              variant: "Bright Yellow  6 Stems",              imageSrc: "https://img.b2bpic.net/free-photo/valentines-day-womens-mothers-day-red-rose-gift-surprise-dark_114579-445.jpg",              imageAlt: "Bright yellow sunflowers"
            },
            {
              id: "orchids",              name: "Exotic Orchid Garden",              price: "$79.99",              variant: "Premium Mix  Luxury",              imageSrc: "https://img.b2bpic.net/free-photo/valentines-day-womens-mothers-day-red-rose-gift-surprise-dark_114579-446.jpg",              imageAlt: "Exotic orchid garden arrangement"
            }
          ]}
        />
      </div>
      
      <div id="about" data-section="about">
        <SplitAbout
          title="About Best Day Flowers"
          description="We believe every moment deserves beautiful flowers. Since 2010, Best Day has been crafting stunning arrangements for life's most special moments."
          tag="Our Story"
          imagePosition="right"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          imageSrc="https://img.b2bpic.net/free-photo/flowers-floral-shop-different-types_1303-15615.jpg"
          imageAlt="Best Day Flowers boutique shop"
          bulletPoints={[
            {
              title: "Fresh Quality",              description: "We source flowers daily from premium growers worldwide",              icon: Leaf
            },
            {
              title: "Expert Design",              description: "Our florists combine artistry with passion in every arrangement",              icon: Palette
            },
            {
              title: "Fast Delivery",              description: "Same-day delivery available within our service area",              icon: Zap
            },
            {
              title: "Customer Care",              description: "Your satisfaction is our guarantee. Always 100% fresh.",              icon: Heart
            }
          ]}
          buttons={[
            { text: "Explore More", href: "products" }
          ]}
        />
      </div>
      
      <div id="features" data-section="features">
        <FeatureCardTwentySix
          title="Why Choose Best Day"
          description="Experience the difference quality and care make."
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          features={[
            {
              title: "Artisan Crafted",              description: "Each arrangement is individually designed by our skilled florists",              imageSrc: "https://img.b2bpic.net/free-photo/delicate-bouquet-spring-flowers-vase-windowsill_169016-28349.jpg",              imageAlt: "Artisan flower arrangement",              buttonIcon: ArrowRight
            },
            {
              title: "Premium Freshness",              description: "Flowers sourced daily and prepared for maximum longevity",              imageSrc: "https://img.b2bpic.net/free-photo/floral-decor-woman-holding-bouquet-anthurium_140725-10842.jpg",              imageAlt: "Fresh premium flowers",              buttonIcon: ArrowRight
            },
            {
              title: "Eco-Friendly",              description: "Sustainable packaging and responsible sourcing practices",              imageSrc: "https://img.b2bpic.net/free-photo/valentines-day-womens-mothers-day-red-rose-with-ribbon-heart-gift-surprise_114579-449.jpg",              imageAlt: "Eco-friendly flower arrangement",              buttonIcon: ArrowRight
            },
            {
              title: "Special Occasions",              description: "Custom designs for weddings, events, and celebrations",              imageSrc: "https://img.b2bpic.net/free-photo/vertical-closeup-shot-beautiful-wedding-bouquet-with-gorgeous-white-roses_181624-15923.jpg",              imageAlt: "Wedding flower arrangement",              buttonIcon: ArrowRight
            },
            {
              title: "Same-Day Delivery",              description: "Order before 2 PM for same-day delivery in local areas",              imageSrc: "https://img.b2bpic.net/free-photo/valentines-day-womens-mothers-day-red-rose-gift-surprise-dark_114579-445.jpg",              imageAlt: "Fast flower delivery",              buttonIcon: ArrowRight
            },
            {
              title: "Lifetime Freshness",              description: "Complimentary care guide included with every arrangement",              imageSrc: "https://img.b2bpic.net/free-photo/valentines-day-womens-mothers-day-red-rose-gift-surprise-dark_114579-446.jpg",              imageAlt: "Flower care and freshness",              buttonIcon: ArrowRight
            }
          ]}
        />
      </div>
      
      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTen
          title="Loved by Our Customers"
          description="See what our happy customers have to say about Best Day Flowers."
          textboxLayout="default"
          useInvertedBackground="noInvert"
          testimonials={[
            {
              id: "1",              title: "Perfect for our wedding day",              quote: "Best Day created the most stunning bridal bouquet and centerpieces. The florists understood our vision perfectly and executed it beautifully. Our guests are still talking about the flowers!",              name: "Sarah Johnson",              role: "Wedding Bride",              imageSrc: "https://img.b2bpic.net/free-photo/portrait-young-woman_23-2148574874.jpg",              imageAlt: "Sarah Johnson"
            },
            {
              id: "2",              title: "Best flowers in town",              quote: "I've ordered from Best Day dozens of times. The quality is consistently exceptional, and their same-day delivery is a lifesaver. Highly recommend!",              name: "Michael Chen",              role: "Regular Customer",              imageSrc: "https://img.b2bpic.net/free-photo/caucasion-woman-casual-confident-concept_53876-137678.jpg",              imageAlt: "Michael Chen"
            },
            {
              id: "3",              title: "Made my mom's birthday special",              quote: "The arrangement I sent to my mother was breathtaking. She called me crying because she was so happy. Thank you, Best Day!",              name: "Emily Rodriguez",              role: "Grateful Daughter",              imageSrc: "https://img.b2bpic.net/free-photo/positive-blond-girl-shows-tongue-winks-camera-makes-happy-funny-face-stands-against-white-background_176420-46979.jpg",              imageAlt: "Emily Rodriguez"
            },
            {
              id: "4",              title: "Customer service is amazing",              quote: "When I had an issue with my first order, Best Day went above and beyond to make it right. That's when I knew I found my florist for life.",              name: "David Park",              role: "Loyal Customer",              imageSrc: "https://img.b2bpic.net/free-photo/beautiful-woman-cafe_273609-12690.jpg",              imageAlt: "David Park"
            }
          ]}
        />
      </div>
      
      <div id="occasions" data-section="occasions">
        <PricingCardNine
          title="Perfect for Every Occasion"
          description="Beautiful arrangements designed specifically for life's special moments."
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          animationType="slide-up"
          plans={[
            {
              id: "wedding",              title: "Wedding Flowers",              price: "Starting at",              period: "$300",              imageSrc: "https://img.b2bpic.net/free-photo/vertical-closeup-shot-beautiful-wedding-bouquet-with-gorgeous-white-roses_181624-15923.jpg",              imageAlt: "Wedding flower arrangement",              button: {
                text: "Inquire Now",                href: "contact"
              },
              features: [
                "Custom bridal bouquet",                "Reception centerpieces",                "Ceremony arrangements",                "Ceremony floral arch",                "Boutonnières & corsages"
              ]
            },
            {
              id: "birthday",              title: "Birthday Celebration",              price: "Starting at",              period: "$45",              imageSrc: "https://img.b2bpic.net/free-photo/closeup-shot-beautiful-wedding-bouquet-with-gorgeous-white-roses_181624-27325.jpg",              imageAlt: "Birthday flower arrangement",              button: {
                text: "Order Now",                href: "products"
              },
              features: [
                "Vibrant colorful mix",                "Fresh seasonal blooms",                "Same-day delivery",                "Personalized message card",                "Care instructions included"
              ]
            }
          ]}
        />
      </div>
      
      <div id="contact" data-section="contact">
        <ContactCenter
          tag="Newsletter"
          title="Stay Updated with Special Offers"
          description="Join our community and receive exclusive deals, seasonal arrangements, and flower care tips delivered to your inbox."
          tagIcon={Mail}
          background={{ variant: "rotated-rays-animated" }}
          useInvertedBackground="noInvert"
          inputPlaceholder="Enter your email address"
          buttonText="Subscribe"
          termsText="We respect your privacy. Unsubscribe anytime. Special offers delivered monthly."
        />
      </div>
      
      <div id="footer" data-section="footer">
        <FooterCard
          logoText="Best Day"
          copyrightText="© 2025 Best Day Flowers. Handcrafted with love. All rights reserved."
          socialLinks={[
            {
              icon: Instagram,
              href: "https://instagram.com/bestdayflowers",              ariaLabel: "Instagram"
            },
            {
              icon: Facebook,
              href: "https://facebook.com/bestdayflowers",              ariaLabel: "Facebook"
            },
            {
              icon: MapPin,
              href: "https://maps.google.com",              ariaLabel: "Location"
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}