"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleMinimal from '@/components/navbar/NavbarStyleMinimal';
import HeroLogo from '@/components/sections/hero/HeroLogo';
import InlineImageSplitTextAbout from '@/components/sections/about/InlineImageSplitTextAbout';
import ProductCardFour from '@/components/sections/product/ProductCardFour';
import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive';
import BlogCardOne from '@/components/sections/blog/BlogCardOne';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import { Sparkles, Mail, Star, Crown } from "lucide-react";

export default function HomePage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="background-highlight"
      borderRadius="sharp"
      contentWidth="mediumSmall"
      sizing="largeSmallSizeLargeTitles"
      background="aurora"
      cardStyle="outline"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="glass"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleMinimal
          brandName="Pahu"
          button={{
            text: "Explore",
            href: "/products"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroLogo
          logoText="Pahu"
          description="Discover the art of fine fragrance. Luxury scents crafted for those who appreciate the extraordinary."
          buttons={[
            { text: "Shop Collection", href: "/products" },
            { text: "Learn More", href: "/about" }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/elegant-vegan-alcohol-arrangement_23-2149337695.jpg"
          imageAlt="Luxury perfume bottles and floral background"
          showDimOverlay={true}
          logoLineHeight={1.2}
        />
      </div>

      <div id="about" data-section="about">
        <InlineImageSplitTextAbout
          heading={[
            { type: "text", content: "Crafted with" },
            { type: "image", src: "https://img.b2bpic.net/free-photo/beakers-equipment-table-factory-laboratory_1359-307.jpg", alt: "Perfume crafting" },
            { type: "text", content: "passion and expertise" }
          ]}
          useInvertedBackground="invertDefault"
          buttons={[
            { text: "Our Story", href: "/about" }
          ]}
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardFour
          title="Featured Fragrances"
          description="Explore our signature collection of premium perfumes, each with a unique story and character."
          tag="New Arrivals"
          tagIcon={Sparkles}
          products={[
            {
              id: "rose-bliss",
              name: "Rose Bliss",
              price: "$89.99",
              variant: "Floral · 50ml",
              imageSrc: "https://img.b2bpic.net/free-photo/high-angle-view-essential-oil-surrounded-with-fresh-flowers-pink-background_23-2147927083.jpg",
              imageAlt: "Rose Bliss perfume bottle"
            },
            {
              id: "amber-night",
              name: "Amber Night",
              price: "$94.99",
              variant: "Oriental · 50ml",
              imageSrc: "https://img.b2bpic.net/free-photo/close-up-photo-fragrance-bottle-with-flowers_114579-51645.jpg",
              imageAlt: "Amber Night perfume bottle"
            },
            {
              id: "ocean-breeze",
              name: "Ocean Breeze",
              price: "$79.99",
              variant: "Aquatic · 50ml",
              imageSrc: "https://img.b2bpic.net/free-photo/beautiful-still-life-arrangement-with-water_23-2149176156.jpg",
              imageAlt: "Ocean Breeze perfume bottle"
            }
          ]}
          textboxLayout="default"
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          useInvertedBackground="noInvert"
          buttons={[
            { text: "View All Products", href: "/products" }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFive
          title="What Our Customers Say"
          description="Discover why fragrance enthusiasts around the world choose Pahu for their signature scent."
          tag="Reviews"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          testimonials={[
            {
              id: "1",
              name: "Sarah Mitchell, Fashion Designer",
              date: "Date: 15 January 2025",
              title: "Absolutely divine fragrance experience",
              quote: "Pahu's Rose Bliss is my new signature scent. The quality is exceptional, and the longevity is remarkable. Every time I wear it, I receive compliments.",
              tag: "Premium Customer",
              avatarSrc: "https://img.b2bpic.net/free-photo/front-view-business-woman-suit_23-2148603018.jpg",
              avatarAlt: "Sarah Mitchell",
              imageSrc: "https://img.b2bpic.net/free-photo/high-angle-view-essential-oil-surrounded-with-fresh-flowers-pink-background_23-2147927083.jpg",
              imageAlt: "Rose Bliss perfume"
            },
            {
              id: "2",
              name: "James Chen, CEO Tech Startup",
              date: "Date: 8 January 2025",
              title: "Luxury that's worth every penny",
              quote: "I've tried countless high-end fragrances, but Pahu stands out. The craftsmanship is evident in every spray. Amber Night is sophisticated and perfect for business meetings.",
              tag: "Loyal Customer",
              avatarSrc: "https://img.b2bpic.net/free-photo/front-view-professional-business-woman-suit_23-2148603020.jpg",
              avatarAlt: "James Chen",
              imageSrc: "https://img.b2bpic.net/free-photo/close-up-photo-fragrance-bottle-with-flowers_114579-51645.jpg",
              imageAlt: "Amber Night perfume"
            },
            {
              id: "3",
              name: "Emma Rodriguez, Wellness Coach",
              date: "Date: 2 January 2025",
              title: "Elevates my daily routine",
              quote: "Ocean Breeze is fresh and uplifting. It's become part of my morning ritual. Pahu's attention to detail and customer service is unmatched.",
              tag: "Verified Buyer",
              avatarSrc: "https://img.b2bpic.net/free-photo/portrait-young-smiling-pretty-girl-plaid-shirt-posing_114579-70643.jpg",
              avatarAlt: "Emma Rodriguez",
              imageSrc: "https://img.b2bpic.net/free-photo/beautiful-still-life-arrangement-with-water_23-2149176156.jpg",
              imageAlt: "Ocean Breeze perfume"
            },
            {
              id: "4",
              name: "David Thompson, Luxury Retailer",
              date: "Date: 28 December 2024",
              title: "Premium quality and exceptional value",
              quote: "As a luxury retailer, I'm selective about brands I stock. Pahu exceeded my expectations. Their fragrances are collector-worthy.",
              tag: "Professional",
              avatarSrc: "https://img.b2bpic.net/free-photo/portrait-young-entrepreneur-woman_23-2148898746.jpg",
              avatarAlt: "David Thompson",
              imageSrc: "https://img.b2bpic.net/free-photo/high-angle-view-essential-oil-surrounded-with-fresh-flowers-pink-background_23-2147927083.jpg",
              imageAlt: "Rose Bliss perfume"
            }
          ]}
        />
      </div>

      <div id="blog" data-section="blog">
        <BlogCardOne
          title="Fragrance Stories"
          description="Explore insights, tips, and stories from the world of fine fragrance."
          tag="Blog"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="slide-up"
          carouselMode="buttons"
          blogs={[
            {
              id: "1",
              category: "Trends",
              title: "2025 Fragrance Trends to Watch",
              excerpt: "Discover the emerging scent profiles and fragrance innovations shaping the luxury perfume industry this year.",
              imageSrc: "https://img.b2bpic.net/free-photo/attractive-seductive-sensual-stylish-woman-boho-dress-sitting-vintage-retro-cafe-holding-perfume_285396-6906.jpg",
              imageAlt: "Fragrance trends 2025",
              authorName: "Victoria Laurent",
              authorAvatar: "https://img.b2bpic.net/free-photo/front-view-business-woman-suit_23-2148603018.jpg",
              date: "12 Jan 2025"
            },
            {
              id: "2",
              category: "Wellness",
              title: "The Psychology of Scent",
              excerpt: "How fragrances influence mood, memory, and emotions. A deep dive into the science behind our favorite scents.",
              imageSrc: "https://img.b2bpic.net/free-photo/pediatrician-checking-heart-beat-young-girl_53876-138954.jpg",
              imageAlt: "Scent psychology",
              authorName: "Dr. Marcus Reid",
              authorAvatar: "https://img.b2bpic.net/free-photo/front-view-professional-business-woman-suit_23-2148603020.jpg",
              date: "8 Jan 2025"
            },
            {
              id: "3",
              category: "Collections",
              title: "Seasonal Fragrance Guide",
              excerpt: "Learn how to select the perfect fragrance for each season and maintain your collection year-round.",
              imageSrc: "https://img.b2bpic.net/free-photo/accessories-sunglasses-perfume-hat-craft-surface_176420-11866.jpg",
              imageAlt: "Seasonal collection",
              authorName: "Ava Sterling",
              authorAvatar: "https://img.b2bpic.net/free-photo/portrait-young-smiling-pretty-girl-plaid-shirt-posing_114579-70643.jpg",
              date: "3 Jan 2025"
            }
          ]}
          buttons={[
            { text: "Read All Articles", href: "/blog" }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCenter
          tag="Newsletter"
          title="Stay Updated with Exclusive Offers"
          description="Subscribe to receive new fragrance launches, special promotions, and insider tips from the Pahu team."
          tagIcon={Mail}
          useInvertedBackground="invertDefault"
          inputPlaceholder="Enter your email"
          buttonText="Subscribe"
          termsText="We respect your privacy. Unsubscribe anytime. By subscribing, you agree to our Terms and Privacy Policy."
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterLogoEmphasis
          logoText="Pahu"
          columns={[
            {
              items: [
                { label: "Shop", href: "/products" },
                { label: "Collections", href: "/products" },
                { label: "New Arrivals", href: "/products" },
                { label: "Sale", href: "/products" }
              ]
            },
            {
              items: [
                { label: "About Us", href: "/about" },
                { label: "Our Story", href: "/about" },
                { label: "Sustainability", href: "/about" },
                { label: "Blog", href: "/blog" }
              ]
            },
            {
              items: [
                { label: "Support", href: "/contact" },
                { label: "Contact Us", href: "/contact" },
                { label: "FAQ", href: "/faq" },
                { label: "Shipping Info", href: "/contact" }
              ]
            },
            {
              items: [
                { label: "Legal", href: "#" },
                { label: "Privacy Policy", href: "#" },
                { label: "Terms of Service", href: "#" },
                { label: "Cookie Policy", href: "#" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}