/* ==========================================
   SEZIONE PROSSIME PRESENTAZIONI
   ========================================== */

/* Container principale sezione */
.presentations-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    margin-top: 0px;
}

/* Titolo sezione */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 40px;
    font-family: 'Georgia', serif;
    font-weight: 400;
}

/* Grid presentazioni */
.presentations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Card presentazione singola */
.presentation-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 25px;
    display: flex;
    gap: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.presentation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

/* Badge data */
.date-badge {
    background: linear-gradient(135deg, #B39656 0%, #8B7138 100%);
    color: white;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    min-width: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.date-badge .day {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
}

.date-badge .day_sep {
    font-size: 0.8rem;
    font-weight: lighter;
    line-height: unset;
    padding: 0 4px;
    position: relative;
    bottom: 8px;
}

.date-badge .month {
    font-size: 0.9rem;
    margin: 5px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.date-badge .year {
    font-size: 0.8rem;
    opacity: 0.9;
}

/* Info presentazione */
.presentation-info {
    flex: 1;
    display: block;
    flex-direction: column;
}

.venue {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 0px;
    font-weight: 600;
}

.address {
    color: #666;
    margin: 5px 0;
    font-size: 0.95rem;
}

.time {
    font-weight: normal;
    margin: 5px 0;
    font-size: 0.95rem;
}

.description {
    margin: 15px 0;
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
    flex-grow: 1;
}

.description b {
    color: #2c3e50;
    font-weight: 600;
}

/* Pulsante dettagli */
.btn-details {
    display: inline-block;
    padding: 8px 20px;
    text-decoration: none;
    border-radius: 25px;
    transition: background 0.3s ease;
    font-size: 0.9rem;
    align-self: flex-end;
    margin-top: auto;
    white-space: nowrap;
    border: 1px solid #828282;
    float: right;
    margin-top: 15px;
    margin-left: 20px;
}

.btn-details:hover {
    background: #f6f6f6;
    transform: translateX(3px);
}

/* Presentazioni passate */
.past-presentations {
    margin-top: 40px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.past-presentations summary {
    cursor: pointer;
    font-size: 1.2rem;
    color: #666;
    padding: 10px;
    transition: color 0.3s ease;
}

.past-presentations summary:hover {
    color: #B39656;
}

.past-presentations[open] summary {
    color: #B39656;
    margin-bottom: 20px;
}

.past-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Stati speciali */
.presentation-card.sold-out {
    opacity: 0.7;
    position: relative;
}

.presentation-card.sold-out::after {
    content: "SOLD OUT";
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ff4444;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Responsive design */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .presentation-card {
        flex-direction: column;
        text-align: center;
    }
    
    .date-badge {
        align-self: center;
        width: 100px;
    }
    
    .presentations-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
    
    .presentation-info {
        align-items: center;
    }
    
    .venue {
        font-size: 1.1rem;
    }
    
    .btn-details {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .presentation-card {
        padding: 20px 10px;
    }
    
    .description {
        font-size: 0.9rem;
    }
    
    .past-grid {
        grid-template-columns: 1fr;
    }

    .time {
        font-size: 0.85rem;
    }

    
    .page_standard div.immagine_pagina_interna_02 {
        width: 100vw;
        overflow-x: hidden;
    }

    .page_standard div.immagine_pagina_interna_02 img {
        max-width: 190vw;
        width: auto;
        align-items: center;
        position: relative;
        left: -50vw;
    }
}

/* Animazioni */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.presentation-card {
    animation: fadeIn 0.6s ease-out;
}

.presentation-card:nth-child(2) {
    animation-delay: 0.1s;
}

.presentation-card:nth-child(3) {
    animation-delay: 0.2s;
}