/* Breadcrumb Navigation */
.breadcrumb {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8125rem;
    margin-bottom: 2rem;
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb span {
    color: var(--text-muted);
    margin: 0 0.5rem;
}

.breadcrumb .current {
    color: var(--text);
}

/* Link Items (for lists) */
.links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.link-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 6px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.2s ease;
}

.link-item:hover {
    border-color: var(--accent);
    background: var(--accent-dim);
    transform: translateX(4px);
}

.link-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.link-item:hover svg {
    color: var(--accent);
}

.link-item .label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    font-weight: 500;
}

.link-item .arrow {
    margin-left: auto;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.link-item:hover .arrow {
    transform: translateX(4px);
    color: var(--accent);
}

/* Link Cards (for grids) */
.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.link-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 6px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.2s ease;
}

.link-card:hover {
    border-color: var(--accent);
    background: var(--accent-dim);
    transform: translateY(-2px);
}

.link-card svg {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.link-card:hover svg {
    color: var(--accent);
}

.link-card .link-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg);
}

.btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-secondary:hover {
    border-color: var(--accent);
    background: var(--accent-dim);
}

.btn svg {
    width: 18px;
    height: 18px;
}

/* Badges */
.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-muted);
}

.badge svg {
    width: 14px;
    height: 14px;
}

/* Feature Cards */
.features {
    display: grid;
    gap: 1rem;
}

.feature {
    padding: 1.25rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 6px;
}

.feature h3 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.feature p {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Code Blocks */
pre {
    background: var(--code-bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0;
    overflow-x: auto;
    max-width: 100%;
}

pre code {
    display: block;
    padding: 1.25rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8125rem;
    line-height: 1.6;
    background: transparent !important;
}

/* Project Cards */
.projects-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-card {
    display: block;
    padding: 1.25rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 6px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.2s ease;
}

.project-card:hover {
    border-color: var(--accent);
    background: var(--accent-dim);
}

.project-card .project-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.project-card .project-name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent);
}

.project-card .project-arrow {
    color: var(--text-muted);
    font-family: 'JetBrains Mono', monospace;
    transition: transform 0.2s ease, color 0.2s ease;
}

.project-card:hover .project-arrow {
    transform: translateX(4px);
    color: var(--accent);
}

.project-card .project-desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.project-card .project-tech {
    margin-top: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Responsive - Tablet */
@media (max-width: 768px) {
    .link-item {
        padding: 0.75rem;
    }

    .project-card {
        padding: 1rem;
    }

    .links-grid {
        grid-template-columns: 1fr;
    }

    .features {
        grid-template-columns: 1fr;
    }

    .badges {
        gap: 0.5rem;
    }

    pre code {
        font-size: 0.75rem;
        padding: 1rem;
    }
}

/* Responsive - Mobile */
@media (max-width: 480px) {
    .breadcrumb {
        font-size: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .link-item .label {
        font-size: 0.8125rem;
    }

    .project-card .project-name {
        font-size: 0.9375rem;
    }

    .project-card .project-desc {
        font-size: 0.875rem;
    }

    .badges {
        gap: 0.375rem;
        margin-bottom: 1rem;
    }

    .badge {
        font-size: 0.625rem;
        padding: 0.25rem 0.5rem;
    }

    .badge svg {
        width: 12px;
        height: 12px;
    }

    .btn {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }

    .btn svg {
        width: 14px;
        height: 14px;
    }

    pre code {
        font-size: 0.625rem;
        padding: 0.75rem;
    }

    .feature {
        padding: 1rem;
    }

    .feature h3 {
        font-size: 0.8125rem;
    }

    .feature p {
        font-size: 0.8125rem;
    }

    .link-card {
        padding: 0.75rem;
    }

    .link-card svg {
        width: 16px;
        height: 16px;
    }

    .link-card .link-label {
        font-size: 0.8125rem;
    }
}

