/*
Theme Name: Phoenyx Dark
Author: Martin Ehrentraut
Description: Minimalistisches Dark Theme basierend auf Project Phoenyx HTML.
Version: 1.0
*/

/* Reset & Basics */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --bg-color: #0a0a0a;
    --card-bg: #141414;
    --sidebar-bg: #111;
    --text-main: #e0e0e0;
    --text-muted: #999;
    --border-color: #333;
    --accent-color: #3498db;
    --hover-bg: #1e1e1e;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    min-height: 100vh;
    line-height: 1.6;
}

/* Links */
a { color: var(--accent-color); text-decoration: none; transition: color 0.3s; }
a:hover { color: #fff; }

/* === LAYOUT UTILS === */
.layout-wrapper {
    width: 80%;
    max-width: 2600px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.9);
    margin: 20px auto;
}

/* === NAVIGATION (WP Menu) === */
.top-menu-container {
    display: flex;
    justify-content: center;
    padding: 20px;
    background: var(--bg-color);
}

.top-menu {
    display: flex;
    gap: 20px;
    list-style: none;
}

.top-menu li a {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 20px;
    border-bottom: 2px solid transparent;
}

.top-menu li.current-menu-item a,
.top-menu li a:hover {
    color: #fff;
    border-bottom-color: var(--accent-color);
}

/* === CARD LAYOUT (Startseite) === */
.card-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 60px;
    text-align: center;
}

.profile-picture img {
    width: 250px; /* Angepasst für WP Avatar */
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--border-color);
    margin-bottom: 30px;
    filter: grayscale(100%);
    transition: all 0.3s;
}
.profile-picture img:hover { border-color: #fff; filter: grayscale(0%); }

h1.profile-name { font-size: 3rem; font-weight: 700; color: #fff; margin-bottom: 10px; }
.job-title { color: var(--text-muted); text-transform: uppercase; letter-spacing: 3px; margin-bottom: 50px; border-bottom: 1px solid var(--border-color); padding-bottom: 25px; display: inline-block; }

/* Details Tabelle */
.details-container { max-width: 700px; margin: 0 auto; width: 100%; }
.detail-row { display: flex; justify-content: space-between; border-bottom: 1px solid #222; padding: 10px 0; }
.detail-label { color: #979696; font-weight: 600; text-transform: uppercase; }
.detail-value { color: #ccc; }

/* === BLOG / PROJEKT LAYOUT === */
.main-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: 80vh;
}

.sidebar {
    background-color: var(--sidebar-bg);
    border-right: 1px solid var(--border-color);
    padding: 30px 20px;
}

.content-area { padding: 40px 60px; }
.entry-title { font-size: 2rem; margin-bottom: 20px; color: #fff; }
.entry-content { color: var(--text-main); font-size: 1.1rem; }

/* Sidebar Widget Styles */
.sidebar ul { list-style: none; }
.sidebar li { margin-bottom: 5px; }
.sidebar a {
    display: block;
    padding: 10px 15px;
    color: var(--text-main);
    border-radius: 6px;
    border-left: 3px solid transparent;
}
.sidebar a:hover, .sidebar .current-post a {
    background-color: var(--hover-bg);
    border-left-color: var(--accent-color);
    color: #fff;
}

/* WP Admin Bar Fix */
.admin-bar .top-nav { top: 32px; }

/* Responsive */
@media (max-width: 900px) {
    .main-grid { grid-template-columns: 1fr; }
    .sidebar { border-right: none; border-bottom: 1px solid var(--border-color); }
    .card-layout { padding: 40px 20px; }
    h1.profile-name { font-size: 2rem; }
}