"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FaqDouble from '@/components/sections/faq/FaqDouble';
import FeatureCardOne from '@/components/sections/feature/FeatureCardOne';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import HeroOverlayTestimonial from '@/components/sections/hero/HeroOverlayTestimonial';
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
import TestimonialCardThirteen from '@/components/sections/testimonial/TestimonialCardThirteen';
import { Sparkles } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="hover-bubble"
        defaultTextAnimation="reveal-blur"
        borderRadius="pill"
        contentWidth="small"
        sizing="mediumSizeLargeTitles"
        background="floatingGradient"
        cardStyle="inset"
        primaryButtonStyle="flat"
        secondaryButtonStyle="glass"
        headingFontWeight="extrabold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarLayoutFloatingInline
      navItems={[
        {
          name: "Home",
          id: "#hero",
        },
        {
          name: "About",
          id: "#about",
        },
        {
          name: "Products",
          id: "#products",
        },
        {
          name: "Reviews",
          id: "#testimonials",
        },
        {
          name: "Contact",
          id: "#contact",
        },
      ]}
      logoSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ExyEjrlXFcQFOUVUdIVmQsSFFY/uploaded-1781134437166-02t6u7q4.jpg"
      logoAlt="AVNT Logo"
      brandName="AVNT"
      button={{
        text: "Shop Now",
        href: "#products",
      }}
      animateOnLoad={true}
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroOverlayTestimonial
      title="AVNT: Future In Motion."
      description="Redefine your style with our premium tracksuits, crafted for comfort, performance, and unmatched aesthetics. Move with purpose, live with style."
      testimonials={[
        {
          name: "Alex K.",
          handle: "@alex_k",
          testimonial: "The comfort is insane! My AVNT tracksuit feels custom-made.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-stylish-man-posing_23-2148895163.jpg",
          imageAlt: "Alex K. profile",
        },
        {
          name: "Samantha L.",
          handle: "@samantha.l",
          testimonial: "Finally, a tracksuit that looks as good as it feels. Obsessed!",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/portrait-happy-woman-with-shopping-bags_23-2147823576.jpg",
          imageAlt: "Samantha L. profile",
        },
        {
          name: "Marcus R.",
          handle: "@marcus.r",
          testimonial: "Perfect for both gym and lounging. The quality is top-notch.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/friendly-smiling-middle-eastern-man-with-long-beard_176420-20447.jpg",
          imageAlt: "Marcus R. profile",
        },
        {
          name: "Jessica M.",
          handle: "@jessica.m",
          testimonial: "Stylish, durable, and so comfortable. AVNT is my new go-to.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/happy-cheerful-woman-hairband-t-shirt-looking-camera_74855-6031.jpg",
          imageAlt: "Jessica M. profile",
        },
        {
          name: "Ben T.",
          handle: "@ben_track",
          testimonial: "I get so many compliments when I wear my AVNT set. Highly recommend!",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/smiling-young-guy-posing_176420-29910.jpg",
          imageAlt: "Ben T. profile",
        },
      ]}
      testimonialRotationInterval={5000}
      tag="Elevate Your Style"
      tagAnimation="slide-up"
      buttons={[
        {
          text: "Shop New Arrivals",
          href: "#products",
        },
      ]}
      buttonAnimation="slide-up"
      avatars={[
        {
          src: "http://img.b2bpic.net/free-photo/handsome-man-outdoors-portrait_158595-3551.jpg",
          alt: "Customer 1",
        },
        {
          src: "http://img.b2bpic.net/free-photo/happy-girl-with-coffee-hands-emotion-concept-emotion-happiness_169016-65974.jpg",
          alt: "Customer 2",
        },
        {
          src: "http://img.b2bpic.net/free-photo/front-view-young-lady-yellow-black-flower-designed-dress-with-yellow-bandage-head-holding-shopping-packages-smiling-yellow_140725-16867.jpg",
          alt: "Customer 3",
        },
        {
          src: "http://img.b2bpic.net/free-photo/side-view-smiley-bohemian-woman_23-2149726236.jpg",
          alt: "Customer 4",
        },
        {
          src: "http://img.b2bpic.net/free-photo/medium-shot-stylish-man-posing_23-2148895163.jpg",
          alt: "Customer 5",
        },
      ]}
      avatarText="Join 10K+ satisfied customers"
      imageSrc="http://img.b2bpic.net/free-photo/sportsman_23-2148023744.jpg?_wi=1"
      imageAlt="Model wearing AVNT tracksuit in an urban setting"
      showBlur={true}
      textPosition="bottom"
    />
  </div>

  <div id="about" data-section="about">
      <TestimonialAboutCard
      useInvertedBackground={true}
      tag="Our Philosophy"
      title="Crafted for the Modern Movement"
      description="At AVNT, we believe in clothing that empowers your journey. Our tracksuits are designed to blend high fashion with ultimate functionality, ensuring you look and feel your best, whether you're hitting the streets or unwinding at home."
      subdescription="Every stitch, every fabric choice, is meticulously selected to deliver unparalleled comfort, durability, and a distinct style that stands out. Experience the future of motion with AVNT."
      icon={Sparkles}
      imageSrc="http://img.b2bpic.net/free-photo/woman-doing-yoga-beach_23-2148769613.jpg"
      imageAlt="Close-up of premium tracksuit fabric and stitching"
      mediaAnimation="slide-up"
    />
  </div>

  <div id="features" data-section="features">
      <FeatureCardOne
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={false}
      features={[
        {
          title: "Unrivaled Comfort",
          description: "Experience the soft embrace of our custom-blended fabrics. Designed for all-day wear, our tracksuits move with you, providing unrestricted comfort in any activity.",
          imageSrc: "http://img.b2bpic.net/free-photo/pensive-sporty-woman-ready-outdoor-workout_1262-18266.jpg",
          imageAlt: "Person relaxing in a comfortable AVNT tracksuit",
        },
        {
          title: "Sleek, Modern Style",
          description: "AVNT tracksuits are more than just athletic wear; they're a statement. With clean lines and contemporary fits, you'll exude confidence and sophistication wherever you go.",
          imageSrc: "http://img.b2bpic.net/free-photo/beautiful-blonde-woman-white-hoodie-blue-jeans-posing-against-neon-background_89887-1126.jpg",
          imageAlt: "Stylish person posing in an AVNT tracksuit",
        },
        {
          title: "Built to Last",
          description: "Durability is at the core of our design. Reinforced stitching and premium materials ensure your AVNT tracksuit withstands the test of time and countless adventures.",
          imageSrc: "http://img.b2bpic.net/free-photo/fashion-designer-using-digital-tablet_1098-21499.jpg",
          imageAlt: "Close-up of durable tracksuit stitching",
        },
      ]}
      title="Why Choose AVNT Tracksuits?"
      description="We blend innovative design with functional elegance."
    />
  </div>

  <div id="products" data-section="products">
      <ProductCardTwo
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={true}
      uniformGridCustomHeightClasses="min-h-95 2xl:min-h-105"
      products={[
        {
          id: "argentina-tracksuit",
          brand: "AVNT",
          name: "Argentina Inspired Tracksuit",
          price: "$129.99",
          rating: 5,
          reviewCount: "245",
          imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ExyEjrlXFcQFOUVUdIVmQsSFFY/uploaded-1781134437167-upb79kz2.png",
          imageAlt: "Off-white and cream Argentina inspired tracksuit",
        },
        {
          id: "brasil-tracksuit",
          brand: "AVNT",
          name: "Brasil Inspired Tracksuit",
          price: "$129.99",
          rating: 5,
          reviewCount: "198",
          imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ExyEjrlXFcQFOUVUdIVmQsSFFY/uploaded-1781134437166-02t6u7q4.jpg",
          imageAlt: "Forest green Brasil inspired tracksuit",
        },
        {
          id: "espana-tracksuit",
          brand: "AVNT",
          name: "España Inspired Tracksuit",
          price: "$129.99",
          rating: 5,
          reviewCount: "170",
          imageSrc: "http://img.b2bpic.net/free-photo/sportsman_23-2148023744.jpg?_wi=2",
          imageAlt: "Chocolate brown España inspired tracksuit",
        },
        {
          id: "grey-classic-tracksuit",
          brand: "AVNT",
          name: "Classic Grey Tracksuit",
          price: "$119.99",
          rating: 4,
          reviewCount: "310",
          imageSrc: "http://img.b2bpic.net/free-photo/full-shot-man-standing-outdoors_23-2148799668.jpg",
          imageAlt: "Classic grey tracksuit",
        },
        {
          id: "navy-elite-tracksuit",
          brand: "AVNT",
          name: "Elite Navy Tracksuit",
          price: "$139.99",
          rating: 5,
          reviewCount: "155",
          imageSrc: "http://img.b2bpic.net/free-photo/young-woman-blue-suit-posing-with-mirror-outdoors_23-2149445033.jpg",
          imageAlt: "Elite navy blue tracksuit",
        },
        {
          id: "stealth-black-tracksuit",
          brand: "AVNT",
          name: "Stealth Black Tracksuit",
          price: "$129.99",
          rating: 5,
          reviewCount: "402",
          imageSrc: "http://img.b2bpic.net/free-photo/full-shot-expressive-woman-posing-studio_23-2149429024.jpg",
          imageAlt: "Stealth black tracksuit",
        },
      ]}
      title="Explore Our Collection"
      description="Discover the full range of AVNT tracksuits. Find your perfect blend of style and comfort."
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardThirteen
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      testimonials={[
        {
          id: "1",
          name: "Sarah Johnson",
          handle: "@sarah_j",
          testimonial: "The quality of AVNT tracksuits is unmatched. So comfortable and stylish, perfect for my active lifestyle!",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-beautiful-african-american-woman-holding-black-umbrella_627829-4624.jpg",
          imageAlt: "Sarah Johnson smiling",
        },
        {
          id: "2",
          name: "Michael Chen",
          handle: "@mikec",
          testimonial: "I love how versatile these tracksuits are. From the gym to casual outings, they always look great.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/optimistic-lady-with-short-hairstyle-light-outfit-laughing-street-cheerful-brunette-woman-denim-pink-jacket-posing-outside_197531-29335.jpg",
          imageAlt: "Michael Chen laughing",
        },
        {
          id: "3",
          name: "Emily Rodriguez",
          handle: "@emily.r",
          testimonial: "AVNT has completely changed my wardrobe. Their designs are fresh, and the fit is perfect.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/stylish-hipster-arab-man-guy-sunglasses-posed-outdoor-street-sunset-against-gray-wall_627829-2738.jpg",
          imageAlt: "Emily Rodriguez thoughtfully looking",
        },
        {
          id: "4",
          name: "David Kim",
          handle: "@davidk",
          testimonial: "Couldn't be happier with my purchase. The material is premium, and it feels luxurious to wear.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/cute-smiling-curly-woman-lean-wall_176420-16738.jpg",
          imageAlt: "David Kim smiling",
        },
        {
          id: "5",
          name: "Olivia White",
          handle: "@olivia_w",
          testimonial: "Fantastic customer service and even better products. AVNT is my new favorite brand!",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/sporty-man-running-towards-camera_23-2147755558.jpg",
          imageAlt: "Olivia White running",
        },
      ]}
      showRating={true}
      title="What Our Customers Say"
      description="Hear directly from those who love their AVNT experience."
    />
  </div>

  <div id="social-proof" data-section="social-proof">
      <SocialProofOne
      textboxLayout="default"
      useInvertedBackground={true}
      names={[
        "Nike",
        "Adidas",
        "Puma",
        "Reebok",
        "Champion",
        "Fila",
        "Under Armour",
      ]}
      title="Trusted by the Best"
      description="AVNT is quickly becoming a favorite among leading fashion and sports enthusiasts."
      showCard={true}
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqDouble
      textboxLayout="default"
      useInvertedBackground={false}
      faqs={[
        {
          id: "faq1",
          title: "What materials are AVNT tracksuits made from?",
          content: "Our tracksuits are crafted from a premium blend of cotton and polyester, ensuring maximum comfort, breathability, and durability. Specific material compositions may vary slightly per collection for optimized performance and feel.",
        },
        {
          id: "faq2",
          title: "How do I choose the right size?",
          content: "We recommend referring to our detailed size chart available on each product page. It includes measurements for chest, waist, and inseam to help you find your perfect fit. If you're between sizes, we suggest sizing up for a relaxed fit or down for a more athletic silhouette.",
        },
        {
          id: "faq3",
          title: "What is your return and exchange policy?",
          content: "We offer a 30-day return and exchange policy from the date of purchase, provided items are unworn, unwashed, and in their original packaging with tags attached. Please visit our 'Returns' page for detailed instructions on how to initiate a return or exchange.",
        },
        {
          id: "faq4",
          title: "How should I care for my AVNT tracksuit?",
          content: "To maintain the quality and longevity of your tracksuit, we recommend machine washing cold with similar colors and tumble drying on low. Avoid bleach and direct ironing on prints or logos. Always check the care label inside your garment for specific instructions.",
        },
      ]}
      title="Frequently Asked Questions"
      description="Find quick answers to your most common inquiries about AVNT."
      faqsAnimation="slide-up"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactSplitForm
      useInvertedBackground={true}
      title="Get In Touch With AVNT"
      description="Have questions about our products, an order, or just want to say hello? Our team is here to help."
      inputs={[
        {
          name: "name",
          type: "text",
          placeholder: "Your Name",
          required: true,
        },
        {
          name: "email",
          type: "email",
          placeholder: "Your Email",
          required: true,
        },
        {
          name: "subject",
          type: "text",
          placeholder: "Subject",
          required: true,
        },
      ]}
      textarea={{
        name: "message",
        placeholder: "Your Message",
        rows: 5,
        required: true,
      }}
      imageSrc="http://img.b2bpic.net/free-photo/abstract-blur-defocused-shopping-mall-center-department-store_1203-9222.jpg"
      imageAlt="Modern clothing store interior"
      mediaAnimation="opacity"
      mediaPosition="right"
      buttonText="Send Message"
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterLogoEmphasis
      logoSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3ExyEjrlXFcQFOUVUdIVmQsSFFY/uploaded-1781134437166-02t6u7q4.jpg"
      logoAlt="AVNT Logo"
      columns={[
        {
          items: [
            {
              label: "About Us",
              href: "#about",
            },
            {
              label: "Our Story",
              href: "#about",
            },
            {
              label: "Mission & Values",
              href: "#about",
            },
          ],
        },
        {
          items: [
            {
              label: "Shop All",
              href: "#products",
            },
            {
              label: "New Arrivals",
              href: "#products",
            },
            {
              label: "Tracksuits",
              href: "#products",
            },
          ],
        },
        {
          items: [
            {
              label: "FAQ",
              href: "#faq",
            },
            {
              label: "Contact Support",
              href: "#contact",
            },
            {
              label: "Shipping & Returns",
              href: "#",
            },
          ],
        },
        {
          items: [
            {
              label: "Privacy Policy",
              href: "#",
            },
            {
              label: "Terms of Service",
              href: "#",
            },
            {
              label: "Cookie Policy",
              href: "#",
            },
          ],
        },
      ]}
      logoText="AVNT: Future In Motion."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
