/* Styles pour les sections Speakers et Sponsors */

/* Section Speakers */
.speakers-section {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.speakers-main-title {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    color: #003d7a;
    margin-bottom: 40px;
    background: linear-gradient(90deg, #003d7a 0%, #8a4a76 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.speaker-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.speaker-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.speaker-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
}

.speaker-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.speaker-item:hover .speaker-image img {
    transform: scale(1.05);
}

.speaker-info {
    padding: 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.speaker-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: #003d7a;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.speaker-item:hover .speaker-info h3 {
    color: #e63946;
}

.speaker-title {
    font-size: 16px;
    font-weight: 600;
    color: #555;
    margin-bottom: 5px;
}

.speaker-organization {
    font-size: 14px;
    color: #777;
}

/* Section Sponsors */
.sponsors-section {
    background-color: #fff;
    padding: 80px 0;
}

.sponsors-category {
    margin-bottom: 60px;
}

.sponsors-category:last-child {
    margin-bottom: 0;
}

.category-title {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: #e63946;
    margin-bottom: 30px;
}

.sponsors-grid {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

.silver-sponsors {
    grid-template-columns: repeat(5, 1fr);
}

.exhibitor-sponsors {
    grid-template-columns: repeat(4, 1fr);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.sponsor-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
}

.sponsor-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #e0e0e0;
}

.sponsor-item img {
    max-height: 80px;
    max-width: 100%;
    width: auto;
    transition: all 0.3s ease;
    filter: grayscale(20%);
}

.sponsor-item:hover img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

/* Section Partenaires */
.partners-section {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.partner-item {
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: #e0e0e0;
}

.partner-item img {
    max-height: 70px;
    max-width: 100%;
    width: auto;
    transition: all 0.3s ease;
    filter: grayscale(20%);
}

.partner-item:hover img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

/* Responsive */
@media screen and (max-width: 1200px) {
    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .silver-sponsors {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 991px) {
    .speakers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .silver-sponsors {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .exhibitor-sponsors {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 767px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .speakers-main-title {
        font-size: 32px;
    }
    
    .category-title {
        font-size: 24px;
    }
}

@media screen and (max-width: 480px) {
    .speakers-grid {
        grid-template-columns: 1fr;
    }
    
    .silver-sponsors,
    .exhibitor-sponsors {
        grid-template-columns: 1fr;
    }
    
    .speaker-image {
        height: 220px;
    }
}
