"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,
  LuFlameKindling,
  LuThermometerSun,
  LuConstruction,
  LuCpu,
  LuFactory
} from "react-icons/lu";
import Breadcrumb from "@/components/Common/Breadcrumb";
interface TechAdvantage {
  icon: React.ReactNode;
  title: string;
  detail: string;
}

export default function PolycabArmoredCablesDetail() {

  const specifications = [
    { label: "Standard Compliance", val: "BS 6724 Standard" },
    { label: "Voltage Ratings", val: "600/1000V & 1900/3300V" },
    { label: "Core Layouts", val: "Single & Multicore Available" },
    { label: "Safety Profile", val: "Low Smoke & Fume (LSZH)" }
  ];

  const technicalAdvantages: TechAdvantage[] = [
    {
      icon: <LuFactory className="w-5 h-5 text-cyan-600" />,
      title: "In-House Contirod Copper",
      detail: "High conductivity annealed plain stranded copper conductors manufactured in-house using state-of-the-art Contirod technology lines."
    },
    {
      icon: <LuCpu className="w-5 h-5 text-cyan-600" />,
      title: "Advanced Thermoset Insulation",
      detail: "In-house developed high insulation resistance options featuring cross-linked polyethylene (XLPE), Ethylene Propylene Rubber (EPR), or cross-linked polyolefin."
    },
    {
      icon: <LuShieldCheck className="w-5 h-5 text-cyan-600" />,
      title: "Extruded Polymeric Barrier",
      detail: "A robust protective separation layer extruded smoothly between the core insulation and the outer armor matrices to maximize baseline cable safety."
    },
    {
      icon: <LuConstruction className="w-5 h-5 text-cyan-600" />,
      title: "Heavy Mechanical Armor",
      detail: "Premium steel wire or aluminum wire layers are wound tightly to help the structure easily withstand intense environmental and mechanical field stress."
    },
    {
      icon: <LuFlameKindling className="w-5 h-5 text-cyan-600" />,
      title: "Type LTS 1 Low-Smoke Compound",
      detail: "In-house formulated thermoplastic outer sheath engineering to ensure exceptionally low smoke density and non-corrosive gas output under direct flame contact."
    },
    {
      icon: <LuThermometerSun className="w-5 h-5 text-cyan-600" />,
      title: "Elite Thermal Thresholds",
      detail: "Reliably supports a maximum continuous conductor operation ceiling of 90°C and a short-circuit surge safety threshold 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 & KEY OVERVIEW GRID ────────────────────────── */}
          <div className="grid grid-cols-1 lg:grid-cols-12 gap-8 lg:gap-12 xl:gap-16 2xl:gap-24 items-center mb-20 lg:mb-28 2xl:mb-36">

            {/* Left Column: Product Technical Cross-Section Image */}
            <div className="lg:col-span-5 flex justify-center order-2 lg:order-1">
              <div className="relative w-full max-w-[480px] 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-6724.png"
                    alt="Polycab BS 6724 XLPE insulated round wire armored power cable cross section"
                    fill
                    priority
                    className="object-contain group-hover:scale-103 transition-transform duration-500"
                    sizes="(max-width: 640px) 100vw, (max-width: 1024px) 480px, (max-width: 1536px) 540px, 620px"
                  />
                </div>
              </div>
            </div>

            {/* Right Column: SEO Optimized Headers & Text Information */}
            <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">
                Low &amp; Medium Voltage 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 6724 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 Heavy-Duty 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 high-performance portfolio includes low voltage and medium voltage armored cables conforming explicitly to the construction and operational benchmarks of <strong>voltage ratings 600/1000V and 1900/3300V</strong> under the rigorous <strong>BS 6724 standard</strong>.
                </p>
                <p>
                  Engineered with premium Low Smoke Halogen-Free properties, these cables are specifically tailored for critical deployments in highly populated public areas. They are highly efficient at reducing the hazardous risks of toxic smoke and corrosive gas inhalation when exposed to emergency fire conditions.
                </p>
                <p className="text-xs xl:text-sm bg-white p-4 rounded-xl border border-slate-200 text-slate-500 shadow-2xs font-normal">
                  <span className="text-cyan-600 font-bold">* Operational Notice:</span> When subjected to extreme thermal or fire hazards, these advanced components generate significantly lower levels of dangerous smoke density and zero toxic halogen assets compared to historic cables manufactured under older BS 5467 rules.
                </p>
              </div>

              {/* Scannable Spec Grid */}
              <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">
                {specifications.map((spec, 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">
                      {spec.label}
                    </span>
                    <span className="text-xs xl:text-sm 2xl:text-base font-black text-slate-900 leading-tight">
                      {spec.val}
                    </span>
                  </div>
                ))}
              </div>

              {/* Direct Calls to Action */}
              <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_6724.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>

          {/* ─── SEO TECHNICAL ADVANTAGES CARDS 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; Engineering Architecture</h2>
                <p className="text-xs xl:text-sm text-slate-500 font-medium">
                  Deep dive into the material layers that give our round wire armored cables unmatched industrial reliability.
                </p>
              </div>
            </div>

            <div className="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6 xl:gap-8">
              {technicalAdvantages.map((item, 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">
                      {item.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">
                        {item.title}
                      </h3>
                      <p className="text-xs xl:text-sm 2xl:text-base text-slate-500 font-medium leading-relaxed">
                        {item.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 6724 Certified Spec
                  </div>
                </div>
              ))}
            </div>
          </div>

          {/* ─── PUBLIC INFRASTRUCTURE INDUSTRIAL 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>
      </>
      );
}