/* Open Source Page Styles */

.open-source-project-card {
    background: var(--bg-tertiary);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.open-source-project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(99, 102, 241, 0.3);
}

.open-source-project-card:hover::before {
    opacity: 1;
}

.project-icon {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    transition: all 0.3s ease;
    z-index: 2;
}

.open-source-project-card:hover .project-icon {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.project-info {
    position: relative;
    z-index: 2;
}

.project-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.project-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.project-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.5rem;
    color: white;
}

.project-link.github {
    background: linear-gradient(135deg, #333, #555);
}

.project-link.docker {
    background: linear-gradient(135deg, #2496ed, #0db7ed);
}

.project-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .open-source-project-card {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .project-icon {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
    
    .project-name {
        font-size: 1.5rem;
    }
    
    .project-description {
        font-size: 0.9rem;
    }
    
    .project-link {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .open-source-project-card {
        padding: 1rem;
    }
    
    .project-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .project-name {
        font-size: 1.3rem;
    }
    
    .project-links {
        gap: 0.5rem;
    }
    
    .project-link {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}
