/* ============================================
   INSTAGRAM FEED SECTION
   ============================================ */

.ig-feed-section {
    background: #fff;
    padding: 72px 5% 80px;
}

.ig-feed-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.ig-feed-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 36px;
    justify-content: center;
}

.ig-feed-icon {
    color: var(--primary-color, #1c3f60);
}

.ig-feed-title h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.ig-feed-title h2 a {
    color: var(--primary-color, #1c3f60);
    text-decoration: none;
    transition: color 0.3s ease;
}

.ig-feed-title h2 a:hover {
    color: var(--secondary-color, #2c5580);
}

.ig-feed-title p {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: #888;
    margin: 2px 0 0 0;
}

/* Grid — 6 square images in a row */
.ig-feed-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 4px;
}

/* Individual item */
.ig-feed-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    display: block;
}

.ig-feed-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ig-feed-item:hover img {
    transform: scale(1.06);
}

/* Hover overlay */
.ig-feed-overlay {
    position: absolute;
    inset: 0;
    background: rgba(28, 63, 96, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ig-feed-item:hover .ig-feed-overlay {
    opacity: 1;
}

/* Follow CTA */
.ig-feed-cta {
    text-align: center;
    margin-top: 32px;
}

.ig-follow-btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--primary-color, #1c3f60);
    text-decoration: none;
    padding: 12px 28px;
    border: 1.5px solid var(--primary-color, #1c3f60);
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.ig-follow-btn:hover {
    background: var(--primary-color, #1c3f60);
    color: #fff;
}

.ig-follow-btn svg {
    flex-shrink: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .ig-feed-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .ig-feed-section {
        padding: 48px 3% 56px;
    }

    .ig-feed-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3px;
    }

    .ig-feed-header {
        margin-bottom: 24px;
    }

    .ig-feed-title h2 {
        font-size: 1.15rem;
    }

    .ig-feed-cta {
        margin-top: 24px;
    }
}

@media (max-width: 480px) {
    .ig-feed-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
