/* project.css - linked by 10 project pages only */

/* Navigation */
nav.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: linear-gradient(to bottom, var(--black-primary), transparent);
    backdrop-filter: blur(10px);
}

.logo {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
}

.logo-name { color: var(--white); }
.logo-dot { color: var(--red-primary); }

.back-link {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--gray-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--red-primary);
}

/* Project Hero */
.project-hero {
    padding: 10rem 4rem 6rem;
    position: relative;
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.project-number {
    font-family: var(--font-mono);
    font-size: 5rem;
    font-weight: 700;
    color: rgba(217, 50, 64, 0.2);
    line-height: 1;
}

.project-status {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    background: rgba(217, 50, 64, 0.1);
    border: 1px solid var(--red-primary);
    color: var(--red-primary);
}

.project-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.project-tagline {
    font-size: 1.3rem;
    max-width: 700px;
    margin-bottom: 3rem;
}

.project-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Content Sections */
.project-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem 6rem;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.main-content section {
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--red-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(217, 50, 64, 0.3);
}

.main-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.main-content ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.main-content li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.main-content li::before {
    content: '\2192';
    position: absolute;
    left: 0;
    color: var(--red-primary);
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 8rem;
    height: fit-content;
}

.sidebar-card {
    background: var(--black-soft);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    margin-bottom: 2rem;
}

.sidebar-card h3 {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--red-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-item {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    background: var(--gray-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-list {
    list-style: none;
}

.info-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

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

.info-label {
    color: var(--gray-text);
}

.info-value {
    color: var(--white);
    font-family: var(--font-mono);
}

/* Architecture Diagram */
.architecture-diagram {
    background: var(--black-soft);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem;
    margin: 2rem 0;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    overflow-x: auto;
}

.diagram-row {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1rem 0;
    gap: 1rem;
    flex-wrap: wrap;
}

.diagram-box {
    padding: 1rem 1.5rem;
    border: 1px solid var(--gray-text);
    text-align: center;
    min-width: 120px;
}

.diagram-box.highlight-box {
    border-color: var(--red-primary);
    color: var(--white);
}

.diagram-arrow {
    color: var(--red-primary);
}

.diagram-connector {
    width: 1px;
    height: 30px;
    background: var(--gray-text);
    margin: 0 auto;
}

/* Project Navigation */
.project-nav {
    display: flex;
    justify-content: space-between;
    padding: 3rem 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 4rem;
}

.project-nav-link {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.project-nav-link:hover {
    color: var(--white);
}

.project-nav-link span {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--red-primary);
}

.project-nav-link strong {
    font-size: 1.2rem;
    color: var(--white);
}

.nav-next {
    text-align: right;
}

/* Responsive */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .sidebar-card {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    nav.top-nav, .project-hero, .project-content, .project-nav {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .project-hero {
        padding-top: 8rem;
    }

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

    .project-nav {
        flex-direction: column;
        gap: 2rem;
    }

    .nav-next {
        text-align: left;
    }
}
