/* Event listing styles */
.event-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.tab-button {
    background-color: transparent;
    border: none;
    color: #fff;
    padding: 10px 20px;
    margin: 0 10px;
    font-size: 16px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.tab-button:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #d4af37;
    transition: width 0.3s ease;
}

.tab-button.active {
    color: #d4af37;
}

.tab-button.active:after {
    width: 100%;
}

.loading-spinner {
    display: flex;
    justify-content: center;
    margin: 50px 0;
}

.spinner {
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top: 4px solid #d4af37;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.events-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.event-card {
    width: 100%;
    max-width: 350px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.event-image {
    position: relative;
    height: 200px;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}

.sold-out {
    background-color: #dc3545;
    color: white;
}

.past-event {
    background-color: #6c757d;
    color: white;
}

.event-details {
    padding: 20px;
    color: #fff;
}

.event-title {
    font-size: 24px;
    margin-bottom: 10px;
    color: #d4af37;
}

.event-artist {
    font-size: 16px;
    margin-bottom: 10px;
    color: #fff;
}

.event-date-time, .event-location {
    font-size: 14px;
    margin-bottom: 10px;
    color: #ccc;
}

.event-description {
    font-size: 14px;
    margin-bottom: 20px;
    color: #aaa;
    line-height: 1.5;
}

.ticket-availability {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #4caf50;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: #d4af37;
    color: #000;
}

.btn-primary:hover {
    background-color: #c19b26;
}

.btn-secondary {
    background-color: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.error-message {
    background-color: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.no-events-message {
    text-align: center;
    padding: 30px;
    background-color: rgba(102, 102, 102, 0.32);
    border-radius: 5px;
    opacity: 50%;
    color: #fff;
    font-style: italic;
}

/* Mobile styles */
@media (max-width: 767px) {
    .event-card {
        max-width: 100%;
    }
    
    .event-tabs {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}
