/* Instagram Feed Styling */
.instagram-feed {
    margin-top: 2.5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.social-section {
    position: relative;
    overflow: hidden;
}

.social-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 20c-1.4-3.3-4.7-5.5-8.5-5.5-5.2 0-9.5 4.3-9.5 9.5s4.3 9.5 9.5 9.5c3.8 0 7.1-2.2 8.5-5.5M30 20c1.4-3.3 4.7-5.5 8.5-5.5 5.2 0 9.5 4.3 9.5 9.5s-4.3 9.5-9.5 9.5c-3.8 0-7.1-2.2-8.5-5.5' fill='rgba(241, 131, 52, 0.03)' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.6;
    z-index: 1;
}

/* Instagram Embed Container Styling */
.instagram-embed-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.instagram-embed-container iframe {
    width: 100% !important;
    min-width: 100% !important;
    height: 750px !important;
    border: none !important;
    display: block;
}

/* Fallback styling in case embed doesn't load */
.instagram-fallback {
    text-align: center;
    margin-top: 2rem;
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.instagram-fallback a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.instagram-fallback a:hover {
    color: #d86e1f;
    text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .instagram-embed-container iframe {
        height: 600px !important;
    }
}

@media (max-width: 480px) {
    .instagram-embed-container iframe {
        height: 480px !important;
    }
    
    .instagram-fallback p {
        font-size: 1rem;
    }
}
