/*
Theme Name: Backlab App
Author: Backlab Collective
Description: Minimalistisches App-Theme (SPA) für Artists und Portfolio
Version: 1.0
*/

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

:root {
    --yellow: #FFD700;
    --white: #ffffff;
    --black: #000000;
    --light-gray: #f5f5f5;
    --dark-gray: #333;
}

html, body {
    height: 100%;
    overflow: hidden;
    font-family: 'Courier New', Courier, monospace;
    background: var(--white);
    color: var(--black);
}

body {
    display: flex;
    flex-direction: column;
}

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    border-bottom: 2px solid var(--black);
    background: var(--white);
    flex-shrink: 0;
    flex-wrap: wrap;
    gap: 15px;
}

.logo img {
    height: 50px;
}

.header-links {
    display: flex;
    gap: 15px;
    font-size: 1.5rem;
}
.header-links a {
    color: var(--black);
    transition: color 0.3s;
}
.header-links a:hover {
    color: var(--yellow);
}

.search-box {
    display: flex;
    align-items: center;
    border: 2px solid var(--black);
    border-radius: 20px;
    overflow: hidden;
    background: var(--white);
}
.search-box input {
    border: none;
    padding: 8px 15px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    width: 200px;
}
.search-box button {
    background: var(--yellow);
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 1rem;
    color: var(--black);
    transition: background 0.3s;
}
.search-box button:hover {
    background: var(--black);
    color: var(--yellow);
}

.main-container {
    display: flex;
    flex: 1;
    min-height: 0;
}

.col-left, .col-mid, .col-right {
    overflow-y: auto;
    border-right: 2px solid var(--black);
}
.col-right {
    border-right: none;
}

.col-left {
    flex: 1;
    padding: 15px;
    background: var(--white);
}
.col-mid {
    flex: 2;
    padding: 20px;
    background: var(--white);
}
.col-right {
    flex: 2;
    padding: 20px;
    background: var(--white);
}

.col-left h1 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    border-bottom: 2px solid var(--black);
    padding-bottom: 5px;
}
.col-left .titleSmall {
    display: block;
    font-size: 0.8rem;
    font-weight: normal;
    color: var(--dark-gray);
}
.col-left .titleBig {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
}

#listMembers {
    list-style: none;
}
#listMembers li {
    margin-bottom: 3px;
}
#listMembers a {
    display: block;
    padding: 6px 10px;
    text-decoration: none;
    color: var(--black);
    transition: background 0.2s;
    border-radius: 3px;
}
#listMembers a:hover {
    background: var(--yellow);
}
#listMembers a.selected {
    background: var(--yellow);
    font-weight: bold;
}

/* Scramble-Text */
.scramble-text {
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
}

.member-info {
    display: none;
}
.member-info.active {
    display: block;
}
.member-info h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    border-bottom: 2px solid var(--yellow);
    padding-bottom: 5px;
}
.member-photo {
    max-width: 200px;
    border: 2px solid var(--black);
    margin-bottom: 15px;
}
.contact-info p {
    margin-bottom: 5px;
}
.artist-bio {
    margin: 15px 0;
    line-height: 1.6;
}

/* Portfolio-Liste in der Mitte */
.portfolio-list {
    display: none;
    margin-top: 20px;
}
.portfolio-list.active {
    display: block;
}
.portfolio-list h3 {
    margin-bottom: 10px;
    border-bottom: 2px solid var(--black);
    padding-bottom: 5px;
}
.portfolio-item {
    display: block;
    padding: 8px 12px;
    margin-bottom: 5px;
    background: var(--light-gray);
    cursor: pointer;
    transition: background 0.3s;
    border-radius: 3px;
}
.portfolio-item:hover {
    background: var(--yellow);
}

/* Rechte Spalte: Projekt-Detail */
.project-detail {
    display: none;
}
.project-detail.active {
    display: block;
}
.project-detail h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.project-image {
    max-width: 100%;
    border: 2px solid var(--black);
    margin-bottom: 10px;
}
.project-description {
    margin-bottom: 15px;
}
.participating-artists {
    margin: 15px 0;
    padding: 10px;
    background: var(--light-gray);
    border-radius: 5px;
}
.participating-artists h4 {
    margin-bottom: 8px;
}
.artist-link {
    display: inline-block;
    background: var(--yellow);
    padding: 3px 8px;
    margin: 2px;
    cursor: pointer;
    border-radius: 3px;
    transition: background 0.3s;
}
.artist-link:hover {
    background: var(--black);
    color: var(--yellow);
}
.gallery img {
    max-width: 100%;
    margin-top: 10px;
    border: 2px solid var(--black);
}
.embed-container {
    margin-top: 15px;
}
.back-button {
    display: inline-block;
    margin-bottom: 15px;
    padding: 5px 12px;
    background: var(--black);
    color: var(--white);
    cursor: pointer;
    border-radius: 3px;
    font-size: 0.9rem;
}
.back-button:hover {
    background: var(--yellow);
    color: var(--black);
}

.placeholder-text {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--dark-gray);
    font-style: italic;
}

footer {
    border-top: 2px solid var(--black);
    padding: 10px 20px;
    display: flex;
    gap: 30px;
    justify-content: center;
    background: var(--white);
    flex-shrink: 0;
}
footer a {
    color: var(--black);
    text-decoration: none;
    transition: color 0.3s;
}
footer a:hover {
    color: var(--yellow);
}

.hidden-member {
    display: none !important;
}
		
		/* Fix: Verhindert, dass die WP Admin-Bar den Footer aus dem Bild schiebt */
.admin-bar body {
    height: calc(100vh - 32px);
}

/* Auf mobilen Geräten ist die Admin-Bar etwas dicker (46px) */
@media screen and (max-width: 782px) {
    .admin-bar body {
        height: calc(100vh - 46px);
    }
}
		
		/* Styling für die angezeigten Seiten (About, Impressum etc.) */
.page-info {
    display: none;
}
.page-info.active {
    display: block;
}
.page-info h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--black);
    padding-bottom: 5px;
}
.page-content {
    line-height: 1.6;
}
.page-content p {
    margin-bottom: 15px;
}
.page-content a {
    color: var(--black);
    text-decoration: underline;
    text-decoration-color: var(--yellow);
    text-decoration-thickness: 2px;
}
.page-content a:hover {
    background: var(--yellow);
}