/* ===================================
   PROJECTS SECTION STYLES
   ===================================
   Projects showcase with card layouts
*/

.projects {
    background: #0a0a0a;
}

.project-list {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.projects h2 {
    margin-top: 55px;
    /* margin-bottom: 20px; */
}

.project-card {
    display: flex;
    gap: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    border: 1px solid #6b7280;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.1);
    border-color: #ffd700;
}

.project-card.reverse {
    flex-direction: row-reverse;
}

.project-card img {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-card .content {
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-card h3 {
    /* font-family: 'Orbitron', sans-serif; */
    font-size: 24px;
    color: #ffd700;
    margin-bottom: 10px;
}

.project-card h4 {
    color: #6b7280;
    font-size: 20px;
    margin-bottom: 15px;
    font-style: italic;
}

.project-card p {
    color: #cccccc;
    font-size: 16px;
    line-height: 1.6;
}

/* Mobile Projects Styles */
@media (max-width: 1024px) {
    .project-list {
        gap: 30px;
    }
    
    .project-card {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        margin: 20px
    }
    
    .project-card.reverse {
        flex-direction: column;
    }
    
    .project-card img {
        width: 90%;
        height: 500px;
        margin: 20px
    }
    
    .project-card .content {
        text-align: center;
    }
    
    .project-card h3 {
        font-size: 20px;
    }
    
    .project-card h4 {
        font-size: 16px;
    }
    
    .project-card p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .project-card {
        padding: 15px;
    }
    
    .project-card img {
        height: 250px;
    }
    
    .project-card h3 {
        font-size: 18px;
    }
    
    .project-card h4 {
        font-size: 14px;
    }
    
    .project-card p {
        font-size: 12px;
    }
} 