"use client";

import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline";
import HeroCentered from "@/components/sections/hero/HeroCentered";
import SplitAbout from "@/components/sections/about/SplitAbout";
import FeatureCardTwentyFive from "@/components/sections/feature/FeatureCardTwentyFive";
import MetricCardEleven from "@/components/sections/metrics/MetricCardEleven";
import TestimonialCardThirteen from "@/components/sections/testimonial/TestimonialCardThirteen";
import ProductCardOne from "@/components/sections/product/ProductCardOne";
import ContactCTA from "@/components/sections/contact/ContactCTA";
import FooterBaseReveal from "@/components/sections/footer/FooterBaseReveal";
import {
  ChefHat,
  Tv,
  Hammer,
  Blocks,
  Sparkles,
  Phone,
} from "lucide-react";

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

export default function HomePage() {
  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="hero" data-section="hero">
        <HeroCentered
          title="Luxury Interiors Crafted With Precision"
          description="Transform your home with premium interior designs, expert woodwork, and stunning finishes by Sri Mani Bala Interiors & Traders. 45+ years of traditional craftsmanship meeting modern aesthetics."
          avatars={[
            { src: "http://img.b2bpic.net/free-photo/business-woman-banner-concept-with-copy-space_23-2149601533.jpg", alt: "Happy Client" },
            { src: "http://img.b2bpic.net/free-photo/portrait-businessman-office-2_1262-1488.jpg", alt: "Happy Client" },
            { src: "http://img.b2bpic.net/free-photo/blonde-woman-with-bobbed-hairstyle_273609-10615.jpg", alt: "Happy Client" }
          ]}
          avatarText="Trusted by 23+ Happy Clients"
          buttons={[
            { text: "Get Free Consultation", href: "#contact" },
            { text: "View Projects", href: "/projects" }
          ]}
          buttonAnimation="slide-up"
          background={{ variant: "downward-rays-static" }}
          ariaLabel="Hero section - Sri Mani Bala Interiors"
        />
      </div>

      <div id="about" data-section="about">
        <SplitAbout
          title="Trusted Interior Designers in Thanjavur"
          description="With a strong reputation for quality craftsmanship and attention to detail, Sri Mani Bala Interiors & Traders has helped homeowners and businesses transform their spaces into elegant and functional interiors."
          tag="Our Legacy"
          tagAnimation="slide-up"
          bulletPoints={[
            { title: "Excellent Finishing", description: "Precision craftsmanship in every detail with premium quality finishes" },
            { title: "Affordable Pricing", description: "Luxury aesthetics without breaking the budget" },
            { title: "Custom Design Options", description: "Personalized solutions tailored to your unique style and needs" },
            { title: "Customer-First Approach", description: "Your satisfaction is our priority in every project" }
          ]}
          imageSrc="http://img.b2bpic.net/free-photo/luxury-bedroom-illuminated-by-modern-electric-lamp-generated-by-ai_188544-28185.jpg?_wi=1"
          imageAlt="Premium interior design showcase"
          mediaAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          imagePosition="right"
        />
      </div>

      <div id="services" data-section="services">
        <FeatureCardTwentyFive
          title="Our Interior Services"
          description="Comprehensive interior design solutions for every room and style preference"
          tag="Services"
          tagAnimation="slide-up"
          features={[
            {
              title: "Modular Kitchen",              description: "Modern kitchen designs with premium finishing and functional layouts",              icon: ChefHat,
              mediaItems: [
                {
                  imageSrc: "http://img.b2bpic.net/free-psd/black-slate-rectangular-serving-tray-isolated-transparent-background_191095-85852.jpg?_wi=1",                  imageAlt: "Modern modular kitchen design"
                },
                {
                  imageSrc: "http://img.b2bpic.net/free-photo/new-modern-steel-faucet-kitchen-room-sink-close-up_169016-19743.jpg?_wi=1",                  imageAlt: "Premium kitchen finishes"
                }
              ]
            },
            {
              title: "TV Units & Wall Panels",              description: "Elegant TV shelves and feature walls that become focal points",              icon: Tv,
              mediaItems: [
                {
                  imageSrc: "http://img.b2bpic.net/free-vector/realistic-hall-furniture_52683-69523.jpg?_wi=1",                  imageAlt: "Luxury TV unit design"
                },
                {
                  imageSrc: "http://img.b2bpic.net/free-photo/ray-sun-textured-wall-room_169016-24694.jpg?_wi=1",                  imageAlt: "Feature wall panel installation"
                }
              ]
            },
            {
              title: "Wardrobes",              description: "Space-saving wardrobes designed with style and maximum storage",              icon: Blocks,
              mediaItems: [
                {
                  imageSrc: "http://img.b2bpic.net/free-photo/black-wooden-wardrobe-decorated-with-blinds-wardrobe-with-blinds-decoration_169016-13063.jpg?_wi=1",                  imageAlt: "Custom wardrobe design"
                },
                {
                  imageSrc: "http://img.b2bpic.net/free-photo/beautiful-girl-trying-dress-room_1153-7723.jpg?_wi=1",                  imageAlt: "Spacious wardrobe organization"
                }
              ]
            },
            {
              title: "Wooden Interior Work",              description: "Custom wood craftsmanship for every room with premium finishes",              icon: Hammer,
              mediaItems: [
                {
                  imageSrc: "http://img.b2bpic.net/free-photo/details-classic-oak-furniture-closeup-old-sofa-classic-office-interior-design-concept-space-text_166373-2661.jpg?_wi=1",                  imageAlt: "Wooden interior craftsmanship"
                },
                {
                  imageSrc: "http://img.b2bpic.net/free-photo/afternoon-shadows-wooden-wall_122409-33.jpg?_wi=1",                  imageAlt: "Premium wood finishing"
                }
              ]
            },
            {
              title: "Glass & PVC Works",              description: "Stylish modern material solutions for contemporary interiors",              icon: Blocks,
              mediaItems: [
                {
                  imageSrc: "http://img.b2bpic.net/free-photo/interior-shopping-mall_23-2147669866.jpg?_wi=1",                  imageAlt: "Glass partition design"
                },
                {
                  imageSrc: "http://img.b2bpic.net/free-photo/light-wood-wall-design_53876-75115.jpg?_wi=1",                  imageAlt: "Modern PVC interior solutions"
                }
              ]
            },
            {
              title: "Temple Work",              description: "Traditional wooden pooja units crafted with precision and reverence",              icon: Sparkles,
              mediaItems: [
                {
                  imageSrc: "http://img.b2bpic.net/free-photo/distressed-door-antique-blue-gold-design-texture_169016-68750.jpg?_wi=1",                  imageAlt: "Traditional temple design"
                },
                {
                  imageSrc: "http://img.b2bpic.net/free-photo/autumn-harvest-with-corn-pumpkin_23-2148668724.jpg?_wi=1",                  imageAlt: "Sacred wooden craftsmanship"
                }
              ]
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardEleven
          title="Why Homeowners Choose Us"
          description="Discover what sets Sri Mani Bala Interiors apart in the luxury interior design market"
          tag="Our Strengths"
          tagAnimation="slide-up"
          metrics={[
            {
              id: "experience",              value: "45+",              title: "Years of Experience",              description: "Traditional woodworking expertise passed through generations",              imageSrc: "http://img.b2bpic.net/free-photo/millennial-man-choosing-skilled-labor-trades_1163-3107.jpg?_wi=1",              imageAlt: "Experienced craftsman working interior design"
            },
            {
              id: "finishing",              value: "100%",              title: "Premium Finishing",              description: "Attention to every detail with luxury-grade materials",              imageSrc: "http://img.b2bpic.net/free-photo/artisan-doing-woodcutting_23-2150600764.jpg?_wi=1",              imageAlt: "Premium finishing detail interior quality"
            },
            {
              id: "pricing",              value: "Best",              title: "Budget Friendly",              description: "Luxury aesthetics without premium price tags",              imageSrc: "http://img.b2bpic.net/free-photo/young-business-owners-preparing-their-store_23-2149300882.jpg?_wi=1",              imageAlt: "Affordable luxury home interior design"
            },
            {
              id: "satisfaction",              value: "23+",              title: "Happy Clients",              description: "Customer satisfaction is always our top priority",              imageSrc: "http://img.b2bpic.net/free-photo/portrait-happy-woman-resting_171337-3998.jpg?_wi=1",              imageAlt: "Happy satisfied customer home portrait"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardThirteen
          title="What Our Clients Say"
          description="Hear from satisfied homeowners who have transformed their spaces with Sri Mani Bala Interiors"
          tag="Testimonials"
          tagAnimation="slide-up"
          testimonials={[
            {
              id: "1",              name: "Yogalakshmi M",              handle: "@yogalakshmi_m",              testimonial: "We gave them the TV shelf work for our new house. It was done very beautifully and neatly. The finishing was excellent and the professionalism was impressive.",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/front-view-smiley-woman-reading-book_23-2150059007.jpg?_wi=1",              imageAlt: "Professional woman portrait testimonial"
            },
            {
              id: "2",              name: "Raj Ganesh",              handle: "@raj_ganesh",              testimonial: "Products are very high quality and the cost is very affordable. Thank you ManiBala Interiors team for exceeding our expectations.",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiley-modern-male_23-2148514900.jpg?_wi=1",              imageAlt: "Professional man portrait testimonial"
            },
            {
              id: "3",              name: "Kadal Dharshu",              handle: "@kadal_dharshu",              testimonial: "Customer satisfaction was their priority. They didn't miss even small details. I really loved the result and recommend them highly.",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/smiling-female-staff-airport-terminal_107420-85049.jpg?_wi=1",              imageAlt: "Happy client testimonial portrait"
            },
            {
              id: "4",              name: "Priya Sharma",              handle: "@priya_sharma",              testimonial: "The modular kitchen they designed for us is absolutely stunning. Professional team, timely delivery, and perfect installation.",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/horizontal-portrait-beautiful-fashionable-teenage-girl-with-fair-hair_176532-8114.jpg?_wi=1",              imageAlt: "Woman client testimonial portrait photo"
            },
            {
              id: "5",              name: "Vikram Kumar",              handle: "@vikram_kumar",              testimonial: "Transformed our living room completely. The wooden work is exquisite and the team was very cooperative throughout the project.",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/portrait-man-smiling-camera_23-2148238839.jpg?_wi=1",              imageAlt: "Man client testimonial portrait photo"
            },
            {
              id: "6",              name: "Anjali Nair",              handle: "@anjali_nair",              testimonial: "Best interior designers in Thanjavur. They understood our vision perfectly and delivered beyond expectations. Highly recommended!",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/young-blonde-woman-wearing-casual-blue-shirt-success-sign-doing-positive-gesture-with-hand-thumbs-up-smiling-happy-cheerful-expression-winner-gesture_839833-2022.jpg?_wi=1",              imageAlt: "Woman happy testimonial portrait photo"
            }
          ]}
          showRating={true}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </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=1",              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=1",              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=1",              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=1",              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=1",              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=1",              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="process" data-section="process">
        <SplitAbout
          title="Our Simple Interior Design Process"
          description="From consultation to completion, we follow a structured process to ensure your dream interior comes to life perfectly"
          tag="Our Process"
          tagAnimation="slide-up"
          bulletPoints={[
            { title: "1. Consultation", description: "Discuss your ideas, budget, and requirements with our expert team" },
            { title: "2. Design Planning", description: "Create the best design solution tailored to your space and style" },
            { title: "3. Craft & Build", description: "Our skilled team carefully builds and installs everything with precision" },
            { title: "4. Perfect Delivery", description: "Beautiful finishing and installation ensuring complete satisfaction" }
          ]}
          imageSrc="http://img.b2bpic.net/free-photo/colleagues-having-discussion-about-project-planning-marketing-strategy-working-together-business-man-woman-doing-teamwork-with-laptop-papers-design-presentation_482257-40028.jpg?_wi=1"
          imageAlt="Interior design process workflow"
          mediaAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          imagePosition="left"
        />
      </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>
  );
}