:root {
    --primary: #2c3e50;
    --accent: #3498db;
    --light: #ecf0f1;
    --text: #333;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    background-color: #f4f7f6;
    color: var(--text);
}

/* Sticky Header */
header {
    background-color: var(--primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    gap: 20px;
    flex-wrap: wrap;
}

nav a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background 0.3s;
}

nav a:hover, nav a.active {
    background-color: var(--accent);
}

/* Layout */
.container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Forms & Buttons */
input[type="text"], input[type="password"], input[type="file"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    background-color: var(--accent);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
}

button:hover {
    background-color: #2980b9;
}

/* Tables & Lists */
.task-card {
    border: 1px solid #eee;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    background: #fafafa;
}

.done {
    border-left: 5px solid #2ecc71;
}

.command-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.cmd-item {
    background: var(--light);
    padding: 15px;
    border-radius: 5px;
    text-align: center;
}

.cmd-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
}

/* Kategória címek */
.category-title {
    color: var(--primary);
    border-left: 5px solid var(--accent);
    padding-left: 15px;
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.separator {
    border: 0;
    height: 1px;
    background: #e0e0e0;
    margin: 30px 0;
}

/* Kártya stílus */
.command-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 15px;
}

.cmd-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.cmd-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-color: var(--accent);
    background-color: #fcfcfc;
}

/* A kód kinézete (monospaced betűtípus) */
.cmd-code {
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    color: #e74c3c; /* Pythonos pirosas szín */
    font-size: 1.1rem;
    margin-bottom: 5px;
}

/* Magyar leírás */
.cmd-desc {
    color: #555;
    font-size: 0.9rem;
}

/* ... Az előző CSS kód marad, add hozzá ezeket az aljára ... */

.main-title {
    text-align: center;
    margin-bottom: 10px;
    font-size: 2.5rem;
}

.subtitle {
    text-align: center;
    color: #7f8c8d;
    margin-bottom: 40px;
    font-style: italic;
}

/* Elválasztó a két nyelv között */
.big-separator {
    height: 5px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    margin: 80px 0 60px 0;
    border-radius: 5px;
}

/* Színkódok */
.python-color { color: #306998; } /* Python kék */
.sql-color { color: #e67e22; }    /* SQL narancs */

.python-border { border-left-color: #306998; }
.sql-border { border-left-color: #e67e22; }

/* Kártya hover effektek nyelvek szerint */
.python-hover:hover { border-color: #306998; }
.sql-hover:hover { border-color: #e67e22; }

/* SQL kód színe kicsit más, hogy megkülönböztethető legyen */
.sql-code {
    color: #d35400; /* Sötétebb narancs */
}