"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered";
import HeroLogoBillboard from "@/components/sections/hero/HeroLogoBillboard";
import InlineImageSplitTextAbout from "@/components/sections/about/InlineImageSplitTextAbout";
import ProductCardOne from "@/components/sections/product/ProductCardOne";
import FeatureBento from "@/components/sections/feature/FeatureBento";
import TestimonialCardFifteen from "@/components/sections/testimonial/TestimonialCardFifteen";
import FaqSplitMedia from "@/components/sections/faq/FaqSplitMedia";
import ContactCenter from "@/components/sections/contact/ContactCenter";
import FooterBaseCard from "@/components/sections/footer/FooterBaseCard";
import { Droplet, Flower2, Leaf, Mail, Shield, Sparkles, Star, Wind, Zap } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-bubble"
      defaultTextAnimation="reveal-blur"
      borderRadius="rounded"
      contentWidth="small"
      sizing="largeSmallSizeLargeTitles"
      background="aurora"
      cardStyle="gradient-bordered"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="solid"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          navItems={[
            { name: "Home", id: "hero" },
            { name: "About", id: "about" },
            { name: "Products", id: "products" },
            { name: "Features", id: "features" },
            { name: "Reviews", id: "testimonials" },
          ]}
          button={{ text: "Shop Now", href: "contact" }}
          brandName="Glow Ritual"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroLogoBillboard
          logoText="Glow Ritual"
          description="Discover the transformative power of nature-inspired skincare. Our carefully crafted formulations blend ancient botanical wisdom with modern science to reveal your most radiant skin."
          buttons={[
            { text: "Explore Collection", href: "products" },
            { text: "Learn Our Story", href: "about" },
          ]}
          background={{ variant: "aurora" }}
          imageSrc="http://img.b2bpic.net/free-photo/close-up-fair-skinned-young-women-s-hands-holding-jars-organic-body-creams-care-moisturizing-concept_197531-31493.jpg"
          imageAlt="Luxury skincare products on natural background"
          mediaAnimation="blur-reveal"
          frameStyle="card"
          buttonAnimation="slide-up"
        />
      </div>

      <div id="about" data-section="about">
        <InlineImageSplitTextAbout
          heading={[
            { type: "text", content: "Crafted with intention," },
            {
              type: "image",              src: "http://img.b2bpic.net/free-photo/close-up-elegant-beauty-selfcare-treatment_23-2149238252.jpg",              alt: "Natural ingredients"},
            { type: "text", content: "designed for results" },
          ]}
          useInvertedBackground={true}
          buttons={[{ text: "Discover Ingredients", href: "contact" }]}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardOne
          title="Our Signature Collection"
          description="Each product is formulated to address specific skin concerns with clean, effective ingredients that work in harmony with your skin's natural processes."
          tag="Premium Skincare"
          tagIcon={Sparkles}
          products={[
            {
              id: "1",              name: "Radiant Day Cream",              price: "$68",              imageSrc: "http://img.b2bpic.net/free-photo/luxury-cream-jar-silk-fabric_9975-134546.jpg",              imageAlt: "Radiant Day Cream"},
            {
              id: "2",              name: "Luminous Serum",              price: "$55",              imageSrc: "http://img.b2bpic.net/free-photo/cosmetic-bottle-with-serum-pipette-hand-stone-gray-background_185193-162254.jpg",              imageAlt: "Luminous Serum"},
            {
              id: "3",              name: "Renewal Night Mask",              price: "$72",              imageSrc: "http://img.b2bpic.net/free-photo/cosmetologist-applying-mask-face-client-beauty-salon_1303-16765.jpg",              imageAlt: "Renewal Night Mask"},
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          tagAnimation="slide-up"
          buttonAnimation="slide-up"
        />
      </div>

      <div id="features" data-section="features">
        <FeatureBento
          title="Why Choose Glow Ritual"
          description="Our commitment to purity, efficacy, and sustainability sets us apart in the skincare industry."
          animationType="slide-up"
          textboxLayout="split"
          useInvertedBackground={false}
          features={[
            {
              title: "100% Natural Ingredients",              description: "No synthetic chemicals or harmful additives. Pure botanical extracts.",              bentoComponent: "globe"},
            {
              title: "Dermatologist Tested",              description: "Clinically proven to enhance skin health and radiance.",              bentoComponent: "animated-bar-chart"},
            {
              title: "Sustainable Packaging",              description: "Eco-friendly materials that protect both your skin and the planet.",              bentoComponent: "orbiting-icons",              centerIcon: Leaf,
              items: [
                { icon: Droplet, ring: 1 },
                { icon: Flower2, ring: 2 },
                { icon: Wind, ring: 3 },
              ],
            },
            {
              title: "Visible Results in 28 Days",              description: "Our customers report noticeably improved skin texture and clarity.",              bentoComponent: "3d-stack-cards",              items: [
                {
                  icon: Star,
                  title: "Hydration",                  subtitle: "Deep moisture",                  detail: "Restores skin barrier"},
                {
                  icon: Zap,
                  title: "Radiance",                  subtitle: "Bright glow",                  detail: "Enhances luminosity"},
                {
                  icon: Shield,
                  title: "Protection",                  subtitle: "Antioxidant defense",                  detail: "Guards against damage"},
              ],
            },
          ]}
          tagAnimation="slide-up"
          buttonAnimation="slide-up"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFifteen
          testimonial="Glow Ritual transformed my skin completely. Within weeks, my complexion was clearer, more radiant, and I finally found products that actually work. The natural ingredients give me peace of mind knowing exactly what I'm putting on my skin."
          rating={5}
          author="Elena Martinez"
          avatars={[
            {
              src: "http://img.b2bpic.net/free-photo/caucasion-woman-casual-confident-concept_53876-137678.jpg",              alt: "Elena Martinez"},
            {
              src: "http://img.b2bpic.net/free-photo/portrait-woman-skin-care_1303-14011.jpg",              alt: "Sarah Johnson"},
            {
              src: "http://img.b2bpic.net/free-photo/cute-young-woman-skincare-portrait_624325-3443.jpg",              alt: "Jessica Lee"},
            {
              src: "http://img.b2bpic.net/free-photo/beauty-woman-face-closeup-isolated-black-background-beautiful-model-girl-makeup-gorgeous-lady-with-perfect-skin_639032-157.jpg",              alt: "Michelle Davis"},
          ]}
          useInvertedBackground={true}
          ratingAnimation="slide-up"
          avatarsAnimation="slide-up"
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqSplitMedia
          title="Common Skincare Questions"
          description="Get answers to frequently asked questions about our products, ingredients, and skincare routines."
          faqs={[
            {
              id: "1",              title: "Are your products suitable for sensitive skin?",              content: "Yes! All Glow Ritual products are formulated with sensitive skin in mind. We use gentle, hypoallergenic ingredients and avoid common irritants. We recommend doing a patch test before full application."},
            {
              id: "2",              title: "How long before I see results?",              content: "Most customers notice improvements within 2-4 weeks of consistent use. For best results, use our products as recommended daily and allow time for your skin to adjust to the natural ingredients."},
            {
              id: "3",              title: "Can I use multiple products together?",              content: "Absolutely! Our products are designed to complement each other. We recommend using the Day Cream in the morning, Serum in the evening, and Night Mask 2-3 times weekly."},
            {
              id: "4",              title: "Are you cruelty-free and vegan?",              content: "Yes, Glow Ritual is 100% cruelty-free and all our products are vegan. We never test on animals and source only plant-based ingredients."},
            {
              id: "5",              title: "What is your return policy?",              content: "We offer a 60-day satisfaction guarantee. If you're not completely happy with your purchase, we'll provide a full refund, no questions asked."},
            {
              id: "6",              title: "How should I store my skincare products?",              content: "Store all products in a cool, dark place away from direct sunlight. Keep containers tightly sealed to maintain freshness. For best results, use within 12 months of opening."},
          ]}
          imageSrc="http://img.b2bpic.net/free-photo/two-caucasian-girls-different-ages-cosmetic-facial-procedures-light-room-wellness-self-care-concept_197531-31432.jpg"
          imageAlt="Skincare routine essentials"
          mediaAnimation="slide-up"
          mediaPosition="left"
          faqsAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          tagAnimation="slide-up"
          buttonAnimation="slide-up"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCenter
          tag="Newsletter"
          tagIcon={Mail}
          title="Join Our Beauty Community"
          description="Subscribe to receive exclusive skincare tips, early access to new products, and special discounts delivered to your inbox."
          background={{ variant: "aurora" }}
          useInvertedBackground={true}
          inputPlaceholder="Enter your email"
          buttonText="Subscribe"
          termsText="We respect your privacy. Unsubscribe at any time from any email."
          tagAnimation="slide-up"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseCard
          logoText="Glow Ritual"
          columns={[
            {
              title: "Shop",              items: [
                { label: "All Products", href: "#products" },
                { label: "New Arrivals", href: "#products" },
                { label: "Best Sellers", href: "#products" },
                { label: "Skincare Kits", href: "#products" },
              ],
            },
            {
              title: "Learn",              items: [
                { label: "Skincare Guide", href: "#about" },
                { label: "Ingredient Index", href: "#about" },
                { label: "Blog", href: "#" },
                { label: "FAQ", href: "#faq" },
              ],
            },
            {
              title: "Company",              items: [
                { label: "About Us", href: "#about" },
                { label: "Sustainability", href: "#" },
                { label: "Contact", href: "#contact" },
                { label: "Careers", href: "#" },
              ],
            },
            {
              title: "Connect",              items: [
                { label: "Instagram", href: "https://instagram.com" },
                { label: "Facebook", href: "https://facebook.com" },
                { label: "Pinterest", href: "https://pinterest.com" },
                { label: "Newsletter", href: "#contact" },
              ],
            },
          ]}
          copyrightText="© 2025 Glow Ritual. All rights reserved."
        />
      </div>
    </ThemeProvider>
  );
}
