/* Instagram Widget Styles */
.instagram-feed-widget {
    margin-bottom: 30px;
}

/* Instagram Seamless Slider Styles */
.instagram-seamless-wrapper {
    margin: 40px 0;
    overflow: hidden;
}

.instagram-seamless-swiper {
    width: 100%;
    height: auto;
}

.instagram-seamless-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.instagram-seamless-item:hover {
    transform: translateY(-5px);
}

.instagram-seamless-item iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 8px;
}

.instagram-seamless-next,
.instagram-seamless-prev {
    background: rgba(255,255,255,0.9);
    color: #333;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.instagram-seamless-next:hover,
.instagram-seamless-prev:hover {
    background: #fff;
    color: #000;
}

.instagram-seamless-pagination {
    position: relative;
    margin-top: 20px;
}

.instagram-seamless-pagination .swiper-pagination-bullet {
    background: rgba(255,255,255,0.5);
    opacity: 1;
}

.instagram-seamless-pagination .swiper-pagination-bullet-active {
    background: #fff;
}

/* Galeri bölümünde Instagram slider için özel stiller */
#section-gallery .instagram-seamless-wrapper {
    margin: 0;
    padding: 20px 0;
}

#section-gallery .instagram-seamless-item iframe {
    height: 300px;
}

/* Instagram Grid Widget Styles */
.instagram-grid-widget {
    margin: 40px 0;
}

.instagram-grid-widget .widget-title h4 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

/* Instagram Scroll Container Styles */
.instagram-scroll-container {
    width: 100%;
    height: 500px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 20px 0;
    margin: 0 -15px;
}

.instagram-scroll-content {
    display: flex;
    gap: 20px;
    padding: 0 15px;
    min-width: max-content;
    height: 100%;
    align-items: center;
}

.instagram-scroll-item {
    flex: 0 0 350px;
    max-width: 350px;
    height: 450px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.4s ease;
    background: #fff;
}

.instagram-scroll-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.instagram-scroll-item .instagram-embed-wrapper {
    width: 100%;
    height: 100%;
}

.instagram-scroll-item .instagram-embed-wrapper {
    width: 100%;
    height: 100%;
}

.instagram-scroll-item .instagram-embed-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
}

/* Scroll bar stilleri */
.instagram-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.instagram-scroll-container::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.1);
    border-radius: 4px;
}

.instagram-scroll-container::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.3);
    border-radius: 4px;
    transition: background 0.3s ease;
}

.instagram-scroll-container::-webkit-scrollbar-thumb:hover {
    background: rgba(0,0,0,0.5);
}

/* Mobil responsive */
@media (max-width: 768px) {
    .instagram-scroll-container {
        height: 400px;
    }
    
    .instagram-scroll-item {
        flex: 0 0 280px;
        max-width: 280px;
        height: 350px;
    }
    
    .instagram-scroll-content {
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .instagram-scroll-container {
        height: 350px;
    }
    
    .instagram-scroll-item {
        flex: 0 0 250px;
        max-width: 250px;
        height: 300px;
    }
    
    .instagram-scroll-content {
        gap: 10px;
    }
}

.instagram-grid-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.4s ease;
    margin-bottom: 25px;
    background: #fff;
    aspect-ratio: 1/1.2;
}

.instagram-grid-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.instagram-embed-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 16px;
}

.instagram-grid-item iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
    display: block;
    aspect-ratio: 1/1.2;
    min-height: 450px;
}

/* Instagram section için özel stiller */
#section-instagram .instagram-grid-widget {
    margin: 0;
    padding: 60px 0;
}

#section-instagram .instagram-grid-item {
    margin-bottom: 30px;
    aspect-ratio: 1/1.3;
}

#section-instagram .instagram-grid-item iframe {
    min-height: 500px;
    aspect-ratio: 1/1.3;
}

/* Instagram embed'leri için oynatma özellikleri */
.instagram-embed-wrapper iframe {
    pointer-events: auto;
    cursor: pointer;
}

.instagram-embed-wrapper:hover iframe {
    transform: scale(1.01);
    transition: transform 0.3s ease;
}

