.gallery-header {
    padding: 120px 0 50px;
    text-align: center;
    background: linear-gradient(rgba(102, 101, 101, 0.9), rgba(26, 26, 26, 0.8)),
        url('../image/table.jpeg');


    background-size: cover;
    background-position: center;
    color: var(--text-light);
}

.gallery-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
 
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 50px 0;
}

.gallery-item {
    border-radius: 10px;
    
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    aspect-ratio: 4 / 3;
    /* Enforce standard rectangular shape */
    background-color: #f9f9f9;
    /* Subtle background for portrait images */
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    object-fit: cover;
    height: 100%;

    /* Show full image without cropping */
    display: block;
}

.back-btn {
    margin-top: 20px;
    display: inline-block;
}