"use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleMinimal from '@/components/navbar/NavbarStyleMinimal';
import HeroBillboardGallery from '@/components/sections/hero/HeroBillboardGallery';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import FeatureCardTwentyTwo from '@/components/sections/feature/FeatureCardTwentyTwo';
import TestimonialCardThirteen from '@/components/sections/testimonial/TestimonialCardThirteen';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
import { Sparkles } from "lucide-react";

export default function HomePage() {
  return (
    <ThemeProvider
      defaultButtonVariant="elastic-effect"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="mediumLarge"
      sizing="large"
      background="aurora"
      cardStyle="solid"
      primaryButtonStyle="primary-glow"
      secondaryButtonStyle="glass"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleMinimal
          brandName="Hear Me"
          button={{
            text: "Shop Now",
            href: "/products"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardGallery
          title="Experience Premium Audio Like Never Before"
          description="Discover our curated collection of high-fidelity headphones engineered for discerning listeners. From studio-grade monitors to wireless everyday wear, find your perfect sound."
          background={{ variant: "radial-gradient" }}
          tag="Exclusive Collection"
          tagIcon={Sparkles}
          mediaItems={[
            {
              imageSrc: "https://img.b2bpic.net/free-photo/brunette-woman-wearing-sport-clothes_329181-13214.jpg",
              imageAlt: "Premium wireless headphones"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/wireless-earbuds-with-neon-cyberpunk-style-lighting_23-2151074308.jpg",
              imageAlt: "Studio professional headphones"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/vertical-shot-tired-sportswoman-has-pain-neck-keeps-eyes-closed-has-combed-curly-hair-dressed-beige-activewear-wears-stereo-headphones-ears-listens-music-poses-outdoors-stadium_273609-62228.jpg",
              imageAlt: "Gaming headset with RGB"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/beautiful-woman-listening-music-park_72229-1563.jpg",
              imageAlt: "Noise-canceling wireless headphones"
            }
          ]}
          buttons={[
            { text: "Shop Collection", href: "/products" },
            { text: "Learn More", href: "/about" }
          ]}
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardThree
          title="Featured Products"
          description="Handpicked headphones for every listening preference and budget"
          products={[
            {
              id: "1",
              name: "Studio Pro 3000",
              price: "$249.99",
              imageSrc: "https://img.b2bpic.net/free-photo/woman-enjoys-sport-outs-wireless-headphones-listening-music-training-wears-t-shirt-poses-outdoor-blurred_273609-54066.jpg",
              imageAlt: "Studio Pro 3000 headphones",
              initialQuantity: 1
            },
            {
              id: "2",
              name: "Sonic Master Pro",
              price: "$399.99",
              imageSrc: "https://img.b2bpic.net/free-photo/fitness-girl-with-wireless-headphones_1385-417.jpg",
              imageAlt: "Sonic Master Pro studio headphones",
              initialQuantity: 1
            },
            {
              id: "3",
              name: "Gaming Beast X1",
              price: "$199.99",
              imageSrc: "https://img.b2bpic.net/free-photo/woman-going-have-yoga-practive-outdoor-goes-gymnastic-studio-does-sport-alone-downtown-quarantine-returns-physical-activity-after-self-isolation-listens-popular-music_273609-54038.jpg",
              imageAlt: "Gaming Beast X1 headset",
              initialQuantity: 1
            },
            {
              id: "4",
              name: "AuraSound Buds",
              price: "$129.99",
              imageSrc: "https://img.b2bpic.net/free-photo/woman-black-t-shirt-uses-wireless-headphones-while-training-outdoor-focused-down-thinks-about-something-stands-downtown-against-blurred_273609-54036.jpg",
              imageAlt: "AuraSound wireless earbuds",
              initialQuantity: 1
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardTwentyTwo
          title="Why Choose Hear Me"
          description="Superior technology meets uncompromising comfort in every pair"
          features={[
            {
              id: "1",
              title: "Exceptional Comfort Engineering",
              category: ["Ergonomic Design", "All-Day Wear"],
              imageSrc: "https://img.b2bpic.net/free-photo/portrait-attractive-young-woman-wireless-headphones-smiling-with-closed-eyes-relaxing-with_1258-201362.jpg",
              imageAlt: "Comfortable headphones design"
            },
            {
              id: "2",
              title: "Crystal Clear Sound Quality",
              category: ["High Fidelity", "Rich Bass"],
              imageSrc: "https://img.b2bpic.net/free-photo/front-view-smiley-woman-listening-music-headphones_23-2148486228.jpg",
              imageAlt: "Sound quality visualization"
            },
            {
              id: "3",
              title: "Extended Battery Performance",
              category: ["40-Hour Battery", "Fast Charging"],
              imageSrc: "https://img.b2bpic.net/free-photo/close-up-woman-wearing-headphones_23-2148897904.jpg",
              imageAlt: "Long battery life indicator"
            },
            {
              id: "4",
              title: "Seamless Connectivity",
              category: ["Multi-Device", "Bluetooth 5.3"],
              imageSrc: "https://img.b2bpic.net/free-photo/woman-listening-music-headphones_23-2148486226.jpg",
              imageAlt: "Bluetooth connectivity features"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardThirteen
          title="Loved by Audio Enthusiasts"
          description="Real stories from our satisfied customers"
          testimonials={[
            {
              id: "1",
              name: "Marcus Chen",
              handle: "@audio_producer",
              testimonial: "As a professional music producer, these headphones are a game-changer. The sound accuracy is unmatched and the comfort during 10-hour sessions is incredible.",
              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",
              imageAlt: "Marcus Chen"
            },
            {
              id: "2",
              name: "Sofia Rodriguez",
              handle: "@daily_commuter",
              testimonial: "Perfect for my daily commute. The noise isolation is outstanding, and the battery lasts me all week. Best investment I've made!",
              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/smiling-homosexual-man-official-suit-looking-camera-close-up-shot-happy-gay-getting-dressed-wedding-ceremony-standing-hotel-room-with-his-partner-background-love-emotion-concept_74855-22675.jpg",
              imageAlt: "Sofia Rodriguez"
            },
            {
              id: "3",
              name: "James Mitchell",
              handle: "@gamer_pro",
              testimonial: "Gaming experience taken to another level. The spatial audio clarity and responsive connectivity give me a competitive edge. Highly recommend!",
              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/happy-young-professional-posing-office_1262-21170.jpg",
              imageAlt: "James Mitchell"
            }
          ]}
          showRating={true}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>

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