/* Responsive ayarlar */
@media (max-width: 768px) {
    .instagram-seamless-item iframe {
        height: 250px;
    }
    
    .instagram-grid-item {
        aspect-ratio: 1/1.1;
    }
    
    .instagram-grid-item iframe {
        min-height: 350px;
        aspect-ratio: 1/1.1;
    }
    
    #section-instagram .instagram-grid-item {
        aspect-ratio: 1/1.2;
    }
    
    #section-instagram .instagram-grid-item iframe {
        min-height: 400px;
        aspect-ratio: 1/1.2;
    }
}

@media (max-width: 576px) {
    .instagram-grid-item {
        aspect-ratio: 1/1;
    }
    
    .instagram-grid-item iframe {
        min-height: 300px;
        aspect-ratio: 1/1;
    }
    
    #section-instagram .instagram-grid-item {
        aspect-ratio: 1/1.1;
    }
    
    #section-instagram .instagram-grid-item iframe {
        min-height: 350px;
        aspect-ratio: 1/1.1;
    }
}

.instagram-feed-widget .widget-title h4 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    color: #333;
}

.instagram-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

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

.instagram-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.instagram-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.instagram-item:hover .instagram-image {
    transform: scale(1.1);
}

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

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

.overlay-content {
    text-align: center;
    color: white;
}

.overlay-content i {
    font-size: 24px;
    margin-bottom: 5px;
    display: block;
}

.likes-count {
    font-size: 12px;
    opacity: 0.9;
}

.video-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.instagram-caption {
    padding: 10px;
    background: white;
}

.instagram-caption p {
    margin: 0;
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

.instagram-profile-link {
    margin-top: 20px;
}

.instagram-profile-link .btn-main {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.instagram-profile-link .btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 39, 67, 0.3);
}

/* Gallery Style */
.instagram-gallery .gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
    aspect-ratio: 1;
}

.instagram-gallery .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.instagram-gallery .gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-gallery .gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 20px;
}

/* Error Message */
.instagram-error {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .instagram-feed-widget .widget-title h4 {
        font-size: 20px;
    }
    
    .instagram-item {
        margin-bottom: 10px;
    }
    
    .instagram-caption {
        padding: 8px;
    }
    
    .instagram-caption p {
        font-size: 11px;
    }
}

/* Loading Animation */
.instagram-loading {
    text-align: center;
    padding: 40px 20px;
}

.instagram-loading .spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #dc2743;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Instagram Embed Widget Styles */
.instagram-profile-embed,
.instagram-post-embed,
.instagram-stories-embed,
.instagram-highlights-embed {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.instagram-profile-embed iframe,
.instagram-post-embed iframe,
.instagram-stories-embed iframe,
.instagram-highlights-embed iframe {
    border: none;
    width: 100%;
    display: block;
}

.instagram-grid-widget .instagram-grid-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.instagram-grid-widget .instagram-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.instagram-multiple-embeds {
    margin-bottom: 30px;
}

/* Responsive Embed */
@media (max-width: 768px) {
    .instagram-profile-embed iframe,
    .instagram-post-embed iframe {
        height: 400px !important;
    }
    
    .instagram-stories-embed iframe {
        height: 150px !important;
    }
    
    .instagram-highlights-embed iframe {
        height: 200px !important;
    }
    
    .instagram-grid-widget .instagram-grid-item iframe {
        height: 250px !important;
    }
}

/* Instagram Triple Slider Styles */
.instagram-triple-slider {
    margin-bottom: 30px;
}

.instagram-triple-slider .swiper {
    padding: 20px 0;
}

.instagram-slider-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 300px;
}

