/* Documentation Page Specific Styles */

/* Documentation Hero Section */
.documentation-hero {
    padding: 120px 0 80px;
    background: #0a0a0a;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 20px;
    color: #fff;
}

.hero-subtitle {
    font-family: monospace;
    color: var(--color-accent);
    font-size: 1.2rem;
    letter-spacing: 3px;
    margin-bottom: 30px;
}

.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border: 1px solid var(--color-accent);
    background: rgba(255, 158, 27, 0.05);
}

.badge-icon {
    font-size: 1.2rem;
}

.badge-text {
    font-family: monospace;
    color: var(--color-accent);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Documentation Navigation */
.docs-nav-section {
    background: #0f0f0f;
    padding: 40px 0;
    border-bottom: 1px solid #222;
}

.docs-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.nav-category {
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-category:hover,
.nav-category.active {
    border-color: var(--color-accent);
    background: #222;
    transform: translateY(-2px);
}

.nav-category h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-category p {
    color: #888;
    font-family: monospace;
    font-size: 0.85rem;
}

/* Documentation Content */
.documentation-content {
    padding: 60px 0;
    background: #0a0a0a;
    min-height: 80vh;
}

.docs-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
}

/* Sidebar */
.docs-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sidebar-section {
    margin-bottom: 30px;
    background: #141414;
    border: 1px solid #333;
    overflow: hidden;
}

.sidebar-section h4 {
    background: #1a1a1a;
    color: var(--color-accent);
    padding: 15px 20px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid #333;
}

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

.doc-list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.doc-list li:last-child {
    border-bottom: none;
}

.doc-link {
    display: block;
    padding: 12px 20px;
    color: #ccc;
    font-family: monospace;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
    line-height: 1.4;
}

.doc-link:hover,
.doc-link.active {
    color: var(--color-accent);
    background: rgba(255, 158, 27, 0.05);
    padding-left: 25px;
}

/* Main Content Area */
.docs-main {
    min-height: 100vh;
}

.doc-category-content {
    display: none;
}

.doc-category-content.active {
    display: block;
}

.doc-item {
    background: #141414;
    border: 1px solid #333;
    margin-bottom: 30px;
    overflow: hidden;
}

.doc-header {
    background: #1a1a1a;
    padding: 25px 30px;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.doc-header h2 {
    color: #fff;
    font-size: 1.8rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.doc-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.doc-id {
    font-family: monospace;
    color: #888;
    font-size: 0.9rem;
    background: #0a0a0a;
    padding: 5px 10px;
    border: 1px solid #333;
}

.doc-status {
    font-family: monospace;
    color: #00ff00;
    font-size: 0.9rem;
    background: #0a0a0a;
    padding: 5px 10px;
    border: 1px solid #00ff00;
}

.doc-status.template {
    color: #ffaa00;
    border-color: #ffaa00;
}

.doc-status.classified {
    color: #ff3333;
    border-color: #ff3333;
}

.download-btn {
    background: transparent;
    color: var(--color-accent);
    border: 1px solid var(--color-accent);
    padding: 8px 15px;
    font-family: monospace;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.download-btn:hover {
    background: var(--color-accent);
    color: #000;
    box-shadow: 0 0 10px rgba(255, 158, 27, 0.4);
}

.doc-content {
    padding: 30px;
}

.content-wrapper {
    max-width: 800px;
}

.content-wrapper p {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.content-wrapper strong {
    color: #fff;
    font-weight: 600;
}

.doc-sections {
    margin-top: 30px;
}

.section-item {
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 20px;
    margin-bottom: 15px;
}

.section-item:last-child {
    margin-bottom: 0;
}

.section-item h4 {
    color: var(--color-accent);
    font-size: 1.2rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-item p {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .docs-layout {
        grid-template-columns: 250px 1fr;
        gap: 30px;
    }
    
    .docs-nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .docs-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .docs-sidebar {
        position: static;
    }
    
    .docs-nav {
        grid-template-columns: 1fr;
    }
    
    .doc-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .doc-meta {
        width: 100%;
        justify-content: space-between;
    }
    
    .documentation-hero {
        padding: 100px 0 60px;
    }
}

@media (max-width: 480px) {
    .doc-header {
        padding: 20px;
    }
    
    .doc-content {
        padding: 20px;
    }
    
    .section-item {
        padding: 15px;
    }
    
    .doc-meta {
        flex-direction: column;
        gap: 10px;
    }
}