/* ── GALLERY ── */
.gallery-section {
    padding: 120px 8%;
    background: var(--cream);
}

.gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
    flex-wrap: wrap;
    gap: 16px;
}

.gallery-ig-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color 0.2s;
}

.gallery-ig-link:hover {
    color: var(--red);
}

.gallery-ig-link svg {
    width: 16px;
    height: 16px;
}

/* ── UNIFORM INSTAGRAM GRID ── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    /* Instagram's tight gap */
}

.gallery-item {
    position: relative;
    overflow: hidden;
    background: var(--warm-gray);
    cursor: pointer;
}

/* The key: force a perfect 1:1 square on every cell */
.gallery-item-inner {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.gallery-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.06);
}

/* Overlay — fades in on hover like IG */
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    transition: background 0.25s;
    z-index: 2;
}

.gallery-item:hover .gallery-overlay {
    background: rgba(0, 0, 0, 0.38);
}

.overlay-heart {
    opacity: 0;
    transform: scale(0.75);
    transition: opacity 0.25s, transform 0.25s;
}

.gallery-item:hover .overlay-heart {
    opacity: 1;
    transform: scale(1);
}

/* CTA row */
.gallery-cta-row {
    text-align: center;
    margin-top: 40px;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--black);
    border: 1.5px solid var(--black);
    padding: 13px 30px;
    border-radius: 2px;
    transition: background 0.2s, color 0.2s;
}

.btn-outline:hover {
    background: var(--black);
    color: white;
}