/* ========================================
   UPCOMING EVENTS ROADMAP - EVENTI HERO STYLE
   Classi rinominate per evitare conflitti CSS
   ======================================== */

.upcoming-events {
    padding: 60px 0;
}

.upcoming-events h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #b9b274;
    margin-bottom: 50px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Grid degli eventi */
.events-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* ========================================
   CARD EVENTI HERO PRINCIPALE
   ======================================== */

.events-hero-card {
    position: relative;
    height: 210px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.events-hero-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}

/* ========================================
   SFONDO EVENTI HERO
   ======================================== */

.events-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.4s ease;
    z-index: 1;
}

.events-hero-card:hover .events-hero-background {
    transform: scale(1.1);
}

/* Placeholder per eventi senza immagine */
.events-hero-background.events-hero-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.events-placeholder-icon {
    font-size: 5rem;
    color: white;
    opacity: 0.8;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* ========================================
   OVERLAY EVENTI SCURO
   ======================================== */

.events-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg, 
        rgba(0,0,0,0.3) 0%, 
        rgba(0,0,0,0.1) 40%, 
        rgba(0,0,0,0.8) 100%
    );
    z-index: 2;
    transition: background 0.3s ease;
}

.events-hero-card:hover .events-hero-overlay {
    background: linear-gradient(
        180deg, 
        rgba(0,0,0,0.4) 0%, 
        rgba(0,0,0,0.2) 40%, 
        rgba(0,0,0,0.85) 100%
    );
}

/* ========================================
   BADGE DATA E ORARIO EVENTI (TOP-LEFT)
   ======================================== */

.events-date-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    padding: 15px;
    border-radius: 15px;
    text-align: center;
    min-width: 80px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    z-index: 3;
    transition: transform 0.3s ease;
}

.events-hero-card:hover .events-date-badge {
    transform: scale(1.05);
}

.events-date-day {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1;
    color: #b9b274;
    margin-bottom: 2px;
	    text-shadow: 0 1px 2px rgb(0 0 0);
}

.events-date-month {
  font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffffff;
    margin-bottom: 2px;
}

.events-date-year {
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.events-date-time {
font-size: 1.4rem;
    /* font-weight: 700; */
    color: #b9b274;
    background: rgba(40, 167, 69, 0.1);
    padding: 4px 8px;
    border-radius: 8px;
    border: 1px solid rgb(185 178 116);
}

/* ========================================
   BADGES INFO EVENTI (TOP-RIGHT)
   ======================================== */

.events-hero-badges {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.events-hero-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.events-hero-card:hover .events-hero-badge {
    transform: scale(1.05);
}

.events-hero-badge.events-featured {
    background: rgba(255,193,7,0.95);
    color: #2c3e50;
}

.events-hero-badge.events-price {
    background: rgba(220,53,69,0.95);
    color: white;
}

/* ========================================
   CONTENUTO EVENTI PRINCIPALE (BOTTOM)
   ======================================== */

.events-hero-content {
 position: absolute;
    /* bottom: 0; */
    /* left: 0; */
    right: 10%;
    padding: 30px;
    color: white;
    z-index: 3;
    text-align: center;
    top: 5%;
}

.events-hero-location {
	display:none;
    font-size: 1.9rem;
    opacity: 0.9;
    margin-bottom: 8px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.7);
    gap: 6px;
}

.events-hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
    line-height: 1.2;
    color: white;
}

.events-hero-description {
    font-size: 1rem;
    margin: 0 0 20px 0;
    opacity: 0.9;
    text-shadow: 0 1px 4px rgba(0,0,0,0.7);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.events-hero-cta {
    margin-top: 15px;
}

.events-hero-button {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 2px solid rgba(255,255,255,0.8);
    padding: 5px 10px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.events-hero-card:hover .events-hero-button {
    background: rgba(255,255,255,0.9);
    color: #2c3e50;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* ========================================
   STATO "NESSUN EVENTO"
   ======================================== */

.events-no-events {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    border: 2px dashed #dee2e6;
}

.events-no-content {
    max-width: 400px;
    margin: 0 auto;
}

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

.events-no-events h3 {
    color: #6c757d;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.events-no-events p {
    color: #6c757d;
    opacity: 0.8;
}

/* ========================================
   PULSANTE CTA EVENTI FINALE
   ======================================== */

.events-cta-button {
    background: linear-gradient(135deg, #aaa369 0%, #43402c 100%);
    color: white;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(102,126,234,0.3);
    display: inline-block;
}

.events-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(102,126,234,0.4);
    text-decoration: none;
    color: white;
}

/* ========================================
   RESPONSIVE DESIGN EVENTI
   ======================================== */

@media (max-width: 768px) {
    .upcoming-events h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .events-preview {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .events-hero-card {
        height: 190px;
    }
    
    .events-hero-content {
        padding: 20px;
    }
    
    .events-hero-title {
        font-size: 1.5rem;
    }
    
    .events-date-badge {
        top: 15px;
        left: 15px;
        padding: 12px;
        min-width: 70px;
    }
    
    .events-date-day {
        font-size: 1.5rem;
    }
    
    .events-hero-badges {
        top: 15px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .upcoming-events {
        padding: 40px 0;
    }
    
    .events-preview {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .events-hero-card {
        height: 170px;
        margin: 0 10px;
    }
    
    .events-hero-content {
        padding: 15px;
    }
    
    .events-hero-title {
        font-size: 1.3rem;
    }
    
    .events-hero-description {
        font-size: 0.9rem;
        -webkit-line-clamp: 1;
    }
    
    .events-date-badge {
        padding: 10px;
        min-width: 60px;
    }
    
    .events-date-day {
        font-size: 1.3rem;
    }
    
    .events-date-time {
        font-size: 0.8rem;
        padding: 3px 6px;
    }
}