"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactText from '@/components/sections/contact/ContactText';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import HeroBillboardCarousel from '@/components/sections/hero/HeroBillboardCarousel';
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix';
import TextAbout from '@/components/sections/about/TextAbout';

export default function GalleryPage() {
  const navItems = [
    { name: "Home", id: "/" },
    { name: "About Us", id: "/about" },
    { name: "Services", id: "/services" },
    { name: "Gallery", id: "/gallery" },
    { name: "Reviews", id: "/reviews" },
    { name: "FAQ", id: "/faq" },
    { name: "Contact", id: "/contact" },
  ];

  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="entrance-slide"
      borderRadius="soft"
      contentWidth="mediumLarge"
      sizing="largeSmallSizeMediumTitles"
      background="noise"
      cardStyle="gradient-radial"
      primaryButtonStyle="radial-glow"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="light"
    >
      <ReactLenis root>
        <div id="nav" data-section="nav">
          <NavbarLayoutFloatingOverlay
            navItems={navItems}
            brandName="TILES CONNECT"
            button={{ text: "Get Free Estimate", href: "/contact" }}
          />
        </div>

        <div id="gallery-work" data-section="gallery-work">
          <ProductCardOne
            animationType="slide-up"
            textboxLayout="default"
            gridVariant="three-columns-all-equal-width"
            useInvertedBackground={true}
            products={[
              {
                id: "g1",                name: "Luxury Bathrooms",                imageSrc: "http://img.b2bpic.net/free-photo/modern-interior-design-interior_23-2151929569.jpg",                imageAlt: "Beautifully designed luxury bathroom",                price: "Project based pricing"
              },
              {
                id: "g2",                name: "Custom Showers",                imageSrc: "http://img.b2bpic.net/free-photo/small-bathroom-with-modern-style-ai-generated_23-2150695028.jpg",                imageAlt: "Waterproof, elegant custom shower",                price: "Project based pricing"
              },
              {
                id: "g3",                name: "Marble Installations",                imageSrc: "http://img.b2bpic.net/free-photo/marble-wall-texture_23-2148132262.jpg",                imageAlt: "Premium marble stone craftsmanship",                price: "Project based pricing"
              },
              {
                id: "g4",                name: "Kitchen Backsplashes",                imageSrc: "http://img.b2bpic.net/free-photo/photorealistic-stone-wall-surface-used-interior-design_23-2151214764.jpg",                imageAlt: "Modern kitchen backsplash designs",                price: "Project based pricing"
              },
              {
                id: "g5",                name: "Large Format Tile Projects",                imageSrc: "http://img.b2bpic.net/free-photo/tiler-working-renovation-apartment_23-2149278629.jpg",                imageAlt: "Seamless luxury large format tile finish",                price: "Project based pricing"
              },
              {
                id: "g6",                name: "Herringbone Installations",                imageSrc: "http://img.b2bpic.net/free-photo/texture-background_1404-162.jpg",                imageAlt: "A showcase of true herringbone craftsmanship",                price: "Project based pricing"
              },
            ]}
            title="Our Recent Work"
            description="Explore a curated collection of our completed projects, showcasing our precision and artistry."
          />
        </div>

        <div id="gallery-cta" data-section="gallery-cta">
          <ContactText
            useInvertedBackground={false}
            background={{ variant: "plain" }}
            text="Ready To Upgrade Your Home? Inspired by our gallery? Let's discuss your vision and bring it to life with our expert craftsmanship."
            buttons={[
              { text: "Get Your Free Quote", href: "/contact" }
            ]}
          />
        </div>

        <div id="footer" data-section="footer">
          <FooterMedia
            imageSrc="http://img.b2bpic.net/free-photo/stacked-bundle-amaranth-leaves-marble-surface_114579-54865.jpg?_wi=1"
            imageAlt="Luxury tile pattern background"
            logoText="TILES CONNECT"
            columns={[
              {
                title: "Company",                items: [
                  { label: "Home", href: "/" },
                  { label: "About Us", href: "/about" },
                  { label: "Services", href: "/services" },
                  { label: "Gallery", href: "/gallery" },
                ],
              },
              {
                title: "Resources",                items: [
                  { label: "Reviews", href: "/reviews" },
                  { label: "FAQ", href: "/faq" },
                  { label: "Contact", href: "/contact" },
                ],
              },
              {
                title: "Service Areas",                items: [
                  { label: "Mississauga", href: "#" },
                  { label: "Oakville", href: "#" },
                  { label: "Brampton", href: "#" },
                  { label: "Toronto", href: "#" },
                ],
              },
              {
                title: "Legal",                items: [
                  { label: "Privacy Policy", href: "#" },
                  { label: "Terms of Service", href: "#" },
                ],
              },
            ]}
            copyrightText="© 2024 Tiles Connect. All rights reserved."
          />
        </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
