"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterCard from '@/components/sections/footer/FooterCard';
import HeroCentered from '@/components/sections/hero/HeroCentered';
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen';
import { Star } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="hover-bubble"
        defaultTextAnimation="reveal-blur"
        borderRadius="soft"
        contentWidth="mediumLarge"
        sizing="largeSmallSizeLargeTitles"
        background="blurBottom"
        cardStyle="gradient-bordered"
        primaryButtonStyle="flat"
        secondaryButtonStyle="radial-glow"
        headingFontWeight="bold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleCentered
      navItems={[
        { name: "Home", id: "hero" },
        { name: "Shop", id: "shop" },
        { name: "About", id: "about" },
        { name: "Reviews", id: "reviews" },
        { name: "Contact", id: "contact" },
        { name: "Admin", id: "/admin/dashboard" }
      ]}
      brandName="Florista de Tires"
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroCentered
      background={{ variant: "radial-gradient" }}
      title="Bringing Garden Magic to São Domingos de Rana"
      description="Handpicked, artisanal floral arrangements for your special moments. Discover the beauty of natural, seasonal blooms."
      avatars={[
        { src: "http://img.b2bpic.net/free-photo/blue-white-lavenders-light-pink-wooden-background_24837-622.jpg", alt: "Floral arrangement 1" },
        { src: "http://img.b2bpic.net/free-photo/vase-with-fresh-summer-flowers-female-hands-white-background_169016-34804.jpg", alt: "Floral arrangement 2" },
        { src: "http://img.b2bpic.net/free-photo/various-blooming-flowers-vases_23-2147761209.jpg", alt: "Floral arrangement 3" },
        { src: "http://img.b2bpic.net/free-photo/anonymous-florist-holding-bunch-flowers_23-2147761023.jpg", alt: "Floral arrangement 4" },
        { src: "http://img.b2bpic.net/free-photo/full-shot-woman-sitting-floor_23-2149591584.jpg", alt: "Floral arrangement 5" },
      ]}
      buttons={[{ text: "Shop Flowers", href: "#shop" }, { text: "Contact Us", href: "#contact" }]}
      buttonAnimation="slide-up"
      marqueeItems={[
        { type: "text", text: "Fresh Seasonal Blooms" },
        { type: "text", text: "Artisanal Bouquets" },
        { type: "text", text: "Local Garden Flowers" },
        { type: "text", text: "Expert Floristry" },
        { type: "text", text: "Same-Day Delivery" },
      ]}
    />
  </div>

  <div id="about" data-section="about">
      <TestimonialAboutCard
      useInvertedBackground={false}
      tag="About Ms. Ana"
      title="Passion in Every Petal"
      description="Welcome to Florista de Tires. I'm Ana, and I believe flowers have the power to tell stories and brighten lives. Every bouquet is crafted with care, inspired by the natural beauty of the garden."
      subdescription="With years of experience and a deep love for botany, I ensure only the freshest and most vibrant blooms make it into your hands."
      imageSrc="http://img.b2bpic.net/free-photo/woman-gardner-looking-after-plants-greenhouse_1303-14066.jpg"
      mediaAnimation="blur-reveal"
      icon={Star}
    />
  </div>

  <div id="shop" data-section="shop">
      <ProductCardThree
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={true}
      products={[
        { id: "1", name: "Spring Meadow Bouquet", price: "25€", imageSrc: "http://img.b2bpic.net/free-photo/vase-with-fresh-summer-flowers-female-hands-white-background_169016-34804.jpg" },
        { id: "2", name: "Sunset Garden Arrangement", price: "35€", imageSrc: "http://img.b2bpic.net/free-photo/various-blooming-flowers-vases_23-2147761209.jpg" },
        { id: "3", name: "Classic White Elegance", price: "30€", imageSrc: "http://img.b2bpic.net/free-photo/anonymous-florist-holding-bunch-flowers_23-2147761023.jpg" },
      ]}
      title="Our Arrangements"
      description="Browse our latest creations, crafted daily with seasonal wildflowers."
    />
  </div>

  <div id="reviews" data-section="reviews">
      <TestimonialCardFifteen
      useInvertedBackground={false}
      testimonial="Best service! Beautiful flowers and plenty of variety. Very friendly, professional, always ready to help."
      rating={5}
      author="Happy Customer"
      avatars={[
        { src: "http://img.b2bpic.net/free-photo/woman-gardner-looking-after-plants-greenhouse_1303-14066.jpg", alt: "Client 1" },
        { src: "http://img.b2bpic.net/free-photo/vase-with-fresh-summer-flowers-female-hands-white-background_169016-34804.jpg", alt: "Client 2" },
        { src: "http://img.b2bpic.net/free-photo/various-blooming-flowers-vases_23-2147761209.jpg", alt: "Client 3" },
        { src: "http://img.b2bpic.net/free-photo/anonymous-florist-holding-bunch-flowers_23-2147761023.jpg", alt: "Client 4" },
        { src: "http://img.b2bpic.net/free-photo/blue-white-lavenders-light-pink-wooden-background_24837-622.jpg", alt: "Client 5" },
      ]}
      ratingAnimation="blur-reveal"
      avatarsAnimation="blur-reveal"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactSplitForm
      useInvertedBackground={true}
      title="Get in Touch / Order"
      description="We are located at Praça Fernando Lopes Graça 25 B, 2785-625 São Domingos de Rana. Call us at +351 927 577 511. Delivery available!"
      inputs={[
        { name: "name", type: "text", placeholder: "Your Name" },
        { name: "email", type: "email", placeholder: "Your Email" },
      ]}
      textarea={{ name: "message", placeholder: "Tell us what you're looking for...", rows: 4 }}
      imageSrc="http://img.b2bpic.net/free-photo/full-shot-woman-sitting-floor_23-2149591584.jpg"
      mediaAnimation="slide-up"
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterCard
      logoText="Florista de Tires"
      copyrightText="© 2025 Florista de Tires. All rights reserved."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