.instagram-slider-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.instagram-slider-item iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Swiper Navigation Buttons */
.instagram-triple-slider .swiper-button-next,
.instagram-triple-slider .swiper-button-prev {
    color: #dc2743;
    background: rgba(255,255,255,0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.instagram-triple-slider .swiper-button-next:hover,
.instagram-triple-slider .swiper-button-prev:hover {
    background: #dc2743;
    color: white;
}

.instagram-triple-slider .swiper-button-next::after,
.instagram-triple-slider .swiper-button-prev::after {
    font-size: 16px;
    font-weight: bold;
}

/* Swiper Pagination */
.instagram-triple-slider .swiper-pagination-bullet {
    background: #dc2743;
    opacity: 0.5;
}

.instagram-triple-slider .swiper-pagination-bullet-active {
    opacity: 1;
    background: #dc2743;
}

/* Responsive Slider */
@media (max-width: 768px) {
    .instagram-slider-item {
        height: 250px;
    }
    
    .instagram-triple-slider .swiper-button-next,
    .instagram-triple-slider .swiper-button-prev {
        width: 35px;
        height: 35px;
    }
    
    .instagram-triple-slider .swiper-button-next::after,
    .instagram-triple-slider .swiper-button-prev::after {
        font-size: 14px;
    }
}

/* Instagram Fullwidth Slider Styles */
.instagram-fullwidth-slider {
    width: 100%;
    margin: 0;
    padding: 0;
}

.instagram-fullwidth-slider .swiper {
    width: 100%;
    padding: 40px 0;
}

.instagram-fullwidth-slider-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    min-height: 300px;
    height: auto;
}

.instagram-fullwidth-slider-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.instagram-fullwidth-slider-item iframe {
    width: 100%;
    height: auto;
    min-height: 300px;
    border: none;
    display: block;
}

/* Fullwidth Swiper Navigation Buttons */
.instagram-fullwidth-slider .swiper-button-next,
.instagram-fullwidth-slider .swiper-button-prev {
    color: #dc2743;
    background: rgba(255,255,255,0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: -25px;
}

.instagram-fullwidth-slider .swiper-button-next:hover,
.instagram-fullwidth-slider .swiper-button-prev:hover {
    background: #dc2743;
    color: white;
}

.instagram-fullwidth-slider .swiper-button-next::after,
.instagram-fullwidth-slider .swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
}

/* Fullwidth Swiper Pagination */
.instagram-fullwidth-slider .swiper-pagination-bullet {
    background: #dc2743;
    opacity: 0.5;
    width: 12px;
    height: 12px;
}

.instagram-fullwidth-slider .swiper-pagination-bullet-active {
    opacity: 1;
    background: #dc2743;
}

/* Auto Height Styles */
.instagram-slider-item {
    height: auto !important;
    min-height: 300px;
}

.instagram-slider-item iframe {
    height: auto !important;
    min-height: 300px;
}

/* Responsive Fullwidth Slider */
@media (max-width: 768px) {
    .instagram-fullwidth-slider-item {
        min-height: 250px;
    }
    
    .instagram-fullwidth-slider-item iframe {
        min-height: 250px;
    }
    
    .instagram-fullwidth-slider .swiper-button-next,
    .instagram-fullwidth-slider .swiper-button-prev {
        width: 40px;
        height: 40px;
        margin-top: -20px;
    }
    
    .instagram-fullwidth-slider .swiper-button-next::after,
    .instagram-fullwidth-slider .swiper-button-prev::after {
        font-size: 16px;
    }
}

/* Instagram Responsive Slider Styles */
.instagram-responsive-slider-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 10;
}

.instagram-responsive-slider {
    width: 100%;
    margin: 0;
    padding: 0;
}

.instagram-responsive-slider .swiper {
    width: 100%;
    padding: 40px 0;
    position: relative;
    z-index: 11;
}

.instagram-responsive-slider-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    min-height: 300px;
    height: auto;
    margin: 0 10px;
}

.instagram-responsive-slider-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.instagram-responsive-slider-item iframe {
    width: 100%;
    height: auto;
    min-height: 300px;
    border: none;
    display: block;
}

/* Responsive Swiper Navigation Buttons - Daha spesifik */
.instagram-responsive-slider .instagram-swiper-next,
.instagram-responsive-slider .instagram-swiper-prev {
    color: #dc2743 !important;
    background: rgba(255,255,255,0.9) !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    margin-top: -25px !important;
    z-index: 1000 !important;
}

.instagram-responsive-slider .instagram-swiper-next:hover,
.instagram-responsive-slider .instagram-swiper-prev:hover {
    background: #dc2743 !important;
    color: white !important;
}

.instagram-responsive-slider .instagram-swiper-next::after,
.instagram-responsive-slider .instagram-swiper-prev::after {
    font-size: 18px !important;
    font-weight: bold !important;
}

