"use client";

import { ThemeProvider } from "@/components/theme-provider";
import { NavbarStyleApple } from "@/components/navbar/NavbarStyleApple/NavbarStyleApple";
import { HeroBillboardTestimonial } from "@/components/sections/hero/HeroBillboardTestimonial";
import { FeatureCardTwentyEight } from "@/components/sections/feature/FeatureCardTwentyEight";
import { ProductCardOne } from "@/components/sections/product/ProductCardOne";
import { PricingCardEight } from "@/components/sections/pricing/PricingCardEight";
import { TestimonialCardTen } from "@/components/sections/testimonial/TestimonialCardTen";
import { FaqBase } from "@/components/sections/faq/FaqBase";
import { ContactCenter } from "@/components/sections/contact/ContactCenter";
import { FooterSimple } from "@/components/sections/footer/FooterSimple";
import { Star } from "lucide-react";

export default function BundlesPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="entrance-slide"
      borderRadius="rounded"
      contentWidth="medium"
      sizing="medium"
      background="none"
      cardStyle="solid"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="solid"
      headingFontWeight="extrabold"
    >
      <NavbarStyleApple
        navItems={[
          { name: "Home", id: "/components" },
          { name: "Bundles", id: "/bundles" },
          { name: "Promotions", id: "/promotions" }
        ]}
        brandName="Bundles & Kits"
      />

      <div id="hero" data-section="hero">
        <HeroBillboardTestimonial
          title="Unlock Value with Our Exclusive Bundles"
          description="Discover curated product packages designed to give you more for less. Boost your productivity, creativity, and savings today!"
          background={{ variant: "radial-gradient" }}
          testimonials={[
            {
              name: "Jane Doe",              handle: "@janedoe",              testimonial: "The productivity bundle transformed my workflow! Highly recommend.",              rating: 5,
              imageSrc: "https://via.placeholder.com/150?_wi=1"
            },
            {
              name: "John Smith",              handle: "@johnsmith",              testimonial: "Great value, fantastic products. My go-to for software needs.",              rating: 5,
              imageSrc: "https://via.placeholder.com/150?_wi=1"
            }
          ]}
          buttons={[
            { text: "Explore Bundles", href: "#products" },
            { text: "Contact Sales", href: "#contact" }
          ]}
          imageSrc="https://via.placeholder.com/1024x768/0000FF/FFFFFF?text=Bundle+Offer?_wi=1"
          imageAlt="Product bundles illustration"
          mediaAnimation="opacity"
          tag="New"
          tagIcon={Star}
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardTwentyEight
          title="Why Choose Our Bundles?"
          description="Each bundle is thoughtfully assembled to provide maximum benefit and unbeatable value."
          features={[
            { id: "1", title: "Cost Savings", subtitle: "Save more when you buy together.", category: "Value", value: "Up to 30% Off" },
            { id: "2", title: "Convenience", subtitle: "All essentials in one purchase.", category: "Efficiency", value: "Hassle-Free" },
            { id: "3", title: "Enhanced Experience", subtitle: "Complementary products for best results.", category: "Quality", value: "Seamless Integration" },
            { id: "4", title: "Exclusive Access", subtitle: "Get features only available in bundles.", category: "Premium", value: "Unique Content" }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          tag="Benefits"
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardOne
          title="Featured Product Bundles"
          description="Browse our most popular product combinations."
          products={[
            {
              id: "bundle-1",              name: "Creator's Starter Kit",              price: "$199",              imageSrc: "https://via.placeholder.com/400x300/FF0000/FFFFFF?text=Creator+Bundle?_wi=1",              imageAlt: "Creator's Starter Kit"
            },
            {
              id: "bundle-2",              name: "Developer's Essential Pack",              price: "$249",              imageSrc: "https://via.placeholder.com/400x300/00FF00/FFFFFF?text=Developer+Bundle?_wi=1",              imageAlt: "Developer's Essential Pack"
            },
            {
              id: "bundle-3",              name: "Designer's Pro Toolbox",              price: "$179",              imageSrc: "https://via.placeholder.com/400x300/0000FF/FFFFFF?text=Designer+Bundle?_wi=1",              imageAlt: "Designer's Pro Toolbox"
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
          tag="Popular"
        />
      </div>

      <div id="pricing" data-section="pricing">
        <PricingCardEight
          title="Simple & Flexible Bundle Pricing"
          description="Choose the plan that best fits your needs and budget."
          plans={[
            {
              id: "basic-bundle",              badge: "Starter",              price: "$99/month",              subtitle: "For individuals and small teams.",              buttons: [{ text: "Get Started", href: "#contact" }],
              features: ["2 Products", "Basic Support", "Community Access"]
            },
            {
              id: "pro-bundle",              badge: "Pro",              badgeIcon: Star,
              price: "$249/month",              subtitle: "Designed for growing businesses.",              buttons: [{ text: "Choose Pro", href: "#contact" }],
              features: ["5 Products", "Priority Support", "Advanced Analytics"]
            },
            {
              id: "enterprise-bundle",              badge: "Enterprise",              price: "Custom",              subtitle: "Tailored for large organizations.",              buttons: [{ text: "Contact Us", href: "#contact" }],
              features: ["Unlimited Products", "Dedicated Account Manager", "Custom Integrations"]
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          tag="Plans"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTen
          title="What Our Customers Say"
          description="Hear from satisfied customers who've experienced the power of our bundles."
          testimonials={[
            {
              id: "test-1",              title: "Exceptional Value!",              quote: "The marketing bundle saved us so much time and money. Our campaigns are more effective than ever!",              name: "Sarah Chen",              role: "Marketing Director",              imageSrc: "https://via.placeholder.com/150?_wi=1"
            },
            {
              id: "test-2",              title: "Game Changer",              quote: "Never thought I could get such a comprehensive set of tools at this price. Absolutely fantastic!",              name: "Mark Davis",              role: "Small Business Owner",              imageSrc: "https://via.placeholder.com/150?_wi=1"
            },
            {
              id: "test-3",              title: "Highly Recommended",              quote: "The support is great, and the products work perfectly together. My team loves it.",              name: "Emily White",              role: "Team Lead",              imageSrc: "https://via.placeholder.com/150?_wi=1"
            }
          ]}
          textboxLayout="default"
          useInvertedBackground={true}
          tag="Reviews"
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqBase
          title="Frequently Asked Questions"
          description="Find answers to common questions about our product bundles."
          faqs={[
            { id: "q1", title: "What is included in a bundle?", content: "Each bundle description details the specific products and services included. Please check the product page for full information." },
            { id: "q2", title: "Can I customize a bundle?", content: "Some bundles offer limited customization options. Contact our sales team for custom solutions." },
            { id: "q3", title: "What is your refund policy for bundles?", content: "Our standard refund policy applies to bundles. Please refer to our terms and conditions for details." },
            { id: "q4", title: "How do I access my bundled products?", content: "Upon purchase, you will receive instructions on how to access and activate all products within your bundle." }
          ]}
          faqsAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          tag="Support"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCenter
          tag="Get in Touch"
          title="Ready to Bundle Up?"
          description="Get in touch with our sales team to customize your perfect package and learn more about volume discounts."
          background={{ variant: "gradient-bars" }}
          buttonText="Get a Custom Quote"
          useInvertedBackground={true}
          tagIcon={Star}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterSimple
          columns={[
            {
              title: "Products",              items: [
                { label: "Bundles", href: "/bundles" },
                { label: "Promotions", href: "/promotions" },
                { label: "Solutions", href: "/components" }
              ]
            },
            {
              title: "Company",              items: [
                { label: "About Us", href: "/components" },
                { label: "Careers", href: "/components" },
                { label: "Blog", href: "/components" }
              ]
            },
            {
              title: "Legal",              items: [
                { label: "Privacy Policy", href: "/components" },
                { label: "Terms of Service", href: "/components" }
              ]
            }
          ]}
          bottomLeftText="© 2024 Bundles & Kits. All rights reserved."
          bottomRightText="Built with Webild"
        />
      </div>
    </ThemeProvider>
  );
}
