/*
Theme Name: MoreNews Child
Theme URI: https://peters-notizen.cc/
Description: Lebensarchiv Theme mit Timeline und Kapiteln
Author: Peter Gaertner  
Author URI: https://peters-notizen.cc/
Template: morenews
Version: 1.1
*/

/* ========== LEBENSARCHIV BASIS ========== */
.mein-lebensweg-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
    font-family: 'Georgia', 'Times New Roman', serif;
    color: #333;
    line-height: 1.6;
}

.lebensarchiv-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eaeaea;
}

.lebensarchiv-header h1 {
    font-size: 2.8em;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 300;
}

.lebensarchiv-subtitle {
    font-size: 1.2em;
    color: #7f8c8d;
    font-style: italic;
}

/* ========== KAPITEL NAVIGATION ========== */
.lebenskapitel-navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 40px 0;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.kapitel-button {
    padding: 12px 25px;
    background: white;
    border: 2px solid #dee2e6;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1em;
    color: #495057;
    transition: all 0.3s ease;
    min-width: 180px;
    text-align: center;
}

.kapitel-button:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    transform: translateY(-2px);
}

.kapitel-button.active {
    background: #4b6cb7;
    color: white;
    border-color: #182848;
    box-shadow: 0 4px 12px rgba(75, 108, 183, 0.2);
}

/* ========== TIMELINE ========== */
.meine-lebenszeit-timeline {
    position: relative;
    padding: 40px 0;
}

.timeline-jahresgruppe {
    position: relative;
    margin-bottom: 50px;
    padding-left: 40px;
}

.timeline-jahresgruppe:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: -30px;
    width: 3px;
    background: linear-gradient(to bottom, #4b6cb7, #182848);
}

.jahres-markierung {
    position: absolute;
    left: -50px;
    top: 0;
    background: linear-gradient(135deg, #4b6cb7, #182848);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    min-width: 80px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    font-size: 1.1em;
    z-index: 2;
}

/* ========== LEBENSSTATION CARDS ========== */
.lebensstation-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin: 25px 0;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-left: 5px solid #4b6cb7;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.lebensstation-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.lebensstation-card:before {
    content: '';
    position: absolute;
    left: -15px;
    top: 30px;
    width: 30px;
    height: 30px;
    background: white;
    border: 4px solid #4b6cb7;
    border-radius: 50%;
    z-index: 1;
}

.station-titel {
    font-size: 1.6em;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.station-zeitraum {
    color: #3498db;
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.station-zeitraum:before {
    content: '📅';
    font-size: 0.9em;
}

.station-ort {
    color: #27ae60;
    font-weight: 500;
    margin-bottom: 20px;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.station-ort:before {
    content: '📍';
    font-size: 0.9em;
}

.station-beschreibung {
    color: #555;
    line-height: 1.8;
    font-size: 1.1em;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* ========== PARALLELE LEBENSSTRÄNGE ========== */
.parallele-strang-container {
    margin-left: 30px;
    padding-left: 30px;
    border-left: 2px dashed #e74c3c;
    margin-top: 15px;
}

.parallele-strang-karte {
    background: #fff9e6;
    border-left: 5px solid #e74c3c;
    margin: 15px 0;
}

.parallele-strang-karte .station-titel {
    color: #c0392b;
}

.parallele-strang-karte .station-zeitraum {
    color: #e67e22;
}

/* ========== BILDER IN STATIONEN ========== */
.station-bilder {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.station-bild {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.station-bild:hover {
    transform: scale(1.03);
}

.station-bild img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .mein-lebensweg-container {
        padding: 0 15px;
        margin: 15px auto;
    }
    
    .lebensarchiv-header h1 {
        font-size: 2.2em;
    }
    
    .lebenskapitel-navigation {
        flex-direction: column;
        padding: 20px;
    }
    
    .kapitel-button {
        min-width: 100%;
        margin-bottom: 10px;
    }
    
    .timeline-jahresgruppe {
        padding-left: 30px;
    }
    
    .jahres-markierung {
        position: relative;
        left: 0;
        top: 0;
        margin-bottom: 20px;
        display: inline-block;
    }
    
    .lebensstation-card:before {
        left: -20px;
        top: 20px;
    }
    
    .station-bilder {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 480px) {
    .lebensarchiv-header h1 {
        font-size: 1.8em;
    }
    
    .station-titel {
        font-size: 1.4em;
    }
    
    .lebensstation-card {
        padding: 20px;
    }
    
    .station-bilder {
        grid-template-columns: 1fr;
    }
}

/* ========== SPECIAL EVENTS ========== */
.lebensstation-card.special {
    background: linear-gradient(135deg, #fff9e6 0%, #ffeaa7 100%);
    border-left: 5px solid #e74c3c;
}

.lebensstation-card.special .station-titel {
    color: #c0392b;
}

/* ========== ANIMATIONEN ========== */
@keystations fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lebensstation-card {
    animation: fadeInUp 0.6s ease-out;
}
