/********** Photo Gallery Page CSS **********/

:root {
    --radius-md: 10px;
    --shadow-soft: 0 5px 25px rgba(0, 0, 0, 0.08);
    --shadow-pop: 0 15px 35px rgba(0, 0, 0, 0.15);
    --cream-2: #f8f0ea;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 12px 0;
}

.gallery-grid .gallery-item {
    overflow: hidden;
    border-radius: var(--radius-md, 10px);
    box-shadow: var(--shadow-soft, 0 5px 25px rgba(0, 0, 0, 0.08));
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    aspect-ratio: 4 / 3;
    background: var(--cream-2, #f8f0ea);
}

.gallery-grid .gallery-item:hover {
    transform: scale(1.04) rotate(-0.5deg);
    box-shadow: var(--shadow-pop, 0 15px 35px rgba(0, 0, 0, 0.15));
}

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

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

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 380px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
}