<?php
// Use absolute paths instead of relative paths
require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/config.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/db.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/functions.php';
require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/header.php';
?>

<div class="container pt-60 pb-60">
    <div class="error-page text-center">
        <h1>404 - Stranica nije pronađena</h1>
        <p>Žao nam je, tražena stranica trenutno nije dostupna.</p>
        
        <div class="error-actions mb-30">
            <a href="/" class="btn-primary">Početna stranica</a>
            <a href="/kontakt" class="btn-secondary">Kontaktirajte nas</a>
        </div>
        
        <div class="error-reasons">
            <h3>Mogući razlozi:</h3>
            <ul class="error-list">
                <li>Netačan URL</li>
                <li>Stranica je premeštena ili obrisana</li>
                <li>Privremeni tehnički problem</li>
            </ul>
        </div>
    </div>
</div>

<?php
require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/footer.php';
?>