"use client";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import HeroBillboardGallery from '@/components/sections/hero/HeroBillboardGallery';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import TextSplitAbout from '@/components/sections/about/TextSplitAbout';
import FeatureCardTwentyFour from '@/components/sections/feature/FeatureCardTwentyFour';
import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive';
import ContactText from '@/components/sections/contact/ContactText';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import Link from "next/link";
import { Sparkles, Zap, Heart, Star } from "lucide-react";

export default function HomePage() {
  return (
    <ThemeProvider
      defaultButtonVariant="icon-arrow"
      defaultTextAnimation="entrance-slide"
      borderRadius="sharp"
      contentWidth="compact"
      sizing="largeSmallSizeMediumTitles"
      background="aurora"
      cardStyle="gradient-bordered"
      primaryButtonStyle="diagonal-gradient"
      secondaryButtonStyle="glass"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen 
          navItems={[
            { name: "Home", id: "/" },
            { name: "Shop", id: "/shop" },
            { name: "About", id: "/about" },
            { name: "Services", id: "/services" },
            { name: "Contact", id: "/contact" }
          ]}
          brandName="Flamingo"
          bottomLeftText="Celebrating the beauty of flowers"
          bottomRightText="hello@flamingo.flowers"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardGallery
          title="Welcome to Flamingo Flowers"
          description="Discover exquisite floral arrangements that bring joy and beauty to every occasion. From elegant weddings to cheerful celebrations, we craft moments with flowers."
          tag="Premium Florals"
          tagIcon={Sparkles}
          background={{ variant: "radial-gradient" }}
          mediaItems={[
            {
              imageSrc: "https://img.b2bpic.net/free-photo/floral-decor-woman-holding-bouquet-anthurium_140725-10842.jpg",
              imageAlt: "Premium red rose arrangement"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/valentines-day-womens-mothers-day-red-rose-with-ribbon-heart-gift-surprise_114579-449.jpg",
              imageAlt: "Bright sunflower bouquet"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/valentines-day-womens-mothers-day-red-rose-with-ribbon-gift-surprise_114579-427.jpg",
              imageAlt: "Colorful tulip arrangement"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/top-view-beautiful-red-roses-marble_114579-85918.jpg",
              imageAlt: "Elegant orchid display"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/valentines-day-womens-mothers-day-red-rose-gift-surprise-dark_114579-445.jpg",
              imageAlt: "Seasonal mixed flower arrangement"
            }
          ]}
          buttons={[
            { text: "Shop Now", href: "/shop" },
            { text: "Learn More", href: "/about" }
          ]}
        />
      </div>

      <div id="featured" data-section="featured">
        <ProductCardThree
          title="Featured Arrangements"
          description="Hand-crafted by our expert florists, each arrangement is a masterpiece of color and elegance."
          tag="New Collection"
          tagIcon={Zap}
          products={[
            {
              id: "1",
              name: "Sunset Elegance Rose Bundle",
              price: "$89.99",
              imageSrc: "https://img.b2bpic.net/free-photo/flat-lay-beautifully-bloomed-colorful-rose-flowers_23-2149005547.jpg",
              imageAlt: "Sunset elegance rose arrangement",
              initialQuantity: 1
            },
            {
              id: "2",
              name: "Garden Paradise Mixed Flowers",
              price: "$74.99",
              imageSrc: "https://img.b2bpic.net/free-photo/close-up-pretty-bouquet-red-orange-roses_23-2148387986.jpg",
              imageAlt: "Garden paradise mixed flower bouquet",
              initialQuantity: 1
            },
            {
              id: "3",
              name: "Tropical Vibrant Arrangement",
              price: "$95.99",
              imageSrc: "https://img.b2bpic.net/free-photo/bouquet-fresh-roses-glass-vase-close-up_169016-8804.jpg",
              imageAlt: "Tropical vibrant flower arrangement",
              initialQuantity: 1
            },
            {
              id: "4",
              name: "Peony Dream Collection",
              price: "$84.99",
              imageSrc: "https://img.b2bpic.net/free-photo/patterns-beautiful-rose_23-2147835704.jpg",
              imageAlt: "Peony dream flower collection",
              initialQuantity: 1
            }
          ]}
          gridVariant="four-items-2x2-equal-grid"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="about" data-section="about">
        <TextSplitAbout
          title="About Flamingo"
          description={[
            "Flamingo Flower Store is a family-owned floral design studio dedicated to creating beautiful, meaningful arrangements for every occasion. With over 15 years of experience, our expert florists combine artistry with premium quality flowers sourced from local and international growers.",
            "We believe every flower tells a story. Whether it's a romantic gesture, a celebration of life, or a moment of sympathy, we craft arrangements that express emotions and create lasting memories. Our commitment to sustainability and customer satisfaction sets us apart.",
            "At Flamingo, we don't just sell flowers—we deliver joy, celebrate connections, and bring beauty into people's lives every single day."
          ]}
          showBorder={true}
          useInvertedBackground="noInvert"
          buttons={[
            { text: "Our Story", href: "/about" },
            { text: "Contact Us", href: "/contact" }
          ]}
        />
      </div>

      <div id="services" data-section="services">
        <FeatureCardTwentyFour
          title="Our Floral Services"
          description="Comprehensive floral solutions for every celebration and moment"
          tag="Premium Service"
          tagIcon={Heart}
          features={[
            {
              id: "1",
              title: "Wedding & Event Florals",
              author: "Flamingo Design Team",
              description: "Custom floral installations, bridal bouquets, centerpieces, and venue decorations. Our experienced team brings your vision to life with stunning arrangements and impeccable attention to detail.",
              tags: ["Weddings", "Events", "Custom"],
              imageSrc: "https://img.b2bpic.net/free-photo/shallow-focus-shot-bride-wedding-dress-holding-flower-bouquet_181624-20893.jpg"
            },
            {
              id: "2",
              title: "Corporate Arrangements",
              author: "Business Solutions",
              description: "Fresh flower deliveries for offices, conferences, and corporate events. We provide reliable weekly or monthly subscriptions with seasonal arrangements tailored to your space.",
              tags: ["Corporate", "Subscriptions", "Professional"],
              imageSrc: "https://img.b2bpic.net/free-photo/bride-holding-wedding-bouquet_23-2148105903.jpg"
            },
            {
              id: "3",
              title: "Same-Day Delivery",
              author: "Fast Fulfillment",
              description: "Need flowers today? Our same-day delivery service ensures your arrangements arrive fresh and beautiful. Available for orders placed before 2 PM in our service area.",
              tags: ["Express", "Reliable", "Available"],
              imageSrc: "https://img.b2bpic.net/free-photo/bride-holds-lush-bouquet-with-delicate-flowers-colors_8353-11436.jpg"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFive
          title="What Our Customers Love"
          description="Real stories from people who've experienced the magic of Flamingo flowers"
          tag="Customer Reviews"
          tagIcon={Star}
          testimonials={[
            {
              id: "1",
              name: "Sarah Mitchell, Event Planner",
              date: "Date: 15 January 2025",
              title: "Absolutely transformed our wedding day!",
              quote: "The team at Flamingo created the most breathtaking floral arrangements for our wedding. Every detail was perfect, from the bridal bouquet to the ceremony arch. They listened to our vision and executed it flawlessly. Our guests couldn't stop talking about the flowers!",
              tag: "Wedding",
              avatarSrc: "https://img.b2bpic.net/free-photo/front-view-business-woman-suit_23-2148603018.jpg",
              imageSrc: "https://img.b2bpic.net/free-photo/blooming-flowers-table-garden_1304-4038.jpg"
            },
            {
              id: "2",
              name: "James Chen, Business Owner",
              date: "Date: 08 January 2025",
              title: "Our office looks vibrant every week",
              quote: "We subscribed to Flamingo's corporate arrangement service and it's been fantastic. Fresh flowers arrive weekly, the arrangements are stunning, and the team is incredibly responsive. It really elevates our office environment.",
              tag: "Corporate",
              avatarSrc: "https://img.b2bpic.net/free-photo/front-view-professional-business-woman-suit_23-2148603020.jpg",
              imageSrc: "https://img.b2bpic.net/free-photo/row-bouquets-decorating-table_1304-4047.jpg"
            },
            {
              id: "3",
              name: "Emma Rodriguez, Florist Enthusiast",
              date: "Date: 02 January 2025",
              title: "Quality flowers and incredible service",
              quote: "I've ordered from Flamingo multiple times and they never disappoint. The flowers are incredibly fresh, the arrangements are creative and beautiful, and their customer service is top-notch. Highly recommend!",
              tag: "Regular Customer",
              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/beautiful-bouquet-with-roses-wedding-ceremony_181624-39429.jpg"
            },
            {
              id: "4",
              name: "David Park, Corporate Manager",
              date: "Date: 28 December 2024",
              title: "Same-day delivery saved the event",
              quote: "We needed flowers for a last-minute client dinner and Flamingo came through with same-day delivery. The arrangements were gorgeous and arrived on time. They're now our go-to for urgent floral needs.",
              tag: "Express Service",
              avatarSrc: "https://img.b2bpic.net/free-photo/portrait-young-entrepreneur-woman_23-2148898746.jpg",
              imageSrc: "https://img.b2bpic.net/free-photo/wedding-table-decorations_1303-10510.jpg"
            },
            {
              id: "5",
              name: "Lisa Thompson, Wedding Coordinator",
              date: "Date: 22 December 2024",
              title: "Exceeded all expectations",
              quote: "Working with Flamingo on multiple events has been a dream. Their creativity, reliability, and passion for flowers shine through in every arrangement. They're true professionals who care about making events special.",
              tag: "Professional Partner",
              avatarSrc: "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",
              imageSrc: "https://img.b2bpic.net/free-photo/composition-flowers-stand-table_8353-10452.jpg"
            },
            {
              id: "6",
              name: "Michael Anderson, Client",
              date: "Date: 18 December 2024",
              title: "Perfect for every occasion",
              quote: "From anniversary flowers to corporate gifts, Flamingo has been my trusted choice. They always deliver quality, beauty, and punctuality. I've recommended them to all my friends and family.",
              tag: "Loyal Customer",
              avatarSrc: "https://img.b2bpic.net/free-photo/business-woman-banner-concept-with-copy-space_23-2149601457.jpg",
              imageSrc: "https://img.b2bpic.net/free-photo/floral-composition-made-eucalyptus-tender-pink-flowers-with-candles-outdoors_8353-10662.jpg"
            }
          ]}
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactText
          text="Ready to bring beauty and joy to your special moment? Get in touch with our floral experts today."
          animationType="entrance-slide"
          buttons={[
            { text: "Contact Us", href: "/contact" },
            { text: "Browse Gallery", href: "/shop" }
          ]}
          useInvertedBackground="invertDefault"
        />
      </div>

      <FooterBaseReveal
        columns={[
          {
            title: "Shop",
            items: [
              { label: "Bouquets", href: "/shop" },
              { label: "Arrangements", href: "/shop" },
              { label: "Gift Sets", href: "/shop" },
              { label: "Seasonal", href: "/shop" }
            ]
          },
          {
            title: "Services",
            items: [
              { label: "Weddings", href: "/services" },
              { label: "Corporate", href: "/services" },
              { label: "Same-Day Delivery", href: "/services" },
              { label: "Custom Orders", href: "/contact" }
            ]
          },
          {
            title: "Company",
            items: [
              { label: "About Us", href: "/about" },
              { label: "Contact", href: "/contact" },
              { label: "Privacy Policy", href: "https://example.com/privacy" },
              { label: "Terms of Service", href: "https://example.com/terms" }
            ]
          }
        ]}
        copyrightText="© 2025 Flamingo Flower Store | Celebrating the beauty of flowers since 2010"
      />
    </ThemeProvider>
  );
}