"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline";
import ProductCardOne from "@/components/sections/product/ProductCardOne";
import ContactCTA from "@/components/sections/contact/ContactCTA";
import FooterBaseReveal from "@/components/sections/footer/FooterBaseReveal";
import { Phone } from "lucide-react";

const navItems = [
  { name: "Home", id: "/" },
  { name: "Services", id: "/services" },
  { name: "Projects", id: "/projects" },
  { name: "About", id: "/about" },
];

export default function ProjectsPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="shift-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="rounded"
      contentWidth="mediumLarge"
      sizing="largeSizeMediumTitles"
      background="circleGradient"
      cardStyle="glass-depth"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="glass"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="Sri Mani Bala"
          navItems={navItems.map((item) => ({ name: item.name, id: item.id }))}
          button={{
            text: "Get Free Consultation",            href: "#contact"
          }}
          animateOnLoad={true}
        />
      </div>

      <div id="gallery" data-section="gallery">
        <ProductCardOne
          title="Our Project Gallery"
          description="Explore our collection of completed interior design projects showcasing quality and craftsmanship"
          tag="Portfolio"
          tagAnimation="slide-up"
          products={[
            {
              id: "living-1",              name: "Modern Living Room",              price: "₹2,50,000",              imageSrc: "http://img.b2bpic.net/free-photo/woman-doing-daily-activities-minimal-decorated-room_23-2150407642.jpg?_wi=2",              imageAlt: "Modern living room interior design completed"
            },
            {
              id: "kitchen-1",              name: "Premium Modular Kitchen",              price: "₹3,50,000",              imageSrc: "http://img.b2bpic.net/free-photo/interior-design-neoclassical-style-with-furnishings-decor_23-2151199370.jpg?_wi=2",              imageAlt: "Luxury kitchen design"
            },
            {
              id: "tv-1",              name: "Wooden TV Unit",              price: "₹1,50,000",              imageSrc: "http://img.b2bpic.net/free-photo/couple-home-spending-time-together_23-2149185029.jpg?_wi=2",              imageAlt: "Elegant TV unit"
            },
            {
              id: "wardrobe-1",              name: "Master Bedroom Wardrobe",              price: "₹2,00,000",              imageSrc: "http://img.b2bpic.net/free-photo/modern-organizer-cutlery-drawer-premium-kitchen_169016-68988.jpg?_wi=2",              imageAlt: "Custom wardrobe installation"
            },
            {
              id: "temple-1",              name: "Traditional Pooja Unit",              price: "₹1,00,000",              imageSrc: "http://img.b2bpic.net/free-vector/diwali-facebook-cover-design_1142-298.jpg?_wi=2",              imageAlt: "Wooden temple design"
            },
            {
              id: "hallway-1",              name: "Contemporary Hallway",              price: "₹2,75,000",              imageSrc: "http://img.b2bpic.net/free-photo/beautiful-hotel-insights-details_23-2149160766.jpg?_wi=2",              imageAlt: "Modern hallway design"
            }
          ]}
          gridVariant="two-columns-alternating-heights"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          buttons={[{ text: "View All Projects", href: "/projects" }]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCTA
          tag="Get in Touch"
          tagIcon={Phone}
          tagAnimation="slide-up"
          title="Ready To Design Your Dream Interior?"
          description="Get a free consultation today from our team of expert interior designers. Let's transform your space into something beautiful."
          buttons={[
            { text: "Call Now", href: "tel:+919876543210" },
            { text: "Get Free Quote", href: "#contact-form" }
          ]}
          buttonAnimation="slide-up"
          background={{ variant: "plain" }}
          useInvertedBackground={false}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseReveal
          columns={[
            {
              title: "Quick Links",              items: [
                { label: "Home", href: "/" },
                { label: "Services", href: "/services" },
                { label: "Projects", href: "/projects" },
                { label: "About", href: "/about" }
              ]
            },
            {
              title: "Services",              items: [
                { label: "Modular Kitchen", href: "#services" },
                { label: "TV Units", href: "#services" },
                { label: "Wardrobes", href: "#services" },
                { label: "Wooden Work", href: "#services" }
              ]
            },
            {
              title: "Contact",              items: [
                { label: "📍 Thanjavur, Tamil Nadu", href: "#" },
                { label: "📞 +91-XXXX-XXXX-XX", href: "tel:+919876543210" },
                { label: "🕒 Open till 9:30 PM", href: "#" },
                { label: "📧 Email Us", href: "mailto:info@srimanibala.com" }
              ]
            }
          ]}
          copyrightText="© 2025 Sri Mani Bala Interiors & Traders | All Rights Reserved"
        />
      </div>
    </ThemeProvider>
  );
}