/* Modern CSS for Wege nach Ravensbrück Website */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #000;
    background-color: #fff;
    margin: 0;
    padding: 20px;
}

/* Container */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    text-align: right;
    margin-bottom: 0;
}

.site-header img {
    max-width: 100%;
    height: auto;
}

/* Navigation */
.nav-top,
.nav-bottom {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px 0;
    flex-wrap: wrap;
}

.nav-top a,
.nav-bottom a {
    color: #000;
    text-decoration: none;
    padding: 5px 10px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-top a:hover,
.nav-bottom a:hover {
    color: #990000;
    border-bottom-color: #990000;
}

.nav-top a.active,
.nav-bottom a.active {
    color: #990000;
    font-weight: bold;
}

/* Sidebar Navigation */
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    width: 100%;
}

.sidebar-nav a {
    display: block;
    padding: 8px 12px;
    background-color: #f0f0f0;
    color: #000;
    text-decoration: none;
    border-left: 3px solid #990000;
    transition: all 0.3s ease;
    font-size: 14px;
    text-align: left;
}

.sidebar-nav a:hover {
    background-color: #e0e0e0;
    border-left-color: #660000;
    color: #990000;
}

.sidebar-nav a.active {
    background-color: #990000;
    color: #fff;
    border-left-color: #660000;
}

/* Main Content Layout */
.content-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 10px;
}

@media (min-width: 768px) {
    .content-wrapper {
        grid-template-columns: 3fr 1fr;
    }
}

/* Biography Content */
.bio-content {
    border: 1px solid #999;
    padding: 15px;
}

.bio-header {
    margin-bottom: 20px;
}

.bio-title {
    font-size: 22px;
    color: #990000;
    margin-bottom: 10px;
    font-weight: normal;
}

.bio-subtitle {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 20px;
}

.bio-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 16px;
    color: #990000;
    margin-bottom: 10px;
    font-weight: bold;
}

.bio-text {
    text-align: justify;
    margin-bottom: 15px;
}

.bio-separator {
    border: 0;
    border-top: 1px solid #990000;
    margin: 20px 0;
}

/* Image Gallery */
.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
}

.image-gallery a {
    display: inline-block;
}

.image-gallery img {
    border: 1px solid #999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Audio Section */
.audio-section {
    margin: 20px 0;
}

.audio-section h3 {
    font-size: 16px;
    color: #990000;
    margin-bottom: 10px;
    font-weight: bold;
}

.audio-list {
    list-style: none;
    padding: 0;
}

.audio-item {
    margin-bottom: 15px;
    padding: 15px;
    background-color: #f9f9f9;
    border-left: 3px solid #990000;
}

.audio-player {
    width: 100%;
    margin-top: 8px;
}

.audio-description {
    width: 100%;
}

.audio-description > div {
    margin-bottom: 8px;
    font-size: 12px;
    line-height: 1.5;
}

.audio-description a {
    color: #000;
    text-decoration: none;
    font-weight: bold;
}

.audio-description a:hover {
    color: #990000;
}

/* Sidebar */
.sidebar {
    text-align: center;
}

.sidebar img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.arrow-next {
    display: inline-block;
    margin-top: 10px;
    transition: transform 0.3s ease;
}

.arrow-next:hover {
    transform: translateX(5px);
}

/* Links */
a {
    color: #000;
    text-decoration: underline;
}

a:visited {
    color: #000;
}

a:hover {
    color: #990000;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-italic {
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 767px) {
    body {
        padding: 10px;
    }

    .nav-top,
    .nav-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .image-gallery {
        flex-direction: column;
        align-items: center;
    }
}

/* Frame Layout Alternative (for converted lager.html) */
.frame-layout {
    display: grid;
    grid-template-rows: auto 1fr;
    min-height: 100vh;
}

.frame-header {
    padding: 10px;
    background-color: #f5f5f5;
    border-bottom: 1px solid #999;
}

.frame-content {
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 20px;
    padding: 20px;
}

@media (max-width: 768px) {
    .frame-content {
        grid-template-columns: 1fr;
    }
}

.frame-left,
.frame-right {
    overflow-y: auto;
}
