/* GitHub Page Specific Styles */

.github-hero {
    background: linear-gradient(135deg, #24292e 0%, #0d1117 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.github-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%23ffffff" opacity="0.1"/></svg>') repeat;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-100px); }
}

.github-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #f0f6fc;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: #24292e;
}

.feature-icon {
    font-size: 3rem;
    color: #24292e;
    margin-bottom: 1rem;
}

.tutorial-section {
    background: #f8f9fa;
    padding: 4rem 0;
    margin: 3rem 0;
}

.tutorial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.tutorial-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.tutorial-card:hover {
    transform: translateY(-3px);
}

.tutorial-number {
    background: #24292e;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 1rem;
}

.code-block {
    background: #0d1117;
    color: #f0f6fc;
    padding: 1.5rem;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    margin: 1rem 0;
    overflow-x: auto;
    border-left: 4px solid #238636;
}

.workflow-section {
    padding: 4rem 0;
}

.workflow-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 2rem;
    margin: 1rem 0;
    border-left: 5px solid #24292e;
}

.best-practices {
    background: #e8f5e8;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    border-left: 5px solid #238636;
}

.best-practices h4 {
    color: #1a7f37;
    margin-bottom: 1rem;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.resource-link {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
    text-decoration: none;
    color: #24292e;
    transition: all 0.3s ease;
    display: block;
}

.resource-link:hover {
    border-color: #24292e;
    transform: translateY(-2px);
    text-decoration: none;
    color: #24292e;
}

.cta-section {
    background: linear-gradient(135deg, #24292e 0%, #0d1117 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    margin-top: 4rem;
}

.cta-button {
    background: #238636;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    margin: 0.5rem;
}

.cta-button:hover {
    background: #2ea043;
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
}

.github-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #24292e;
    display: block;
}

.stat-label {
    color: #656d76;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .github-hero {
        padding: 2rem 0;
    }
    
    .github-icon {
        font-size: 3rem;
    }
    
    .feature-grid,
    .tutorial-grid,
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card,
    .tutorial-card {
        padding: 1.5rem;
    }
}