/* --- GLOBAL RESET & BASE LAYOUT --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #ffffff;
    color: #000000;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* --- REUSABLE HEADER & NAVIGATION --- */
header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 40px 50px;
    width: 100%;
}

.logo-container {
    justify-self: start;
}

.logo-container img {
    height: 90px;
    width: auto;
    display: block;
}

nav {
    justify-self: center;
    display: flex;
    gap: 40px;
}

nav a {
    text-decoration: none;
    color: #000000;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: opacity 0.2s ease;
}

nav a:hover {
    opacity: 0.5;
}

/* Style otomatis untuk menu halaman yang sedang aktif */
nav a.active-page {
    font-weight: 700;
    border-bottom: 1.5px solid #000000;
    padding-bottom: 2px;
}

.status-container {
    justify-self: end;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.status-text {
    text-align: right;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
}

.status-indicator {
    width: 10px;
    height: 10px;
    background-color: #32CD32;
    margin-top: 2px;
}

/* --- RESPONSIVE DESIGN (MOBILE) --- */
@media (max-width: 900px) {
    header {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        padding: 20px;
        gap: 20px;
    }

    .logo-container {
        grid-column: 1 / 2;
        grid-row: 1;
    }

    .status-container {
        grid-column: 2 / 3;
        grid-row: 1;
    }

    nav {
        grid-column: 1 / 3;
        grid-row: 2;
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
        margin-top: 10px;
    }
}