import { ROUTES_ENUM } from '@/routes/route.constant'
import { useNavigate } from 'react-router-dom'

const NotFoundPage = () => {
  const navigate = useNavigate()

  return (
    <div className="p-20">
      <div className="flex items-center justify-center font-inter">
        <div className="text-[8rem] sm:text-[10rem] md:text-[12rem] font-bold bg-gradient-to-br from-primary to-secondary bg-clip-text animate-pulse">
          404
        </div>
      </div>
      <p className="flex items-center justify-center text-xl mb-6 text-gray-600">
        Aradığınız sayfa bulunamadı.
      </p>
      <div className="flex items-center justify-center font-inter">
        <button
          onClick={() => navigate(ROUTES_ENUM.protected.dashboard)}
          className="px-6 py-3 bg-primary rounded-xl shadow hover:bg-secondary transition"
        >
          Ana Sayfa'ya Dön
        </button>
      </div>
    </div>
  )
}

export default NotFoundPage
