"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactText from '@/components/sections/contact/ContactText';
import FaqSplitText from '@/components/sections/faq/FaqSplitText';
import FeatureCardTwentyOne from '@/components/sections/feature/FeatureCardTwentyOne';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import HeroSplitKpi from '@/components/sections/hero/HeroSplitKpi';
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne';
import { Diamond, Sparkles } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="bounce-effect"
        defaultTextAnimation="entrance-slide"
        borderRadius="pill"
        contentWidth="small"
        sizing="mediumLarge"
        background="blurBottom"
        cardStyle="solid"
        primaryButtonStyle="gradient"
        secondaryButtonStyle="solid"
        headingFontWeight="bold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleCentered
      navItems={[
        {
          name: "Home",
          id: "#home",
        },
        {
          name: "About",
          id: "#about",
        },
        {
          name: "Collections",
          id: "#collections",
        },
        {
          name: "Products",
          id: "#products",
        },
        {
          name: "Testimonials",
          id: "#testimonials",
        },
        {
          name: "FAQ",
          id: "#faq",
        },
        {
          name: "Contact",
          id: "#contact",
        },
      ]}
      button={{
        text: "Shop Now",
        href: "#products",
      }}
      logoSrc="http://img.b2bpic.net/free-photo/white-shopping-bag-gift-boxes-with-jewelry-colored-background_23-2147874177.jpg"
      brandName="JASY Jewels"
    />
  </div>

  <div id="home" data-section="home">
      <HeroSplitKpi
      background={{
        variant: "radial-gradient",
      }}
      imagePosition="right"
      title="JASY Jewels: \"Elegance Crafted for Eternity\""
      description="Discover a world where timeless elegance meets unparalleled craftsmanship. JASY Jewels offers exquisite pieces designed to capture hearts and celebrate life's most precious moments."
      kpis={[
        {
          value: "25+",
          label: "Years of Craft",
        },
        {
          value: "500+",
          label: "Unique Designs",
        },
        {
          value: "100%",
          label: "Certified Quality",
        },
      ]}
      enableKpiAnimation={true}
      buttons={[
        {
          text: "Explore Collections",
          href: "#collections",
        },
        {
          text: "Book an Appointment",
          href: "#contact",
        },
      ]}
      avatars={[
        {
          src: "http://img.b2bpic.net/free-photo/smile-woman-talking-phone-looking-camera_23-2148317284.jpg",
          alt: "Customer Sarah Johnson",
        },
        {
          src: "http://img.b2bpic.net/free-photo/blond-businessman-happy-expression_1194-3666.jpg",
          alt: "Customer Michael Chen",
        },
        {
          src: "http://img.b2bpic.net/free-photo/pretty-woman-with-eco-food-bowl_624325-686.jpg",
          alt: "Customer Emily Rodriguez",
        },
        {
          src: "http://img.b2bpic.net/free-photo/handsome-young-blogger-recording-station-ready-interview_1303-21986.jpg",
          alt: "Customer David Kim",
        },
        {
          src: "http://img.b2bpic.net/free-photo/close-up-portrait-beautiful-woman-dressed-stylish-blue-jacket-walking-autumn-sunny-street-wearing-elegant-sunglasses-earrings_285396-7845.jpg",
          alt: "Satisfied client",
        },
      ]}
      avatarText="Trusted by over 10,000 satisfied clients worldwide."
      imageSrc="http://img.b2bpic.net/free-photo/decorative-word-love-blurred-background-interior-detail_169016-19168.jpg"
      imageAlt="Close-up of a sparkling diamond ring"
      mediaAnimation="slide-up"
      marqueeItems={[
        {
          type: "image",
          src: "http://img.b2bpic.net/free-photo/beautiful-silver-stars-background_23-2150160736.jpg",
          alt: "Sparkling diamond close up",
        },
        {
          type: "text",
          text: "Masterpiece Collections",
        },
        {
          type: "image",
          src: "http://img.b2bpic.net/free-photo/queen-crown-still-life_23-2150409249.jpg",
          alt: "Elegant gold necklace",
        },
        {
          type: "text",
          text: "Unrivaled Quality",
        },
        {
          type: "text-icon",
          text: "Expert Craftsmanship",
          icon: Diamond,
        },
      ]}
    />
  </div>

  <div id="about" data-section="about">
      <TestimonialAboutCard
      useInvertedBackground={false}
      tag="Our Story"
      title="The Art of Fine Jewelry Craftsmanship"
      description="At JASY Jewels, we believe in preserving the age-old tradition of jewelry making, infused with modern innovation. Each piece is a testament to meticulous artistry and a passion for perfection."
      subdescription="Our master jewelers hand-select every gemstone and metal, dedicating countless hours to designing and creating jewelry that is not just beautiful, but also a cherished heirloom for generations."
      icon={Sparkles}
      imageSrc="http://img.b2bpic.net/free-photo/workshop-woman-jeweler-is-busy-soldering-jewelry_1153-3528.jpg"
      imageAlt="Jewelry craftsman meticulously working on a piece"
      mediaAnimation="slide-up"
    />
  </div>

  <div id="collections" data-section="collections">
      <FeatureCardTwentyOne
      useInvertedBackground={true}
      title="Explore Our Exquisite Collections"
      description="From dazzling engagement rings to bespoke necklaces, our collections offer a diverse range of styles to suit every occasion and taste. Discover the perfect piece to tell your unique story."
      tag="Collections"
      accordionItems={[
        {
          id: "rings",
          title: "Rings: Symbol of Everlasting Love",
          content: "Our collection of rings includes exquisite engagement rings, wedding bands, and fashion rings, all crafted with precision and featuring ethically sourced diamonds and gemstones. Find the perfect symbol for your commitment.",
        },
        {
          id: "necklaces",
          title: "Necklaces: Elegance Around Your Neck",
          content: "Adorn yourself with our stunning necklaces, from delicate pendants to statement chokers. Each piece is designed to enhance your beauty and add a touch of sophistication to any ensemble.",
        },
        {
          id: "earrings",
          title: "Earrings: Sparkle for Every Moment",
          content: "Discover our diverse range of earrings, including classic studs, elegant drops, and contemporary hoops. Crafted with brilliant diamonds and vibrant gemstones, they are perfect for adding a radiant glow.",
        },
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/beautiful-engagement-ring-with-diamonds_23-2149509274.jpg"
      imageAlt="A collection of elegant diamond rings"
      mediaAnimation="slide-up"
      mediaPosition="left"
    />
  </div>

  <div id="products" data-section="products">
      <ProductCardOne
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={false}
      products={[
        {
          id: "prod-1",
          name: "Diamond Solitaire Ring",
          price: "€3,500",
          imageSrc: "http://img.b2bpic.net/free-photo/gold-ring_1203-2738.jpg",
          imageAlt: "Diamond solitaire ring",
        },
        {
          id: "prod-2",
          name: "Emerald Cut Pendant",
          price: "€2,800",
          imageSrc: "http://img.b2bpic.net/free-photo/precious-necklace-decorated-with-gemstones-lights-isolated_181624-28431.jpg",
          imageAlt: "Emerald cut diamond pendant",
        },
        {
          id: "prod-3",
          name: "Ruby Stud Earrings",
          price: "€1,200",
          imageSrc: "http://img.b2bpic.net/free-photo/young-stylish-beautiful-woman-blue-printed-dress-sunglasses-happy-mood-fashion-outfit-trendy-apparel-smiling-summer-accessories_285396-3853.jpg",
          imageAlt: "Ruby stud earrings",
        },
        {
          id: "prod-4",
          name: "Sapphire Tennis Bracelet",
          price: "€4,800",
          imageSrc: "http://img.b2bpic.net/free-photo/closeup-shot-female-wearing-fashionable-silver-charm-bracelet_181624-15761.jpg",
          imageAlt: "Sapphire tennis bracelet",
        },
        {
          id: "prod-5",
          name: "Classic Pearl Choker",
          price: "€950",
          imageSrc: "http://img.b2bpic.net/free-photo/closeup-vertical-shot-man-s-hand-with-white-black-beads-touching-beautiful-flowers_181624-3927.jpg",
          imageAlt: "Classic pearl choker necklace",
        },
        {
          id: "prod-6",
          name: "Men's Gold Signet Ring",
          price: "€2,100",
          imageSrc: "http://img.b2bpic.net/free-photo/man-skin-coat-holding-photo-camera-isolated-grey_613910-7877.jpg",
          imageAlt: "Men's gold signet ring",
        },
      ]}
      title="Our Signature Pieces"
      description="Hand-picked selections from our most popular and coveted collections. Each piece is a masterpiece of design and craftsmanship, ready to be treasured."
      tag="Featured Products"
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardOne
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={true}
      testimonials={[
        {
          id: "t-1",
          name: "Anna Nováková",
          role: "Fashion Designer",
          company: "Elegant Trends",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/beautiful-elegant-woman-black-dress-with-festive-makeup-beautiful-photo-with-bokeh-background_132075-14628.jpg",
        },
        {
          id: "t-2",
          name: "Petr Svoboda",
          role: "CEO",
          company: "Luxury Living",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/fashion-portrait-young-businessman-handsome-model-man-casual-cloth-suit-with-accesories-hands_158538-9450.jpg",
        },
        {
          id: "t-3",
          name: "Eva Králová",
          role: "Art Curator",
          company: "Gallery Moderne",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-blonde-woman-sunglasses-monaco-near-tree-sea-port-background_1268-25664.jpg",
        },
        {
          id: "t-4",
          name: "Jan Procházka",
          role: "Entrepreneur",
          company: "Innovate Global",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/young-man-glasses-wearing-autumn-clothes-walking-street-stylish-guy-with-modern-hairstyle-urban-street_273443-2014.jpg",
        },
        {
          id: "t-5",
          name: "Lucie Dvořáková",
          role: "Bridal Consultant",
          company: "Dream Weddings",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/black-woman-wearing-evening-christmas-makeup_633478-59.jpg",
        },
        {
          id: "t-6",
          name: "Marek Beneš",
          role: "Collector",
          company: "Rare Gems Society",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/closeup-portrait-sexy-handsome-fashion-male-model-man-dressed-elegant-suit-black-studio-lights-background_158538-9663.jpg",
        },
      ]}
      title="What Our Valued Clients Say"
      description="Read glowing testimonials from customers who have experienced the JASY Jewels difference. Your satisfaction is our greatest reward."
      tag="Client Love"
    />
  </div>

  <div id="social-proof" data-section="social-proof">
      <SocialProofOne
      textboxLayout="default"
      useInvertedBackground={false}
      names={[
        "http://img.b2bpic.net/free-vector/collection-diamond-logos-company_23-2148628500.jpg",
        "http://img.b2bpic.net/free-photo/engineer-helmet-standing-by-factory_1157-35548.jpg",
        "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=3rcqi5",
        "http://img.b2bpic.net/free-photo/single-s-day-banner-design_23-2149667422.jpg",
        "http://img.b2bpic.net/free-vector/fashion-accessories-logo-template-collection_23-2148884974.jpg",
        "http://img.b2bpic.net/free-vector/2025-top-ranked-most-trusted-brand-sticker_1017-59514.jpg",
        "http://img.b2bpic.net/free-photo/colleagues-smiling-speaking-discussing-drawings-new-ideas_176420-1671.jpg",
      ]}
      title="Recognized for Excellence"
      description="Our commitment to quality and ethical sourcing has earned us recognition from industry experts and prestigious publications."
      tag="Trust & Quality"
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqSplitText
      useInvertedBackground={true}
      faqs={[
        {
          id: "faq-1",
          title: "What materials do you use for your jewelry?",
          content: "We primarily use 18K and 14K gold (white, yellow, and rose), platinum, and palladium. All our diamonds are ethically sourced and conflict-free, certified by leading gemological institutes. We also work with a curated selection of precious gemstones.",
        },
        {
          id: "faq-2",
          title: "Do you offer custom design services?",
          content: "Yes, we specialize in creating bespoke jewelry. Our design team works closely with you to bring your unique vision to life, from initial sketches to the final exquisite piece. Book a consultation to discuss your ideas.",
        },
        {
          id: "faq-3",
          title: "What is your return and exchange policy?",
          content: "We offer a 30-day return or exchange policy on most unworn and undamaged items, accompanied by the original receipt and packaging. Custom-designed pieces are generally not eligible for return. Please refer to our detailed policy page for more information.",
        },
        {
          id: "faq-4",
          title: "How do I care for my JASY Jewels?",
          content: "To maintain the brilliance of your jewelry, we recommend regular cleaning with a soft cloth and mild soap. Avoid exposure to harsh chemicals and extreme temperatures. We also offer professional cleaning and maintenance services to ensure your pieces sparkle for years to come.",
        },
      ]}
      sideTitle="Your Questions, Our Answers"
      sideDescription="Find quick answers to common inquiries about our jewelry, services, and policies."
      buttons={[
        {
          text: "Contact Support",
          href: "#contact",
        },
      ]}
      faqsAnimation="slide-up"
      textPosition="left"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactText
      useInvertedBackground={false}
      background={{
        variant: "radial-gradient",
      }}
      text="Ready to Discover Your Perfect Piece?"
      buttons={[
        {
          text: "Book a Private Viewing",
          href: "#",
        },
        {
          text: "Email Us",
          href: "mailto:info@jasy.com",
        },
      ]}
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterBaseCard
      logoSrc="http://img.b2bpic.net/free-photo/white-shopping-bag-gift-boxes-with-jewelry-colored-background_23-2147874177.jpg"
      logoText="JASY Jewels"
      columns={[
        {
          title: "Company",
          items: [
            {
              label: "About Us",
              href: "#about",
            },
            {
              label: "Our Craft",
              href: "#collections",
            },
            {
              label: "Testimonials",
              href: "#testimonials",
            },
          ],
        },
        {
          title: "Collections",
          items: [
            {
              label: "Rings",
              href: "#collections",
            },
            {
              label: "Necklaces",
              href: "#collections",
            },
            {
              label: "Earrings",
              href: "#collections",
            },
            {
              label: "Bracelets",
              href: "#products",
            },
          ],
        },
        {
          title: "Support",
          items: [
            {
              label: "FAQ",
              href: "#faq",
            },
            {
              label: "Contact Us",
              href: "#contact",
            },
            {
              label: "Shipping & Returns",
              href: "#",
            },
            {
              label: "Jewelry Care",
              href: "#",
            },
          ],
        },
      ]}
      copyrightText="© 2024 JASY Jewels. All rights reserved."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
