
/* ========================================
   CSS - CREA FILE: eventi-verticale.css
   ======================================== */

.eventi-verticale-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.evento-verticale-item {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    background: #fff;
    border-radius: 0;
    overflow: visible;
    min-height: 400px;
}


/* Layout Alternato */
.evento-verticale-item.layout-left {
    flex-direction: row;
}

.evento-verticale-item.layout-right {
    flex-direction: row-reverse;
}

/* Immagine */
.evento-verticale-image {
    flex: 0 0 50%;
    width: 50%;
    height: 100%;
    min-height: 400px;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.evento-verticale-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.evento-verticale-item:hover .evento-verticale-image img {
    transform: scale(1.05);
}

/* Contenuto */
.evento-verticale-content {
    flex: 0 0 50%;
    width: 50%;
    padding: 60px;
    position: relative;
    background: #fff;
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

/* Badge Data */
.evento-verticale-data-badge {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: #ffd700;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.data-giorno {
    font-size: 32px;
    font-weight: 900;
    color: #000;
    line-height: 1;
}

.data-mese {
    font-size: 14px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    margin-top: 5px;
}

/* Testo */
.evento-verticale-text {
    flex: 1;
}

.evento-verticale-titolo {
    font-family: "Red Hat Display", Sans-serif;
    font-size: 32px;
    font-weight: 900;
    color: #000;
    text-transform: uppercase;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.evento-verticale-excerpt {
    background: #000;
    color: #fff;
    padding: 5px 10px;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    border-radius: 5px;
    max-width: fit-content;
}

.evento-verticale-descrizione {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
}

.evento-verticale-descrizione p {
    margin-bottom: 15px;
}

.evento-verticale-link {
    display: inline-block;
    padding: 15px 40px;
    background: #ffd700;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.evento-verticale-link:hover {
    background: #000;
    color: #ffd700;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Frecce di navigazione */
.evento-verticale-arrows {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10;
}

.evento-verticale-arrows span {
    width: 40px;
    height: 40px;
    background: rgba(255, 215, 0, 0.8);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.evento-verticale-arrows span:hover {
    background: #ffd700;
    transform: scale(1.1);
}

/* Layout Right - frecce a sinistra */
.evento-verticale-item.layout-right .evento-verticale-arrows {
    right: auto;
    left: 20px;
}

/* RESPONSIVE */

/* Tablet */
@media (max-width: 992px) {
    .evento-verticale-content {
        padding: 40px;
    }
    
    .evento-verticale-titolo {
        font-size: 28px;
    }
    
    .evento-verticale-descrizione {
        font-size: 15px;
    }
    
    .evento-verticale-data-badge {
        width: 70px;
        height: 70px;
    }
    
    .data-giorno {
        font-size: 28px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .evento-verticale-item {
        flex-direction: column !important;
        margin-bottom: 60px;
    }
    
    .evento-verticale-image,
    .evento-verticale-content {
        flex: 1 1 100%;
        width: 100%;
    }
    
    .evento-verticale-image {
        min-height: 300px;
    }
    
    .evento-verticale-content {
        padding: 30px 20px;
        flex-direction: column;
        gap: 20px;
    }
    
    .evento-verticale-data-badge {
        position: absolute;
        top: -40px;
        left: 10px;
        z-index: 2;
    }
    
    .evento-verticale-titolo {
        font-size: 24px;
        margin-top: 20px;
    }
    
    .evento-verticale-excerpt {
        font-size: 14px;
        padding: 12px 15px;
    }
    
    .evento-verticale-descrizione {
        font-size: 14px;
    }
    
    .evento-verticale-arrows {
        display: none;
    }
}

@media (max-width: 480px) {
    .eventi-verticale-wrapper {
        padding: 20px 10px;
    }
    
    .evento-verticale-image {
        min-height: 250px;
    }
    
    .evento-verticale-content {
        padding: 30px 15px;
    }
    
    .evento-verticale-titolo {
        font-size: 20px;
    }
    
    .evento-verticale-excerpt {
        font-size: 13px;
        padding: 10px 12px;
        margin-bottom: 15px;
    }
    
    .evento-verticale-descrizione {
        font-size: 13px;
        line-height: 1.6;
    }
    
    .evento-verticale-link {
        padding: 12px 30px;
        font-size: 13px;
        width: 100%;
        text-align: center;
    }
    
    .evento-verticale-data-badge {
        width: 60px;
        height: 60px;
        top: -40px;
        left:10px;
    }
    
    .data-giorno {
        font-size: 24px;
    }
    
    .data-mese {
        font-size: 12px;
    }
}