/* Grundstile */
body {
    margin: 0;
    font-family: sans-serif;
    background-color: #f9f9f9;
    color: #333;
}

header {
    text-align: center;
    padding: 2rem;
}

/* Galerie-Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Einzelne Bildkarte */
.gallery-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Animation beim Drüberfahren (Hover) */
.gallery-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-item h3 {
    margin: 0;
    padding: 1rem;
    font-size: 1.1rem;
    text-align: center;
}

/* Lightbox (Vergrößerte Ansicht) */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.3s ease;
}

.lightbox.hidden {
    display: none;
}

.lightbox-content {
    background: white;
    border-radius: 12px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto; /* Aktiviert das vertikale Scrollen */
    display: block; /* Ändert das Layout, damit nichts mehr gequetscht wird */
}

.lightbox-content img {
    width: 100%;
    max-height: 60vh;
    object-fit: contain; /* Bild wird nicht verzerrt */
    background: #111;
    display: block; /* Entfernt kleine, unsichtbare Ränder unter dem Bild */
}

.lightbox-info {
    padding: 1.5rem;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

.status-badge {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.25rem 0.7rem;
    background: #e0e0e0;
    border-radius: 4px;
    font-size: 0.85rem;
}
/* --- NEU: Navigation --- */
.main-nav {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 15px;
}

.main-nav a {
    text-decoration: none;
    color: #666;
    font-size: 1.1rem;
    font-weight: bold;
    padding-bottom: 5px;
    transition: color 0.2s ease;
}

.main-nav a:hover {
    color: #000;
}

.main-nav a.active {
    color: #000;
    border-bottom: 2px solid #000;
}

/* --- NEU: Über Mich Seite --- */
.about-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

.about-image {
    border-radius: 50%;
    width: 200px;
    height: 200px;
    object-fit: cover;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.about-text {
    margin-bottom: 3rem;
    line-height: 1.6;
}

.contact-section {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.contact-button {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 24px;
    background-color: #333;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.contact-button:hover {
    background-color: #555;
}

/* --- NEU: Lightbox Metadaten (Größe, Jahr, Genre) --- */
.lightbox-details {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.detail-badge {
    background: #f4f4f4;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: #444;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.status-badge {
    background: #e3f2fd;
    color: #1976d2;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}