/* portfolio.css */
.portfolio-container {
    position: relative;
    width: 100%;
    height: calc(100vh - var(--nav-height));
    overflow: hidden;
    background: var(--bg-color);
}

#projects {
    width: 100%;
    height: 100%;
    position: relative;
}

.project {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.project.active {
    opacity: 1;
    pointer-events: auto;
}

.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(30, 30, 30, 0.95),
        rgba(30, 30, 30, 0.7)
    );
}

.project-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 4rem;
    padding-top: 4rem;
}

.comment {
    color: #6A9955;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.title {
    color: #569CD6;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.description {
    color: #D4D4D4;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.tech-stack {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.tech {
    background-color: rgba(86, 156, 214, 0.1);
    color: #569CD6;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
}

.view-btn {
    display: inline-block;
    background: transparent;
    color: #C586C0;
    border: 1px solid currentColor;
    padding: 0.8rem 1.5rem;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.view-btn:hover {
    background: rgba(197, 134, 192, 0.1);
    transform: translateX(5px);
}

.nav-buttons {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 1rem;
}

.nav-buttons button {
    background: transparent;
    color: var(--text-color);
    border: 1px solid currentColor;
    padding: 0.5rem 1.5rem;
    font-family: 'Fira Code', monospace;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-buttons button:hover {
    color: #DCDCAA;
    border-color: #DCDCAA;
}

.previews {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.preview {
    width: 160px;
    height: 100px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    cursor: pointer;
    transition: all 0.3s ease;
}

.preview.active {
    opacity: 1;
    transform: scale(1.1);
}
.contribution {
    margin-top: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #333;
}

.contribution h4 {
    margin-bottom: 0.5rem;
    color: var(--accent-blue);
    font-family: 'Fira Code', monospace;
}

.contribution ul {
    padding-left: 1.5rem;
    list-style: square;
}

.contribution li {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}
