/* css/style.css - DARK MODE EDITION */

:root {
    /* --- Sötét Téma Paletta --- */
    --bg-color: #020617;        /* Nagyon sötét, majdnem fekete kék */
    --text-main: #f8fafc;       /* Törtfehér a fő szövegnek */
    --text-muted: #94a3b8;      /* Szürkéskék a mellékszövegeknek */
    
    /* Neon Kék Gradiens */
    --brand-gradient: linear-gradient(135deg, #3b82f6 0%, #2563eb 50%, #1d4ed8 100%);
    
    /* Sötét háttér átmenet */
    --surface-gradient: linear-gradient(to bottom, #020617 0%, #0f172a 100%);
    
    --border-color: #1e293b;    /* Sötét szürke keretek */
    --card-bg: #0f172a;         /* Kártyák háttere (kicsit világosabb mint a háttér) */
    
    --accent-blue: #3b82f6;     /* Világosabb kék a linkeknek */
    --code-bg: #000000;         /* Kódblokkok háttere */

    /* Fontok */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: var(--surface-gradient);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.2s ease;
}

a:hover {
    color: var(--accent-blue);
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.5); /* Neon glow effect */
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.mono { font-family: var(--font-mono); }
.text-blue { color: var(--accent-blue); }

/* Szöveg Gradiens Effekt */
.text-gradient {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* HEADER - Sötét és áttetsző */
header {
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    background: rgba(2, 6, 23, 0.85); /* Sötét blur */
    backdrop-filter: blur(12px);
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-links { display: flex; gap: 30px; }
.nav-links a { 
    font-size: 0.85rem; 
    text-transform: uppercase; 
    font-weight: 600; 
    color: var(--text-muted);
}
.nav-links a:hover { color: var(--accent-blue); }

/* HERO SECTION */
.hero { padding: 120px 0; position: relative; }
.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -2px;
}
.hero p {
    font-size: 1.25rem;
    max-width: 650px;
    color: var(--text-muted);
}

.status-badge {
    display: inline-block;
    background: #1e293b;
    color: var(--accent-blue);
    padding: 6px 12px;
    font-size: 0.75rem;
    margin-bottom: 25px;
    font-weight: 700;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

/* SECTIONS GLOBAL */
section { padding: 80px 0; border-bottom: 1px solid var(--border-color); }
section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}
section h2::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 50px; height: 4px;
    background: var(--brand-gradient);
    border-radius: 2px;
}

/* SKILLS GRID */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.skill-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 25px;
    border-radius: 8px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.1); /* Kék glow */
}

.skill-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--text-main); }
.skill-card p { font-size: 0.95rem; color: var(--text-muted); }

/* POST LIST (JSON betöltéshez) */
.post-list { display: flex; flex-direction: column; gap: 20px; }

.post-item {
    display: block;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.post-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 4px; height: 100%;
    background: var(--brand-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.post-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-blue);
}

.post-item:hover::before { opacity: 1; }

.post-item h3 { font-size: 1.5rem; margin-bottom: 10px; font-weight: 700; color: var(--text-main); }
.post-meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 12px; display: block; }
.post-tag { 
    color: var(--accent-blue); 
    font-weight: 700; 
    background: rgba(59, 130, 246, 0.1); 
    padding: 4px 8px; 
    border-radius: 4px; 
    font-size: 0.75rem; 
    margin-right: 8px;
}

/* UTILS FOR WALKTHROUGH VIEW */
.analysis-steps-container { margin-top: 30px; }
.step-header { background: #1e293b !important; color: white !important; border-bottom: 1px solid var(--border-color); }
.step-content { background: #0f172a !important; color: var(--text-muted) !important; }
pre, code { background: #000 !important; border: 1px solid #333; color: #4ade80; } /* Zöld terminál szöveg */

/* FOOTER */
footer {
    padding: 50px 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    background: #020617;
    border-top: 1px solid var(--border-color);
}

/* Kontakt doboz */
.contact-box ul li a { color: var(--accent-blue); }

img {
    max-width: 100%;
    height: auto;
    display: block;
}