"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import HeroLogoBillboardSplit from '@/components/sections/hero/HeroLogoBillboardSplit';
import ProductCardFour from '@/components/sections/product/ProductCardFour';
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
import FeatureBento from '@/components/sections/feature/FeatureBento';
import TestimonialCardThirteen from '@/components/sections/testimonial/TestimonialCardThirteen';
import ContactCTA from '@/components/sections/contact/ContactCTA';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import { Award, Flower, Flower2, Star } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="elastic-effect"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="mediumLarge"
      sizing="large"
      background="none"
      cardStyle="gradient-bordered"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="glass"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          brandName="Ollupa"
          navItems={[
            { name: "Featured", id: "products" },
            { name: "About", id: "about" },
            { name: "Testimonials", id: "testimonials" },
            { name: "Contact", id: "contact" },
            { name: "Shop", id: "https://shop.ollupa.com" }
          ]}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroLogoBillboardSplit
          logoText="OLLUPA"
          description="Discover the finest floral arrangements crafted with passion and precision. From elegant roses to vibrant seasonal blooms, we bring nature's beauty to your special moments."
          background={{ variant: "radial-gradient" }}
          buttons={[
            { text: "Shop Now", href: "#products" },
            { text: "Learn More", href: "#about" }
          ]}
          layoutOrder="default"
          imageSrc="https://img.b2bpic.net/free-photo/exotic-rustic-bunch-flowers-mixed-colors_114579-1969.jpg"
          imageAlt="Beautiful floral arrangement with fresh flowers"
          frameStyle="card"
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardFour
          products={[
            {
              id: "1",              name: "Romantic Red Rose Bouquet",              price: "$85.00",              variant: "Red • Premium Quality • 12 Stems",              imageSrc: "https://img.b2bpic.net/free-photo/valentines-day-womens-mothers-day-red-rose-with-ribbon-heart-gift-surprise_114579-449.jpg",              imageAlt: "Red rose bouquet with elegant wrapping"
            },
            {
              id: "2",              name: "Spring Tulip Collection",              price: "$65.00",              variant: "Mixed Colors • Fresh Blooms • 15 Stems",              imageSrc: "https://img.b2bpic.net/free-photo/red-roses-inside-transparent-glass-vase-room_114579-2701.jpg",              imageAlt: "Colorful spring tulips arrangement"
            },
            {
              id: "3",              name: "Golden Sunflower Radiance",              price: "$75.00",              variant: "Yellow • Bright & Cheerful • 10 Stems",              imageSrc: "https://img.b2bpic.net/free-photo/side-view-bouquet-red-color-roses-flowers_140725-12105.jpg",              imageAlt: "Bright sunflowers in a beautiful arrangement"
            }
          ]}
          title="Featured Collections"
          description="Handpicked arrangements designed to make every occasion special. Each bouquet is crafted with fresh, premium flowers."
          tag="Popular"
          textboxLayout="default"
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          useInvertedBackground="noInvert"
          carouselMode="buttons"
        />
      </div>

      <div id="about" data-section="about">
        <TestimonialAboutCard
          tag="About Ollupa"
          title="Crafting Beauty Since 2015"
          description="Founded by passionate florists"
          subdescription="Serving our community with love and fresh flowers"
          icon={Flower2}
          imageSrc="https://img.b2bpic.net/free-photo/woman-florist-her-own-floral-shop-taking-care-flowers_1303-15620.jpg"
          imageAlt="Ollupa flower shop storefront"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="features" data-section="features">
        <FeatureBento
          title="Why Choose Ollupa"
          description="We deliver exceptional floral experiences through quality, creativity, and customer care."
          tag="Our Promise"
          features={[
            {
              title: "Fresh Every Day",              description: "Sourced daily from premium local and international growers",              bentoComponent: "globe"
            },
            {
              title: "Expert Arrangement",              description: "Our skilled florists create custom designs for any occasion",              bentoComponent: "icon-info-cards",              items: [
                { icon: Award, label: "Experience", value: "20+ Years" },
                { icon: Star, label: "Rating", value: "4.9/5" }
              ]
            },
            {
              title: "Fast Delivery",              description: "Same-day delivery available in metro areas",              bentoComponent: "animated-bar-chart"
            },
            {
              title: "Custom Designs",              description: "Work with us to create your perfect arrangement",              bentoComponent: "map"
            }
          ]}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
          carouselMode="buttons"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardThirteen
          title="What Our Customers Love"
          description="Hear from people who've made their moments special with Ollupa flowers."
          testimonials={[
            {
              id: "1",              name: "Sarah Mitchell",              handle: "@sarahmitchell",              testimonial: "The most beautiful arrangement for my wedding! Every detail was perfect. Highly recommended!",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/caucasion-woman-casual-confident-concept_53876-137678.jpg",              imageAlt: "Sarah Mitchell"
            },
            {
              id: "2",              name: "James Rodriguez",              handle: "@jamesrod",              testimonial: "Exceptional quality and the fastest delivery. Impressed my girlfriend on our anniversary!",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/portrait-young-woman_23-2148574874.jpg",              imageAlt: "James Rodriguez"
            },
            {
              id: "3",              name: "Emma Thompson",              handle: "@emmathompson",              testimonial: "The florists really understood my vision. They created something beyond my expectations.",              rating: 5,
              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: "Emma Thompson"
            },
            {
              id: "4",              name: "David Park",              handle: "@davidpark",              testimonial: "Fresh flowers, beautiful presentation, and amazing customer service. This is my go-to shop!",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/young-woman-smiling_176474-95672.jpg",              imageAlt: "David Park"
            }
          ]}
          showRating={true}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="noInvert"
          carouselMode="buttons"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCTA
          tag="Get In Touch"
          tagIcon={Flower}
          title="Ready to Brighten Someone's Day?"
          description="Order your perfect arrangement today or reach out for custom design consultations. Our team is here to help create your ideal floral experience."
          buttons={[
            { text: "Order Now", href: "#products" },
            { text: "Contact Us", href: "mailto:hello@ollupa.com" }
          ]}
          background={{ variant: "plain" }}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterMedia
          imageSrc="https://img.b2bpic.net/free-photo/summer-vegetation_23-2147685410.jpg"
          imageAlt="Beautiful flowers background"
          columns={[
            {
              title: "Shop",              items: [
                { label: "Bouquets", href: "#products" },
                { label: "Seasonal", href: "#" },
                { label: "Custom Orders", href: "#" }
              ]
            },
            {
              title: "Company",              items: [
                { label: "About Us", href: "#about" },
                { label: "Our Story", href: "#" },
                { label: "Careers", href: "#" }
              ]
            },
            {
              title: "Support",              items: [
                { label: "Contact", href: "mailto:hello@ollupa.com" },
                { label: "FAQ", href: "#" },
                { label: "Delivery Info", href: "#" }
              ]
            }
          ]}
          logoText="Ollupa"
          copyrightText="© 2025 Ollupa Flowers. All rights reserved."
        />
      </div>
    </ThemeProvider>
  );
}