/* ============================================================
   ANA SAYFADA ETKİNLİKLER STİLLERİ
   ============================================================ */

/* Event Modal */
.event-modal-content {
    padding: 20px;
}

.event-modal-content h2 {
    color: #333;
    margin-bottom: 15px;
    font-size: 24px;
}

.event-modal-details {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.event-modal-details p {
    margin: 8px 0;
    font-size: 14px;
    color: #555;
}

.event-modal-details strong {
    color: #333;
    display: inline-block;
    min-width: 100px;
}

/* Event Modal Images */
.event-modal-images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.event-modal-image {
    max-width: 150px;
    max-height: 150px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    object-fit: cover;
}

.event-modal-image:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.event-modal-image.fullscreen {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90vw;
    max-height: 90vh;
    z-index: 1000;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* Event Modal Description */
.event-modal-description {
    margin-top: 20px;
}

.event-modal-description h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 18px;
}

.event-modal-description p {
    color: #555;
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* News Card Responsive */
@media (max-width: 768px) {
    .event-modal-images {
        flex-direction: column;
    }
    
    .event-modal-image {
        max-width: 100%;
        max-height: 300px;
    }
    
    .event-modal-content h2 {
        font-size: 20px;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-card {
    animation: fadeIn 0.3s ease-in-out;
}
