/* 컨퍼런스 상세 페이지 전용 스타일 */
.conference-detail-container {
    background: white;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
}

.detail-main {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.detail-poster {
    flex: 0 0 300px;
    max-width: 300px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.clickable-poster {
    cursor: pointer;
}

.detail-poster:hover {
    transform: scale(1.02);
}

.poster-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
    color: white;
    font-size: 14px;
}

.detail-poster:hover .image-overlay {
    opacity: 1;
}

/* 이미지 모달 스타일 */
.image-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 95%;
    max-height: 95%;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.modal-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.close-button {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 100000;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.close-button:hover {
    background: rgba(0, 0, 0, 0.8);
}

.modal-caption {
    color: white;
    text-align: center;
    margin-top: 15px;
    font-size: 16px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
}

.detail-info {
    flex: 1;
    min-width: 300px;
}

.info-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.info-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.info-section h3 {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #3498db;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-item strong {
    color: #34495e;
    font-weight: 600;
    min-width: 80px;
}

.info-item span {
    color: #2c3e50;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status-badge.upcoming {
    background: #e8f5e8;
    color: #27ae60;
}

.status-badge.ongoing {
    background: #fff3cd;
    color: #f39c12;
}

.status-badge.past {
    background: #f8f9fa;
    color: #6c757d;
}

.summary {
    font-size: 16px;
    line-height: 1.6;
    color: #2c3e50;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.description {
    font-size: 15px;
    line-height: 1.7;
    color: #34495e;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .conference-detail-container {
        padding: 20px;
    }
    
    .detail-main {
        flex-direction: column;
        gap: 20px;
    }
    
    .detail-poster {
        flex: none;
        max-width: 100%;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .close-button {
        top: -35px;
        font-size: 30px;
        width: 35px;
        height: 35px;
    }
    
    .modal-caption {
        font-size: 14px;
        margin-top: 10px;
    }
}
