/* =========================================
   GALLERY PAGE SPECIFIC STYLES
========================================= */

.gallery-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.gallery-main h2 {
    font-size: 2.5rem;
    color: var(--brand-red, #d32f2f);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

/* Responsive Image Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

/* Card Container with Hover Zoom effect */
.gallery-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 4 / 3;
    position: relative;
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

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

/* Mobile Responsiveness */
@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 16px;
    }

    .gallery-main h2 {
        font-size: 2rem;
    }
}
