@extends('layouts.app')

@section('title', '404 - Page Not Found | Business Standard')
@section('robots', 'noindex, nofollow')

@section('content')
<div class="min-h-[60vh] flex flex-col items-center justify-center text-center py-20">
    <h1 class="text-8xl font-bold text-red-700 logo-font mb-4">404</h1>
    <h2 class="text-2xl font-bold mb-3">Page Not Found</h2>
    <p class="text-gray-500 mb-8 max-w-md">The page you're looking for doesn't exist or has been moved.</p>
    <div class="flex gap-4">
        <a href="{{ route('index') }}" class="bg-red-700 text-white px-6 py-3 rounded font-semibold hover:bg-red-800 transition">
            Go to Homepage
        </a>
        <a href="{{ route('search') }}" class="border border-red-700 text-red-700 px-6 py-3 rounded font-semibold hover:bg-red-50 transition">
            Search Articles
        </a>
    </div>
    <div class="mt-12">
        <p class="text-sm text-gray-500 mb-4">Or browse our sections:</p>
        <div class="flex flex-wrap gap-2 justify-center">
            @foreach($allCategories as $cat)
            <a href="{{ route('category.show', $cat->slug) }}" class="px-3 py-1 border border-gray-300 rounded-full text-sm hover:border-red-600 hover:text-red-600 transition">
                {{ $cat->category_name_english ?? $cat->category_name }}
            </a>
            @endforeach
        </div>
    </div>
</div>
@endsection
