/* History page specific styles */

.history-content {
    max-width: 1200px;
    margin: 2rem auto 2rem 2rem;
    padding: 2rem;
    background-color: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-left: 5px solid #F1B24A;
}

.history-content h2 {
    color: #164A41;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #F1B24A;
    padding-bottom: 0.5rem;
}

.welcome-message {
    font-size: 1.3rem;
    color: #164A41;
    background-color: #9DC88D30;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    border-left: 5px solid #4D774E;
}

/* Image Collage Styles */
.image-collage {
    margin: 3rem 0;
}

.collage-title {
    text-align: center;
    color: #164A41;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.collage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.collage-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 1 / 1;
}

.collage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.collage-item:hover img {
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .collage-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .collage-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 0.75rem;
    }
}

.member-note {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    background-color: #F1B24A20;
    border-radius: 8px;
    color: #164A41;
    font-style: italic;
}