.gallery {
        min-height: 65svh;
        padding: 5rem 0;
    }
    
    .gallery-header {
        text-align: center;
        margin-bottom: 3.5rem;
    }
    
    .gallery-header h1 {
        font-size: 2.8rem;
        color: var(--clr);
        margin-bottom: 12px;
        font-weight: 700;
    }
    
    .gallery-header p {
        color: var(--light-clr);
        font-size: 1.15rem;
        max-width: 700px;
        margin: 0 auto;
        line-height: 1.6;
    }

    /* 3 Column Grid */
    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    @media (max-width: 900px) {
        .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 600px) {
        .gallery-grid { grid-template-columns: 1fr; }
    }

    .gallery-item {
        position: relative;
        overflow: hidden;
        border-radius: 16px;
        aspect-ratio: 4 / 3;
        cursor: pointer;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .gallery-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    }

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }
    
    .gallery-item:hover img {
        transform: scale(1.05);
    }