/*
Theme Name: UIN Bogor QR Wisuda
Theme URI: https://viqyfazrian.com
Author: Viqy Fazrian
Author URI: https://viqyfazrian.com
Description: Tema khusus Sistem Pemindai & Absensi Makan Siang Wisuda Universitas Islam Nasional Bogor.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: uin-qr-wisuda
*/

/* RESET & BASE */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f8fafc;
    color: #1e293b;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
    padding: 30px 20px;
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

/* HEADER */
.site-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.header-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #ffffff;
}

.brand-logo {
    width: 45px;
    height: 45px;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px;
}

.brand-text h1 {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1.2;
    text-transform: uppercase;
    color: #f8fafc;
}

.brand-text p {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.nav-item {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-item:hover, .nav-item.active {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.nav-item-btn {
    background: #2563eb;
    color: #ffffff;
}

.nav-item-btn:hover {
    background: #1d4ed8;
    color: #ffffff;
}

/* FOOTER */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    border-top: 1px solid #1e293b;
    font-size: 13px;
    margin-top: auto;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-nav {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-link {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-link:hover {
    color: #38bdf8;
}

.footer-credits {
    font-size: 12px;
    color: #64748b;
}

.footer-credits strong {
    color: #94a3b8;
}

/* MEDIA QUERIES */
@media (max-width: 640px) {
    .header-container {
        justify-content: center;
        text-align: center;
    }
    .brand-link {
        flex-direction: column;
        gap: 6px;
    }
    .header-nav {
        justify-content: center;
        width: 100%;
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}