"use client";

import Link from "next/link";
import { Sparkles, CheckCircle, Package } from "lucide-react";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered";
import FeatureCardTwentyFour from "@/components/sections/feature/FeatureCardTwentyFour";
import ProductCardTwo from "@/components/sections/product/ProductCardTwo";
import FooterLogoEmphasis from "@/components/sections/footer/FooterLogoEmphasis";

const navItems = [
  { name: "Home", id: "home" },
  { name: "Services", id: "services" },
  { name: "About", id: "about" },
  { name: "Contact", id: "contact" },
  { name: "WhatsApp", id: "https://wa.me/94769344607" },
];

const footerColumns = [
  {
    items: [
      { label: "Home", href: "/" },
      { label: "Services", href: "/services" },
      { label: "About", href: "/about" },
    ],
  },
  {
    items: [
      { label: "Contact Us", href: "/contact" },
      { label: "WhatsApp", href: "https://wa.me/94769344607" },
      { label: "Call Now", href: "tel:+94714099975" },
    ],
  },
  {
    items: [
      { label: "Privacy Policy", href: "#" },
      { label: "Terms & Conditions", href: "#" },
      { label: "Sitemap", href: "#" },
    ],
  },
  {
    items: [
      { label: "Nalanda Ellawala", href: "#" },
      { label: "Kuruwita, Sri Lanka", href: "#" },
      { label: "Est. 2003", href: "#" },
    ],
  },
];

export default function ServicesPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-shift"
      defaultTextAnimation="reveal-blur"
      borderRadius="pill"
      contentWidth="small"
      sizing="largeSmall"
      background="none"
      cardStyle="inset"
      primaryButtonStyle="flat"
      secondaryButtonStyle="solid"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          navItems={navItems}
          button={{ text: "Call Now", href: "tel:+94714099975" }}
          brandName="Paramount Export"
        />
      </div>

      <div id="services-detail" data-section="services-detail">
        <FeatureCardTwentyFour
          title="Our Complete Service Portfolio"
          description="Specialized woodworking services designed to meet your residential, commercial, and industrial needs with precision and excellence"
          tag="Manufacturing Excellence"
          tagIcon={Sparkles}
          tagAnimation="slide-up"
          features={[
            {
              id: "1",
              title: "Custom CNC Woodwork",
              author: "Expert Craftsmanship",
              description:
                "State-of-the-art CNC machinery combined with traditional woodworking expertise delivers precision cuts and complex designs. Perfect for bespoke furniture, architectural elements, and intricate detailing.",
              tags: ["CNC", "Custom", "Precision"],
              imageSrc:
                "http://img.b2bpic.net/free-photo/view-modern-futuristic-work-space-with-furniture_23-2151797706.jpg?_wi=3",
              imageAlt: "Advanced CNC woodworking technology",
            },
            {
              id: "2",
              title: "Kitchen & Furniture Design",
              author: "Interior Solutions",
              description:
                "From concept to installation, we design and manufacture custom kitchen cabinets, home furniture, and office solutions that perfectly match your aesthetic and functional requirements.",
              tags: ["Design", "Interior", "Custom"],
              imageSrc:
                "http://img.b2bpic.net/free-photo/contrast-wood-stone-modern-furniture-premium-textures_169016-71185.jpg?_wi=2",
              imageAlt: "Custom modern kitchen furniture",
            },
            {
              id: "3",
              title: "Doors & Windows Manufacturing",
              author: "Architectural",
              description:
                "Premium wooden doors and window frames crafted for both residential and commercial applications. Quality construction with attention to detail and durability.",
              tags: ["Doors", "Windows", "Premium"],
              imageSrc:
                "http://img.b2bpic.net/free-photo/man-antique-store-side-view_23-2149640693.jpg?_wi=2",
              imageAlt: "Premium wooden doors and frames",
            },
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          ariaLabel="Detailed services section"
        />
      </div>

      <div id="products-detail" data-section="products-detail">
        <ProductCardTwo
          title="Raw & Finished Timber Products"
          description="Complete range of premium timber materials from raw logs to finished products, all meeting international export standards"
          tag="Materials"
          tagIcon={Package}
          tagAnimation="slide-up"
          products={[
            {
              id: "1",
              brand: "Paramount Export",
              name: "Seasoned Mahogany Planks",
              price: "Premium Grade",
              rating: 5,
              reviewCount: "Export Ready",
              imageSrc:
                "http://img.b2bpic.net/free-photo/iron-stripes-with-copy-space-background_23-2148744322.jpg?_wi=2",
              imageAlt: "High-quality seasoned mahogany timber",
            },
            {
              id: "2",
              brand: "Paramount Export",
              name: "Treated Rubber Wood",
              price: "Industrial Grade",
              rating: 5,
              reviewCount: "Bulk Supply",
              imageSrc:
                "http://img.b2bpic.net/free-photo/wood-bars_23-2147773351.jpg?_wi=3",
              imageAlt: "Chemically treated rubber wood planks",
            },
            {
              id: "3",
              brand: "Paramount Export",
              name: "Shuttering Planks",
              price: "Construction Grade",
              rating: 5,
              reviewCount: "Heavy Duty",
              imageSrc:
                "http://img.b2bpic.net/free-photo/tenerife-canary-islands-spain-january-15-2024_58702-16667.jpg?_wi=2",
              imageAlt: "Heavy-duty construction shuttering timber",
            },
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          ariaLabel="Timber products section"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterLogoEmphasis
          columns={footerColumns}
          logoText="Paramount Export"
          ariaLabel="Site footer"
        />
      </div>
    </ThemeProvider>
  );
}