/* custom-event-single.css */
/* RESET COMPLETO */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: white;
    line-height: 1.6;
    padding: 20px;
}

.custom-event-container {
    max-width: 1200px;
    margin: 40px auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.custom-event-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 50px 40px;
    text-align: center;
}

.back-button {
    display: inline-block;
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(-5px);
}

.event-title {
    font-size: 3em;
    margin: 0 0 30px 0;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.event-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.meta-icon {
    font-size: 1.8em;
}

.meta-text {
    font-weight: 600;
    font-size: 1.1em;
}

.event-content {
    padding: 50px 40px;
}

.event-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 40px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.event-description {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 40px;
}

.event-description h2 {
    font-size: 1.8em;
    margin: 40px 0 20px 0;
    color: #fff;
}

.event-description h3 {
    font-size: 1.4em;
    margin: 30px 0 15px 0;
    color: #fff;
}

.event-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.info-box {
    background: rgba(255, 255, 255, 0.08);
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid #667eea;
}

.info-box h3 {
    margin: 0 0 15px 0;
    font-size: 1.3em;
}

.info-box p {
    margin: 0;
    color: #bdc3c7;
    font-size: 1.1em;
}

.event-cost {
    font-weight: 700;
    color: #2ecc71 !important;
    font-size: 1.2em !important;
}

.website-link {
    display: inline-block;
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
    word-break: break-all;
}

.website-link:hover {
    text-decoration: underline;
    color: #2980b9;
}

/* SEZIONE INDIRIZZO E MAPPA */
.venue-address-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.venue-address-section h3 {
    font-size: 1.8em;
    margin-bottom: 25px;
    color: white;
}

.venue-details {
    background: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 25px;
    border-left: 4px solid #667eea;
}

.venue-name {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.venue-full-address {
    font-size: 1.1em;
    color: #bdc3c7;
    line-height: 1.6;
}

.map-link {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.map-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.map-link:before {
    content: "🗺️ ";
    margin-right: 10px;
}

/* MESSAGGIO NESSUN EVENTO */
.no-events-message {
    text-align: center;
    padding: 80px 40px;
}

.no-events-icon {
    font-size: 4em;
    margin-bottom: 20px;
    opacity: 0.7;
}

.no-events-title {
    font-size: 2em;
    margin-bottom: 15px;
    color: white;
    font-weight: 600;
}

.no-events-text {
    font-size: 1.2em;
    color: #bdc3c7;
    margin-bottom: 30px;
    line-height: 1.6;
}

.no-events-cta {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.no-events-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    body {
        padding: 15px;
    }
    
    .custom-event-header {
        padding: 30px 20px;
    }
    
    .event-title {
        font-size: 2.2em;
    }
    
    .event-meta-grid {
        grid-template-columns: 1fr;
    }
    
    .event-content {
        padding: 30px 20px;
    }
    
    .event-image {
        height: 300px;
    }

    .venue-details {
        padding: 20px;
    }

    .venue-name {
        font-size: 1.2em;
    }

    .map-link {
        padding: 12px 25px;
        font-size: 1em;
    }

    .event-info-grid {
        grid-template-columns: 1fr;
    }

    .no-events-message {
        padding: 60px 20px;
    }

    .no-events-icon {
        font-size: 3em;
    }

    .no-events-title {
        font-size: 1.6em;
    }

    .no-events-text {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .event-title {
        font-size: 2em;
    }
    
    .back-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    
    .meta-item {
        padding: 15px;
    }
    
    .info-box {
        padding: 20px;
    }
}