/* =========================
   GLOBAL RESET / BASE
========================= */

html, body {
    height: 100%;
    margin: 0;
    background: #0f0f0f;
}

* {
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #eaeaea;
}


/* =========================
   HEADER / FOOTER
========================= */

.header,
.footer {
    padding: 1rem;
    background: #111;
    border-bottom: 1px solid #222;
}

.site-title a {
    color: #eaeaea;
    text-decoration: none;
}

.site-title a:hover {
    opacity: 0.9;
}

.status {
    font-size: 13px;
    color: #9aa0a6;
}


/* =========================
   LAYOUT
========================= */

.container {
    display: flex;
    min-height: calc(100vh - 120px);
}

.content {
    flex: 1;
    padding: 2rem;
    max-width: 900px;
}


/* =========================
   SIDEBAR (STRONG HIERARCHY)
========================= */

.sidebar {
    width: 260px;
    background: #131313;
    border-right: 1px solid #222;
    padding: 1rem;
    overflow-y: auto;
    font-size: 14px;
}

/* reset sidebar lists */
.sidebar ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.sidebar li {
    list-style: none;
}

/* CATEGORY = SECTION HEADER */
.sidebar-category {
    margin-bottom: 22px;
    padding-bottom: 10px;
    border-bottom: 1px solid #1f1f1f;
}

.category-label {
    display: block;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ffffff;
    margin-bottom: 10px;
}

/* SERVICES UNDER CATEGORY */
.sidebar-services {
    padding-left: 28px;
    margin: 0;
    border-left: 2px solid #2a2a2a;
}

.sidebar-service {
    margin-bottom: 6px;
}

.sidebar-service a {
    display: block;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 400;
    border-radius: 4px;
    color: #bdbdbd;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.sidebar-service a:hover {
    background-color: #1f1f1f;
    color: #ffffff;
}


/* =========================
   CATEGORY PAGE
========================= */

.category-header {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #222;
}

.category-title {
    font-size: 26px;
    font-weight: 600;
    color: #eaeaea;
    margin: 0;
}


/* =========================
   SERVICES (MAIN CONTENT)
========================= */

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-item {
    margin-bottom: 12px;
}

.service-item a {
    display: block;
    padding: 12px 16px;
    background-color: #181818;
    border: 1px solid #222;
    border-radius: 6px;
    text-decoration: none;
    color: #eaeaea;
    font-size: 15px;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.service-item a:hover {
    background-color: #222;
    border-color: #333;
}


/* =========================
   EMPTY STATE
========================= */

.empty-state {
    color: #777;
    font-style: italic;
}
