<!DOCTYPE html>
<html lang="id">

<head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta charset="UTF-8">
    <title>SJU Service System</title>

    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css">
    <link rel="icon" type="image/png" href="{{ asset('favicon.png') }}">
    <style>
        /* Gaya global yang dipakai di semua halaman */
        body {
            background-color: #f4f4f4;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            margin: 0;
            padding: 20px;
            /* Panggil gambar logo Mas */
            /*background-image: url('{{ asset("\img\sju.png") }}') !important;*/

            /* INI KUNCINYA: Paksa ukurannya jadi mungil (misal 60 pixel) */
            background-size: 60px 60px !important;

            /* Paksa untuk mengulang terus */
            background-repeat: repeat !important;

            /* Biar background-nya nggak ikut lari pas di-scroll */
            background-attachment: fixed !important;

            /* Warna dasar biar gak silau */
            background-color: #f4f7f6 !important;
        }

        .container,
        .container-fluid,
        table {
            background-color: white !important;
            position: relative;
            z-index: 1;
        }

        body::before {
            content: "";
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(255, 255, 255, 0.8);
            /* Putih transparan */
            z-index: -1;
        }

        .header {
            background: #2a28a7;
            /* Hijau Ojek */
            color: white;
            padding: 15px;
            margin-bottom: 20px;
            border-radius: 8px;
        }

        .card {
            background: white;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }
    </style>
</head>

<body style="background-image: url('https://simbarefinery.com/api/media/file/logo%20favicon.png'); background-size: cover; background-attachment: fixed;">

    <div class="header">
        <strong>PT. SIMBA JAYA UTAMA</strong>
    </div>

    <div class="card">
        @yield('konten') {{-- "Lubang" ini bakal diisi oleh file anak --}}
    </div>

    <hr>
    <footer style="font-size: 12px; color: #000000; font-weight: bold;">
        &copy; {{ date('Y') }} - PT. Simba Jaya Utama - IT Support Specialist
    </footer>

    <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/js/bootstrap.bundle.min.js"></script>

</body>

</html>
