"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import HeroSplit from '@/components/sections/hero/HeroSplit';
import ProductCardSeven from '@/components/sections/product/ProductCardSeven';
import SplitAbout from '@/components/sections/about/SplitAbout';
import FeatureCardThirteen from '@/components/sections/feature/FeatureCardThirteen';
import TestimonialCardTwelve from '@/components/sections/testimonial/TestimonialCardTwelve';
import FaqDouble from '@/components/sections/faq/FaqDouble';
import ContactFaq from '@/components/sections/contact/ContactFaq';
import FooterSocial from '@/components/sections/footer/FooterSocial';
import { Check, Facebook, Heart, HelpCircle, Instagram, Leaf, MessageCircle, Package, Pinterest, Shield, Sparkles, Star, Twitter } from 'lucide-react';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="bounce-effect"
      defaultTextAnimation="entrance-slide"
      borderRadius="soft"
      contentWidth="mediumLarge"
      sizing="large"
      background="floatingGradient"
      cardStyle="shadow-colored"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="solid"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="Luminore"
          navItems={[
            { name: "Products", id: "products" },
            { name: "About", id: "about" },
            { name: "FAQ", id: "faq" },
            { name: "Contact", id: "contact" }
          ]}
          button={{
            text: "Shop Now",
            href: "products"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroSplit
          title="Radiant Skin Starts Here"
          description="Discover our curated collection of premium skincare products crafted with natural ingredients and scientific innovation to reveal your most luminous complexion."
          tag="Premium Skincare"
          tagIcon={Sparkles}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767024786670-y53hgru0.jpg"
          imageAlt="Luxury skincare product collection"
          imagePosition="right"
          buttons={[
            { text: "Explore Products", href: "products" },
            { text: "Learn More", href: "about" }
          ]}
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardSeven
          title="Featured Products"
          description="Explore our bestselling skincare essentials, carefully formulated to transform your daily routine"
          tag="Best Sellers"
          tagIcon={Star}
          products={[
            {
              id: "1",
              name: "Radiance Renewal Serum",
              price: "$64",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766341388627-c0ho52ef.jpg",
              imageAlt: "Radiance Renewal Serum bottle"
            },
            {
              id: "2",
              name: "Hydration Boost Moisturizer",
              price: "$48",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767024787522-1oc2uy7z.jpg",
              imageAlt: "Hydration Boost Moisturizer jar"
            },
            {
              id: "3",
              name: "Gentle Cleansing Balm",
              price: "$42",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767024788427-hrp1lv22.jpg",
              imageAlt: "Gentle Cleansing Balm"
            },
            {
              id: "4",
              name: "UV Shield Sunscreen SPF 50",
              price: "$38",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767024789389-fhh1q8g8.jpg",
              imageAlt: "UV Shield Sunscreen SPF 50"
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          buttons={[
            { text: "View All Products", href: "#" }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <SplitAbout
          title="Our Story"
          description="We believe that beautiful skin is the foundation of confidence. Luminore was founded on a simple principle: skincare should be both effective and accessible, combining the best of nature with advanced science."
          tag="About Us"
          tagIcon={Heart}
          imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1767024790419-fpg9n4uq.png"
          imageAlt="Luminore skincare laboratory"
          imagePosition="right"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          bulletPoints={[
            {
              title: "Natural Ingredients",
              description: "Sourced from sustainable farms and processed with care to maintain their potency",
              icon: Leaf
            },
            {
              title: "Dermatologist Tested",
              description: "Every formula is rigorously tested and approved by dermatologists for safety and efficacy",
              icon: Shield
            },
            {
              title: "Cruelty-Free Promise",
              description: "We are committed to ethical beauty practices and never test on animals",
              icon: Check
            }
          ]}
          buttons={[
            { text: "Learn More", href: "#" }
          ]}
        />
      </div>

      <div id="benefits" data-section="benefits">
        <FeatureCardThirteen
          title="Our Product Range"
          description="Carefully curated skincare solutions for every skin type and concern"
          tag="Product Categories"
          tagIcon={Package}
          features={[
            {
              id: "01",
              title: "Face Serums",
              description: "Concentrated formulas designed to target specific skin concerns with powerful active ingredients"
            },
            {
              id: "02",
              title: "Moisturizers",
              description: "Hydrating creams and lotions that lock in moisture and nourish skin throughout the day"
            },
            {
              id: "03",
              title: "Cleansers",
              description: "Gentle yet effective cleansing solutions that remove impurities without compromising skin health"
            },
            {
              id: "04",
              title: "Sun Protection",
              description: "Broad-spectrum UV protection products that shield skin while maintaining a natural complexion"
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwelve
          cardTitle="Trusted by thousands of customers who've transformed their skincare routine"
          cardTag="Customer Reviews"
          cardTagIcon={Heart}
          testimonials={[
            {
              id: "1",
              name: "Sarah Chen",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766154635301-vse33sxl.jpg",
              imageAlt: "Sarah Chen"
            },
            {
              id: "2",
              name: "Emma Rodriguez",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766183842429-uezzjpov.jpg",
              imageAlt: "Emma Rodriguez"
            },
            {
              id: "3",
              name: "Jessica Williams",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766184309647-aqbmmuiq.jpg",
              imageAlt: "Jessica Williams"
            },
            {
              id: "4",
              name: "Maria Garcia",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766849444575-td00y2fe.jpg",
              imageAlt: "Maria Garcia"
            },
            {
              id: "5",
              name: "Lisa Anderson",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766152149165-8nddns07.jpg",
              imageAlt: "Lisa Anderson"
            },
            {
              id: "6",
              name: "Michelle Taylor",
              imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766849445373-zmzxg3xm.jpg",
              imageAlt: "Michelle Taylor"
            }
          ]}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqDouble
          title="Frequently Asked Questions"
          description="Find answers to common questions about our products and skincare recommendations"
          tag="Support"
          tagIcon={HelpCircle}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="smooth"
          faqs={[
            {
              id: "1",
              title: "What skin types are your products suitable for?",
              content: "Our skincare line is formulated for all skin types, including sensitive, oily, combination, and dry skin. Each product is dermatologist-tested and hypoallergenic. If you have specific concerns, we recommend consulting the product description or contacting our support team."
            },
            {
              id: "2",
              title: "Are your products cruelty-free?",
              content: "Yes, we are proudly certified cruelty-free. We do not test our products on animals and work only with suppliers who share our ethical standards. All our products are made with compassion for animals and the environment."
            },
            {
              id: "3",
              title: "How long does shipping take?",
              content: "Standard shipping typically takes 5-7 business days within the continental United States. Express shipping options are available for 2-3 day delivery. International orders may take 2-3 weeks depending on location. All orders include tracking information."
            },
            {
              id: "4",
              title: "Do you offer a money-back guarantee?",
              content: "Absolutely! We offer a 30-day money-back guarantee on all our products. If you're not satisfied with your purchase for any reason, simply return the product for a full refund. Your satisfaction is our priority."
            },
            {
              id: "5",
              title: "Can I use multiple serums together?",
              content: "Yes, layering serums is possible and can be beneficial. We recommend applying water-based serums first, followed by oil-based ones. Allow each layer to absorb before applying the next. Our team can provide personalized recommendations based on your skin concerns."
            },
            {
              id: "6",
              title: "What are the main ingredients in your formulas?",
              content: "Our products feature a blend of natural ingredients including hyaluronic acid, niacinamide, botanical extracts, and plant-derived oils. Each product list includes full ingredient details and sourcing information. We prioritize clean beauty with minimal synthetic additives."
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactFaq
          ctaTitle="Get in Touch"
          ctaDescription="Have questions about our skincare products? Our dedicated team is here to help you find the perfect solution for your skin."
          ctaButton={{
            text: "Contact Us",
            href: "#"
          }}
          ctaIcon={MessageCircle}
          useInvertedBackground="noInvert"
          animationType="slide-up"
          accordionAnimationType="smooth"
          faqs={[
            {
              id: "1",
              title: "What is your customer service availability?",
              content: "Our customer service team is available Monday through Friday, 9 AM to 6 PM EST. We respond to all inquiries within 24 hours. For urgent matters, please call our hotline at 1-800-LUMINORE."
            },
            {
              id: "2",
              title: "How can I track my order?",
              content: "Once your order ships, you'll receive a tracking number via email. You can use this number to monitor your package in real-time on our website or through your carrier's tracking system."
            },
            {
              id: "3",
              title: "Do you offer bulk or wholesale purchases?",
              content: "Yes! We offer special pricing for bulk orders and wholesale partnerships. Please contact our business development team at wholesale@luminore.com for more information about volume discounts and terms."
            }
          ]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterSocial
          logoText="Luminore"
          copyrightText="© Luminore Skincare, Inc. 2025. All rights reserved."
          columns={[
            {
              title: "Shop",
              items: [
                { label: "All Products", href: "products" },
                { label: "New Arrivals", href: "#" },
                { label: "Best Sellers", href: "#" },
                { label: "Gift Sets", href: "#" }
              ]
            },
            {
              title: "Company",
              items: [
                { label: "About Us", href: "about" },
                { label: "Our Story", href: "#" },
                { label: "Sustainability", href: "#" },
                { label: "Careers", href: "#" }
              ]
            },
            {
              title: "Support",
              items: [
                { label: "Contact Us", href: "contact" },
                { label: "FAQ", href: "faq" },
                { label: "Shipping Info", href: "#" },
                { label: "Returns", href: "#" }
              ]
            },
            {
              title: "Legal",
              items: [
                { label: "Privacy Policy", href: "#" },
                { label: "Terms of Service", href: "#" },
                { label: "Cookie Policy", href: "#" }
              ]
            }
          ]}
          socialLinks={[
            {
              icon: Instagram,
              href: "https://instagram.com",
              ariaLabel: "Instagram"
            },
            {
              icon: Facebook,
              href: "https://facebook.com",
              ariaLabel: "Facebook"
            },
            {
              icon: Twitter,
              href: "https://twitter.com",
              ariaLabel: "Twitter"
            },
            {
              icon: Pinterest,
              href: "https://pinterest.com",
              ariaLabel: "Pinterest"
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}