﻿/* ============================================
   PORTFOLIO PAGES STYLES
   ============================================ */

.portfolio-page {
    background: var(--black);
    color: var(--white);
}

/* Portfolio Navigation */
.portfolio-page .nav {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.back-link {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s ease;
    letter-spacing: 1px;
}

.back-link:hover {
    opacity: 0.7;
}

/* Portfolio Hero */
.portfolio-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.portfolio-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.portfolio-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.portfolio-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, 0.8) 100%);
}

.portfolio-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.portfolio-category {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.6);
    display: block;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.portfolio-title {
    font-family: var(--font-heading);
    font-size: clamp(60px, 10vw, 140px);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin: 0 0 20px 0;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.portfolio-subtitle {
    font-family: var(--font-body);
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

/* Portfolio Content */
.portfolio-content {
    background: var(--black);
    padding: 120px 0;
}

.content-section {
    margin-bottom: 100px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.content-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.content-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 30px;
    color: var(--white);
}

.content-text {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin-bottom: 20px;
}

/* Tech Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.tech-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 14px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.result-item {
    text-align: center;
}

.result-number {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 900;
    color: var(--white);
    display: block;
    margin-bottom: 10px;
    line-height: 1;
}

.result-label {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    display: block;
}

/* Portfolio CTA */
.portfolio-cta {
    text-align: center;
    padding: 80px 20px;
    margin-top: 100px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.portfolio-cta h2 {
    font-family: var(--font-heading);
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--white);
}

.cta-button {
    display: inline-block;
    padding: 18px 40px;
    background: var(--white);
    color: var(--black);
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .portfolio-hero {
        height: 70vh;
        min-height: 500px;
    }

    .portfolio-content {
        padding: 60px 0;
    }

    .content-section {
        margin-bottom: 60px;
    }

    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 15px;
    }

    .results-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .result-number {
        font-size: 48px;
    }

    .portfolio-cta {
        padding: 60px 20px;
        margin-top: 60px;
    }
}
