"use client";

import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import HeroLogo from '@/components/sections/hero/HeroLogo';
import AboutMetric from '@/components/sections/about/AboutMetric';
import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import { Flower2, Heart, Award, Globe } from 'lucide-react';

export default function HomePage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-shift"
      defaultTextAnimation="reveal-blur"
      borderRadius="rounded"
      contentWidth="mediumSmall"
      sizing="mediumLargeSizeMediumTitles"
      background="aurora"
      cardStyle="soft-shadow"
      primaryButtonStyle="shadow"
      secondaryButtonStyle="layered"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="Flowers Life"
          navItems={[
            { name: "Home", id: "/" },
            { name: "Services", id: "/services" },
            { name: "Gallery", id: "/gallery" },
            { name: "Contact", id: "/contact" }
          ]}
          button={{
            text: "Book Consultation",            href: "/contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroLogo
          logoText="Flowers Life"
          description="Celebrating nature's beauty through exquisite floral artistry and design"
          buttons={[
            { text: "Explore Services", href: "/services" },
            { text: "View Gallery", href: "/gallery" }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/beautiful-boho-flowers-assortment_23-2149526015.jpg"
          imageAlt="Beautiful floral arrangement background"
          showDimOverlay={true}
          logoLineHeight={1.2}
        />
      </div>

      <div id="about" data-section="about">
        <AboutMetric
          title="At Flowers Life, we believe every bloom tells a story and every arrangement transforms spaces into moments of beauty"
          useInvertedBackground="invertDefault"
          metrics={[
            { icon: Flower2, label: "Floral Designs Created", value: "2,500+" },
            { icon: Heart, label: "Happy Customers", value: "1,200+" },
            { icon: Award, label: "Years of Excellence", value: "15+" },
            { icon: Globe, label: "Events Celebrated", value: "800+" }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFifteen
          testimonial="Flowers Life transformed our wedding venue into a floral paradise. Every detail was perfect, and the quality was beyond our expectations. They truly understand the art of celebration through flowers."
          rating={5}
          author="Jessica & Michael Thompson"
          avatars={[
            { src: "https://img.b2bpic.net/free-photo/smiling-young-professional-businesswoman-looking-upper-left-corner-with-hopeful-face-expression-standing-white_176420-41313.jpg", alt: "Jessica Thompson" },
            { src: "https://img.b2bpic.net/free-photo/smiling-beautiful-middle-aged-business-woman_1262-3085.jpg", alt: "Michael Thompson" },
            { src: "https://img.b2bpic.net/free-photo/studio-portrait-successful-young-businesswoman_1262-5844.jpg", alt: "Happy customer" },
            { src: "https://img.b2bpic.net/free-photo/hopeful-young-manager-businesswoman-cross-arms-chest-smiling-looking-confident-like-real-professional-white-background_176420-47052.jpg", alt: "Satisfied client" },
            { src: "https://img.b2bpic.net/free-photo/smiling-young-professional-businesswoman-looking-upper-left-corner-with-hopeful-face-expression-standing-white_176420-41313.jpg", alt: "Customer review" },
            { src: "https://img.b2bpic.net/free-photo/smiling-beautiful-middle-aged-business-woman_1262-3085.jpg", alt: "Client feedback" }
          ]}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterLogoReveal logoText="Flowers Life" />
      </div>
    </ThemeProvider>
  );
}