---
// Custom 404 Page - WorkRoot IT Solutions
import BaseLayout from '../layouts/BaseLayout.astro';

export const prerender = false;
---

<BaseLayout
  title="Page Not Found"
  description="The page you're looking for doesn't exist. Return to WorkRoot IT Solutions homepage."
  noIndex={true}
>
  <section class="min-h-[70vh] flex items-center justify-center py-20 px-4">
    <div class="text-center max-w-2xl mx-auto">
      <!-- 404 Number -->
      <div class="text-9xl font-black text-transparent bg-clip-text bg-gradient-to-r from-primary-500 to-cyan-400 mb-4 leading-none select-none">
        404
      </div>

      <!-- Heading -->
      <h1 class="text-4xl md:text-5xl font-bold text-secondary-900 dark:text-white mb-4">
        Page Not Found
      </h1>

      <!-- Description -->
      <p class="text-lg text-secondary-600 dark:text-secondary-300 mb-10 max-w-lg mx-auto">
        Sorry, the page you're looking for doesn't exist or has been moved.
        Let's get you back on track.
      </p>

      <!-- CTA Buttons -->
      <div class="flex flex-col sm:flex-row gap-4 justify-center mb-12">
        <a
          href="/"
          class="inline-flex items-center justify-center px-8 py-3 bg-primary-600 hover:bg-primary-700 active:bg-primary-800 text-white font-semibold rounded-xl transition-all duration-200 shadow-lg hover:shadow-primary-500/25"
        >
          <svg class="w-5 h-5 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24" aria-hidden="true">
            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6" />
          </svg>
          Go Home
        </a>
        <a
          href="/contact"
          class="inline-flex items-center justify-center px-8 py-3 border-2 border-primary-600 text-primary-600 dark:text-primary-400 hover:bg-primary-50 dark:hover:bg-primary-900/20 font-semibold rounded-xl transition-all duration-200"
        >
          <svg class="w-5 h-5 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24" aria-hidden="true">
            <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z" />
          </svg>
          Contact Us
        </a>
      </div>

      <!-- Quick Links -->
      <div class="border-t border-secondary-200 dark:border-secondary-700 pt-8">
        <p class="text-sm text-secondary-500 dark:text-secondary-400 mb-4">
          Or explore these pages:
        </p>
        <div class="flex flex-wrap justify-center gap-x-8 gap-y-2">
          <a href="/services" class="text-sm text-secondary-600 dark:text-secondary-300 hover:text-primary-600 dark:hover:text-primary-400 transition-colors font-medium">Services</a>
          <a href="/portfolio" class="text-sm text-secondary-600 dark:text-secondary-300 hover:text-primary-600 dark:hover:text-primary-400 transition-colors font-medium">Portfolio</a>
          <a href="/blog" class="text-sm text-secondary-600 dark:text-secondary-300 hover:text-primary-600 dark:hover:text-primary-400 transition-colors font-medium">Blog</a>
          <a href="/about" class="text-sm text-secondary-600 dark:text-secondary-300 hover:text-primary-600 dark:hover:text-primary-400 transition-colors font-medium">About</a>
        </div>
      </div>
    </div>
  </section>
</BaseLayout>
