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

.instagram {
    background: linear-gradient(135deg, var(--color-cultured) 0%, var(--color-white-coffee) 100%);
}

/* Grid de Instagram */
.instagram__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

/* Post de Instagram */
.instagram__post {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1;
    box-shadow: 0 4px 20px rgba(46, 42, 40, 0.1);
    transition: all 0.3s ease;
    display: block;
    text-decoration: none;
}

.instagram__post:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(46, 42, 40, 0.15);
}

.instagram__post:hover .instagram__overlay {
    opacity: 1;
}

.instagram__post:hover .instagram__image img {
    transform: scale(1.05);
}

/* Imagen */
.instagram__image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.instagram__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Overlay */
.instagram__overlay {
    position: absolute;
    inset: 0;
    background: rgba(46, 42, 40, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
}

.instagram__overlay svg {
    width: 32px;
    height: 32px;
}

.instagram__overlay span {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* CTA */
.instagram__cta {
    text-align: center;
}

.btn--instagram {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 39, 67, 0.3);
}

.btn--instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 39, 67, 0.4);
}

.btn--instagram svg {
    width: 20px;
    height: 20px;
}

/* ===== Responsive ===== */
@media screen and (max-width: 968px) {
    .instagram__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media screen and (max-width: 640px) {
    .instagram__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .instagram__overlay {
        opacity: 1;
        background: rgba(46, 42, 40, 0.4);
    }
    
    .instagram__overlay span {
        display: none;
    }
}
