/**
 * Photo Gallery Styles
 */

.photo-grid {
    margin-bottom: 2rem;
}

.gallery-item {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-header {
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.gallery-meta {
    color: #666;
    font-size: 0.95rem;
}

.gallery-meta i {
    color: #0F5B2F;
}

.gallery-excerpt {
    font-style: italic;
    color: #555;
    margin-top: 1rem;
}

.gallery-navigation {
    border-top: 1px solid #eaeaea;
    padding-top: 1.5rem;
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gallery-navigation a {
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.gallery-navigation a:hover {
    background-color: #0F5B2F;
    color: white;
}

.no-images {
    padding: 3rem;
    text-align: center;
    background-color: #f9f9f9;
    border-radius: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-navigation {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .photo-grid {
        grid-template-columns: 1fr;
    }
}