/* ==========================================================================
   1. Grundeinstellungen & Typografie
   ========================================================================== */
body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #1a1a1a;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   2. Header & Branding
   ========================================================================== */
header {
    width: 100%;
    margin-bottom: 20px;
}

.site-title {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 4px;
    margin: 15px 0 5px 0;
    color: #1a1a1a;
}

.site-subtitle {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 2px;
    color: #888888;
    margin: 0;
    text-transform: uppercase;
}

/* ==========================================================================
   3. Galerie & Bild-Grid (Für Startseite & Album-Ansicht)
   ========================================================================== */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background-color: #fafafa;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 3 / 2; /* Einheitliches Seitenverhältnis für die Grid-Vorschau */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

/* Hover-Effekte für Bilder */
.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.gallery-item:hover img {
    transform: scale(1.03);
}

/* Overlay-Kategorie beim Hover */
.item-meta {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 100%);
    padding: 20px 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .item-meta {
    opacity: 1;
}

.image-category {
    color: #ffffff;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* ==========================================================================
   4. Footer & Navigation Links
   ========================================================================== */
footer {
    width: 100%;
    max-width: 1400px;
    margin: 80px auto 40px auto;
    padding: 0 20px;
    box-sizing: border-box;
    border-top: 1px solid #eaeaea;
    padding-top: 30px;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.social-link {
    color: #666666;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.social-link:hover {
    color: #1a1a1a;
}