/* ============================================
   INSTAGRAM FEED - Estilos y Diseño
   ============================================ */

.instagram-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFF0F5 50%, #E1F5FE 100%);
    position: relative;
    overflow: hidden;
}

.instagram-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(225, 48, 108, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(88, 81, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.instagram-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.instagram-title-wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.instagram-title-wrapper i {
    font-size: 3rem;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.instagram-header .section-title {
    margin-bottom: 0.5rem;
    color: #1D1D1F;
    font-size: 2.5rem;
}

.instagram-subtitle {
    color: #616161;
    font-size: 1.1rem;
    margin: 0;
    font-weight: 500;
}

.btn-instagram-follow {
    padding: 12px 28px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(225, 48, 108, 0.3);
}

.btn-instagram-follow:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 48, 108, 0.4);
    color: white;
}

/* Estadísticas de Instagram */
.instagram-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.instagram-stats .stat-item {
    text-align: center;
    padding: 1.5rem 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    min-width: 150px;
    transition: all 0.3s ease;
}

.instagram-stats .stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.instagram-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.instagram-stats .stat-label {
    color: #616161;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Contenedor del Feed */
.instagram-feed-container {
    position: relative;
    z-index: 1;
    margin-bottom: 3rem;
}

.instagram-loading {
    text-align: center;
    padding: 4rem 2rem;
    color: #616161;
}

.instagram-loading i {
    font-size: 3rem;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    display: block;
}

.instagram-loading p {
    font-size: 1.1rem;
    margin: 0;
}

/* Grid de Instagram */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.instagram-post {
    position: relative;
    aspect-ratio: 1;
    border-radius: 15px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.instagram-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.instagram-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.instagram-post-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-post:hover .instagram-post-overlay {
    opacity: 1;
}

.instagram-post-stat {
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
}

.instagram-post-stat i {
    font-size: 1.2rem;
}

/* Footer de Instagram */
.instagram-footer {
    text-align: center;
    position: relative;
    z-index: 1;
}

.btn-instagram-view {
    padding: 16px 40px;
    font-size: 1.1rem;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-instagram-view i {
    font-size: 1.3rem;
}

/* Responsive */
@media (max-width: 768px) {
    .instagram-section {
        padding: 60px 0;
    }
    
    .instagram-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .instagram-title-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .instagram-title-wrapper i {
        font-size: 2.5rem;
    }
    
    .instagram-header .section-title {
        font-size: 2rem;
    }
    
    .instagram-stats {
        gap: 1.5rem;
    }
    
    .instagram-stats .stat-item {
        min-width: 120px;
        padding: 1rem 1.5rem;
    }
    
    .instagram-stats .stat-number {
        font-size: 2rem;
    }
    
    .instagram-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .instagram-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .instagram-stats .stat-item {
        width: 100%;
    }
}

