"use client";

import Image from "next/image";
import Link from "next/link";
import { FaArrowRight } from "react-icons/fa6";
import {
  LuShieldAlert,
  LuGauge,
  LuRefreshCw,
  LuRadio,
  LuZap,
  LuCpu,
  LuHouse
} from "react-icons/lu";
import Breadcrumb from "@/components/Common/Breadcrumb";
export default function LtlkAgricultureControllersDetail() {

  const features3Phase = [
    {
      title: "6 HP – 75 HP Capacity Range",
      desc: "Engineered to drive large-scale, deep-well agricultural pump motors efficiently up to a maximum load threshold of 75 HP.",
      icon: <LuCpu className="w-5 h-5 text-cyan-600 group-hover:text-white transition-colors duration-200" />
    },
    {
      title: "Comprehensive Fault Protection",
      desc: "Delivers automatic hardware protection from standard phase unbalance, catastrophic single phasing, and phase reversal failures.",
      icon: <LuShieldAlert className="w-5 h-5 text-cyan-600 group-hover:text-white transition-colors duration-200" />
    },
    {
      title: "Wideband Voltage Resiliency",
      desc: "Specially calibrated to sustain smooth, continuous pumping operations across unstable rural electrical networks ranging from 180V to 415V.",
      icon: <LuZap className="w-5 h-5 text-cyan-600 group-hover:text-white transition-colors duration-200" />
    },
    {
      title: "Smart Auto Restart Engine",
      desc: "Integrated auto-reset module includes a user-variable 30-second to 5-minute delayed initialization sequence to shield pumps against grid surges.",
      icon: <LuRefreshCw className="w-5 h-5 text-cyan-600 group-hover:text-white transition-colors duration-200" />
    }
  ];

  const features1Phase = [
    {
      title: "0.5 HP – 3 HP Capacity Range",
      desc: "Perfectly optimized for small-scale irrigation setups, shallow borewells, and low-horsepower municipal or residential supply systems.",
      icon: <LuCpu className="w-5 h-5 text-cyan-600 group-hover:text-white transition-colors duration-200" />
    },
    {
      title: "Rugged MU-2P Contactor",
      desc: "Equipped with a heavy-duty wideband contactor (140V to 264V) structurally tailored to withstand sudden low-voltage drops.",
      icon: <LuZap className="w-5 h-5 text-cyan-600 group-hover:text-white transition-colors duration-200" />
    },
    {
      title: "Dual Application Versatility",
      desc: "Features a flexible operational layout equally suited for domestic residential delivery or harsh agricultural outdoor setups.",
      icon: <LuHouse className="w-5 h-5 text-cyan-600 group-hover:text-white transition-colors duration-200" />
    },
    {
      title: "Integrated Condenser Array",
      desc: "Houses industrial-grade, heavy-duty start and run condensers designed to enhance initial torque and smooth running currents.",
      icon: <LuGauge className="w-5 h-5 text-cyan-600 group-hover:text-white transition-colors duration-200" />
    }
  ];

  return (
    <>
      <Breadcrumb pageName="LTLK Pump Controllers" description="LTLK Pump Controllers" />
      <div className="min-h-screen bg-white text-slate-800 py-16 lg:py-24 xl:py-28 selection:bg-cyan-100 selection:text-cyan-950">
        {/* Enhanced grid footprint configured exclusively for high-resolution workspace displays */}
        <div className="container mx-auto px-4 sm:px-6 lg:px-8 xl:px-12 max-w-[1600px]">

          {/* ─── HERO DESCRIPTION & ASSET SECTOR ────────────────────── */}
          <div className="grid grid-cols-1 lg:grid-cols-12 gap-12 xl:gap-16 items-center mb-24 lg:mb-32">

            {/* Left Block: Technical Context */}
            <div className="space-y-6 lg:col-span-7 order-2 lg:order-1">
              <span className="inline-flex items-center gap-1.5 rounded-full bg-slate-50 px-4 py-1.5 text-xs font-bold tracking-wider text-slate-600 uppercase border border-slate-200/60">
                <span className="h-2 w-2 rounded-full bg-cyan-500 animate-pulse" />
                Trusted Agriculture Irrigation Infrastructure Since 1960
              </span>

              <h1 className="text-3xl md:text-4xl lg:text-5xl xl:text-6xl font-black tracking-tight text-slate-900 leading-tight uppercase">
                LTLK Starters &amp; Controllers <br />
                <span className="text-cyan-500 font-extrabold text-lg md:text-xl lg:text-2xl xl:text-3xl block mt-2 normal-case tracking-wide">
                  Heavy-Duty Low Voltage Motor Protection Solutions
                </span>
              </h1>

              <div className="space-y-4 text-slate-600 text-sm md:text-base xl:text-lg leading-relaxed font-medium max-w-4xl">
                <p>
                  Engineered by L&amp;T Electrical &amp; Automation (E&amp;A), the <strong className="text-slate-900 font-bold">LTLK Pump Controller Line</strong> has served as a foundational choice for managing efficient irrigation, safeguarding power consumption, and reducing operational downtime.
                </p>
                <p>
                  Constructed with built-in core assemblies—including robust LTLK contactors, dedicated Single Phase Preventers, and consolidated measurement diagnostics—these units provide comprehensive overload tracking and voltage defense. Designed for reliable performance under erratic agricultural grid behaviors, they deliver simple installation, direct baseline maintenance, and complete operational peace of mind.
                </p>
              </div>

              {/* Shared Component Segment Note */}
              <div className="bg-slate-50 border border-slate-200/50 p-4 rounded-2xl flex items-start gap-3.5 max-w-2xl shadow-xs">
                <div className="p-2.5 bg-white border border-slate-150 shadow-xs rounded-xl shrink-0 text-cyan-600">
                  <LuGauge className="w-5 h-5" />
                </div>
                <p className="text-xs sm:text-sm text-slate-500 font-medium leading-relaxed">
                  <span className="font-black text-slate-900 block mb-0.5 uppercase tracking-wider text-xs">Dual Display Volt-Ammeter Metering</span>
                  Both single and three-phase controllers integrate an easy-to-read, dual-function combination Volt-Ammeter to indicate live voltage and current on the exact same display interface canopy.
                </p>
              </div>
            </div>

            {/* Right Block: Image Wrapping Container */}
            <div className="lg:col-span-5 order-1 lg:order-2 flex justify-center lg:justify-end">
              <div className="relative w-full max-w-[540px] aspect-[4/3] rounded-3xl bg-slate-50 p-6 sm:p-10 border border-slate-200/60 shadow-xs group/hero hover:border-cyan-300 transition-all duration-300 flex items-center justify-center">
                <div className="relative w-full h-full min-h-[300px] xl:min-h-[340px]">
                  <Image
                    src="/images/Knudsen/agriculture_starter.jpg"
                    alt="LTLK heavy-duty industrial agriculture pump starter setup structural core assembly"
                    fill
                    priority
                    className="object-contain filter drop-shadow-[0_12px_32px_rgba(0,0,0,0.05)] group-hover/hero:scale-102 transition-transform duration-500"
                    sizes="(max-width: 1024px) 100vw, 540px"
                  />
                </div>
              </div>
            </div>
          </div>

          {/* ─── GRID BLOCK 1: MU-G THREE PHASE ARCHITECTURE ─────────── */}
          <div className="mb-24 lg:mb-32">
            <h2 className="text-xl font-black text-slate-900 mb-8 flex items-center gap-3 border-b border-slate-100 pb-4 uppercase tracking-wider">
              <span className="h-5 w-1 rounded-full bg-cyan-500" />
              MU-G Series: Three Phase Controller Platform
            </h2>

            <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6">
              {features3Phase.map((feat, idx) => (
                <div
                  key={idx}
                  className="bg-slate-50 border border-slate-200/60 hover:bg-white text-slate-800 rounded-2xl p-6 transition-all duration-300 hover:border-cyan-400 hover:shadow-xl hover:shadow-slate-100/60 flex flex-col justify-between group"
                >
                  <div className="space-y-4">
                    <div className="flex items-start justify-between gap-4">
                      <h3 className="text-xs sm:text-sm font-black text-slate-900 tracking-wide uppercase">{feat.title}</h3>
                      <div className="p-2.5 bg-white border border-slate-200/80 shadow-xs rounded-xl transition-all duration-300 group-hover:bg-cyan-600 group-hover:border-cyan-600 shrink-0">
                        {feat.icon}
                      </div>
                    </div>
                    <p className="text-xs sm:text-sm text-slate-500 leading-relaxed font-medium">
                      {feat.desc}
                    </p>
                  </div>
                </div>
              ))}
            </div>
          </div>

          {/* ─── GRID BLOCK 2: MR-G SINGLE PHASE ARCHITECTURE ─────────── */}
          <div className="mb-24 lg:mb-32">
            <h2 className="text-xl font-black text-slate-900 mb-8 flex items-center gap-3 border-b border-slate-100 pb-4 uppercase tracking-wider">
              <span className="h-5 w-1 rounded-full bg-cyan-500" />
              MR-G Series: Single Phase Controller Platform
            </h2>

            <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6">
              {features1Phase.map((feat, idx) => (
                <div
                  key={idx}
                  className="bg-slate-50 border border-slate-200/60 hover:bg-white text-slate-800 rounded-2xl p-6 transition-all duration-300 hover:border-cyan-400 hover:shadow-xl hover:shadow-slate-100/60 flex flex-col justify-between group"
                >
                  <div className="space-y-4">
                    <div className="flex items-start justify-between gap-4">
                      <h3 className="text-xs sm:text-sm font-black text-slate-900 tracking-wide uppercase">{feat.title}</h3>
                      <div className="p-2.5 bg-white border border-slate-200/80 shadow-xs rounded-xl transition-all duration-300 group-hover:bg-cyan-600 group-hover:border-cyan-600 shrink-0">
                        {feat.icon}
                      </div>
                    </div>
                    <p className="text-xs sm:text-sm text-slate-500 leading-relaxed font-medium">
                      {feat.desc}
                    </p>
                  </div>
                </div>
              ))}
            </div>
          </div>

          {/* ─── REMOTE SMART TELEMETRY EXTENSION MODULE BLOCK ────────── */}
          <div className="mb-24 bg-slate-50 rounded-3xl p-6 md:p-8 border border-slate-200/80 flex flex-col lg:flex-row items-start lg:items-center justify-between gap-6 shadow-xs">
            <div className="flex gap-4 items-start sm:items-center">
              <div className="p-3 bg-white text-cyan-600 rounded-2xl border border-slate-200 shadow-xs hidden sm:block shrink-0">
                <LuRadio className="w-6 h-6" />
              </div>
              <div className="space-y-1">
                <h4 className="text-sm sm:text-base font-black text-slate-900 uppercase tracking-wide">M-POWER Smart Wireless Integration Ready</h4>
                <p className="text-xs sm:text-sm text-slate-500 max-w-5xl font-medium leading-relaxed">
                  Both single and three-phase LTLK controllers offer swift communication integration endpoints. Users can plug in an external M-POWER+ or M-POWER PRO telemetry hardware module to facilitate remote pump initialization, remote diagnostics monitoring, and seamless energy telemetry via communicable handheld devices.
                </p>
              </div>
            </div>
            <span className="text-[10px] font-black uppercase tracking-widest bg-white text-cyan-700 border border-cyan-200 rounded-lg px-4 py-2 shrink-0 shadow-xs">
              M-POWER Ready
            </span>
          </div>

          {/* ─── CALL TO ACTION FRAME: ENQUIRY CTA ──────────────────── */}
          <div className="flex justify-center">
            <Link href="/contact"
              className="inline-flex items-center gap-2 bg-cyan-500 hover:bg-cyan-600 text-white text-xs xl:text-sm font-bold px-10 py-4 rounded-full transition-all duration-200 active:scale-95 shadow-md shadow-cyan-500/10 w-full sm:w-auto justify-center uppercase tracking-wider"
            >
              Send Enquiry
              <FaArrowRight className="w-3.5 h-3.5" />
            </Link>
          </div>
        </div>
      </div>
    </>
  );
}