/* ==========================================
   SISTEMA DE PLACEHOLDERS - Propuesta 1
   Solución para evitar imágenes rotas
   ========================================== */

/* Logos institucionales */
.logo-placeholder {
    background: linear-gradient(135deg, #003D7A, #005A9C);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 900;
    font-size: 16px;
    letter-spacing: 2px;
    box-shadow: 0 2px 8px rgba(0, 61, 122, 0.2);
}

.logo-placeholder.pucp {
    width: auto;
    height: 50px;
    padding: 0 20px;
}

.logo-placeholder.pucp::before {
    content: 'PUCP';
}

.logo-placeholder.educacion {
    width: auto;
    height: 45px;
    padding: 0 15px;
    font-size: 12px;
    background: linear-gradient(135deg, #D4237A, #E894B3);
}

.logo-placeholder.educacion::before {
    content: 'FACULTAD EDUCACIÓN';
}

/* Fotos de personas */
.person-placeholder {
    background: linear-gradient(135deg, #E894B3 0%, #D4237A 50%, #C3D600 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 280px;
    position: relative;
    overflow: hidden;
}

.person-placeholder::before {
    content: '';
    position: absolute;
    bottom: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 80%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.person-placeholder::after {
    content: '👤';
    font-size: 80px;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 2;
}

/* Banner/Slide placeholder */
.slide-placeholder {
    background: linear-gradient(135deg, #003D7A 0%, #005A9C 100%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.slide-placeholder::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(195, 214, 0, 0.2), transparent);
    top: -100px;
    right: 10%;
}

/* Visual card placeholder */
.visual-placeholder {
    background: linear-gradient(135deg, #C3D600, #9CAF00);
    width: 100%;
    height: 150px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    opacity: 0.3;
}

.visual-placeholder::after {
    content: '📊';
}

/* Speaker/Ponente placeholder con variaciones */
.speaker-placeholder-1 {
    background: linear-gradient(135deg, #003D7A, #005A9C);
}

.speaker-placeholder-2 {
    background: linear-gradient(135deg, #D4237A, #E894B3);
}

.speaker-placeholder-3 {
    background: linear-gradient(135deg, #C3D600, #9CAF00);
}

.speaker-placeholder-4 {
    background: linear-gradient(135deg, #E894B3, #D4237A);
}

/* Aplicar a clases person-placeholder existentes */
.person-placeholder.var-1 {
    background: linear-gradient(135deg, #003D7A 0%, #005A9C 100%);
}

.person-placeholder.var-2 {
    background: linear-gradient(135deg, #D4237A 0%, #E894B3 100%);
}

.person-placeholder.var-3 {
    background: linear-gradient(135deg, #C3D600 0%, #9CAF00 100%);
}

.person-placeholder.var-4 {
    background: linear-gradient(135deg, #E894B3 0%, #C3D600 100%);
}

/* Ocultar alt text de imágenes rotas */
img {
    font-size: 0;
}

/* Para los containers de imágenes */
.member-photo,
.speaker-photo {
    background: linear-gradient(135deg, #E894B3 0%, #D4237A 50%, #C3D600 100%);
    position: relative;
    overflow: hidden;
}

.member-photo::before,
.speaker-photo::before {
    content: '👤';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
    color: rgba(255, 255, 255, 0.5);
    z-index: 1;
}

.member-photo img,
.speaker-photo img {
    position: relative;
    z-index: 2;
    opacity: 1;
}
