@extends('front-end.layouts.apps')

@section('title', 'په مکرر ډول پوښتل شوې پوښتنې')

@section('page_title', 'په مکرر ډول پوښتل شوې پوښتنې')

@section('main_container')
<div class="container" dir="rtl">
    {{-- Back button --}}
    <div class="mb-3">
        <a href="{{ url()->previous() }}" class="btn-outline-secondary rounded-pill">
            <i class="fas fa-arrow-right ms-1"></i> شاته
        </a>
    </div>

    {{-- FAQ card --}}
    <div class="century-card p-4">
        <div class="d-flex align-items-center gap-3 mb-4">
            <i class="fas fa-question-circle" style="font-size: 2.5rem; color: var(--adabi-gold);"></i>
            <h2 class="fw-bold" style="color: var(--adabi-dark);">په مکرر ډول پوښتل شوې پوښتنې</h2>
        </div>

        <div class="accordion" id="faqAccordion">
            {{-- Vision --}}
            <div class="accordion-item">
                <h2 class="accordion-header" id="headingOne">
                    <button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
                        <i class="fas fa-eye ms-2"></i> ستاسو لید لوری څه دی؟
                    </button>
                </h2>
                <div id="collapseOne" class="accordion-collapse collapse show" aria-labelledby="headingOne" data-bs-parent="#faqAccordion">
                    <div class="accordion-body">
                        {{ $vision ?? 'د لید لوری معلومات شتون نلري.' }}
                    </div>
                </div>
            </div>

            {{-- About --}}
            <div class="accordion-item">
                <h2 class="accordion-header" id="headingTwo">
                    <button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
                        <i class="fas fa-info-circle ms-2"></i> ستاسو په هکله؟
                    </button>
                </h2>
                <div id="collapseTwo" class="accordion-collapse collapse" aria-labelledby="headingTwo" data-bs-parent="#faqAccordion">
                    <div class="accordion-body">
                        {{ $about ?? 'د اړوند معلومات شتون نلري.' }}
                    </div>
                </div>
            </div>

            {{-- Mission --}}
            <div class="accordion-item">
                <h2 class="accordion-header" id="headingThree">
                    <button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapseThree" aria-expanded="false" aria-controls="collapseThree">
                        <i class="fas fa-bullseye ms-2"></i> ستاسو ماموریت څه دی؟
                    </button>
                </h2>
                <div id="collapseThree" class="accordion-collapse collapse" aria-labelledby="headingThree" data-bs-parent="#faqAccordion">
                    <div class="accordion-body">
                        {{ $mission ?? 'د ماموریت معلومات شتون نلري.' }}
                    </div>
                </div>
            </div>
        </div>
    </div>

    {{-- Bottom Navigation --}}
    <nav class="bottom-nav">
        <a href="{{ url('/') }}" class="nav-item {{ request()->is('/') ? 'active' : '' }}">
            <i class="fas fa-home"></i> <span>کور</span>
        </a>
        <a href="{{ route('public.categories') }}" class="nav-item {{ request()->is('categories') || request()->is('categories*') ? 'active' : '' }}">
            <i class="fas fa-list-ul"></i> <span>کټګورۍ</span>
        </a>
        <a href="{{ route('public.poetry_search') }}" class="nav-item {{ request()->is('poetry/search') ? 'active' : '' }}">
            <i class="fas fa-search"></i> <span>لټون</span>
        </a>
    </nav>
</div>
@endsection

