import { Container } from "@/components/container";
import Link from "next/link";
import { Logo } from "@/components/Logo";

export function Footer() {
  return (
    <footer className="bg-white border-t py-12 md:py-20">
      <Container>
        <div className="grid grid-cols-1 md:grid-cols-4 gap-10">
          <div className="col-span-1 md:col-span-1">
            <Logo />
            <p className="mt-4 text-sm text-neutral-600 leading-relaxed">
              BharatStore is India's leading e-commerce platform for electronics, fashion, groceries, and hotel supplies. Quality products at the best prices.
            </p>
          </div>
          <div>
            <h4 className="font-bold text-neutral-900 mb-4">Shop</h4>
            <ul className="space-y-2 text-sm text-neutral-600">
              <li><Link href="/products?category=Electronics" className="hover:text-blue-600">Electronics</Link></li>
              <li><Link href="/products?category=Fashion" className="hover:text-blue-600">Fashion</Link></li>
              <li><Link href="/products?category=Groceries" className="hover:text-blue-600">Groceries</Link></li>
              <li><Link href="/products?category=Hotel Supplies" className="hover:text-blue-600">Hotel Supplies</Link></li>
            </ul>
          </div>
          <div>
            <h4 className="font-bold text-neutral-900 mb-4">Company</h4>
            <ul className="space-y-2 text-sm text-neutral-600">
              <li><Link href="/about" className="hover:text-blue-600">About Us</Link></li>
              <li><Link href="/contact" className="hover:text-blue-600">Contact Us</Link></li>
              <li><Link href="/faq" className="hover:text-blue-600">FAQs</Link></li>
              <li><Link href="/careers" className="hover:text-blue-600">Careers</Link></li>
            </ul>
          </div>
          <div>
            <h4 className="font-bold text-neutral-900 mb-4">Legal</h4>
            <ul className="space-y-2 text-sm text-neutral-600">
              <li><Link href="/privacy" className="hover:text-blue-600">Privacy Policy</Link></li>
              <li><Link href="/terms" className="hover:text-blue-600">Terms of Service</Link></li>
              <li><Link href="/shipping" className="hover:text-blue-600">Shipping Policy</Link></li>
            </ul>
          </div>
        </div>
        <div className="mt-12 pt-8 border-t flex flex-col md:flex-row justify-between items-center gap-4">
          <p className="text-xs text-neutral-500">
            © {new Date().getFullYear()} BharatStore Inc. All rights reserved. Made with ❤️ in India.
          </p>
          <div className="flex gap-6">
            {/* Social icons could go here */}
          </div>
        </div>
      </Container>
    </footer>
  );
}
