/* ============================================
   GALLERY / FOTOS SECTION
   ============================================ */

/* Gallery Intro Text */
.gallery-intro {
    text-align: center;
    color: var(--paragraph-gray);
    font-size: 18px;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Year Grid Layout */
.year-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Year Card */
.year-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.year-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(255, 0, 0, 0.2);
}

/* Year Image Section */
.year-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.year-image::before {
    content: '📷';
    font-size: 80px;
    opacity: 0.3;
    position: absolute;
}

.year-number {
    font-size: 72px;
    font-weight: bold;
    color: white;
    font-family: 'Oswald', sans-serif;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Year Info Section */
.year-info {
    padding: 30px;
    text-align: center;
}

.year-info h2 {
    color: var(--primary-dark);
    font-size: 28px;
    margin-bottom: 12px;
    text-transform: uppercase;
    font-family: 'Oswald', sans-serif;
}

.year-info p {
    color: var(--paragraph-gray);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Photo Count Badge */
.photo-count {
    display: inline-block;
    background: #f5f5f5;
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
}

/* View Button */
.view-button {
    display: inline-block;
    background: var(--primary);
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    /* Übergänge komplett entfernen (vom User so definiert in styles.css) */
    transition: none !important;
}

/* Hover-Effekt deaktivieren */
.view-button:hover {
    background: var(--primary) !important;
    color: #ffffff !important;
    box-shadow: none !important;
    transform: none !important;
    transition: none !important;
}

/* Klick/Active-Effekt deaktivieren */
.view-button:active {
    background: var(--primary) !important;
    color: #ffffff !important;
    box-shadow: none !important;
    transform: none !important;
    transition: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .year-grid {
        grid-template-columns: 1fr;
    }

    .year-number {
        font-size: 60px;
    }

    .year-info {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .year-image {
        height: 200px;
    }

    .year-number {
        font-size: 50px;
    }

    .gallery-intro {
        font-size: 16px;
        padding: 0 15px;
    }
}