"use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import HeroLogo from '@/components/sections/hero/HeroLogo';
import FeatureCardThree from '@/components/sections/feature/featureCardThree/FeatureCardThree';
import MetricSplitMediaAbout from '@/components/sections/about/MetricSplitMediaAbout';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive';
import MetricCardOne from '@/components/sections/metrics/MetricCardOne';
import FooterBase from '@/components/sections/footer/FooterBase';
import { Flower, Clock, Zap, Star } from 'lucide-react';

export default function HomePage() {
  return (
    <ThemeProvider
      defaultButtonVariant="elastic-effect"
      defaultTextAnimation="reveal-blur"
      borderRadius="rounded"
      contentWidth="compact"
      sizing="largeSmall"
      background="aurora"
      cardStyle="glass-elevated"
      primaryButtonStyle="diagonal-gradient"
      secondaryButtonStyle="solid"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="Amigo"
          navItems={[
            { name: "Home", id: "/" },
            { name: "Gallery", id: "/gallery" },
            { name: "Services", id: "/services" },
            { name: "Contact", id: "/contact" }
          ]}
          button={{
            text: "Order Now",
            href: "/contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroLogo
          logoText="Amigo"
          description="Handcrafted floral arrangements for every moment. Premium flowers, artful design, and unforgettable beauty."
          buttons={[
            { text: "Explore Collections", href: "/gallery" },
            { text: "Order Now", href: "/contact" }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/assorted-flower-arrangement-vase_209848-94.jpg"
          imageAlt="Beautiful floral arrangement"
          showDimOverlay={true}
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardThree
          title="Featured Collections"
          description="Discover our most popular floral arrangements, each carefully crafted to bring beauty and joy."
          tag="Gallery"
          features={[
            {
              id: "01",
              title: "Romantic Roses",
              description: "Classic red roses and premium selections for anniversaries, proposals, and romantic occasions.",
              imageSrc: "https://img.b2bpic.net/free-photo/side-view-pink-lilac-color-roses-flowers-composition-wooden-box_140725-12179.jpg",
              imageAlt: "Red roses bouquet"
            },
            {
              id: "02",
              title: "Garden Treasures",
              description: "Vibrant mixed arrangements featuring seasonal flowers, eucalyptus, and greenery.",
              imageSrc: "https://img.b2bpic.net/free-photo/beautiful-fresh-flowers-wooden-background-various-flowers-place-text-closeup_169016-4675.jpg",
              imageAlt: "Garden flower arrangement"
            },
            {
              id: "03",
              title: "Wedding Bliss",
              description: "Elegant white and cream arrangements perfect for weddings, ceremonies, and special events.",
              imageSrc: "https://img.b2bpic.net/free-photo/side-view-rose-bouquet-with-wildflowers-pink-basket_141793-13034.jpg",
              imageAlt: "Wedding ceremony flowers"
            }
          ]}
          textboxLayout="default"
          animationType="slide-up"
          gridVariant="three-columns-all-equal-width"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="about" data-section="about">
        <MetricSplitMediaAbout
          tag="About Us"
          title="Crafting Beauty Since 2010"
          description="Amigo Flowers Studio was founded on the belief that flowers tell stories. Every arrangement we create is a masterpiece, combining premium blooms with artistic vision. We work with the finest growers worldwide to ensure freshness, quality, and beauty in every bouquet. Our passionate florists bring creativity, care, and excellence to every order."
          metrics={[
            { value: "10K+", title: "Happy Customers" },
            { value: "15+", title: "Years of Excellence" }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/medium-shot-smiley-woman-with-flowers_23-2149247537.jpg"
          imageAlt="Amigo Flowers Studio workspace"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="services" data-section="services">
        <ProductCardThree
          title="Our Services"
          description="From custom arrangements to event design, we offer comprehensive floral solutions."
          products={[
            {
              id: "1",
              name: "Custom Bouquets",
              price: "From $45",
              imageSrc: "https://img.b2bpic.net/free-photo/stunning-wedding-bouquet-made-red-flowers-greenery-lies-o_8353-722.jpg",
              imageAlt: "Custom flower arrangement"
            },
            {
              id: "2",
              name: "Same-Day Delivery",
              price: "Available",
              imageSrc: "https://img.b2bpic.net/free-photo/woman-holding-big-parcel-box-walking-street_1303-24661.jpg",
              imageAlt: "Fast flower delivery"
            },
            {
              id: "3",
              name: "Event Planning",
              price: "Custom Quote",
              imageSrc: "https://img.b2bpic.net/free-photo/french-woman-red-beret-street-bench_1321-337.jpg",
              imageAlt: "Floral consultation"
            }
          ]}
          textboxLayout="default"
          animationType="slide-up"
          gridVariant="three-columns-all-equal-width"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFive
          title="What Our Customers Say"
          description="Hear from those who have experienced Amigo's floral artistry and exceptional service."
          tag="Testimonials"
          testimonials={[
            {
              id: "1",
              name: "Sarah Martinez, Event Planner",
              date: "Date: December 2024",
              title: "Absolutely stunning arrangements!",
              quote: "Amigo created the most beautiful wedding centerpieces I've ever seen. Their attention to detail and creativity exceeded all expectations. Every guest was talking about the flowers!",
              tag: "Wedding Event",
              avatarSrc: "https://img.b2bpic.net/free-photo/casual-smile-street-style-background-spring_1139-777.jpg",
              imageSrc: "https://img.b2bpic.net/free-photo/side-view-rose-bouquet-with-wildflowers-pink-basket_141793-13034.jpg"
            },
            {
              id: "2",
              name: "James Chen, Businessman",
              date: "Date: November 2024",
              title: "Perfect for corporate gifts",
              quote: "I send flowers from Amigo to our business partners regularly. The quality is exceptional and the service is always professional. They really understand what it means to impress.",
              tag: "Corporate",
              avatarSrc: "https://img.b2bpic.net/free-photo/portrait-young-business-woman-standing-outside-office-buildings-business-success-concept_58466-12274.jpg",
              imageSrc: "https://img.b2bpic.net/free-photo/side-view-pink-lilac-color-roses-flowers-composition-wooden-box_140725-12179.jpg"
            },
            {
              id: "3",
              name: "Emily Rodriguez, Bride",
              date: "Date: October 2024",
              title: "Made my wedding day magical",
              quote: "From the bridal bouquet to the ceremony decorations, everything was perfect. The Amigo team listened to my vision and brought it to life beautifully. I cannot thank them enough!",
              tag: "Bride",
              avatarSrc: "https://img.b2bpic.net/free-photo/portrait-attractive-caucasian-smiling-woman_93675-135471.jpg",
              imageSrc: "https://img.b2bpic.net/free-photo/side-view-rose-bouquet-with-wildflowers-pink-basket_141793-13034.jpg"
            },
            {
              id: "4",
              name: "David Thompson, Restaurateur",
              date: "Date: September 2024",
              title: "Elevated our dining experience",
              quote: "Amigo provides fresh flower arrangements for our restaurant every week. They complement our ambiance perfectly and our guests always compliment them.",
              tag: "Business",
              avatarSrc: "https://img.b2bpic.net/free-photo/beautiful-charming-casual-girl-joyfully-looking-camera-isolated_574295-3854.jpg",
              imageSrc: "https://img.b2bpic.net/free-photo/beautiful-fresh-flowers-wooden-background-various-flowers-place-text-closeup_169016-4675.jpg"
            },
            {
              id: "5",
              name: "Michelle Park, Customer",
              date: "Date: August 2024",
              title: "Same-day delivery saved the day",
              quote: "I forgot my anniversary and Amigo came through with same-day delivery. Not only were the flowers gorgeous, but the service was incredibly helpful. Highly recommend!",
              tag: "Same-Day",
              avatarSrc: "https://img.b2bpic.net/free-photo/business-woman-white-shirt-isolated-white-background_1303-13183.jpg",
              imageSrc: "https://img.b2bpic.net/free-photo/side-view-pink-lilac-color-roses-flowers-composition-wooden-box_140725-12179.jpg"
            },
            {
              id: "6",
              name: "Lisa Anderson, Friend",
              date: "Date: July 2024",
              title: "Best flowers in the city",
              quote: "I've tried many florists, but Amigo is in a league of their own. Fresh, beautiful, creative, and they truly care about their customers. My go-to for every occasion!",
              tag: "Regular Customer",
              avatarSrc: "https://img.b2bpic.net/free-photo/young-attractive-businesswoman_93675-133773.jpg",
              imageSrc: "https://img.b2bpic.net/free-photo/beautiful-fresh-flowers-wooden-background-various-flowers-place-text-closeup_169016-4675.jpg"
            }
          ]}
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardOne
          title="Why Choose Amigo"
          description="We deliver excellence in every arrangement, every time."
          tag="Our Commitment"
          metrics={[
            {
              id: "1",
              value: "100%",
              title: "Fresh Flowers",
              description: "Sourced daily from premium growers",
              icon: Flower
            },
            {
              id: "2",
              value: "24/7",
              title: "Customer Support",
              description: "Available for orders and inquiries",
              icon: Clock
            },
            {
              id: "3",
              value: "Same-Day",
              title: "Delivery Available",
              description: "Fast shipping in your area",
              icon: Zap
            },
            {
              id: "4",
              value: "10K+",
              title: "5-Star Reviews",
              description: "Trusted by thousands of customers",
              icon: Star
            }
          ]}
          textboxLayout="default"
          animationType="slide-up"
          gridVariant="uniform-all-items-equal"
          useInvertedBackground="invertDefault"
        />
      </div>

      <FooterBase
        logoText="Amigo Flowers"
        copyrightText="© 2025 Amigo Flowers Studio. All rights reserved."
        columns={[
          {
            title: "Services",
            items: [
              { label: "Custom Bouquets", href: "/services" },
              { label: "Wedding Flowers", href: "/services" },
              { label: "Event Design", href: "/services" },
              { label: "Same-Day Delivery", href: "/services" }
            ]
          },
          {
            title: "Company",
            items: [
              { label: "About Us", href: "/gallery" },
              { label: "Gallery", href: "/gallery" },
              { label: "Contact", href: "/contact" },
              { label: "FAQs", href: "/contact" }
            ]
          },
          {
            title: "Connect",
            items: [
              { label: "Instagram", href: "https://instagram.com" },
              { label: "Facebook", href: "https://facebook.com" },
              { label: "Email", href: "mailto:hello@amigoflowers.com" },
              { label: "Phone", href: "tel:+1234567890" }
            ]
          }
        ]}
      />
    </ThemeProvider>
  );
}