"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleMinimal from '@/components/navbar/NavbarStyleMinimal';
import HeroBillboard from '@/components/sections/hero/HeroBillboard';
import TextSplitAbout from '@/components/sections/about/TextSplitAbout';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import FeatureCardSeven from '@/components/sections/feature/FeatureCardSeven';
import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix';
import FaqDouble from '@/components/sections/faq/FaqDouble';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FooterBaseSocial from '@/components/sections/footer/FooterBaseSocial';
import { Sparkles, Heart, Award, Star, HelpCircle, Mail, Instagram, Facebook, Twitter } from "lucide-react";

export default function SweetDreamPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="bounce-effect"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="smallMedium"
      sizing="mediumLargeSizeLargeTitles"
      background="dotGrid"
      cardStyle="gradient-radial"
      primaryButtonStyle="outline"
      secondaryButtonStyle="layered"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleMinimal
          brandName="SweetDream"
          button={{
            text: "Shop the Collection",
            href: "products"
          }}
          className="backdrop-blur-sm"
          buttonClassName="font-semibold tracking-wide"
          buttonTextClassName="text-sm"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboard
          title="Indulge in the Sweet Dreams of Chocolate"
          description="Experience rich, handcrafted chocolates that melt into moments of pure joy"
          tag="Premium Artisan Collection"
          tagIcon={Sparkles}
          buttons={[
            {
              text: "Shop the Collection",
              href: "products"
            },
            {
              text: "Learn Our Story",
              href: "about"
            }
          ]}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=xgcydn"
          imageAlt="Premium handcrafted chocolate collection"
          frameStyle="card"
          className="py-16 lg:py-24"
          containerClassName="max-w-5xl mx-auto"
          titleClassName="text-4xl lg:text-6xl font-bold tracking-tight"
          descriptionClassName="text-lg lg:text-xl opacity-90"
          buttonContainerClassName="flex gap-4 flex-wrap justify-center lg:justify-start"
        />
      </div>

      <div id="about" data-section="about">
        <TextSplitAbout
          title="Crafted with Love and the Finest Ingredients"
          description={[
            "At SweetDream, we believe that chocolate is more than a treat—it's a moment of pure indulgence. Every piece is meticulously handcrafted using single-origin cocoa beans sourced from sustainable farms around the world.",
            "Our artisans combine traditional techniques with innovative flavors to create chocolate experiences that delight all the senses. From velvety dark chocolate to smooth milk chocolate blends, each creation tells a story of passion and craftsmanship.",
            "We're committed to quality, sustainability, and bringing moments of joy to every customer. Because the best chocolate isn't just delicious—it's unforgettable."
          ]}
          buttons={[
            {
              text: "Discover Our Sourcing",
              href: "sourcing"
            }
          ]}
          showBorder={false}
          useInvertedBackground="noInvert"
          className="py-16 lg:py-24"
          titleClassName="text-3xl lg:text-5xl font-bold"
          descriptionClassName="text-base lg:text-lg leading-relaxed"
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardTwo
          title="Our Signature Collections"
          description="Explore our curated selection of premium, handcrafted chocolates"
          tag="Best Sellers"
          tagIcon={Heart}
          products={[
            {
              id: "1",
              brand: "SweetDream Premium",
              name: "Dark Chocolate Essence",
              price: "$24.99",
              rating: 5,
              reviewCount: "312",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=8sipvo",
              imageAlt: "Dark Chocolate Essence - 70% cocoa"
            },
            {
              id: "2",
              brand: "SweetDream Premium",
              name: "Milk Chocolate Truffle",
              price: "$28.99",
              rating: 5,
              reviewCount: "287",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=xhrmrc",
              imageAlt: "Milk Chocolate Truffle - silky smooth"
            },
            {
              id: "3",
              brand: "SweetDream Premium",
              name: "White Chocolate Bliss",
              price: "$22.99",
              rating: 5,
              reviewCount: "198",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=2fnt36",
              imageAlt: "White Chocolate Bliss - creamy perfection"
            },
            {
              id: "4",
              brand: "SweetDream Premium",
              name: "Mixed Assortment Box",
              price: "$49.99",
              rating: 5,
              reviewCount: "456",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=l7iur5",
              imageAlt: "Mixed Assortment Box - variety selection"
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          carouselMode="buttons"
          className="py-16 lg:py-24"
          containerClassName="max-w-6xl mx-auto"
          textBoxTitleClassName="text-3xl lg:text-5xl font-bold"
          textBoxDescriptionClassName="text-base lg:text-lg"
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardSeven
          title="What Makes SweetDream Special"
          description="From bean to bar, we maintain exceptional standards"
          tag="Our Craft"
          tagIcon={Award}
          features={[
            {
              id: 1,
              title: "Single-Origin Sourcing",
              description: "Each chocolate starts with carefully selected single-origin cocoa beans from sustainable, ethical farms. We work directly with farmers to ensure quality and fair compensation.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=2jj1vs"
            },
            {
              id: 2,
              title: "Artisan Handcrafting",
              description: "Our master chocolatiers use time-honored techniques combined with modern precision. Every batch is small, carefully monitored, and crafted with meticulous attention to detail.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=fq3tby"
            },
            {
              id: 3,
              title: "Unforgettable Taste Experience",
              description: "We blend innovative flavors with premium chocolate to create unique taste journeys. Each piece melts on your tongue, delivering complex, delightful flavors that linger.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=iabmw0"
            },
            {
              id: 4,
              title: "Luxury Presentation",
              description: "Every collection arrives in beautifully designed packaging perfect for gifting or personal indulgence. We believe the unboxing experience is part of the SweetDream journey.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=tzl8ir"
            }
          ]}
          animationType="blur-reveal"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          className="py-16 lg:py-24"
          containerClassName="max-w-5xl mx-auto"
          textBoxTitleClassName="text-3xl lg:text-5xl font-bold"
          textBoxDescriptionClassName="text-base lg:text-lg"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardSix
          title="Loved by Chocolate Enthusiasts"
          description="Hear from those who have experienced the SweetDream magic"
          tag="Customer Stories"
          tagIcon={Star}
          testimonials={[
            {
              id: "1",
              name: "Sarah Mitchell",
              handle: "@sarahmitchell",
              testimonial: "SweetDream chocolates are absolutely divine. The quality and attention to detail is unmatched. I'm completely addicted and order monthly!",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=924wqz",
              imageAlt: "Sarah Mitchell"
            },
            {
              id: "2",
              name: "Marcus Chen",
              handle: "@marcuschen_foodie",
              testimonial: "Finally found artisan chocolate that lives up to the hype. Every flavor combination is a revelation. This is luxury I can justify spending on.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=gpnjpr",
              imageAlt: "Marcus Chen"
            },
            {
              id: "3",
              name: "Elena Rossi",
              handle: "@elenawines",
              testimonial: "The dark chocolate pairs beautifully with my evening wines. SweetDream has elevated my self-care ritual into something truly special.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=4yhxqe",
              imageAlt: "Elena Rossi"
            },
            {
              id: "4",
              name: "James Patterson",
              handle: "@james_loves_chocolate",
              testimonial: "I've tried chocolates worldwide, and SweetDream rivals European boutiques. The craftsmanship is exceptional and the taste is unforgettable.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=beaaqa",
              imageAlt: "James Patterson"
            },
            {
              id: "5",
              name: "Olivia Torres",
              handle: "@oliviagifts",
              testimonial: "Perfect gift for every occasion. The packaging is gorgeous, and recipients always rave about the taste. SweetDream has become my go-to for special moments.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=qqnq3t",
              imageAlt: "Olivia Torres"
            },
            {
              id: "6",
              name: "David Kumar",
              handle: "@davidkumar_wellness",
              testimonial: "High-quality ingredients, sustainable sourcing, and incredible flavor. SweetDream proves that luxury chocolate can also be responsible. Highly recommended.",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=vbzq99",
              imageAlt: "David Kumar"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          speed={30}
          topMarqueeDirection="left"
          className="py-16 lg:py-24"
          containerClassName="max-w-6xl mx-auto"
          textBoxTitleClassName="text-3xl lg:text-5xl font-bold"
          textBoxDescriptionClassName="text-base lg:text-lg"
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqDouble
          title="Frequently Asked Questions"
          description="Everything you need to know about SweetDream chocolates and our service"
          tag="Help & Support"
          tagIcon={HelpCircle}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="smooth"
          faqs={[
            {
              id: "1",
              title: "What makes SweetDream chocolate different?",
              content: "Our chocolates are handcrafted using single-origin cocoa beans sourced from sustainable farms. We work directly with farmers, use traditional techniques combined with innovative flavors, and maintain exceptional quality standards throughout the entire process from bean to bar."
            },
            {
              id: "2",
              title: "How should I store my SweetDream chocolates?",
              content: "Store your chocolates in a cool, dry place away from direct sunlight and heat sources. The ideal temperature is 60-70°F (15-21°C). Keep them in their original packaging or an airtight container to preserve freshness and flavor for up to 6 months."
            },
            {
              id: "3",
              title: "Do you offer gift wrapping or custom packaging?",
              content: "Yes! All our products come beautifully packaged and ready for gifting. We also offer custom gift wrapping and personalized message cards. Contact our team for special requests or bulk orders."
            },
            {
              id: "4",
              title: "Are your chocolates ethically sourced?",
              content: "Absolutely. We partner exclusively with certified sustainable farms that practice fair trade. We ensure our farmers receive fair compensation and maintain ethical labor practices throughout our supply chain."
            },
            {
              id: "5",
              title: "What is your return policy?",
              content: "We're confident you'll love our chocolates. If you're not completely satisfied, we offer a 30-day money-back guarantee. Simply contact our customer service team with your order number for a hassle-free return process."
            },
            {
              id: "6",
              title: "Do you ship internationally?",
              content: "Yes, we ship to select countries worldwide. International orders may take 10-15 business days and incur additional shipping fees. Customs duties may apply depending on your location. Check our shipping page for specific details."
            },
            {
              id: "7",
              title: "Can I customize chocolate assortments?",
              content: "Yes! Create your own custom assortment by selecting your favorite pieces from our collections. You can also order custom flavors for bulk purchases. Contact us with your specifications for a personalized quote."
            },
            {
              id: "8",
              title: "Are there allergen concerns?",
              content: "Our facility processes tree nuts and may contain traces of allergens. All products display complete ingredient lists and allergen information. If you have specific concerns, please contact us before ordering."
            }
          ]}
          className="py-16 lg:py-24"
          containerClassName="max-w-5xl mx-auto"
          textBoxTitleClassName="text-3xl lg:text-5xl font-bold"
          textBoxDescriptionClassName="text-base lg:text-lg"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCenter
          tag="Newsletter"
          tagIcon={Mail}
          title="Stay Connected to SweetDream"
          description="Subscribe to our newsletter for exclusive flavors, special releases, and a 10% welcome discount on your first order"
          useInvertedBackground="noInvert"
          inputPlaceholder="Enter your email address"
          buttonText="Join the Dream"
          termsText="We respect your privacy. Unsubscribe anytime. By subscribing, you agree to receive marketing emails from SweetDream."
          className="py-16 lg:py-24"
          containerClassName="max-w-2xl mx-auto"
          contentClassName="text-center"
          titleClassName="text-3xl lg:text-4xl font-bold mb-4"
          descriptionClassName="text-base lg:text-lg opacity-90 mb-8"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseSocial
          logoText="SweetDream"
          description="Handcrafted chocolate experiences that evoke indulgence, quality, and moments of pure joy. From single-origin beans to expertly crafted pieces, SweetDream is your destination for premium artisan chocolate."
          copyrightText="© 2025 SweetDream Chocolates. All rights reserved."
          columns={[
            {
              title: "Shop",
              items: [
                { label: "All Collections", href: "products" },
                { label: "Dark Chocolate", href: "products" },
                { label: "Milk Chocolate", href: "products" },
                { label: "Gift Sets", href: "products" },
                { label: "Limited Editions", href: "products" }
              ]
            },
            {
              title: "About",
              items: [
                { label: "Our Story", href: "about" },
                { label: "Sourcing & Ethics", href: "about" },
                { label: "Craftsmanship", href: "about" },
                { label: "Sustainability", href: "about" }
              ]
            },
            {
              title: "Support",
              items: [
                { label: "Contact Us", href: "contact" },
                { label: "FAQ", href: "faq" },
                { label: "Shipping Info", href: "shipping" },
                { label: "Returns", href: "returns" }
              ]
            },
            {
              title: "Legal",
              items: [
                { label: "Privacy Policy", href: "privacy" },
                { label: "Terms of Service", href: "terms" },
                { label: "Cookie Policy", href: "cookies" }
              ]
            }
          ]}
          socialLinks={[
            { icon: Instagram, href: "https://instagram.com/sweetdreamchocolates", ariaLabel: "Instagram" },
            { icon: Facebook, href: "https://facebook.com/sweetdreamchocolates", ariaLabel: "Facebook" },
            { icon: Twitter, href: "https://twitter.com/sweetdream_co", ariaLabel: "Twitter" }
          ]}
          className="border-t border-accent"
          containerClassName="max-w-7xl mx-auto"
          logoTextClassName="text-2xl font-bold"
          descriptionClassName="text-sm leading-relaxed opacity-80"
          columnTitleClassName="text-sm font-semibold mb-4"
          columnItemClassName="text-sm opacity-75 hover:opacity-100 transition-opacity"
        />
      </div>
    </ThemeProvider>
  );
}