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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #1a1a1a;
    color: #e0e0e0;
    line-height: 1.6;
}

a {
    color: #c9a96e;
    text-decoration: none;
}

a:hover {
    color: #e0c78a;
}

/* ==================== HEADER ==================== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background-color: #111;
    border-bottom: 2px solid #c9a96e;
    flex-wrap: wrap;
}

.logo a {
    font-size: 1.8em;
    font-weight: bold;
    color: #c9a96e;
    letter-spacing: 2px;
}

nav {
    display: flex;
    gap: 25px;
}

nav a {
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s;
}

nav a:hover {
    border-bottom: 2px solid #c9a96e;
}

.user-area {
    display: flex;
    gap: 15px;
}

.user-area a {
    padding: 8px 15px;
    border: 1px solid #c9a96e;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}

.user-area a:hover {
    background-color: #c9a96e;
    color: #111;
}

/* ==================== ZWEI-SPALTEN LAYOUT ==================== */
.two-columns {
    display: flex;
    gap: 20px;
    padding: 30px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Linke Spalte: Video */
.video-section {
    flex: 2;
    min-width: 0;
}

.video-container video {
    border-radius: 8px;
    background-color: #000;
    width: 100%;
    border: 3px solid #c9a96e;
    box-shadow: 0 0 15px rgba(201, 169, 110, 0.4);
}

.video-info {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.video-info h3 {
    width: 100%;
    font-size: 1.3em;
    color: #c9a96e;
}

.video-stats {
    color: #999;
    font-size: 0.9em;
}

.like-btn, .share-btn button {
    background-color: #333;
    color: #e0e0e0;
    border: 1px solid #555;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.like-btn:hover, .share-btn button:hover {
    background-color: #c9a96e;
    color: #111;
}

.like-btn.liked {
    background-color: #c0392b;
    border-color: #c0392b;
}

/* ==================== THUMBNAIL-SLIDER ==================== */
.thumbnail-slider {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.thumbnail-slider img {
    width: 120px;
    height: 68px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s, opacity 0.3s;
    opacity: 0.7;
}

.thumbnail-slider img:hover,
.thumbnail-slider img.active {
    border-color: #c9a96e;
    opacity: 1;
}

/* ==================== KOMMENTARE ==================== */
.comments-section {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.comments-section h4 {
    color: #c9a96e;
    margin-bottom: 15px;
}

#commentsList {
    margin-bottom: 15px;
}

.comment {
    background-color: #222;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 8px;
    border-left: 3px solid #c9a96e;
}

.comment .comment-user {
    font-weight: bold;
    color: #c9a96e;
    font-size: 0.9em;
}

.comment .comment-text {
    margin-top: 5px;
    font-size: 0.95em;
}

.comment .comment-time {
    font-size: 0.75em;
    color: #777;
    margin-top: 3px;
}

#commentInput {
    width: 100%;
    height: 80px;
    background-color: #222;
    border: 1px solid #444;
    color: #e0e0e0;
    padding: 10px;
    border-radius: 4px;
    resize: vertical;
    font-family: inherit;
}

#submitComment {
    margin-top: 10px;
    padding: 8px 20px;
    background-color: #c9a96e;
    color: #111;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

#submitComment:hover {
    background-color: #e0c78a;
}

.login-hinweis {
    font-size: 0.85em;
    color: #888;
    margin-top: 10px;
}

.login-hinweis a {
    color: #c9a96e;
    text-decoration: underline;
}

/* ==================== CHAT (rechte Spalte) ==================== */
.chat-section {
    flex: 1;
    background-color: #1e1e1e;
    border: 1px solid #333;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    min-width: 300px;
    max-height: 600px;
}

.chat-header {
    padding: 15px;
    border-bottom: 1px solid #333;
}

.chat-header h3 {
    color: #c9a96e;
    font-size: 1.1em;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 350px;
    max-height: 400px;
}

.chat-placeholder {
    color: #666;
    text-align: center;
    margin-top: 50px;
}

.chat-message {
    background-color: #2a2a2a;
    padding: 8px 12px;
    border-radius: 4px;
}

.chat-message .chat-user {
    font-weight: bold;
    color: #c9a96e;
    font-size: 0.85em;
}

.chat-message .chat-text {
    margin-top: 3px;
    font-size: 0.9em;
}

.chat-input-area {
    display: flex;
    padding: 15px;
    border-top: 1px solid #333;
    gap: 10px;
}

.chat-input-area input {
    flex: 1;
    padding: 10px;
    background-color: #222;
    border: 1px solid #444;
    color: #e0e0e0;
    border-radius: 4px;
    font-family: inherit;
}

.chat-input-area button {
    padding: 10px 15px;
    background-color: #c9a96e;
    color: #111;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

.chat-input-area button:hover {
    background-color: #e0c78a;
}

.chat-hinweis {
    padding: 0 15px 15px;
}

/* ==================== ZITAT-BLOCK ==================== */
.poem-block {
    text-align: center;
    padding: 50px 40px;
    background-color: #111;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    margin: 0;
}

.poem-line {
    font-size: 1.3em;
    font-style: italic;
    color: #c9a96e;
    line-height: 1.8;
}

.poem-signatur {
    margin-top: 20px;
    color: #888;
    font-size: 0.95em;
}

/* ==================== EINLEITUNG & GALERIE ==================== */
.intro-gallery {
    display: flex;
    gap: 40px;
    padding: 50px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.intro-text {
    flex: 1;
}

.intro-text h2 {
    color: #c9a96e;
    margin-bottom: 20px;
    font-size: 1.6em;
}

.intro-text p {
    margin-bottom: 15px;
    color: #ccc;
}

.gallery-preview {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.gallery-preview img {
    width: 100%;
    border-radius: 4px;
    border: 1px solid #333;
    transition: transform 0.3s;
}

.gallery-preview img:hover {
    transform: scale(1.05);
}

/* ==================== FOOTER ==================== */
footer {
    background-color: #111;
    border-top: 2px solid #c9a96e;
    padding: 25px 40px;
    text-align: center;
}

.footer-content p {
    margin-bottom: 8px;
    font-size: 0.9em;
    color: #888;
}

.footer-content a {
    color: #c9a96e;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 900px) {
    .two-columns {
        flex-direction: column;
    }
    
    .chat-section {
        min-width: 100%;
        max-height: 400px;
    }
    
    .intro-gallery {
        flex-direction: column;
    }
    
    header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    nav {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* ==================== VIDEO-PLAYER MIT SLIDER-PFEILEN ==================== */
.video-player-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.video-container {
    flex: 1;
}

.slide-arrow {
    background-color: rgba(201, 169, 110, 0.3);
    border: 1px solid #c9a96e;
    color: #c9a96e;
    font-size: 1.5em;
    padding: 15px 10px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
    z-index: 10;
}

.slide-arrow:hover {
    background-color: rgba(201, 169, 110, 0.7);
    color: #111;
}

/* ==================== VIDEO-EMOJIS ==================== */
.video-emojis {
    display: flex;
    gap: 20px;
    font-size: 1.2em;
    cursor: pointer;
    user-select: none;
}

.video-emojis span {
    transition: transform 0.2s;
    display: inline-block;
}

.video-emojis span:hover {
    transform: scale(1.2);
}

.video-player-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}
.video-container {
    flex: 1;
}
.slide-arrow {
    background-color: rgba(201, 169, 110, 0.2);
    border: 1px solid #c9a96e;
    color: #c9a96e;
    font-size: 1.5em;
    padding: 15px 10px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
}
.slide-arrow:hover {
    background-color: rgba(201, 169, 110, 0.7);
    color: #111;
}

