/* Session 3 specific styles */

/* Header with GitHub theme */
.session-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../assets/images/github-spark-logo.svg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 4rem 0;
    text-align: center;
}

/* Programming languages comparison */
.language-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.language-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    background-color: #f9f9f9;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.language-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.language-card img {
    max-width: 80px;
    height: auto;
    margin-bottom: 1rem;
}

/* GitHub workflow diagram */
.github-workflow {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.workflow-step {
    display: flex;
    align-items: center;
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    gap: 1rem;
}

.workflow-step .step-number {
    width: 40px;
    height: 40px;
    background-color: #4CAF50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.workflow-step .step-content {
    flex: 1;
}

.workflow-step:not(:last-child)::after {
    content: "";
    width: 2px;
    height: 20px;
    background-color: #4CAF50;
    margin: 0 auto;
    display: block;
}

/* HTML/CSS playground */
.code-playground {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

.code-editor, .code-preview {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.editor-header, .preview-header {
    background-color: #f1f1f1;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #ddd;
    font-weight: bold;
}

.editor-content {
    padding: 1rem;
    background-color: #f9f9f9;
    min-height: 300px;
    font-family: monospace;
}

.preview-content {
    padding: 1rem;
    min-height: 300px;
    background-color: white;
}

/* Project showcase */
.project-showcase {
    margin: 2rem 0;
}

.project-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #ddd;
}

.project-card h4 {
    color: #4CAF50;
    margin-top: 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .code-playground {
        grid-template-columns: 1fr;
    }
}