/* Responsive Swiper Pagination - Daha spesifik */
.instagram-responsive-slider .instagram-swiper-pagination {
    position: relative !important;
    bottom: 0 !important;
    z-index: 1000 !important;
}

.instagram-responsive-slider .instagram-swiper-pagination .swiper-pagination-bullet {
    background: #dc2743 !important;
    opacity: 0.5 !important;
    width: 12px !important;
    height: 12px !important;
}

.instagram-responsive-slider .instagram-swiper-pagination .swiper-pagination-bullet-active {
    opacity: 1 !important;
    background: #dc2743 !important;
}

/* Responsive Breakpoints */
@media (max-width: 767px) {
    .instagram-responsive-slider-item {
        margin: 0 5px;
        min-height: 250px;
    }
    
    .instagram-responsive-slider-item iframe {
        min-height: 250px;
    }
    
    .instagram-responsive-slider .swiper-button-next,
    .instagram-responsive-slider .swiper-button-prev {
        width: 40px !important;
        height: 40px !important;
        margin-top: -20px !important;
    }
    
    .instagram-responsive-slider .swiper-button-next::after,
    .instagram-responsive-slider .swiper-button-prev::after {
        font-size: 16px !important;
    }
}

/* Ana sayfa slider'ı ile çakışmayı önleme */
#section-hero .swiper {
    z-index: 1 !important;
}

#section-hero .swiper-button-next,
#section-hero .swiper-button-prev {
    z-index: 2 !important;
}

/* Instagram slider'ını izole etme */
.instagram-responsive-slider {
    position: relative;
    z-index: 10;
}

.instagram-responsive-slider .swiper {
    position: relative;
    z-index: 11;
}

/* Ana sayfa slider'ının stillerini koruma */
#section-hero .swiper-button-next,
#section-hero .swiper-button-prev {
    /* Ana sayfa slider'ının orijinal stillerini koru */
    background: transparent !important;
    color: white !important;
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-top: 0 !important;
}

#section-hero .swiper-button-next::after,
#section-hero .swiper-button-prev::after {
    font-size: 24px !important;
    font-weight: normal !important;
}

/* Diğer swiper'ları etkilememesi için */
body:not(.instagram-responsive-slider-wrapper) .swiper-button-next:not(.instagram-swiper-next),
body:not(.instagram-responsive-slider-wrapper) .swiper-button-prev:not(.instagram-swiper-prev) {
    /* Ana sayfa slider'ının stillerini koru */
}



/* Seamless Instagram Slider Styles - Boşluksuz Slider */
.instagram-seamless-wrapper {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 10;
}

.instagram-seamless-swiper {
    width: 100%;
    padding: 0;
    position: relative;
    z-index: 11;
}

.instagram-seamless-item {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
    border-radius: 0;
    box-shadow: none;
    transition: all 0.3s ease;
}

.instagram-seamless-item:hover {
    transform: none;
    box-shadow: none;
}

.instagram-seamless-item iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    border-radius: 0;
}

/* Seamless Swiper Navigation Buttons */
.instagram-seamless-swiper .instagram-seamless-next,
.instagram-seamless-swiper .instagram-seamless-prev {
    color: #dc2743 !important;
    background: rgba(255,255,255,0.9) !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    margin-top: -25px !important;
    z-index: 1000 !important;
}

.instagram-seamless-swiper .instagram-seamless-next:hover,
.instagram-seamless-swiper .instagram-seamless-prev:hover {
    background: #dc2743 !important;
    color: white !important;
}

.instagram-seamless-swiper .instagram-seamless-next::after,
.instagram-seamless-swiper .instagram-seamless-prev::after {
    font-size: 18px !important;
    font-weight: bold !important;
}

/* Seamless Swiper Pagination */
.instagram-seamless-swiper .instagram-seamless-pagination {
    position: relative !important;
    bottom: 0 !important;
    z-index: 1000 !important;
}

.instagram-seamless-swiper .instagram-seamless-pagination .swiper-pagination-bullet {
    background: #dc2743 !important;
    opacity: 0.5 !important;
    width: 12px !important;
    height: 12px !important;
}

