/**
 * Stili per Informazioni Ospiti
 * Design moderno e accattivante
 */

/* Sezione principale */
.info-ospiti-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.info-ospiti-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.info-ospiti-archive {
    padding: 3rem 0;
    min-height: 70vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

/* Header sezioni - SOLO per info-ospiti */
.info-ospiti-section .section-header,
.info-ospiti-section .archive-header,
.info-ospiti-archive .section-header,
.info-ospiti-archive .archive-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.info-ospiti-section .section-header h2,
.info-ospiti-section .archive-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    letter-spacing: -0.02em;
}

.info-ospiti-section .section-header p,
.info-ospiti-section .archive-header p {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.9);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.info-ospiti-archive .archive-header h1 {
    color: #2c3e50;
    text-shadow: none;
}

.info-ospiti-archive .archive-header p {
    color: #6c757d;
    text-shadow: none;
}

/* Griglia informazioni */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

/* Card informazione */
.info-ospiti-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    position: relative;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.info-ospiti-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-ospiti-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.info-ospiti-card:hover::before {
    opacity: 1;
}

/* Priorità */
.info-ospiti-card.priority-high {
    border-left: 4px solid #dc3545;
}

.info-ospiti-card.priority-medium {
    border-left: 4px solid #ffc107;
}

.info-ospiti-card.priority-low {
    border-left: 4px solid #28a745;
}

/* Header card */
.info-card-header {
    padding: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-bottom: none;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.info-card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.2;
}

.info-icon {
    font-size: 2.5rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
}

.info-title h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.8rem 0;
    line-height: 1.3;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.info-date {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    display: inline-block;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    position: relative;
    z-index: 2;
}

/* Contenuto card */
.info-card-content {
    padding: 2rem;
}

.info-excerpt {
    color: #495057;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1rem;
    font-weight: 400;
}

/* Dettagli */
.info-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    background: rgba(103, 126, 234, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(103, 126, 234, 0.1);
}

.info-detail {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(103, 126, 234, 0.1);
}

.info-detail:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: #495057;
    min-width: 90px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-value {
    color: #6c757d;
    font-weight: 500;
}

.detail-value a {
    color: #667eea;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    background: rgba(103, 126, 234, 0.1);
}

.detail-value a:hover {
    color: #fff;
    background: #667eea;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(103, 126, 234, 0.3);
}

/* Contenuto completo */
.info-full-content {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
    color: #495057;
    line-height: 1.6;
}

/* Filtri */
.info-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-bottom: 4rem;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.filter-btn {
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(103, 126, 234, 0.2);
    border-radius: 30px;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.filter-btn:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: transparent;
    color: #fff;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(103, 126, 234, 0.4);
}

.filter-btn:hover::before {
    left: 100%;
}

.filter-btn.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 25px rgba(103, 126, 234, 0.4);
}

/* Paginazione */
.info-pagination {
    text-align: center;
    margin-top: 3rem;
}

.info-pagination .page-numbers {
    display: inline-block;
    padding: 0.8rem 1.2rem;
    margin: 0 0.3rem;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    color: #6c757d;
    text-decoration: none;
    transition: all 0.3s ease;
}

.info-pagination .page-numbers:hover,
.info-pagination .page-numbers.current {
    background: #007bff;
    border-color: #007bff;
    color: #fff;
}

/* Nessun risultato */
.no-info-found {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
    font-size: 1.1rem;
}

/* Link "vedi tutte" */
.info-more-link {
    text-align: center;
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a6fd8, #6a4190);
    color: #fff;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(103, 126, 234, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #6c757d, #495057);
    color: #fff;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #5a6268, #343a40);
    color: #fff;
    text-decoration: none;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(108, 117, 125, 0.4);
}

/* Pagina singola */
.info-ospiti-single {
    padding: 3rem 0;
}

.info-single-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.info-icon-large {
    font-size: 4rem;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 50%;
}

.info-single-title h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 1rem 0;
}

.info-date-large {
    font-size: 1.1rem;
    color: #6c757d;
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    display: inline-block;
}

.info-single-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.info-main-content {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    line-height: 1.8;
    color: #495057;
}

.info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-details-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.info-details-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e9ecef;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f8f9fa;
}

.detail-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.detail-icon {
    font-size: 1.2rem;
    width: 30px;
    text-align: center;
}

.detail-content {
    flex: 1;
}

.detail-content strong {
    display: block;
    color: #2c3e50;
    margin-bottom: 0.3rem;
}

.detail-content span {
    color: #6c757d;
}

.detail-content a {
    color: #007bff;
    text-decoration: none;
}

.detail-content a:hover {
    text-decoration: underline;
}

.info-navigation {
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .info-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .info-single-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .info-single-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .info-ospiti-section .section-header h2,
    .info-ospiti-section .archive-header h1,
    .info-ospiti-archive .section-header h2,
    .info-ospiti-archive .archive-header h1 {
        font-size: 2rem;
    }

    .info-single-title h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .info-card-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .info-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .info-detail {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
    
    .detail-label {
        min-width: auto;
    }
} 