/* Event Modal Styles */
.event-modal {
    display: block;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.event-modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 700px;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.3s ease;
    position: relative;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.event-modal-close {
    color: #666;
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 35px;
    font-weight: 300;
    cursor: pointer;
    z-index: 1;
    transition: color 0.3s ease;
}

.event-modal-close:hover,
.event-modal-close:focus {
    color: #007bff;
}

.event-modal-header {
    background: linear-gradient(135deg, #444444 0%, #2c2c2c 100%);
    color: white;
    padding: 40px 30px 30px;
    border-radius: 8px 8px 0 0;
}

.event-modal-header h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 42px;
    margin: 0 0 10px 0;
    letter-spacing: 2px;
    color: #ffffff;
}

.event-modal-date {
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    color: #007bff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-modal-body {
    padding: 30px;
}

.event-modal-section {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #e0e0e0;
}

.event-modal-section:last-of-type {
    border-bottom: none;
}

.event-modal-section h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    color: #444444;
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-modal-section p {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    color: #666;
    margin: 8px 0;
    line-height: 1.6;
}

.event-modal-section p strong {
    color: #444444;
    font-weight: 600;
}

.event-modal-section p em {
    color: #007bff;
    font-style: normal;
    font-size: 14px;
}

.w3w-link {
    color: #007bff;
    text-decoration: none;
    font-family: monospace;
    font-weight: 600;
    transition: color 0.3s ease;
}

.w3w-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.event-modal-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.event-modal-btn {
    flex: 1;
    min-width: 200px;
    padding: 18px 30px;
    font-family: 'Oswald', sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.event-modal-btn-primary {
    background: #007bff;
    color: white;
    border: 2px solid #007bff;
}

.event-modal-btn-primary:hover {
    background: #0056b3;
    border-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
}

.event-modal-btn-secondary {
    background: transparent;
    color: #444444;
    border: 2px solid #444444;
}

.event-modal-btn-secondary:hover {
    background: #444444;
    color: white;
    transform: translateY(-2px);
}

.event-modal-btn-disabled {
    background: #cccccc;
    color: #888888;
    border: 2px solid #cccccc;
    cursor: not-allowed;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .event-modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .event-modal-header {
        padding: 30px 20px 20px;
    }
    
    .event-modal-header h2 {
        font-size: 32px;
    }
    
    .event-modal-body {
        padding: 20px;
    }
    
    .event-modal-section h3 {
        font-size: 16px;
    }
    
    .event-modal-actions {
        flex-direction: column;
    }
    
    .event-modal-btn {
        min-width: 100%;
    }
    
    .event-modal-close {
        top: 15px;
        right: 15px;
        font-size: 30px;
    }
}