/* WestAce Identity Architecture & Media Resource Hub - Main Stylesheet */
:root {
    --deep-graphite: #1F2937;
    --gold-accent: #D4AF37;
    --text-main: #374151;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --border-color: #E5E7EB;
    --sidebar-width: 280px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-main);
    background-color: #ffffff;
    line-height: 1.6;
    display: flex;
    min-height: 100vh;
}

/* Sidebar Navigation */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--bg-light);
    border-right: 1px solid var(--border-color);
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    padding: 2rem 1.5rem;
}

.sidebar-brand {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--deep-graphite);
    margin-bottom: 2.5rem;
    display: block;
    text-decoration: none;
}

.nav-group {
    margin-bottom: 2rem;
}

.nav-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.nav-link {
    display: block;
    padding: 0.5rem 0;
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-link:hover, .nav-link.active {
    color: var(--gold-accent);
}

/* Main Content Area */
.main-content {
    margin-left: var(--sidebar-width);
    flex: 1;
    padding: 3rem 4rem;
    max-width: 1000px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.official-link-btn {
    background-color: var(--deep-graphite);
    color: #ffffff;
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: opacity 0.2s;
}

.official-link-btn:hover {
    opacity: 0.9;
}

h1 {
    font-size: 2.25rem;
    color: var(--deep-graphite);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 1.5rem;
    color: var(--deep-graphite);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.25rem;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--gold-accent);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

/* Grid Layouts */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.card {
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 8px;
}

.card h3 {
    margin-bottom: 0.75rem;
    color: var(--deep-graphite);
}

/* Technical Registry Table */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

th {
    text-align: left;
    background-color: var(--bg-light);
    padding: 1rem;
    border-bottom: 2px solid var(--border-color);
    font-size: 0.875rem;
    text-transform: uppercase;
    color: var(--text-light);
}

td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

code {
    background-color: var(--bg-light);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9em;
}

footer {
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    body {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    .main-content {
        margin-left: 0;
        padding: 2rem;
    }
}
