/* CSS-based placeholder images that can be easily replaced */

.placeholder-image {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    text-align: center;
    font-size: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    flex-direction: column;
    gap: 5px;
}

.placeholder-hero {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 100%);
}

.placeholder-service {
    width: 100%;
    height: 250px;
}

.placeholder-service.dj { background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%); }
.placeholder-service.private { background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%); }
.placeholder-service.wedding { background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%); }
.placeholder-service.group { background: linear-gradient(135deg, #ec4899 0%, #f093fb 100%); }
.placeholder-service.workshops { background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%); }
.placeholder-service.performance { background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%); }

.placeholder-studio {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.placeholder-instructor {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

.placeholder-instructor.przemek { background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%); }
.placeholder-instructor.tamara { background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%); }

/* Hide placeholder when real image is loaded */
.image-container {
    position: relative;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Show image when it loads successfully */
.image-container img.loaded {
    opacity: 1;
}

.image-container .placeholder-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Hide placeholder when image is loaded */
.image-container.image-loaded .placeholder-image {
    display: none;
}