/* 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(90deg, #B83D6B 0%, #4A3B7A 100%);
    border-radius: 10px;
    flex-direction: column;
    gap: 5px;
}

.placeholder-hero {
    width: 100%;
    height: 400px;
    background: linear-gradient(90deg, #B83D6B 0%, #4A3B7A 100%);
    border-radius: 24px;
}

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

.placeholder-service.dj { background: linear-gradient(135deg, #B8452C 0%, #1E2B47 100%); }
.placeholder-service.private { background: linear-gradient(90deg, #A93862 0%, #453674 100%); }
.placeholder-service.wedding { background: linear-gradient(90deg, #C54874 0%, #5A4A85 100%); }
.placeholder-service.group { background: linear-gradient(90deg, #A93862 0%, #4A3B7A 100%); }
.placeholder-service.workshops { background: linear-gradient(90deg, #B83D6B 0%, #453674 100%); }
.placeholder-service.performance { background: linear-gradient(135deg, #C94D2F 0%, #1E2B47 100%); }

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

.placeholder-event.nowa-grupa-zouk-brazylijski { background: linear-gradient(135deg, #B8452C 0%, #1E2B47 100%); }
.placeholder-event.nowa-grupa-kizomba { background: linear-gradient(90deg, #C54874 0%, #453674 100%); }

.placeholder-studio {
    width: 100%;
    height: 300px;
    background: linear-gradient(90deg, #A93862 0%, #4A3B7A 100%);
}

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

@media (max-width: 480px) {
    .placeholder-instructor {
        width: 120px;
        height: 120px;
    }
}

.placeholder-instructor.przemek { background: linear-gradient(135deg, #B8452C 0%, #1E2B47 100%); }
.placeholder-instructor.tamara { background: linear-gradient(90deg, #C54874 0%, #453674 100%); }

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

.placeholder-wydarzenie.kizomba-intensive { background: linear-gradient(90deg, #B83D6B 0%, #4A3B7A 100%); }
.placeholder-wydarzenie.zouk-masterclass { background: linear-gradient(90deg, #A93862 0%, #453674 100%); }
.placeholder-wydarzenie.christmas-social { background: linear-gradient(90deg, #C54874 0%, #5A4A85 100%); }

/* Hide placeholder when real image is loaded */
.image-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.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;
}