
import React from 'react';

const Footer: React.FC = () => {
  return (
    <footer className="bg-slate-900 text-white pt-20 pb-10">
      <div className="container mx-auto px-6">
        <div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-12 mb-16">
          <div className="lg:col-span-1">
            <div className="flex items-center gap-3 mb-8">
              <div className="bg-blue-600 w-10 h-10 rounded-lg flex items-center justify-center shrink-0 shadow-lg">
                <span className="text-white font-bold text-xl font-industrial">H</span>
              </div>
              <div className="flex flex-col leading-none">
                <span className="font-bold text-xl tracking-tight font-industrial text-white">
                  HANMO
                </span>
                <span className="text-[9px] font-bold uppercase tracking-[0.2em] mt-1 text-blue-500">
                  Control & Network
                </span>
              </div>
            </div>
            <p className="text-slate-400 leading-relaxed mb-8 max-w-sm">
              Providing resilient, high-precision control and networking solutions for the world's most demanding industrial environments.
            </p>
          </div>

          <div>
            <h4 className="font-bold text-lg mb-6 border-b border-slate-800 pb-2 font-industrial tracking-wide">Solutions</h4>
            <ul className="space-y-4 text-slate-400">
              <li><a href="#" className="hover:text-blue-500 transition-colors">DCS Integration</a></li>
              <li><a href="#" className="hover:text-blue-500 transition-colors">SCADA Design</a></li>
              <li><a href="#" className="hover:text-blue-500 transition-colors">Industrial Historians</a></li>
              <li><a href="#" className="hover:text-blue-500 transition-colors">Smart Field Devices</a></li>
            </ul>
          </div>

          <div>
            <h4 className="font-bold text-lg mb-6 border-b border-slate-800 pb-2 font-industrial tracking-wide">Resources</h4>
            <ul className="space-y-4 text-slate-400">
              <li><a href="#" className="hover:text-blue-500 transition-colors">Technical Docs</a></li>
              <li><a href="#" className="hover:text-blue-500 transition-colors">Case Studies</a></li>
              <li><a href="#" className="hover:text-blue-500 transition-colors">Security Updates</a></li>
              <li><a href="#" className="hover:text-blue-500 transition-colors">Training Portal</a></li>
            </ul>
          </div>

          <div>
            <h4 className="font-bold text-lg mb-6 border-b border-slate-800 pb-2 font-industrial tracking-wide">Connect</h4>
            <div className="flex gap-4 mb-6">
              <a href="#" className="w-10 h-10 rounded-xl bg-slate-800 flex items-center justify-center hover:bg-blue-600 transition-all">
                <i className="fab fa-linkedin-in"></i>
              </a>
              <a href="#" className="w-10 h-10 rounded-xl bg-slate-800 flex items-center justify-center hover:bg-blue-600 transition-all">
                <i className="fab fa-twitter"></i>
              </a>
            </div>
            <p className="text-slate-500 text-sm">Subscribe to our newsletter for automation insights.</p>
          </div>
        </div>

        <div className="pt-10 border-t border-slate-800 flex flex-col md:flex-row justify-between items-center gap-6 text-slate-500 text-xs uppercase tracking-widest font-bold">
          <p>© 2024 Hanmo Control & Network Co., Ltd.</p>
          <div className="flex gap-8">
            <a href="#" className="hover:text-slate-300">Privacy Policy</a>
            <a href="#" className="hover:text-slate-300">Terms & Conditions</a>
          </div>
        </div>
      </div>
    </footer>
  );
};

export default Footer;
