@extends('layouts.app')

@section('content')
<div class="min-h-screen bg-gradient-to-br from-slate-50 to-slate-100 py-8 px-4 md:px-8">
    <div class="max-w-7xl mx-auto">
        <!-- الرأس -->
        <div class="mb-8">
            <div class="flex items-center justify-between mb-6">
                <div>
                    <h1 class="text-3xl font-bold text-gray-900 mb-2">@transDb('Manage Zakat & Taxes')</h1>
                    <p class="text-gray-600">@transDb('Manage your company\'s zakat and tax operations')</p>
                </div>
                <a href="{{ route('zakat-taxes.index') }}" class="inline-flex items-center px-6 py-3 bg-gradient-to-r from-blue-600 to-blue-700 text-white font-semibold rounded-lg hover:from-blue-700 hover:to-blue-800 transition-all duration-200 shadow-lg hover:shadow-xl transform hover:scale-105">
                    <i class="fas fa-arrow-right ml-2"></i>
                    <span>@transDb('Back')</span>
                </a>
            </div>
        </div>

        <!-- المحتوى الرئيسي -->
        <div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-8">
            <!-- حسابات الزكاة -->
            <div class="bg-white rounded-xl shadow-lg p-6 border border-gray-200 hover:shadow-xl transition-shadow">
                <div class="flex items-center mb-4">
                    <i class="fas fa-calculator text-blue-600 text-3xl ml-4"></i>
                    <h3 class="text-lg font-semibold text-gray-900">@transDb('Zakat Calculations')</h3>
                </div>
                <p class="text-gray-600 mb-4">@transDb('Calculate zakat obligations and amounts')</p>
                <a href="{{ route('zakat-taxes.calculations') }}" class="inline-block px-4 py-2 bg-blue-100 text-blue-700 rounded-lg hover:bg-blue-200 transition-colors">
                    @transDb('View') →
                </a>
            </div>

            <!-- الإقرارات الضريبية -->
            <div class="bg-white rounded-xl shadow-lg p-6 border border-gray-200 hover:shadow-xl transition-shadow">
                <div class="flex items-center mb-4">
                    <i class="fas fa-file-alt text-green-600 text-3xl ml-4"></i>
                    <h3 class="text-lg font-semibold text-gray-900">@transDb('Tax Declarations')</h3>
                </div>
                <p class="text-gray-600 mb-4">@transDb('Manage tax declarations and filings')</p>
                <a href="{{ route('zakat-taxes.declarations') }}" class="inline-block px-4 py-2 bg-green-100 text-green-700 rounded-lg hover:bg-green-200 transition-colors">
                    @transDb('View') →
                </a>
            </div>
        </div>

        <!-- الروابط السريعة -->
        <div class="bg-white rounded-xl shadow-lg p-8 border border-gray-200">
            <h2 class="text-xl font-bold text-gray-900 mb-6">@transDb('Quick Links')</h2>
            <div class="grid grid-cols-1 md:grid-cols-2 gap-4">
                <a href="{{ route('zakat-taxes.settings') }}" class="block p-4 bg-gradient-to-br from-green-50 to-green-100 rounded-lg hover:shadow-md transition-shadow">
                    <i class="fas fa-cog text-green-600 mb-2 text-xl"></i>
                    <h3 class="font-semibold text-gray-900">@transDb('Settings')</h3>
                    <p class="text-sm text-gray-600">@transDb('Configure system settings')</p>
                </a>
            </div>
        </div>
    </div>
</div>
@endsection
