/* Instagram Feed Styles */
.instagram_feed {
    display: grid;
    gap: 2px;
    padding: 24px 0 10px;
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.instagram_new {
    width: 100%;
    aspect-ratio: 1 / 1;
}

.insta-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.insta-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.insta-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 1024px) {
    .instagram_feed {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .instagram_feed {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .instagram_feed {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* One-row behavior: hide extra items per breakpoint */
.instagram_feed .instagram_new:nth-child(n+7) {
    display: none;
}

@media (max-width: 1024px) {
    .instagram_feed .instagram_new:nth-child(n+6) {
        display: none;
    }
}

@media (max-width: 768px) {
    .instagram_feed .instagram_new:nth-child(n+4) {
        display: none;
    }
}

@media (max-width: 520px) {
    .instagram_feed .instagram_new:nth-child(n+3) {
        display: none;
    }
}

/* Instagram Section Styling */
.instagram-section {
    background-color: #f8f9fa;
    padding: 60px 0;
}

.instagram-section .container {
    max-width: none;
    margin: 0 auto;
    padding: 0 24px;
}

.instagram-section .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.instagram-section .section-title {
    font-family: 'Cormorant', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.instagram-section .section-subtitle {
    font-family: 'Mulish', sans-serif;
    font-size: 1.1rem;
    color: #818491;
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .instagram-section {
        padding: 40px 0;
    }
    
    .instagram-section .section-title {
        font-size: 2rem;
    }
    
    .instagram-section .section-subtitle {
        font-size: 1rem;
    }
}
