/* ===========================
   PROJECTS SECTION
   =========================== */

.projects {
    min-height: 100vh;
    padding: 80px 24px;
    background: var(--bg-color);
    transition: background 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-title {
    font-size: clamp(40px, 8vw, 80px);
    font-weight: 700;
    text-align: center;
    margin-bottom: 24px;
    color: var(--text-color);
    transition: color 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section-subtitle {
    font-size: 20px;
    color: var(--text-muted);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 80px;
    transition: color 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.project {
    margin-bottom: 120px;
    padding-top: 80px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.project.visible {
    opacity: 1;
    transform: translateY(0);
}

.project-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.project-logo {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    overflow: hidden;
    flex-shrink: 0;
    background: transparent;
    padding: 0;
}

.project-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
}

.project-name {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 700;
    color: var(--text-color);
    transition: color 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-description {
    font-size: 20px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 800px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    transition: color 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Project Logo Image */
.project-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 16px;
}

/* Copyright Notice */
.project-copyright {
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 100px;
    opacity: 0.6;
    font-style: italic;
    transition: color 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

:root.white-mode .project-copyright {
    color: #999;
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 768px) {
    .projects {
        padding: 60px 24px;
    }

    .project {
        margin-bottom: 80px;
    }

    .project-header {
        flex-direction: column;
        text-align: center;
    }

    .project-logo {
        width: 60px;
        height: 60px;
        font-size: 36px;
    }

    .section-subtitle {
        font-size: 18px;
        margin-bottom: 60px;
    }

    .project-copyright {
        font-size: 11px;
        margin-top: 16px;
    }
    
    /* Hide featured work (iPhone mockups) on mobile */
    .project {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .projects {
        padding: 60px 16px;
    }

    .section-title {
        font-size: 40px;
        margin-bottom: 16px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .project-name {
        font-size: 28px;
    }

    .project-description {
        font-size: 18px;
    }

    .project {
        margin-bottom: 60px;
    }
}