"use client";

import React from "react";
import Image from "next/image";
import Link from "next/link";
import { FaDownload, FaEnvelope, FaChevronRight, FaArrowRight } from "react-icons/fa6";
import {
  LuShieldCheck,
  LuFactory,
  LuCpu,
  LuThermometerSun,
  LuConstruction,
  LuWrench
} from "react-icons/lu";
import Breadcrumb from "@/components/Common/Breadcrumb";
interface TechnicalAdvantage {
  icon: React.ReactNode;
  title: string;
  detail: string;
}

export default function PolycabStandardArmoredDetail() {

  const parameters = [
    { label: "Standard Baseline", val: "BS 5467 Certified" },
    { label: "Voltage Ratings", val: "600/1000V & 1900/3300V" },
    { label: "Core Availability", val: "Single & Multicore" },
    { label: "Installation Type", val: "Fixed Industrial Zone" }
  ];

  const benefits: TechnicalAdvantage[] = [
    {
      icon: <LuFactory className="w-5 h-5 text-cyan-600" />,
      title: "Contirod Line Copper Conductor",
      detail: "High conductivity annealed plain stranded copper conductor produced directly in-house from a state-of-the-art Contirod manufacturing line."
    },
    {
      icon: <LuCpu className="w-5 h-5 text-cyan-600" />,
      title: "Thermoset Core Insulation",
      detail: "In-house developed high insulation resistance properties using cross-linked polyethylene (XLPE) or ethylene propylene rubber."
    },
    {
      icon: <LuShieldCheck className="w-5 h-5 text-cyan-600" />,
      title: "Extruded Polymeric Separation",
      detail: "A specialized protective barrier systematically created between core insulation layers and mechanical armor via an extruded layer of polymeric material."
    },
    {
      icon: <LuConstruction className="w-5 h-5 text-cyan-600" />,
      title: "Steel & Aluminum Wire Armor",
      detail: "Heavy-duty steel wire or aluminum wire integration ensures structural strength to easily withstand intense physical and mechanical stresses."
    },
    {
      icon: <LuWrench className="w-5 h-5 text-cyan-600" />,
      title: "Abrasion Resistant PVC Compound",
      detail: "In-house formulated external PVC compound layer engineered to reliably defend against severe mechanical friction and surface abrasion while in active use."
    },
    {
      icon: <LuThermometerSun className="w-5 h-5 text-cyan-600" />,
      title: "Continuous Thermal Performance",
      detail: "Built to maintain standard maximum continuous conductor operating temperatures of 90°C and short-circuit threshold peaks up to 250°C."
    }
  ];

  return (
    <>
      <Breadcrumb pageName="Polycab LT Control Cables" />
    <div className="min-h-screen bg-slate-50 text-slate-800 py-12 md:py-16 lg:py-24 xl:py-28 2xl:py-36 selection:bg-cyan-100 selection:text-cyan-950">
      <div className="container mx-auto px-4 sm:px-6 lg:px-8 xl:px-16 2xl:px-24 max-w-[1800px]">

        {/* ─── HERO & CORE CONTENT DISPLAY ─────────────────────── */}
        <div className="grid grid-cols-1 lg:grid-cols-12 gap-8 lg:gap-12 xl:gap-16 2xl:gap-24 items-center mb-16 lg:mb-24 xl:mb-32">

          {/* Left Layout Column: Product Image Wrapper */}
          <div className="lg:col-span-5 flex justify-center order-2 lg:order-1">
            <div className="relative w-full max-w-[440px] xl:max-w-[540px] 2xl:max-w-[620px] aspect-square rounded-3xl overflow-hidden bg-white border border-slate-200 p-6 sm:p-8 xl:p-12 shadow-xs group hover:border-cyan-500 transition-colors duration-300">
              <div className="relative w-full h-full">
                <Image
                  src="/images/polycab/LV-Power-Cable-BS-5467.png"
                  alt="Polycab BS 5467 standard XLPE insulated round wire armored power cable cross sectional view"
                  fill
                  priority
                  className="object-contain group-hover:scale-103 transition-transform duration-500"
                  sizes="(max-width: 640px) 100vw, (max-width: 1024px) 440px, (max-width: 1536px) 540px, 620px"
                />
              </div>
            </div>
          </div>

          {/* Right Layout Column: Technical Explanations */}
          <div className="lg:col-span-7 space-y-6 xl:space-y-8 order-1 lg:order-2">
            <span className="inline-flex items-center gap-1.5 rounded-full bg-cyan-50 px-4 py-1.5 text-xs xl:text-sm font-bold tracking-wider text-cyan-700 uppercase border border-cyan-200">
              Fixed Power Distribution
            </span>

            <h1 className="text-2xl sm:text-3xl md:text-4xl lg:text-5xl 2xl:text-6xl font-black tracking-tight text-slate-900 leading-tight uppercase">
              Polycab BS 5467 Armored Power Cables <br />
              <span className="text-cyan-500 font-black text-lg sm:text-xl md:text-2xl xl:text-3xl block mt-2 xl:mt-4 normal-case tracking-wide">
                XLPE Insulated Round Wire Industrial Mains Series
              </span>
            </h1>

            <div className="space-y-4 xl:space-y-6 text-slate-600 text-sm md:text-base xl:text-lg 2xl:text-xl leading-relaxed font-medium">
              <p>
                This industrial grade range includes low voltage and medium voltage armored cables conforming to the baseline construction parameters and physical performance criteria of <strong>voltage ratings 600/1000 V and 1900/3300 V</strong> as designated by the <strong>BS 5467 standard</strong>.
              </p>
              <p>
                Engineered with targeted mechanical resilience, these robust multi-layered cables are ideally suited for deployment across permanent, fixed installations in heavy industrial sites, commercial complexes, and specialized utility infrastructures.
              </p>
            </div>

            {/* Scannable Spec Summary Blocks */}
            <div className="grid grid-cols-2 sm:grid-cols-4 gap-3 xl:gap-4 bg-white border border-slate-200 p-4 xl:p-6 rounded-2xl shadow-xs">
              {parameters.map((param, idx) => (
                <div key={idx} className="bg-slate-50/60 border border-slate-100 p-3 xl:p-5 rounded-xl text-center flex flex-col justify-center group hover:border-cyan-500 transition-colors duration-300">
                  <span className="text-[10px] xl:text-xs text-slate-400 group-hover:text-cyan-500 font-bold uppercase tracking-wider block mb-1 transition-colors duration-200">
                    {param.label}
                  </span>
                  <span className="text-xs xl:text-sm 2xl:text-base font-black text-slate-900 leading-tight">
                    {param.val}
                  </span>
                </div>
              ))}
            </div>

            {/* Link Interactions Group */}
            <div className="flex flex-col sm:flex-row flex-wrap gap-4 pt-2 xl:pt-4">
              <Link
                href="https://realswitchgears.com/assets/images/products/polycab-cable/lv-power-cable/pdf/LV-Power-Cable-BS-5467.pdf"
                target="_blank"
                className="inline-flex items-center justify-center gap-2 bg-slate-900 hover:bg-slate-800 text-white text-xs xl:text-sm font-bold px-6 xl:px-8 py-4 xl:py-5 rounded-xl transition-all group w-full sm:w-auto uppercase tracking-wider shadow-sm"
              >
                <FaDownload className="w-3.5 h-3.5 xl:w-4 xl:h-4 group-hover:translate-y-0.5 transition-transform" />
                Download Catalogue
              </Link>
              <Link
                href="/contact"
                className="inline-flex items-center justify-center gap-2 bg-cyan-500 hover:bg-cyan-600 text-white text-xs xl:text-sm font-bold px-6 xl:px-8 py-4 xl:py-5 rounded-xl transition-all shadow-md shadow-cyan-500/10 w-full sm:w-auto uppercase tracking-wider"
              >
                Send Enquiry <FaEnvelope className="w-3.5 h-3.5 xl:w-4 xl:h-4" />
              </Link>
            </div>
          </div>

        </div>

        {/* ─── TECHNICAL LAYERS ENGINEERING GRID ───────────────── */}
        <div className="mb-20 lg:mb-28 2xl:mb-36">
          <div className="flex items-center gap-3 mb-10 border-b border-slate-200/60 pb-4">
            <div className="p-2.5 bg-cyan-50 border border-cyan-100 text-cyan-600 rounded-xl shadow-xs">
              <LuShieldCheck className="w-5 h-5 xl:w-6 xl:h-6" />
            </div>
            <div>
              <h2 className="text-base sm:text-lg xl:text-xl 2xl:text-2xl font-black text-slate-900 uppercase tracking-wide">Technical Advantages &amp; Structural Layering</h2>
              <p className="text-xs xl:text-sm text-slate-500 font-medium">
                Detailed breakdowns of customized material assemblies engineered to prevent mechanical faulting under high-load applications.
              </p>
            </div>
          </div>

          <div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6 xl:gap-8">
            {benefits.map((benefit, idx) => (
              <div
                key={idx}
                className="bg-white border border-slate-200 hover:border-cyan-500/40 rounded-2xl p-6 xl:p-8 2xl:p-10 shadow-xs flex flex-col justify-between transition-all group"
              >
                <div className="space-y-4">
                  <div className="p-3 bg-cyan-50/60 border border-cyan-100/40 rounded-xl w-fit group-hover:bg-cyan-50 group-hover:scale-105 transition-all duration-300">
                    {benefit.icon}
                  </div>
                  <div className="space-y-1.5">
                    <h3 className="text-sm xl:text-base 2xl:text-lg font-black text-slate-900 group-hover:text-cyan-600 transition-colors duration-200 uppercase tracking-wide">
                      {benefit.title}
                    </h3>
                    <p className="text-xs xl:text-sm 2xl:text-base text-slate-500 font-medium leading-relaxed">
                      {benefit.detail}
                    </p>
                  </div>
                </div>
                <div className="mt-6 pt-3 border-t border-slate-100 text-[10px] text-slate-400 font-bold uppercase tracking-wider group-hover:text-cyan-500/70 transition-colors">
                  BS 5467 Structural Spec
                </div>
              </div>
            ))}
          </div>
        </div>

        {/* ─── COMMERCIAL ENQUIRY HUB CALLOUT ──────────────────── */}

        <div className="flex flex-col sm:flex-row justify-center items-center gap-4 w-full">
          <Link
            href="https://realswitchgears.com/assets/images/products/polycab-cable/lv-power-cable/pdf/LV-Power-Cable-IS-1.pdf"
            target="_blank"
            className="inline-flex items-center justify-center gap-2 bg-slate-100 hover:bg-slate-200 text-slate-900 text-xs font-bold px-8 py-4 rounded-full transition-all w-full sm:w-auto uppercase tracking-wider border border-slate-200 shadow-xs"
          >
            <FaDownload className="w-3.5 h-3.5" />
            View Technical PDF
          </Link>

          <Link
            href="/contact"
            className="inline-flex items-center justify-center gap-2 bg-cyan-500 hover:bg-cyan-600 text-white text-xs xl:text-sm font-bold px-8 sm:px-10 py-4 rounded-full transition-all duration-200 active:scale-95 shadow-md shadow-cyan-500/10 w-full sm:w-auto uppercase tracking-wider"
          >
            Send Enquiry
            <FaArrowRight className="w-3.5 h-3.5 transition-transform group-hover:translate-x-0.5" />
          </Link>
        </div>
      </div>
    </div>
    </>
  );
}