"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import HeroSplitDualMedia from '@/components/sections/hero/HeroSplitDualMedia';
import InlineImageSplitTextAbout from '@/components/sections/about/InlineImageSplitTextAbout';
import FeatureCardTwentyTwo from '@/components/sections/feature/FeatureCardTwentyTwo';
import ProductCardFour from '@/components/sections/product/ProductCardFour';
import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import ContactText from '@/components/sections/contact/ContactText';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import { Sparkles } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="icon-arrow"
      defaultTextAnimation="reveal-blur"
      borderRadius="soft"
      contentWidth="small"
      sizing="mediumLargeSizeLargeTitles"
      background="noise"
      cardStyle="glass-depth"
      primaryButtonStyle="diagonal-gradient"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          brandName="Anaconda"
          navItems={[
            { name: "About", id: "about" },
            { name: "Collections", id: "collections" },
            { name: "Services", id: "services" },
            { name: "Testimonials", id: "testimonials" },
            { name: "Contact", id: "contact" }
          ]}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplitDualMedia
          title="Exquisite Floral Artistry for Every Occasion"
          description="At Anaconda, we craft stunning flower arrangements that tell your story. From weddings to events, celebrations to remembrance—every bloom is carefully selected and arranged with love and expertise."
          tag="Premium Florist"
          tagIcon={Sparkles}
          background={{ variant: "plain" }}
          mediaItems={[
            {
              imageSrc: "http://img.b2bpic.net/free-photo/pink-roses-with-green-stems_23-2147761211.jpg?_wi=1",              imageAlt: "Beautiful floral bouquet arrangement"
            },
            {
              imageSrc: "http://img.b2bpic.net/free-photo/close-up-purple-flower-with-yellow-center_91008-592.jpg",              imageAlt: "Close-up of flower arrangement details"
            }
          ]}
          rating={5}
          ratingText="Trusted by 500+ Happy Couples"
          buttons={[
            { text: "View Our Collections", href: "#collections" },
            { text: "Book Consultation", href: "#contact" }
          ]}
          mediaAnimation="slide-up"
          tagAnimation="slide-up"
          buttonAnimation="slide-up"
        />
      </div>

      <div id="about" data-section="about">
        <InlineImageSplitTextAbout
          heading={[
            { type: "text", content: "Crafting floral dreams since 2010" }
          ]}
          useInvertedBackground={false}
          buttons={[
            { text: "Our Story", href: "#about" }
          ]}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="collections" data-section="collections">
        <FeatureCardTwentyTwo
          title="Our Signature Collections"
          description="Discover our most beloved floral arrangements, each designed with passion and precision for your special moments."
          tag="Featured Arrangements"
          features={[
            {
              id: "1",              title: "Romantic Rose Garden",              category: ["Weddings", "Anniversaries", "Romance"],
              imageSrc: "http://img.b2bpic.net/free-photo/beatiful-wedding-details_1328-5326.jpg?_wi=1"
            },
            {
              id: "2",              title: "Elegant Event Centerpieces",              category: ["Corporate", "Galas", "Celebrations"],
              imageSrc: "http://img.b2bpic.net/free-photo/beautiful-bouquet-with-roses-wedding-ceremony_181624-39429.jpg?_wi=1"
            },
            {
              id: "3",              title: "Serene Memorial Tributes",              category: ["Sympathy", "Memorial", "Remembrance"],
              imageSrc: "http://img.b2bpic.net/free-photo/top-view-flowers-bouquet_23-2148455224.jpg?_wi=1"
            },
            {
              id: "4",              title: "Seasonal Bouquets",              category: ["Seasonal", "Fresh", "Weekly"],
              imageSrc: "http://img.b2bpic.net/free-photo/pink-roses-with-green-stems_23-2147761211.jpg?_wi=2"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="services" data-section="services">
        <ProductCardFour
          title="Our Services"
          description="Beyond arrangements—we offer complete floral solutions tailored to your vision and timeline."
          tag="What We Offer"
          products={[
            {
              id: "service-1",              name: "Wedding Flowers",              variant: "Complete bridal packages",              price: "Custom Quote",              imageSrc: "http://img.b2bpic.net/free-photo/beatiful-wedding-details_1328-5326.jpg?_wi=2"
            },
            {
              id: "service-2",              name: "Event Styling",              variant: "Florals for any celebration",              price: "Starting $200",              imageSrc: "http://img.b2bpic.net/free-photo/beautiful-bouquet-with-roses-wedding-ceremony_181624-39429.jpg?_wi=2"
            },
            {
              id: "service-3",              name: "Subscription Blooms",              variant: "Fresh flowers delivered weekly",              price: "$35/week",              imageSrc: "http://img.b2bpic.net/free-photo/top-view-flowers-bouquet_23-2148455224.jpg?_wi=2"
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFifteen
          testimonial="Anaconda made our wedding day absolutely magical. The floral arrangements were breathtaking, and the team's attention to detail was impeccable. Every guest commented on the flowers!"
          rating={5}
          author="Sarah Mitchell, Bride"
          avatars={[
            {
              src: "http://img.b2bpic.net/free-photo/positive-confident-businesswoman-wearing-formal-suit-standing-with-arms-folded_74855-10328.jpg",              alt: "Sarah Mitchell"
            },
            {
              src: "http://img.b2bpic.net/free-photo/positive-confident-businesswoman-wearing-formal-suit-standing-with-arms-folded_74855-10328.jpg",              alt: "James Wilson"
            },
            {
              src: "http://img.b2bpic.net/free-photo/positive-confident-businesswoman-wearing-formal-suit-standing-with-arms-folded_74855-10328.jpg",              alt: "Emily Rodriguez"
            },
            {
              src: "http://img.b2bpic.net/free-photo/positive-confident-businesswoman-wearing-formal-suit-standing-with-arms-folded_74855-10328.jpg",              alt: "Jessica Chen"
            },
            {
              src: "http://img.b2bpic.net/free-photo/positive-confident-businesswoman-wearing-formal-suit-standing-with-arms-folded_74855-10328.jpg",              alt: "Amanda Brooks"
            },
            {
              src: "http://img.b2bpic.net/free-photo/positive-confident-businesswoman-wearing-formal-suit-standing-with-arms-folded_74855-10328.jpg",              alt: "Laura Thompson"
            }
          ]}
          useInvertedBackground={false}
          ratingAnimation="slide-up"
          avatarsAnimation="slide-up"
        />
      </div>

      <div id="socialproof" data-section="socialproof">
        <SocialProofOne
          title="Trusted by Leading Brands"
          description="From luxury hotels to premium event venues, Anaconda is the florist choice of discerning clients."
          tag="Partnerships"
          textboxLayout="default"
          useInvertedBackground={false}
          names={[
            "The Grand Ballroom",            "Luxury Weddings Inc",            "Prestige Events Co",            "Elegant Venues",            "Premium Hotel Group",            "Dream Celebrations",            "Exclusive Events"
          ]}
          speed={40}
          showCard={true}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactText
          text="Ready to bring your floral vision to life? Let's create something beautiful together. Contact us today for a personalized consultation."
          animationType="reveal-blur"
          background={{ variant: "plain" }}
          useInvertedBackground={false}
          buttons={[
            { text: "Get in Touch", href: "mailto:hello@anaconda-flowers.com" },
            { text: "Call Us", href: "tel:+1-555-0123" }
          ]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterMedia
          imageSrc="http://img.b2bpic.net/free-photo/beautiful-colorful-flower-background_1150-8185.jpg"
          imageAlt="Beautiful flower field landscape"
          logoText="Anaconda Flowers"
          copyrightText="© 2024 Anaconda Flowers Studio. All rights reserved."
          columns={[
            {
              title: "Company",              items: [
                { label: "About Us", href: "#about" },
                { label: "Our Collections", href: "#collections" },
                { label: "Services", href: "#services" }
              ]
            },
            {
              title: "Connect",              items: [
                { label: "Contact", href: "#contact" },
                { label: "Instagram", href: "https://instagram.com" },
                { label: "Email", href: "mailto:hello@anaconda-flowers.com" }
              ]
            },
            {
              title: "Legal",              items: [
                { label: "Privacy Policy", href: "#" },
                { label: "Terms of Service", href: "#" },
                { label: "Return Policy", href: "#" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}