import Link from "next/link"

export function SiteFooter() {
  const year = new Date().getFullYear()
  return (
    <footer className="bg-background border-t">
      <div className="px-4 py-4 lg:px-6">
        <div className="text-muted-foreground flex flex-col items-center justify-between gap-2 text-xs sm:flex-row">
          <p>
            © {year}{" "}
            <span className="text-foreground font-medium">Kovak Yazılım ve Medya LTD. ŞTİ.</span>
            {" "}— Emlak CRM
          </p>
          <div className="flex items-center gap-3">
            <Link href="/kullanim-sartlari" className="hover:text-foreground transition-colors">
              Kullanım Şartları
            </Link>
            <span aria-hidden>·</span>
            <Link href="/kvkk" className="hover:text-foreground transition-colors">
              KVKK / Gizlilik
            </Link>
          </div>
        </div>
      </div>
    </footer>
  )
}
