/* Professional Events Page Styles */

/* Events Hero Section */
.events-hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 4rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.events-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/assets/community_app/images/oluyole-bg.jpg') no-repeat center center;
    background-size: cover;
    opacity: 0.3;
}

.events-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ffffff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23ffffff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="300" fill="url(%23a)"/><circle cx="800" cy="300" r="200" fill="url(%23a)"/><circle cx="400" cy="700" r="250" fill="url(%23a)"/></svg>') no-repeat center center;
    background-size: cover;
    opacity: 0.2;
}

.events-hero .container {
    position: relative;
    z-index: 2;
}

.events-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.events-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Professional Event Cards */
.event-card-professional {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    height: 100%;
}

.event-card-professional:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.event-card-professional .card-header {
    background: linear-gradient(45deg, #1e3c72, #2a5298);
    color: white;
    border: none;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.event-card-professional .card-body {
    padding: 2rem;
}

.event-card-professional .card-footer {
    background: #f8f9fa;
    border: none;
    padding: 1.5rem;
}

/* Event Status Badges */
.event-status-upcoming {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-status-past {
    background: linear-gradient(45deg, #6c757d, #495057);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.event-type-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Event Statistics */
.event-stats {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem 0;
    border-radius: 20px;
    margin-bottom: 3rem;
}

.stat-item-professional {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-item-professional .stat-icon {
    font-size: 3rem;
    color: #1e3c72;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.stat-item-professional:hover .stat-icon {
    transform: scale(1.1);
    color: #ff6b6b;
}

.stat-item-professional .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e3c72;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-item-professional .stat-label {
    font-size: 1.1rem;
    color: #666;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Event Filters */
.event-filters-professional {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.filter-btn-professional {
    background: transparent;
    border: 2px solid #1e3c72;
    color: #1e3c72;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin: 0.25rem;
}

.filter-btn-professional:hover,
.filter-btn-professional.active {
    background: linear-gradient(45deg, #1e3c72, #2a5298);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 60, 114, 0.3);
}

/* Event Details */
.event-details-professional {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.event-details-professional .detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.event-details-professional .detail-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.event-details-professional .detail-icon {
    font-size: 1.2rem;
    color: #1e3c72;
    margin-right: 1rem;
    width: 30px;
    text-align: center;
}

.event-details-professional .detail-content {
    flex: 1;
}

.event-details-professional .detail-label {
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 0.25rem;
}

.event-details-professional .detail-value {
    color: #666;
    margin: 0;
}

/* Event Description */
.event-description {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    border-left: 4px solid #1e3c72;
}

.event-description h4 {
    color: #1e3c72;
    font-weight: 700;
    margin-bottom: 1rem;
}

.event-description p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Events Table Section */
.events-table-section {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.table-professional {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.table-professional thead {
    background: linear-gradient(45deg, #1e3c72, #2a5298);
    color: white;
}

.table-professional thead th {
    border: none;
    padding: 1.5rem 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.table-professional tbody tr {
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.table-professional tbody tr:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.table-professional tbody td {
    padding: 1.5rem 1rem;
    vertical-align: middle;
    border: none;
}

.event-title strong {
    color: #1e3c72;
    font-size: 1.1rem;
    font-weight: 600;
}

.event-description {
    margin-top: 0.5rem;
    line-height: 1.4;
}

.event-date,
.event-time,
.event-location,
.event-organizer {
    display: flex;
    align-items: center;
    color: #495057;
    font-size: 0.95rem;
}

.event-date i,
.event-time i,
.event-location i,
.event-organizer i {
    color: #1e3c72;
    margin-right: 0.5rem;
    width: 16px;
}

.event-type-badge {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-status-upcoming {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-status-past {
    background: linear-gradient(45deg, #6c757d, #adb5bd);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-sm.btn-professional {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: 25px;
    background: linear-gradient(45deg, #1e3c72, #2a5298);
    border: none;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.btn-sm.btn-professional:hover {
    background: linear-gradient(45deg, #2a5298, #1e3c72);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 60, 114, 0.3);
    color: white;
    text-decoration: none;
}

/* No Events Message */
.no-events-professional {
    background: linear-gradient(45deg, #1e3c72, #2a5298);
    color: white;
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(30, 60, 114, 0.2);
}

.no-events-professional .no-events-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.no-events-professional h3 {
    font-weight: 700;
    margin-bottom: 1rem;
}

.no-events-professional p {
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .events-hero h1 {
        font-size: 2rem;
    }
    
    .event-card-professional .card-body {
        padding: 1.5rem;
    }
    
    .event-details-professional {
        padding: 1.5rem;
    }
    
    .stat-item-professional .stat-number {
        font-size: 2rem;
    }
    
    .filter-btn-professional {
        width: 100%;
        margin: 0.25rem 0;
    }
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.event-card-professional {
    animation: slideInUp 0.6s ease-out;
}

.event-card-professional:nth-child(2) { animation-delay: 0.1s; }
.event-card-professional:nth-child(3) { animation-delay: 0.2s; }
.event-card-professional:nth-child(4) { animation-delay: 0.3s; }
.event-card-professional:nth-child(5) { animation-delay: 0.4s; }
.event-card-professional:nth-child(6) { animation-delay: 0.5s; }
