{{-- case-study-detail.blade.php --}}
@extends('layouts.app')
@section('title', $caseStudy->title . ' — MUVR Labs')
@section('content')
<section class="page-hero-dark py-5 px-4 px-lg-5">
    <div class="container-fluid">
        <nav aria-label="breadcrumb" class="mb-2">
            <ol class="breadcrumb" style="font-size:.75rem">
                <li class="breadcrumb-item"><a href="{{ route('home') }}" class="text-secondary text-decoration-none">Home</a></li>
                <li class="breadcrumb-item"><a href="{{ route('case-studies') }}" class="text-secondary text-decoration-none">Case Studies</a></li>
                <li class="breadcrumb-item active text-white">{{ $caseStudy->title }}</li>
            </ol>
        </nav>
        <h1 class="fw-800 text-white mb-2" style="font-size:1.5rem">{{ $caseStudy->title }}</h1>
        @if($caseStudy->category)
        <span class="badge" style="background:var(--brand-primary);font-size:.72rem">{{ $caseStudy->category }}</span>
        @endif
    </div>
</section>
<section class="py-5 px-4 px-lg-5">
    <div class="container-fluid">
        <div class="row g-5">
            <div class="col-lg-8">
                <p class="mb-4 fw-500" style="font-size:.9rem;color:#475569;line-height:1.7">{{ $caseStudy->summary }}</p>
                <div style="font-size:.85rem;color:#475569;line-height:1.8">{!! $caseStudy->full_content !!}</div>
            </div>
            <div class="col-lg-4">
                <div class="p-4 rounded-3" style="background:#f8fafc;border:1px solid var(--border-light)">
                    <div class="fw-800 mb-3" style="font-size:.95rem">Interested in a Similar Solution?</div>
                    <a href="{{ route('contact') }}" class="btn btn-brand btn-sm w-100 mb-2">Discuss Your Requirement</a>
                    <a href="{{ route('contact') }}" class="btn btn-sm w-100" style="border:1px solid #cbd5e1;color:#374151">Contact Us</a>
                </div>
            </div>
        </div>
    </div>
</section>
@endsection
