"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactText from '@/components/sections/contact/ContactText';
import FeatureBento from '@/components/sections/feature/FeatureBento';
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';
import { ShieldCheck, FileText, CheckCircle, Sparkles, MessageCircle, Grid, Droplet, Award, Heart } from "lucide-react";

export default function ServicesPage() {
  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="services-list" data-section="services-list">
          <ProductCardOne
            animationType="slide-up"
            textboxLayout="default"
            gridVariant="three-columns-all-equal-width"
            useInvertedBackground={true}
            products={[
              {
                id: "srv1",                name: "Bathroom Renovations",                imageSrc: "http://img.b2bpic.net/free-photo/tidy-bathroom-with-shiny-tiles_1203-1501.jpg",                imageAlt: "Complete bathroom transformation",                price: "Price on request"
              },
              {
                id: "srv2",                name: "Shower Tile Installation",                imageSrc: "http://img.b2bpic.net/free-photo/interior-modern-bathroom_1232-3402.jpg",                imageAlt: "Custom shower build for durability and luxury",                price: "Price on request"
              },
              {
                id: "srv3",                name: "Kitchen Backsplashes",                imageSrc: "http://img.b2bpic.net/free-photo/blue-kitchen-fronts-marble-backsplash-wall-black-premium-faucet_169016-69143.jpg",                imageAlt: "Modern kitchen backsplash designs",                price: "Price on request"
              },
              {
                id: "srv4",                name: "Floor Tile Installation",                imageSrc: "http://img.b2bpic.net/free-photo/gray-brick-wall-background_1372-466.jpg",                imageAlt: "Porcelain, ceramic, and marble floor tiling",                price: "Price on request"
              },
              {
                id: "srv5",                name: "Porcelain Slab Installation",                imageSrc: "http://img.b2bpic.net/free-photo/elegant-white-patterned-wall-mockup-with-marble-floor_53876-106167.jpg",                imageAlt: "Luxury large-format porcelain slab installation",                price: "Price on request"
              },
              {
                id: "srv6",                name: "Entryways & Feature Walls",                imageSrc: "http://img.b2bpic.net/free-vector/flat-design-art-deco-premium-pattern_23-2149150545.jpg",                imageAlt: "Stunning tiled entryways and feature walls",                price: "Price on request"
              },
              {
                id: "srv7",                name: "Herringbone & Custom Patterns",                imageSrc: "http://img.b2bpic.net/free-photo/abstract-gray-grunge-cement-wall-texture_24972-731.jpg",                imageAlt: "Intricate herringbone and custom tile layouts",                price: "Price on request"
              },
            ]}
            title="Luxury Tile Installation Services"
            description="From complete bathroom renovations to custom backsplashes, our services enhance the beauty and value of your home."
          />
        </div>

        <div id="services-credibility" data-section="services-credibility">
          <FeatureBento
            animationType="slide-up"
            textboxLayout="default"
            useInvertedBackground={false}
            features={[
              {
                title: "Licensed & Professional",                description: "Fully licensed and insured experts providing peace of mind.",                bentoComponent: "reveal-icon",                icon: ShieldCheck,
              },
              {
                title: "Detailed Written Quotes",                description: "Transparent pricing with no hidden fees, detailed upfront.",                bentoComponent: "reveal-icon",                icon: FileText,
              },
              {
                title: "Clean & Respectful Worksites",                description: "We maintain tidy and organized work environments.",                bentoComponent: "reveal-icon",                icon: CheckCircle,
              },
              {
                title: "Premium Materials & Installation Methods",                description: "Only the best for durability and a flawless finish.",                bentoComponent: "reveal-icon",                icon: Sparkles,
              },
              {
                title: "Exceptional Communication",                description: "Stay informed with clear, consistent updates throughout your project.",                bentoComponent: "reveal-icon",                icon: MessageCircle,
              },
              {
                title: "Precision Tile Layouts",                description: "Meticulous planning for perfectly aligned tiles every time.",                bentoComponent: "reveal-icon",                icon: Grid,
              },
              {
                title: "Waterproofing & Shower Systems",                description: "Built to industry standards for long-lasting protection.",                bentoComponent: "reveal-icon",                icon: Droplet,
              },
              {
                title: "20-Year Warranty Available On Select Projects",                description: "Confidence in our work, backed by an extended warranty.",                bentoComponent: "reveal-icon",                icon: Award,
              },
              {
                title: "Hundreds Of Happy Homeowners",                description: "A testament to our quality and customer satisfaction.",                bentoComponent: "reveal-icon",                icon: Heart,
              },
            ]}
            title="Our Commitment to Quality"
            description="Experience the Tiles Connect difference with our unwavering dedication to your satisfaction and project excellence."
          />
        </div>

        <div id="contact-final" data-section="contact-final">
          <ContactText
            useInvertedBackground={true}
            background={{ variant: "plain" }}
            text="Ready To Upgrade Your Home? Whether you're planning a bathroom renovation, kitchen backsplash, or custom tile project, we're here to help bring your vision to life. Get a detailed quote and expert guidance from start to finish."
            buttons={[
              { text: "Request Free Estimate", href: "/contact" },
              { text: "Call Now", href: "tel:ADD_NUMBER" },
            ]}
          />
        </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=2"
            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>
  );
}
