/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme
Author: Muffin group
Author URI: https://muffingroup.com
Description: Child Theme for Betheme
Template: betheme
Version: 2.0.3
*/

/* LISTA EVENTI - VERSIONE PULITA */
.custom-events-list-dark {
    width: 100%;
    margin: 40px 0;
    padding: 0;
    
    /* niente sfondo, niente box */
    background: transparent;
    box-shadow: none;
    border-radius: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.custom-event-item-dark {
    display: flex;
    justify-content: center; /* centra data + titolo */
    align-items: center;
    gap: 25px;
    width: 100%;
    max-width: 700px;
    padding: 25px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.custom-event-item-dark:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 25px 20px;
    margin: 0 -20px;
}

.custom-event-item-dark:last-child {
    border-bottom: none;
}

/* BOX DATA */
.event-date-box-dark {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    min-width: 80px;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.event-day-dark {
    display: block;
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    color: #2c3e50;
    margin-bottom: 5px;
}

.event-month-dark {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 700;
    color: #e74c3c;
    letter-spacing: 1px;
}

/* CONTENUTO SOLO TITOLO */
.event-content-dark {
    flex: 1;
    text-align: center;
}

/* TITOLO PIÙ GRANDE */
.event-title-dark {
    margin: 0;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 800;
    color: #ffffff;
}

.event-title-dark a {
    text-decoration: none;
    color: #ffffff;
    transition: color 0.3s ease;
    display: block;
}

.event-title-dark a:hover {
    color: #3498db;
    text-decoration: none;
}

/* RIMUOVIAMO CITTÀ E ORARIO */
.event-venue-dark,
.event-time-dark {
    display: none !important;
}

/* MESSAGGIO NESSUN EVENTO */
.no-events-message {
    text-align: center;
    padding: 40px 20px;
    color: #bdc3c7;
    font-size: 18px;
    border-radius: 10px;
    border: 2px dashed rgba(255, 255, 255, 0.1);
    background: transparent;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .custom-event-item-dark {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 15px;
        padding: 20px 0;
    }

    .event-date-box-dark {
        min-width: 65px;
        padding: 16px;
    }

    .event-title-dark {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .event-date-box-dark {
        min-width: 55px;
        padding: 12px;
    }

    .event-day-dark {
        font-size: 22px;
    }

    .event-title-dark {
        font-size: 20px;
    }
}

/* ANIMAZIONE */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.custom-event-item-dark {
    animation: fadeInUp 0.6s ease forwards;
}

.custom-event-item-dark:nth-child(1) { animation-delay: 0.1s; }
.custom-event-item-dark:nth-child(2) { animation-delay: 0.2s; }
.custom-event-item-dark:nth-child(3) { animation-delay: 0.3s; }
.custom-event-item-dark:nth-child(4) { animation-delay: 0.4s; }
.custom-event-item-dark:nth-child(5) { animation-delay: 0.5s; }

/* MENU COMPATTO HOME  */
.cm-home-container {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}

.cm-box {
    display: flex;
    background: transparent;
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.cm-half {
    flex: 1;
    padding: 30px;
}

.cm-panini {
    background: transparent;
}

.cm-birre {
    background: transparent;
}

.cm-title {
    font-size: 1.6em;
    color: #ffffff;
    margin: 0 0 25px 0;
    text-align: center;
    font-weight: 700;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* LINEA SOTTO IL TITOLO */
}

.cm-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cm-item {
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.cm-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.cm-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.cm-item-name {
    font-weight: 600;
    color: #ffffff;
    font-size: 1.1em;
}

.cm-item-price {
    color: #2ecc71;
    font-weight: 700;
    font-size: 1.1em;
}

.cm-item-desc {
    color: #bdc3c7;
    margin: 0;
    font-size: 0.95em;
    line-height: 1.4;
}

.cm-cta {
    text-align: center;
    margin-top: 40px;
}

.cm-link {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.3);
}

.cm-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(231, 76, 60, 0.4);
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
}

/* RESPONSIVE MENU COMPATTO */
@media (max-width: 900px) {
    .cm-box {
        flex-direction: column;
        gap: 40px; /* PIÙ SPAZIO TRA I BOX */
    }
    
    .cm-half {
        padding: 25px;
    }
    
    .cm-title {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    .cm-home-container {
        margin: 40px auto;
        padding: 0 15px;
    }
    
    .cm-half {
        padding: 20px;
    }
    
    .cm-box {
        gap: 35px; 
    }
    
    /* MODIFICA PER NOME E PREZZO IN LINEA */
    .cm-item-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
    }
    
    .cm-item-name {
        flex: 1;
        margin-right: 10px;
    }
    
    .cm-item-price {
        align-self: center;
        flex-shrink: 0;
        white-space: nowrap;
    }
    
    .cm-link {
        padding: 14px 25px;
        font-size: 1em;
    }
}

