"use client";

import Link from "next/link";
import NavbarStyleMinimal from '@/components/navbar/NavbarStyleMinimal';
import HeroBillboardScroll from '@/components/sections/hero/HeroBillboardScroll';
import TestimonialCardThirteen from '@/components/sections/testimonial/TestimonialCardThirteen';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import { ThemeProvider } from '@/components/ui/ThemeProvider';

export default function HomePage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="compact"
      sizing="largeSizeMediumTitles"
      background="aurora"
      cardStyle="gradient-mesh"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="layered"
      showBlurBottom={false}
    >
      <div id="nav" data-section="nav">
        <NavbarStyleMinimal
          brandName="Bloom & Petals"
          button={{
            text: "Shop Now",
            href: "/products"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardScroll
          title="Celebrate Every Moment with Fresh Flowers"
          description="Handcrafted floral arrangements delivered to your doorstep. From romantic roses to vibrant sunflowers, we bring nature's beauty directly to those you love."
          tag="Premium Florals"
          imageSrc="https://img.b2bpic.net/free-photo/high-angle-beautiful-boho-flowers_23-2149526052.jpg"
          imageAlt="Beautiful fresh flower arrangement"
          buttons={[
            { text: "Browse Collection", href: "/products" },
            { text: "Learn More", href: "/about" }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardThirteen
          title="Loved by Our Customers"
          description="Read what our happy customers have to say about their floral experiences."
          tag="Testimonials"
          textboxLayout="default"
          animationType="slide-up"
          showRating={true}
          testimonials={[
            {
              id: "1",
              name: "Sarah Johnson",
              handle: "@sarahjohns",
              testimonial: "The flowers arrived beautifully packaged and incredibly fresh. My wife loved them! Definitely ordering again.",
              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/arm-close-up-woman-with-shopping-bags_1098-2428.jpg"
            },
            {
              id: "2",
              name: "Michael Chen", 
              handle: "@mchen_photos",
              testimonial: "Best floral service I've used. Fast delivery, gorgeous arrangements, and excellent customer service.",
              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/portrait-woman-happy-after-shopping_23-2148660676.jpg"
            },
            {
              id: "3",
              name: "Emily Rodriguez",
              handle: "@emilyrodz", 
              testimonial: "Custom arrangement was exactly what I envisioned. The florist understood my vision perfectly.",
              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/girl-looking-away-medium-shot_23-2148225705.jpg"
            }
          ]}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterLogoEmphasis
          logoText="Bloom & Petals"
          columns={[
            {
              items: [
                { label: "Shop", href: "/products" },
                { label: "Arrangements", href: "#" },
                { label: "Custom Orders", href: "#" },
                { label: "Subscriptions", href: "#" }
              ]
            },
            {
              items: [
                { label: "About Us", href: "/about" },
                { label: "Our Team", href: "#" },
                { label: "Story", href: "#" },
                { label: "Blog", href: "#" }
              ]
            },
            {
              items: [
                { label: "Contact", href: "/contact" },
                { label: "Support", href: "#" },
                { label: "Delivery Info", href: "#" },
                { label: "FAQ", href: "#" }
              ]
            },
            {
              items: [
                { label: "Privacy", href: "#" },
                { label: "Terms", href: "#" },
                { label: "Sitemap", href: "#" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}