"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import HeroLogoCarousel from '@/components/sections/hero/HeroLogoCarousel';
import TextAbout from '@/components/sections/about/TextAbout';
import FeatureCardNineteen from '@/components/sections/feature/FeatureCardNineteen';
import ProductCardFour from '@/components/sections/product/ProductCardFour';
import TestimonialCardTwelve from '@/components/sections/testimonial/TestimonialCardTwelve';
import MetricCardSix from '@/components/sections/metrics/MetricCardSix';
import FaqBase from '@/components/sections/faq/FaqBase';
import ContactText from '@/components/sections/contact/ContactText';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
import { CheckCircle, Users, Sparkles } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-shift"
      defaultTextAnimation="background-highlight"
      borderRadius="pill"
      contentWidth="medium"
      sizing="mediumLarge"
      background="dotGrid"
      cardStyle="gradient-subtle"
      primaryButtonStyle="radial-glow"
      secondaryButtonStyle="solid"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered 
          brandName="VITALIS"
          navItems={[
            { name: "Shop", id: "products" },
            { name: "About", id: "about" },
            { name: "Benefits", id: "features" },
            { name: "Testimonials", id: "testimonials" },
            { name: "Contact", id: "contact" }
          ]}
          button={{
            text: "Shop Now",            href: "products"
          }}
        />
      </div>
      
      <div id="hero" data-section="hero">
        <HeroLogoCarousel 
          logoText="VITALIS"
          description="Elevate your wellness with premium, science-backed supplements sourced with care in the heart of New York City."
          mediaItems={[
            {
              imageSrc: "https://img.b2bpic.net/free-photo/top-view-sustainably-produced-alcoholic-beverage_23-2150162937.jpg",              imageAlt: "Premium supplement bottle"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/close-up-elegant-beauty-selfcare-treatment_23-2149238283.jpg",              imageAlt: "Luxury vitamin capsules"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/top-view-sustainably-produced-alcoholic-beverage_23-2150162939.jpg",              imageAlt: "Premium protein powder"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/brain-booster-pills-still-life_23-2150769474.jpg",              imageAlt: "Supplement collection"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/high-angle-items-spa-therapy_23-2148290933.jpg",              imageAlt: "Premium supplement display"
            }
          ]
        />
      </div>
      
      <div id="about" data-section="about">
        <TextAbout 
          title="Crafted for those who demand the finest. We source premium ingredients with unwavering attention to quality, purity, and efficacy. Every supplement is rigorously tested to ensure you receive nothing but excellence."
          useInvertedBackground="noInvert"
          buttons={[
            {
              text: "Shop Premium Collection",              href: "products"
            }
          ]}
        />
      </div>
      
      <div id="features" data-section="features">
        <FeatureCardNineteen 
          title="Why Choose VITALIS"
          description="Premium supplements designed for discerning wellness enthusiasts"
          tag="Our Commitment"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          features={[
            {
              id: 1,
              tag: "Purity",              title: "Pharmaceutical Grade Testing",              subtitle: "Every batch verified for excellence",              description: "Our supplements undergo rigorous third-party laboratory testing to guarantee purity, potency, and absence of contaminants. We exceed industry standards in every formulation.",              imageSrc: "https://img.b2bpic.net/free-photo/young-man-scientist-looking-pensive-chemical-solution-test-tubes-team-chemical-chemists-working-together-sterile-microbiology-lab-doing-research_482257-10055.jpg"
            },
            {
              id: 2,
              tag: "Sourcing",              title: "Ethically Sourced Ingredients",              subtitle: "Premium sources from around the world",              description: "We partner with certified suppliers who share our commitment to sustainability and quality. Every ingredient is chosen for its efficacy and environmental responsibility.",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-hands-holding-lab-glassware_23-2148794435.jpg"
            },
            {
              id: 3,
              tag: "Efficacy",              title: "Science-Backed Formulations",              subtitle: "Results you can trust",              description: "Each product is formulated based on clinical research and developed by wellness experts. We focus on bioavailability and absorption for maximum effectiveness.",              imageSrc: "https://img.b2bpic.net/free-photo/chemist-researcher-doctor-wearing-ppe-equipment-prevent-infection-with-coronavirus-analyzing-virus-sample-using-microscope-working-medical-vaccine-chemistry-laboratory-medicine-concept_482257-28277.jpg"
            }
          ]}
        />
      </div>
      
      <div id="products" data-section="products">
        <ProductCardFour 
          title="Premium Collection"
          description="Carefully curated supplements for optimal wellness"
          tag="Featured Products"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          products={[
            {
              id: "1",              name: "Advanced Daily Multivitamin",              price: "$64",              variant: "Cream Bottle  60 Capsules",              imageSrc: "https://img.b2bpic.net/free-photo/healthy-jojoba-oil-assortment_23-2149047735.jpg",              imageAlt: "Advanced Daily Multivitamin"
            },
            {
              id: "2",              name: "Marine Collagen Complex",              price: "$78",              variant: "Unflavored  90 Capsules",              imageSrc: "https://img.b2bpic.net/free-photo/vitamin-injection-vial-glass-bottles-with-luxurious-patterned-labels_53876-165419.jpg",              imageAlt: "Marine Collagen Complex"
            },
            {
              id: "3",              name: "Premium Omega-3 Formula",              price: "$72",              variant: "Gold Bottle  120 Capsules",              imageSrc: "https://img.b2bpic.net/free-photo/sustainably-produced-alcoholic-beverage_23-2150163014.jpg",              imageAlt: "Premium Omega-3 Formula"
            }
          ]}
        />
      </div>
      
      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwelve 
          cardTitle="Trusted by over 8,000 discerning wellness enthusiasts across New York and beyond"
          cardTag="Customer Testimonials"
          useInvertedBackground="noInvert"
          testimonials={[
            {
              id: "1",              name: "Victoria Chen",              imageSrc: "https://img.b2bpic.net/free-photo/closeup-smiling-beautiful-adult-businesswoman_1262-1760.jpg",              imageAlt: "Victoria Chen"
            },
            {
              id: "2",              name: "Marcus Rodriguez",              imageSrc: "https://img.b2bpic.net/free-photo/content-beautiful-businesswoman-standing-window_1262-1778.jpg",              imageAlt: "Marcus Rodriguez"
            },
            {
              id: "3",              name: "Elena Kaufmann",              imageSrc: "https://img.b2bpic.net/free-photo/businesswoman-glasses-portrait_1262-1461.jpg",              imageAlt: "Elena Kaufmann"
            },
            {
              id: "4",              name: "James Thompson",              imageSrc: "https://img.b2bpic.net/free-photo/pensive-thoughtful-young-woman-looking-through-window-arms-crossed-indoors_1163-4227.jpg",              imageAlt: "James Thompson"
            },
            {
              id: "5",              name: "Sophie Leclerc",              imageSrc: "https://img.b2bpic.net/free-photo/serious-beautiful-businesswoman-standing-window_1262-1913.jpg",              imageAlt: "Sophie Leclerc"
            },
            {
              id: "6",              name: "David Park",              imageSrc: "https://img.b2bpic.net/free-photo/successful-businesswoman-ready-challenges_1163-4336.jpg",              imageAlt: "David Park"
            }
          ]}
        />
      </div>
      
      <div id="metrics" data-section="metrics">
        <MetricCardSix 
          title="Our Impact"
          description="Trusted credentials that reflect our commitment to excellence"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          metrics={[
            {
              id: "1",              value: "99.8%",              tag: "Purity",              tagIcon: CheckCircle,
              title: "Product Purity Rate"
            },
            {
              id: "2",              value: "8K+",              tag: "Customers",              tagIcon: Users,
              title: "Active Customers NYC"
            },
            {
              id: "3",              value: "47",              tag: "Formulations",              tagIcon: Sparkles,
              title: "Premium Products"
            }
          ]}
        />
      </div>
      
      <div id="faq" data-section="faq">
        <FaqBase 
          title="Frequently Asked Questions"
          description="Everything you need to know about our premium supplements"
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="smooth"
          faqs={[
            {
              id: "1",              title: "Are your supplements tested for purity and safety?",              content: "Absolutely. Every batch of our supplements undergoes rigorous third-party laboratory testing to verify purity, potency, and the absence of contaminants. We exceed FDA and industry standards to ensure your complete confidence in our products."
            },
            {
              id: "2",              title: "What makes VITALIS supplements premium?",              content: "Our premium positioning comes from our unwavering commitment to quality. We source only the finest ingredients from certified suppliers, use pharmaceutical-grade formulations, and maintain strict quality control throughout manufacturing and distribution."
            },
            {
              id: "3",              title: "How do I know which supplement is right for me?",              content: "Each product includes detailed information about ingredients, benefits, and suggested use. We recommend consulting with a healthcare provider to determine which supplements best support your individual wellness goals and health profile."
            },
            {
              id: "4",              title: "Are your ingredients ethically sourced?",              content: "Yes. We partner exclusively with certified suppliers who meet our rigorous standards for ethical sourcing and sustainability. We maintain transparency throughout our supply chain and are committed to environmental responsibility."
            },
            {
              id: "5",              title: "What is your return policy?",              content: "We stand behind our products with a 60-day satisfaction guarantee. If you're not completely satisfied with your purchase, simply return it for a full refund—no questions asked."
            },
            {
              id: "6",              title: "Do you offer consultations?",              content: "Yes! We offer personalized wellness consultations with our expert team. Contact us to schedule a complimentary consultation where we can discuss your wellness goals and recommend the ideal supplement regimen for you."
            }
          ]}
        />
      </div>
      
      <div id="contact" data-section="contact">
        <ContactText 
          text="Ready to elevate your wellness journey? Discover our complete collection of premium supplements and experience the VITALIS difference today."
          animationType="entrance-slide"
          useInvertedBackground="noInvert"
          buttons={[
            {
              text: "Shop Now",              href: "products"
            },
            {
              text: "Schedule Consultation",              href: "contact"
            }
          ]}
        />
      </div>
      
      <div id="footer" data-section="footer">
        <FooterBaseReveal 
          columns={[
            {
              title: "Shop",              items: [
                { label: "All Products", href: "products" },
                { label: "Vitamins", href: "products" },
                { label: "Minerals", href: "products" },
                { label: "Wellness Blends", href: "products" }
              ]
            },
            {
              title: "Company",              items: [
                { label: "About Us", href: "about" },
                { label: "Our Commitment", href: "features" },
                { label: "Customer Stories", href: "testimonials" },
                { label: "Contact", href: "contact" }
              ]
            },
            {
              title: "Resources",              items: [
                { label: "FAQ", href: "faq" },
                { label: "Wellness Blog", href: "blog" },
                { label: "Product Guide", href: "products" },
                { label: "Support", href: "contact" }
              ]
            }
          ],
          copyrightText: "© 2025 VITALIS. Premium wellness supplements for discerning health enthusiasts."
        />
      </div>
    </ThemeProvider>
  );
}