.instagram-seamless-swiper .instagram-seamless-pagination .swiper-pagination-bullet-active {
    opacity: 1 !important;
    background: #dc2743 !important;
}

/* Seamless Responsive Breakpoints */
@media (max-width: 767px) {
    .instagram-seamless-item {
        height: 300px;
    }
    
    .instagram-seamless-swiper .instagram-seamless-next,
    .instagram-seamless-swiper .instagram-seamless-prev {
        width: 40px !important;
        height: 40px !important;
        margin-top: -20px !important;
    }
    
    .instagram-seamless-swiper .instagram-seamless-next::after,
    .instagram-seamless-swiper .instagram-seamless-prev::after {
        font-size: 16px !important;
    }
}

/* Instagram Slide Styles */
.instagram-slide {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.instagram-slide-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.instagram-slide-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.instagram-slide-content .lead {
    font-size: 1.5rem;
    font-weight: 300;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Instagram Feed Overlay */
.instagram-feed-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 2rem 0;
    z-index: 5;
}

.instagram-feed-overlay .instagram-seamless-wrapper {
    margin: 0;
    padding: 0;
}

.instagram-feed-overlay .instagram-seamless-item {
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.instagram-feed-overlay .instagram-seamless-swiper {
    padding: 0;
}

.instagram-feed-overlay .instagram-seamless-next,
.instagram-feed-overlay .instagram-seamless-prev {
    display: none !important;
}

.instagram-feed-overlay .instagram-seamless-pagination {
    display: none !important;
}

/* Responsive Instagram Slide */
@media (max-width: 768px) {
    .instagram-slide-content h1 {
        font-size: 2.5rem;
    }
    
    .instagram-slide-content .lead {
        font-size: 1.2rem;
    }
    
    .instagram-feed-overlay .instagram-seamless-item {
        height: 150px;
    }
}

/* Instagram Widget CSS */
.instagram-grid-widget {
    margin-bottom: 30px;
}

.instagram-grid-item {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.instagram-embed-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 450px;
    border-radius: 10px;
    overflow: hidden;
}

.instagram-embed-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.widget-title {
    text-align: center;
    margin-bottom: 30px;
}

.widget-title h4 {
    color: #333;
    font-weight: 600;
    margin: 0;
}

/* Instagram Profile Embed CSS */
.instagram-profile-embed {
    margin-bottom: 30px;
}

.profile-embed-wrapper {
    position: relative;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.profile-embed-wrapper:hover {
    transform: translateY(-3px);
}

.profile-embed-wrapper iframe {
    width: 100%;
    border: none;
    border-radius: 15px;
}

.profile-title {
    text-align: center;
    margin-bottom: 20px;
}

.profile-title h4 {
    color: #333;
    font-weight: 600;
    margin: 0;
}

/* Instagram Profile Card CSS */
.instagram-profile-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.profile-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.profile-avatar {
    margin-right: 20px;
}

.profile-avatar img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 3px solid #f8f9fa;
}

.profile-info h5 {
    margin: 0 0 5px 0;
    font-weight: 600;
    color: #333;
}

.profile-info p {
    margin: 0 0 10px 0;
    color: #666;
}

.profile-info .bio {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    margin-top: 10px;
}

.profile-stats {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* Instagram Mini Profile CSS */
.instagram-mini-profile {
    background: white;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.mini-profile-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mini-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.mini-info h6 {
    margin: 0 0 2px 0;
    font-weight: 600;
    color: #333;
}

.mini-info small {
    color: #666;
}

/* Instagram Profile Stats CSS */
.instagram-profile-stats {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-box {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background: #f8f9fa;
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-3px);
    background: #e9ecef;
}

.stat-icon {
    font-size: 24px;
    color: #007bff;
    margin-bottom: 10px;
}

.stat-content .stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.stat-content .stat-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Instagram Profile Widget CSS */
.instagram-profile-widget {
    margin-bottom: 30px;
}

.profile-card-section,
.profile-embed-section {
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-avatar {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .profile-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .profile-actions {
        flex-direction: column;
    }
    
    .mini-profile-content {
        flex-direction: column;
        text-align: center;
    }
    
    .mini-avatar {
        margin-right: 0;
        margin-bottom: 10px;
    }
}
