/* Video Modal Stilleri */
.video-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.video-modal-container {
    width: 90%;
    max-width: 1000px;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.video-modal-overlay.active .video-modal-container {
    transform: translateY(0);
}

.video-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #111;
    border-bottom: 1px solid #333;
}

.video-modal-title {
    color: #fff;
    font-size: 1.2rem;
    margin: 0;
    font-weight: 500;
}

.video-modal-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.video-modal-close:hover {
    color: #f00;
}

.video-modal-content {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-modal-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-modal-controls {
    display: flex;
    justify-content: space-between;
    padding: 15px 20px;
    background: #111;
    border-top: 1px solid #333;
}

.video-modal-btn {
    background: #2c3e50;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.video-modal-btn:hover:not(:disabled) {
    background: #3498db;
}

.video-modal-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.video-counter {
    color: #fff;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

/* Video item hover effect */
.belediye-video-item {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.belediye-video-item:hover {
    transform: translateY(-5px);
}

/* Aktif video stili */
.belediye-video-item.active-video {
    position: relative;
}

.belediye-video-item.active-video::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 3px solid #3498db;
    border-radius: 8px;
    pointer-events: none;
    animation: pulseBorder 2s infinite;
}

@keyframes pulseBorder {
    0% {
        border-color: #3498db;
        box-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
    }
    50% {
        border-color: #2980b9;
        box-shadow: 0 0 20px rgba(52, 152, 219, 0.8);
    }
    100% {
        border-color: #3498db;
        box-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
    }
}




/* Etkinlik olmadığında gösterilecek mesaj */
.no-events-message {
    width: 100%;
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px dashed #dee2e6;
}

.no-events-icon {
    font-size: 48px;
    color: #6c757d;
    margin-bottom: 20px;
}

.no-events-message h3 {
    color: #666666;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.no-events-message p {
    color: #666666;
    margin-bottom: 20px;
}

.btn-view-past-events {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}


.no-events-message a {

color:#fff;
}

.btn-view-past-events:hover {
    background-color: #0056b3;
}

/* Bugünkü etkinlik badge */
.event-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #dc3545;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: bold;
    z-index: 2;
}

.event-image {
    position: relative;
}

/* Takvim etkinlik yoksa */
.no-calendar-events {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px dashed #dee2e6;
    color: #6c757d;
    font-size: 1.1rem;
}

/* Responsive düzenlemeler */
@media (max-width: 768px) {
    .no-events-message {
        padding: 30px 15px;
    }
    
    .no-events-icon {
        font-size: 36px;
    }
    
    .no-events-message h3 {
        font-size: 1.25rem;
    }
    
    .slider-prev,
    .slider-next {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}