"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FaqDouble from '@/components/sections/faq/FaqDouble';
import FeatureCardTwentyNine from '@/components/sections/feature/featureCardTwentyNine/FeatureCardTwentyNine';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import HeroCarouselLogo from '@/components/sections/hero/heroCarouselLogo/HeroCarouselLogo';
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import TestimonialCardSixteen from '@/components/sections/testimonial/TestimonialCardSixteen';
import TextAbout from '@/components/sections/about/TextAbout';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="expand-hover"
        defaultTextAnimation="reveal-blur"
        borderRadius="rounded"
        contentWidth="smallMedium"
        sizing="largeSmallSizeLargeTitles"
        background="noiseDiagonalGradient"
        cardStyle="soft-shadow"
        primaryButtonStyle="shadow"
        secondaryButtonStyle="glass"
        headingFontWeight="light"
    >
      <ReactLenis root>
        <div id="nav" data-section="nav">
          <NavbarLayoutFloatingInline
            navItems={[
              { name: "Home", id: "hero" },
              { name: "About", id: "about" },
              { name: "Services", id: "services" },
              { name: "Products", id: "products" },
              { name: "Contact", id: "contact" },
            ]}
            brandName="Ultra Jewelry"
            button={{ text: "Book Now", href: "#contact" }}
          />
        </div>

        <div id="hero" data-section="hero">
          <HeroCarouselLogo
            logoText="Ultra Jewelry"
            description="Exquisite custom jewelry, professional repairs, and personalized financing in Tampa, FL."
            buttons={[
              { text: "Explore Collection", href: "#products" },
              { text: "Book Repair", href: "#contact" },
            ]}
            slides={[
              { imageSrc: "http://img.b2bpic.net/free-photo/expensive-golden-ring-with-white-powder-background_23-2150347049.jpg", imageAlt: "Luxury Diamond Ring" },
              { imageSrc: "http://img.b2bpic.net/free-photo/view-luxurious-golden-ring-rock-concrete-tray_23-2150329670.jpg", imageAlt: "Fine Jewelry Craftsmanship" },
              { imageSrc: "http://img.b2bpic.net/free-photo/jewelry-maker-working-alone-atelier_23-2149025952.jpg", imageAlt: "Bespoke Jewelry Workshop" },
              { imageSrc: "http://img.b2bpic.net/free-photo/messy-fashion-still-life-arrangement_23-2148229227.jpg", imageAlt: "Luxury Boutique Interior" },
              { imageSrc: "http://img.b2bpic.net/free-photo/top-view-gold-chains-still-life_23-2149560600.jpg", imageAlt: "Sparkling Diamond Detail" },
              { imageSrc: "http://img.b2bpic.net/free-photo/senior-man-with-wife-choosing-new-necklace-shopping-mall_651396-1489.jpg", imageAlt: "Store Window Display" },
            ]}
          />
        </div>

        <div id="about" data-section="about">
          <TextAbout
            useInvertedBackground={false}
            title="Crafting Timeless Elegance in Tampa Bay"
            buttons={[{ text: "Visit Our Store", href: "#contact" }]}
          />
        </div>

        <div id="services" data-section="services">
          <FeatureCardTwentyNine
            animationType="slide-up"
            textboxLayout="split"
            gridVariant="three-columns-all-equal-width"
            useInvertedBackground={true}
            features={[
              { title: "Expert Repair", description: "Professional jewelry and watch repair services for all your valuables.", imageSrc: "http://img.b2bpic.net/free-photo/front-view-hairstylist-cleaning-table_23-2148506330.jpg", titleImageSrc: "http://img.b2bpic.net/free-photo/craftswoman-working-workshop_107420-65246.jpg", buttonText: "Inquire" },
              { title: "Custom Designs", description: "Bring your unique vision to life with our bespoke custom jewelry design.", imageSrc: "http://img.b2bpic.net/free-photo/golden-easter-eggs-by-easter-decorations_1303-30802.jpg", titleImageSrc: "http://img.b2bpic.net/free-photo/top-view-nail-polish-accesories-plain-background_23-2148306690.jpg", buttonText: "Start Design" },
              { title: "Flexible Financing", description: "Make your dream jewelry yours with our accessible financing options.", imageSrc: "http://img.b2bpic.net/free-photo/sewing-buttons-with-thread-reel_23-2148145952.jpg", titleImageSrc: "http://img.b2bpic.net/free-photo/laughing-woman-getting-marriage-proposal_23-2147736719.jpg", buttonText: "View Plans" },
            ]}
            title="Our Expert Services"
            description="Comprehensive jewelry solutions to maintain your precious pieces."
          />
        </div>

        <div id="products" data-section="products">
          <ProductCardThree
            textboxLayout="split"
            gridVariant="three-columns-all-equal-width"
            useInvertedBackground={false}
            animationType="slide-up"
            products={[
              { id: "p1", name: "Diamond Engagement Ring", price: "$2,450", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-engagement-ring-with-diamonds_23-2149509243.jpg", priceButtonProps: { text: "Purchase Now", href: "#contact" } },
              { id: "p2", name: "Gold Pendant Necklace", price: "$850", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-golden-bright-chain_23-2149836482.jpg", priceButtonProps: { text: "Purchase Now", href: "#contact" } },
              { id: "p3", name: "Diamond Drop Earrings", price: "$1,200", imageSrc: "http://img.b2bpic.net/free-photo/close-up-beautiful-afro-american-latin-woman-smiling-spending-nice-time-coffee-shop_58466-12273.jpg", priceButtonProps: { text: "Purchase Now", href: "#contact" } },
            ]}
            title="Curated Collections"
            description="Discover timeless treasures handcrafted for every occasion."
          />
        </div>

        <div id="testimonials" data-section="testimonials">
          <TestimonialCardSixteen
            animationType="slide-up"
            textboxLayout="split"
            useInvertedBackground={true}
            testimonials={[
              { id: "1", name: "Sarah J.", role: "Client", company: "Tampa", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/closeup-satisfied-bearded-guy-white-shirt-showing-thumbs-up-approval-like-agree-positiv_1258-113975.jpg" },
              { id: "2", name: "Michael C.", role: "Client", company: "Tampa", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/friends-taking-selfie-mall_23-2148225701.jpg" },
              { id: "3", name: "Elena R.", role: "Client", company: "Tampa", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/cheerful-happy-blonde-woman-white-blouse-laughs-sincerely-holds-knife-peace-bread-rests-street-cafe_197531-30012.jpg" },
            ]}
            kpiItems={[
              { value: "4.4", label: "Avg. Rating" },
              { value: "76+", label: "Happy Clients" },
              { value: "3+", label: "Years Served" },
            ]}
            title="Loved by Our Community"
            description="Hear what our wonderful Tampa clients say about their experience."
          />
        </div>

        <div id="faq" data-section="faq">
          <FaqDouble
            textboxLayout="split"
            useInvertedBackground={false}
            faqsAnimation="slide-up"
            faqs={[
              { id: "f1", title: "Do you offer financing?", content: "Yes, we offer flexible financing options for custom pieces and larger purchases." },
              { id: "f2", title: "Can I request a custom design?", content: "Absolutely! Our team specializes in creating unique, bespoke jewelry tailored to your vision." },
              { id: "f3", title: "Do you offer repair services?", content: "We provide professional jewelry and watch repair on-site to keep your treasures in pristine condition." },
            ]}
            title="Frequently Asked Questions"
            description="Have questions? We're here to help guide your jewelry journey."
          />
        </div>

        <div id="contact" data-section="contact">
          <ContactSplit
            useInvertedBackground={true}
            background={{ variant: "gradient-bars" }}
            tag="Visit Us"
            title="Get in Touch"
            description="Located at 3326 W Columbus Dr, Tampa, FL. Call us at (813) 872-0506."
            imageSrc="http://img.b2bpic.net/free-photo/couple-honeymoon-venice_1303-5680.jpg"
            mediaAnimation="slide-up"
          />
        </div>

        <div id="footer" data-section="footer">
          <FooterBaseCard
            logoText="Ultra Jewelry"
            columns={[
              { title: "Navigation", items: [{ label: "Home", href: "#hero" }, { label: "Products", href: "#products" }, { label: "Services", href: "#services" }] },
              { title: "Support", items: [{ label: "Contact", href: "#contact" }, { label: "FAQ", href: "#faq" }, { label: "Privacy Policy", href: "#" }] },
            ]}
            copyrightText="© 2025 Ultra Jewelry. All rights reserved."
          />
        </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
