/* Dynamic Content Styles */

/* Active profile styling */
.profile-carousel-slide.active {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 2px solid #007bff;
    transition: all 0.3s ease;
}

.profile-carousel-slide {
    transition: all 0.3s ease;
    cursor: pointer;
}

.profile-carousel-slide:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Blog content container animations */
#blog-content-container {
    transition: opacity 0.3s ease;
}

/* Blog item animations */
.blog-anggota-animate {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.blog-anggota-animate:nth-child(1) {
    animation-delay: 0.1s;
}

.blog-anggota-animate:nth-child(2) {
    animation-delay: 0.2s;
}

.blog-anggota-animate:nth-child(3) {
    animation-delay: 0.3s;
}

.blog-anggota-animate:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Improved hover effects for blog items */
.link-content-block:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.link-content-block:hover .image_cover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Error message styling */
.error-message {
    text-align: center;
    padding: 2rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #dc3545;
}

.error-message p {
    color: #dc3545;
    margin: 0;
    font-weight: 500;
}

/* Loading state */
.loading-state {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.loading-state::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

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

/* Responsive improvements */
@media (max-width: 768px) {
    .profile-carousel-slide.active {
        transform: scale(1.02);
    }
    
    .profile-carousel-slide:hover {
        transform: scale(1.01);
    }
    
    .link-content-block:hover {
        transform: translateY(-2px);
    }
}