
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600&family=Roboto:wght@300;400;500&display=swap");

.instagram-section {
    position: relative;
    width: 100%;
    max-width: 100%;
    padding: 2rem 0;
    overflow: hidden;
}

.instagram-feeds-slider {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 10px;
}

.instagram-swiper {
    width: 100%;
    overflow: hidden;
}

.instagram-swiper-wrapper {
    display: flex;
    align-items: center;
}

.instagram-swiper-slide {
    width: 300px !important;
    aspect-ratio: 4/5;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.instagram-swiper-slide-active {
    transform: scale(1.1);
    z-index: 10;
}

.instagram-swiper-slide-prev,
.instagram-swiper-slide-next {
    transform: scale(0.9);
    opacity: 0.7;
}

.instagram-swiper-slide:not(.instagram-swiper-slide-active):not(.instagram-swiper-slide-prev):not(.instagram-swiper-slide-next) {
    opacity: 0.5;
    transform: scale(0.8);
}

.instagram-swiper-pagination-bullet,
.instagram-swiper-pagination-bullet-active {
    background: #333;
}

.instagram-feeds-slider .feed {
    position: relative;
    height: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.instagram-feeds-slider .feed a {
    display: flex;
    height: 100%;
    width: 100%;
    position: relative;
    align-items: center;
    justify-content: center;
}

.instagram-feeds-slider .feed img,
.instagram-feeds-slider .feed video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.instagram-feeds-slider .instagram-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.7) 70%, transparent);
    padding: 20px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 2;
}

.instagram-feeds-slider .feed:hover .instagram-overlay {
    transform: translateY(0);
}

.instagram-feeds-slider .feed:hover img {
    transform: scale(1.1);
}

.instagram-feeds-slider .instagram-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    color: white;
}

.instagram-feeds-slider .caption {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
    color: white;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 3.8em;
}

.instagram-title {
    text-align: center;
    margin-bottom: 2rem;
    font-family: 'Open Sans', sans-serif;
}

.instagram-title h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.instagram-follow-link {
    text-decoration: none;
    transition: all 0.3s ease;
}

.instagram-follow-link p {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
    padding: 8px 20px;
    border-radius: 20px;
    background: #f8f9fa;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.instagram-follow-link:hover p {
    background: #333;
    color: white;
    transform: translateY(-2px);
}

.instagram-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.instagram-follow-link:hover .instagram-icon {
    transform: scale(1.1);
}

.instagram-title p {
    font-size: 1.1rem;
    color: #666;
}
