/* Portfolio Page Specific Styles */

body {
    background: linear-gradient(180deg, #DFFF00 0%, #000000 60%);
    background-attachment: fixed;
    color: #fff;
}

.cursor {
    border-color: #fff;
    background: #000;
}

.nav-links a {
    color: #fff;
}

.nav-links a.portfolio-link {
    border-color: #fff;
    background: #fff;
    color: #000;
}

/* Portfolio Header */
.portfolio-header {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10rem 0 4rem;
}

.portfolio-title-wrapper {
    width: 100%;
}

.portfolio-title-line {
    font-size: 7.5vw;
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.02em;
    border-bottom: 2px solid #fff;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.portfolio-title-line:first-child {
    text-align: left;
}

.portfolio-title-line:last-child {
    text-align: right;
}

/* Portfolio Grid */
section {
    padding: 4rem 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.project-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.project-image {
    aspect-ratio: 16/10;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    opacity: 0.5;
    transition: all 0.3s;
    color: #fff;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.project-card:hover .project-image {
    opacity: 1;
}

.project-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.project-meta {
    font-size: 0.85rem;
    opacity: 0.5;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.project-description {
    font-size: 0.95rem;
    line-height: 1.8;
    opacity: 0.8;
}

/* Footer */
footer {
    padding: 6rem 0 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 4rem;
    text-align: center;
}

.back-link {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 1rem 2rem;
    border: 2px solid #fff;
    transition: all 0.3s;
    margin-bottom: 3rem;
}

.back-link:hover {
    background: #fff;
    color: #000;
}

.footer-legal {
    font-size: 0.85rem;
    opacity: 0.5;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .portfolio-title-line {
        font-size: 20vw;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        padding: 0 2rem;
    }
}
