/* Project Styles */

.projects-title-terminal {
    font-family: 'Terminal Grotesque', Arial Black, Arial, sans-serif;
    font-size: clamp(2em, 8vw, 3em);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-white);
}

.project-content,
.project-description {
    font-family: 'Ubuntu', sans-serif !important;
}

.project-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
    width: 100%;
}

.project-row {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    margin-bottom: 36px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: none;
    /* Remove animation */
    padding: 30px;
    gap: 40px;
    /* Remove transform and box-shadow on hover */
}

.project-row:hover {
    /* Remove all hover effects */
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transform: none;
}

.project-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.project-title {
    color: var(--color-white);
    font-size: 2em;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Terminal Grotesque', Arial Black, Arial, sans-serif;
    text-align: left;
}

.project-description {
    font-size: 1.25em;
    line-height: 1.6;
    color: #e2e8f0;
    margin-bottom: 15px;
    text-align: left;
}

.project-3d {
    flex: 0 0 450px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
}

.model-viewer {
    width: 100%;
    height: 380px;
    min-height: 320px;
    max-height: 400px;
    border-radius: 8px;
    object-fit: contain;
}

.model-info {
    text-align: center;
    margin-top: 8px;
}

.model-label {
    font-size: 13px;
    color: #b0b8c1;
    margin-bottom: 2px;
}

.model-download {
    font-size: 12px;
}

.model-download a {
    color: var(--color-white);
    text-decoration: underline;
}

.model-download a:hover {
    color: #ffffff;
}

.project-image {
    width: 300px;
    height: 200px;
    background: linear-gradient(45deg, #3A3A3A, #4A4A4A);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1em;
    font-weight: bold;
}

.project-document {
    margin-top: 15px;
    text-align: center;
}

.project-detail-image {
    margin-top: 8px;
    text-align: center;
}

.detail-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 6px;
}

.pdf-download-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.pdf-download-button:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.5);
}

.pdf-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* Mobile Responsive Styles */
@media (max-width: 900px) {
    .project-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 20px !important;
        margin-bottom: 80px !important;
        padding: 20px !important;
    }

    .project-3d {
        flex: none !important;
        width: 100% !important;
        height: auto !important;
        order: 2 !important;
    }

    .project-content {
        order: 1 !important;
        margin-bottom: 20px !important;
    }

    .model-viewer {
        height: 300px !important;
        min-height: 250px !important;
        max-height: 350px !important;
    }

    .detail-image {
        max-width: 100% !important;
    }

    .project-title {
        font-size: 1.5em !important;
    }

    .project-description {
        font-size: 1.1em !important;
    }
}