"use client";

import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import FaqSplitText from '@/components/sections/faq/FaqSplitText';
import TestimonialCardTwo from '@/components/sections/testimonial/TestimonialCardTwo';
import ContactCenter from '@/components/sections/contact/ContactCenter';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import { Star, Mail } from "lucide-react";

export default function FaqPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="slide-background"
      defaultTextAnimation="reveal-blur"
      borderRadius="rounded"
      contentWidth="smallMedium"
      sizing="mediumLargeSizeLargeTitles"
      background="floatingGradient"
      cardStyle="glass-elevated"
      primaryButtonStyle="flat"
      secondaryButtonStyle="solid"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="LuxeGlow"
          navItems={[
            { name: "Home", id: "/" },
            { name: "Products", id: "/products" },
            { name: "About", id: "/about" },
            { name: "Pricing", id: "/pricing" },
            { name: "FAQ", id: "/faq" }
          ]}
          button={{
            text: "Shop Now",            href: "/products"
          }}
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqSplitText
          sideTitle="Frequently Asked Questions"
          sideDescription="Everything you need to know about LuxeGlow products and services"
          textPosition="left"
          useInvertedBackground="noInvert"
          animationType="smooth"
          faqs={[
            {
              id: "1",              title: "Are your products suitable for sensitive skin?",              content: "Yes! All our products are dermatologist-tested and formulated to be gentle on sensitive skin. We avoid common irritants and use only high-quality, natural ingredients. If you have specific skin concerns, we recommend starting with our Gentle Cleansing Oil and Hydrating Serum."
            },
            {
              id: "2",              title: "How long does it take to see results?",              content: "Most customers notice visible improvements within 2-4 weeks of consistent use. Results vary based on individual skin type and conditions, but our customers report increased hydration, improved texture, and enhanced radiance within the first month."
            },
            {
              id: "3",              title: "Are your products vegan and cruelty-free?",              content: "Absolutely! LuxeGlow is 100% vegan and cruelty-free. We do not test on animals, use animal-derived ingredients, or work with suppliers who do. We're certified by leading animal welfare organizations."
            },
            {
              id: "4",              title: "Can I use multiple products together?",              content: "Yes, our products are designed to work together as a complete skincare system. We recommend the order: Cleansing Oil → Hydrating Serum → Moisturizer. Sheet masks can be used 1-2 times weekly as an intensive treatment."
            },
            {
              id: "5",              title: "Do you offer international shipping?",              content: "Yes, we ship worldwide! Orders typically arrive within 5-7 business days for domestic shipping and 7-14 days for international orders. We offer free shipping on orders over $100."
            },
            {
              id: "6",              title: "What is your return policy?",              content: "We offer a 30-day money-back guarantee on all products. If you're not completely satisfied, simply return your order for a full refund, no questions asked. We stand behind the quality of our skincare."
            }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwo
          title="Customer Success Stories"
          description="See why thousands trust LuxeGlow for their skincare needs"
          tag="Reviews"
          tagIcon={Star}
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          animationType="slide-up"
          testimonials={[
            {
              id: "1",              name: "Sophie Laurent",              role: "Beauty Blogger",              testimonial: "LuxeGlow products have completely transformed my skin. Within two weeks, my complexion was noticeably clearer and more radiant. I'm obsessed!",              imageSrc: "https://img.b2bpic.net/free-photo/front-view-business-woman-suit_23-2148603018.jpg",              imageAlt: "Sophie Laurent, beauty influencer"
            },
            {
              id: "2",              name: "Emma Mitchell",              role: "Skincare Specialist",              testimonial: "As a professional, I recommend only the best for my clients. LuxeGlow's ingredients and formulations meet the highest standards of efficacy and safety.",              imageSrc: "https://img.b2bpic.net/free-photo/closeup-young-female-professional-making-eye-contact-against-colored-background_662251-651.jpg",              imageAlt: "Emma Mitchell, skincare professional"
            },
            {
              id: "3",              name: "Olivia Chen",              role: "Makeup Artist",              testimonial: "My clients with sensitive skin absolutely love this brand. The results are visible, the products are gentle, and the service is exceptional.",              imageSrc: "https://img.b2bpic.net/free-photo/front-view-professional-business-woman-suit_23-2148603020.jpg",              imageAlt: "Olivia Chen, makeup artist"
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCenter
          tag="Still Have Questions?"
          tagIcon={Mail}
          title="Contact Our Skincare Experts"
          description="Get personalized skincare advice from our team of experts or reach out with any questions about our products"
          useInvertedBackground="noInvert"
          inputPlaceholder="Your email for expert advice"
          buttonText="Get Expert Help"
          termsText="Our skincare experts will respond within 24 hours with personalized recommendations."
        />
      </div>

      <FooterLogoReveal logoText="LuxeGlow" />
    </ThemeProvider>
  );
}
