/* styles/sagra.css */

/* Stili per la Timeline */
.timeline-item {
    position: relative;
    padding: 10px 0 30px 40px;
    border-left: 2px solid rgba(0,0,0,0.08);
    margin-left: 20px;
}

.theme-dark .timeline-item {
    border-left-color: rgba(255,255,255,0.08);
}

.timeline-item:last-child {
    border-left-color: transparent;
}

.timeline-icon {
    position: absolute;
    top: 10px;
    left: -21px; /* Centra l'icona sulla linea */
    width: 42px;
    height: 42px;
    border-radius: 42px;
    color: #FFF !important; /* Testo bianco per l'icona */
    text-align: center;
    line-height: 42px;
    font-size: 16px;
    box-shadow: 0 0 0 5px var(--bs-page-bg-color, #f1f1f7);
    cursor: pointer;
    transition: all 0.2s ease;
}

.timeline-icon:hover {
    transform: scale(1.1);
}

.theme-dark .timeline-icon {
    box-shadow: 0 0 0 5px var(--bs-dark-page-bg-color, #18191a);
}

.timeline-content {
    cursor: pointer;
    padding-top: 5px;
}

.timeline-content h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 2px;
}

.timeline-content em {
    font-size: 13px;
    font-style: normal;
    opacity: 0.7;
}

/* Stili per le Card degli Stand */
.card-stand {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: var(--bs-body-bg);
}

.card-stand:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.card-stand .card-body {
    padding: 15px;
}

.card-stand .stand-image {
    height: 150px;
    background-size: cover;
    background-position: center;
}

.card-stand .stand-categoria {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    color: #FFF !important;
    display: inline-block;
    margin-bottom: 10px;
}

/* Colori categorie stand */
.stand-categoria-gastronomico { background: linear-gradient(to right, #E9573F, #fc816a) !important; }
.stand-categoria-artigianato { background: linear-gradient(to right, #967ADC, #b59ff3) !important; }
.stand-categoria-attrazione { background: linear-gradient(to right, #37BC9B, #48cfad) !important; }
.stand-categoria-info { background: linear-gradient(to right, #4A89DC, #5d9cec) !important; }

.card-stand .stand-nome {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.theme-dark .card-stand {
    background-color: var(--bs-dark-card-bg, #0f1117);
}

/* Stili per il modal */
#sagra-modal .modal-header {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

#sagra-modal .modal-body h4 {
    font-size: 20px;
    font-weight: 800;
}

#sagra-modal-body .badge {
    font-size: 13px;
}

#sagra-modal-body img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* Stili per i Tabs */
.tabs-controls {
    display: flex;
    background-color: rgba(0,0,0,0.05);
    border-radius: 10px;
    padding: 4px;
}
.tabs-controls a {
    flex: 1;
    text-align: center;
    padding: 8px;
    text-decoration: none;
    color: var(--bs-heading-color);
    font-weight: 600;
    border-radius: 7px;
    transition: all 0.3s ease;
}

.tabs-controls a[aria-expanded="true"] {
    background-color: var(--bs-body-bg);
    color: var(--bs-highlight-color, #4A89DC);
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

.theme-dark .tabs-controls {
    background-color: rgba(255,255,255,0.05);
}

.theme-dark .tabs-controls a[aria-expanded="true"] {
    background-color: var(--bs-dark-card-bg, #0f1117);
} 