/* styles.css - Estilos para Tcl AI & System Extensions */

:root {
    --bg-color: #0d1117;
    --card-bg: #161b22;
    --text-color: #c9d1d9;
    --accent-color: #58a6ff;
    --border-color: #30363d;
    --desc-color: #8b949e;
    --keyword-highlight: #e4cc98;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
}

h1 {
    color: white;
    margin-bottom: 15px;
    font-size: 2.2rem;
    line-height: 1.2;
}

.subtitle {
    color: var(--desc-color);
    font-size: 1.1rem;
    line-height: 1.6;
}

strong {
    color: var(--text-color);
    font-weight: 600;
}

#repos-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1000px;
    margin-bottom: 50px;
}

.repo-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    transition: transform 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.repo-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.repo-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent-color);
    text-decoration: none;
    margin-bottom: 12px;
    display: inline-block;
}

.repo-title:hover {
    text-decoration: underline;
}

.repo-description {
    font-size: 0.95rem;
    color: var(--desc-color);
    margin-bottom: 20px;
    line-height: 1.6;
    flex-grow: 1;
}

.repo-meta {
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--desc-color);
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.language-dot {
    height: 12px;
    width: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}

.tcl-color { 
    background-color: #e4cc98; 
}

.c-color { 
    background-color: #555555; 
}

footer {
    margin-top: auto;
    text-align: center;
    color: var(--desc-color);
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    width: 100%;
    max-width: 1000px;
}

.latin-motto {
    font-style: italic;
    margin-bottom: 10px;
    color: var(--accent-color);
    opacity: 0.8;
}

code {
    background-color: rgba(0,0,0,0.2);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9em;
    color: var(--keyword-highlight);
}
