/**
 * Xeora Ticketing - Events List Styles
 * 
 * Pagina lista eventi dinamica /eventi/
 * Stile coerente con event-landing.css
 * 
 * @package Xeora
 * @subpackage Ticketing/Assets
 * @since 1.6.21
 * @updated 1.6.22 - Fix: Migliora contrasto testo su sfondo viola
 * @updated 3.3.2 - Add social proof styling
 */

/* Base Layout */
body.xeora-events-list-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Hero Section */
.events-list-hero {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95), rgba(118, 75, 162, 0.95));
    padding: 80px 20px;
    text-align: center;
    color: white;
}

.events-list-hero h1 {
    font-size: 48px;
    font-weight: 900;
    margin: 0 0 16px 0;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.events-list-hero p {
    font-size: 20px;
    margin: 0;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Section Headers */
.section-header {
    margin-bottom: 32px;
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a202c;
    margin: 0 0 12px 0;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title i {
    color: rgba(255, 255, 255, 0.95);
}

.section-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 500;
}

/* Events Grid */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

/* Event Card */
.event-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

/* Event Card Image */
.event-card-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #e2e8f0;
    position: relative;
}

.event-card-image.no-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: rgba(255,255,255,0.3);
}

/* Event Badge */
.event-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,0.75);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.event-badge.sold-out {
    background: #e53e3e;
}

.event-badge.upcoming {
    background: #48bb78;
}

/* Event Card Content */
.event-card-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-card-title {
    font-size: 22px;
    font-weight: 800;
    color: #1a202c;
    margin: 0 0 12px 0;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

/* Event Card Meta */
.event-card-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #718096;
}

.event-card-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-card-meta-item i {
    color: #667eea;
    width: 16px;
}

.event-card-description {
    font-size: 14px;
    color: #4a5568;
    margin: 0 0 20px 0;
    line-height: 1.6;
    flex: 1;
}

/* Social Proof - NEW v3.3.2 */
.event-card-social-proof {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    margin: 0 -24px 16px -24px;
    background: linear-gradient(135deg, #fff5f5 0%, #fed7d7 100%);
    border-left: 4px solid #e53e3e;
    font-weight: 700;
    font-size: 14px;
    color: #c53030;
}

.event-card-social-proof i {
    color: #e53e3e;
    font-size: 16px;
}

.event-card-social-proof.past {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    border-left-color: #718096;
    color: #4a5568;
}

.event-card-social-proof.past i {
    color: #718096;
}

/* Event Card Actions */
.event-card-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.event-card-btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.event-card-btn.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.event-card-btn.primary:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

.event-card-btn.secondary {
    background: #f7fafc;
    color: #2d3748;
    border: 2px solid #e2e8f0;
}

.event-card-btn.secondary:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 16px;
    margin-top: 40px;
}

.empty-state i {
    font-size: 64px;
    color: #cbd5e0;
    margin-bottom: 24px;
}

.empty-state h3 {
    font-size: 24px;
    font-weight: 800;
    color: #2d3748;
    margin: 0 0 12px 0;
}

.empty-state p {
    font-size: 16px;
    color: #718096;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .events-list-hero h1 {
        font-size: 32px;
    }
    
    .events-list-hero p {
        font-size: 16px;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 24px;
    }
}