"use client";

import { ThemeProvider } from "@/components/theme-provider";
import { NavbarStyleApple } from "@/components/navbar/NavbarStyleApple/NavbarStyleApple";
import { HeroBillboardTestimonial } from "@/components/sections/hero/HeroBillboardTestimonial";
import { ProductCardOne } from "@/components/sections/product/ProductCardOne";
import { SocialProofOne } from "@/components/sections/socialProof/SocialProofOne";
import { MetricCardFourteen } from "@/components/sections/metrics/MetricCardFourteen";
import { TestimonialCardTen } from "@/components/sections/testimonial/TestimonialCardTen";
import { ContactCenter } from "@/components/sections/contact/ContactCenter";
import { FooterSimple } from "@/components/sections/footer/FooterSimple";
import { Rocket } from "lucide-react";

export default function PromotionsPage() {
  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="Promotions Central"
      />

      <div id="hero" data-section="hero">
        <HeroBillboardTestimonial
          title="Limited-Time Offers & Exclusive Promotions!"
          description="Don't miss out on incredible deals across our product range. Act fast, these won't last!"
          background={{ variant: "sparkles-gradient" }}
          testimonials={[
            {
              name: "Alice Brown",              handle: "@aliceb",              testimonial: "Got an amazing deal, and the product quality is top-notch!",              rating: 5,
              imageSrc: "https://via.placeholder.com/150?_wi=1"
            },
            {
              name: "Bob Green",              handle: "@bobg",              testimonial: "Always check here for the best prices. Never disappointed.",              rating: 4,
              imageSrc: "https://via.placeholder.com/150?_wi=1"
            }
          ]}
          buttons={[
            { text: "View All Deals", href: "#products" },
            { text: "Subscribe for Updates", href: "#contact" }
          ]}
          imageSrc="https://via.placeholder.com/1024x768/FFD700/000000?text=Promotion+Sale?_wi=1"
          imageAlt="Promotional sale banner"
          mediaAnimation="opacity"
          tag="Flash Sale"
          tagIcon={Rocket}
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardOne
          title="Hot Deals & Special Discounts"
          description="Explore our currently running promotions on popular products and services. Grab them before they're gone!"
          products={[
            {
              id: "promo-1",              name: "Advanced Analytics Software",              price: "$99 (was $149)",              imageSrc: "https://via.placeholder.com/400x300/FF5733/FFFFFF?text=Analytics+Software?_wi=1",              imageAlt: "Advanced Analytics Software"
            },
            {
              id: "promo-2",              name: "Premium Video Editor",              price: "$79 (was $129)",              imageSrc: "https://via.placeholder.com/400x300/33FF57/FFFFFF?text=Video+Editor?_wi=1",              imageAlt: "Premium Video Editor"
            },
            {
              id: "promo-3",              name: "Cloud Storage Pro",              price: "$29 (was $49)",              imageSrc: "https://via.placeholder.com/400x300/3357FF/FFFFFF?text=Cloud+Storage?_wi=1",              imageAlt: "Cloud Storage Pro"
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          tag="Deals"
        />
      </div>

      <div id="social-proof" data-section="social-proof">
        <SocialProofOne
          title="Trusted by Industry Leaders"
          description="Our promotions are designed to bring premium quality to everyone, endorsed by companies big and small."
          names={[
            "TechCorp", "InnovateLabs", "Global Solutions", "Future Systems", "DesignHub", "DataStream"
          ]}
          speed={50}
          textboxLayout="default"
          useInvertedBackground={true}
          tag="Partners"
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardFourteen
          title="Impact of Our Promotions"
          tag="Results"
          metrics={[
            { id: "m1", value: "50K+", description: "Satisfied Customers" },
            { id: "m2", value: "30%", description: "Average Savings" },
            { id: "m3", value: "100+", description: "Unique Offers Monthly" }
          ]}
          metricsAnimation="blur-reveal"
          useInvertedBackground={false}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTen
          title="Success Stories from Our Promos"
          description="Real results from real people who leveraged our special offers to achieve their goals."
          testimonials={[
            {
              id: "promo-test-1",              title: "Boosted My Business!",              quote: "The marketing suite promotion was exactly what I needed. My online presence has never been better.",              name: "David Lee",              role: "E-commerce Entrepreneur",              imageSrc: "https://via.placeholder.com/150?_wi=1"
            },
            {
              id: "promo-test-2",              title: "Unbeatable Price",              quote: "I finally got the design software I wanted at a price I couldn't resist. Fantastic deal!",              name: "Sophia Kim",              role: "Freelance Designer",              imageSrc: "https://via.placeholder.com/150?_wi=1"
            }
          ]}
          textboxLayout="default"
          useInvertedBackground={true}
          tag="Customer Stories"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCenter
          tag="Don't Miss Out"
          title="Stay Tuned for More!"
          description="Sign up for our newsletter to get exclusive access to future promotions, early bird discounts, and special announcements."
          background={{ variant: "animated-grid" }}
          buttonText="Sign Up Now"
          useInvertedBackground={false}
          tagIcon={Rocket}
        />
      </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 Promotions Central. All rights reserved."
          bottomRightText="Built with Webild"
        />
      </div>
    </ThemeProvider>
  );
}
