import Link from "next/link"

export function Footer() {
  return (
    <footer className="border-t border-border bg-muted/30 mt-24">
      <div className="container mx-auto px-4 sm:px-6 lg:px-8 py-12">
        <div className="grid grid-cols-1 md:grid-cols-5 gap-8">
          <div className="col-span-1 md:col-span-2">
            <div className="flex items-center gap-2 mb-4">
              <span className="text-xl font-semibold">GoHorse Jobs</span>
            </div>
            <p className="text-muted-foreground text-sm leading-relaxed max-w-md">
              Conectamos candidatos e empresas de forma rápida e direta. Encontre sua próxima oportunidade profissional em tecnologia.
            </p>
          </div>

          <div>
            <h3 className="font-semibold mb-4">Vagas por Tecnologia</h3>
            <ul className="space-y-2 text-sm text-muted-foreground">
              <li>
                <Link href="/vagas?tech=python" className="hover:text-foreground transition-colors">
                  Desenvolvedor Python
                </Link>
              </li>
              <li>
                <Link href="/vagas?tech=react" className="hover:text-foreground transition-colors">
                  Desenvolvedor React
                </Link>
              </li>
              <li>
                <Link href="/vagas?tech=dados" className="hover:text-foreground transition-colors">
                  Analista de Dados
                </Link>
              </li>
              <li>
                <Link href="/vagas?type=remoto" className="hover:text-foreground transition-colors">
                  Vagas Remotas
                </Link>
              </li>
            </ul>
          </div>

          <div>
            <h3 className="font-semibold mb-4">Empresa</h3>
            <ul className="space-y-2 text-sm text-muted-foreground">
              <li>
                <Link href="/sobre" className="hover:text-foreground transition-colors">
                  Sobre
                </Link>
              </li>
              <li>
                <Link href="/contato" className="hover:text-foreground transition-colors">
                  Contato
                </Link>
              </li>
              <li>
                <Link href="/vagas" className="hover:text-foreground transition-colors">
                  Todas as Vagas
                </Link>
              </li>
            </ul>
          </div>

          <div>
            <h3 className="font-semibold mb-4">Legal</h3>
            <ul className="space-y-2 text-sm text-muted-foreground">
              <li>
                <Link href="/privacidade" className="hover:text-foreground transition-colors">
                  Política de Privacidade
                </Link>
              </li>
              <li>
                <Link href="/termos" className="hover:text-foreground transition-colors">
                  Termos de Uso
                </Link>
              </li>
            </ul>
          </div>
        </div>

        <div className="mt-12 pt-8 border-t border-border text-center text-sm text-muted-foreground">
          <p>&copy; 2025 GoHorse Jobs. Todos os direitos reservados.</p>
        </div>
      </div>
    </footer>
  )
}

