/* Styles spécifiques à la page evenement.html */

/* Styles pour la section Informations pratiques */
.info-pratiques h4 {
    position: relative;
    padding-left: 30px;
    margin-top: 20px;
    margin-bottom: 12px;
    font-size: 18px;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
    line-height: 1.4;
}

.info-pratiques h4:before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    background-color: #c8102e;
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

.info-pratiques h4.contact-icon:before {
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>');
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>');
}

.info-pratiques h4.acces-icon:before {
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"/></svg>');
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"/></svg>');
}

.info-pratiques h4.parking-icon:before {
    mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13 3H6v18h4v-6h3c3.31 0 6-2.69 6-6s-2.69-6-6-6zm0 10H10V7h3c1.1 0 2 .9 2 2s-.9 2-2 2z"/></svg>');
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13 3H6v18h4v-6h3c3.31 0 6-2.69 6-6s-2.69-6-6-6zm0 10H10V7h3c1.1 0 2 .9 2 2s-.9 2-2 2z"/></svg>');
}

.info-block {
    position: relative;
    padding-left: 15px;
    margin-bottom: 20px;
    border-left: 3px solid #c8102e;
}

.info-pratiques p {
    margin: 8px 0;
    line-height: 1.5;
}

/* Styles pour les messages de formulaire */
.form-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    display: none;
}
.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.form-spinner {
    display: none;
    margin: 10px auto;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top: 4px solid #3498db;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mise en page en deux colonnes */
.two-column-layout {
    display: flex;
    flex-wrap: wrap;
    margin-top: 40px;
    gap: 30px;
    align-items: start;
}

/* Styles communs pour les deux colonnes */
.left-column,
.right-column {
    flex: 1;
    min-width: 300px;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Styles spécifiques */
.right-column {
    background-color: #f9f9f9;
}

.soutiens-flex {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    background-color: #f8f8f8;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.soutiens-logo {
    width: auto;
    height: 60px;
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.soutiens-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.soutiens-text {
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    grid-column: 1 / -1;
}

.soutiens-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 5px;
    background-color: white;
    height: 100px;
}

@media (max-width: 768px) {
    .soutiens-flex {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .soutiens-flex {
        grid-template-columns: repeat(1, 1fr);
    }
}

.left-column h2, .right-column h2 {
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
}

.section-spacer {
    margin-top: 40px;
}

.statement-list {
    list-style-type: none;
    padding-left: 0;
    margin-top: 15px;
}

.statement-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.statement-list li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 10px; 
    height: 10px;
    background-color: #c8102e;
    border-radius: 50%;
}

@media (max-width: 768px) {
    .two-column-layout {
        flex-direction: column;
        gap: 20px;
    }
    
    .left-column {
        margin-bottom: 0;
    }
}

/* Styles de formulaire */
.form-group {
    margin-bottom: 20px;
    position: relative;
}

.field-error {
    color: #721c24;
    font-size: 0.85em;
    margin-top: 5px;
    display: none;
}

input[type="text"], 
input[type="email"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

input:focus {
    outline: none;
    border-color: #3498db;
}

.error-input {
    border-color: #dc3545;
}

/* Styles pour la case à cocher */
.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    width: auto;
    height: auto;
}

/* Style pour le partenariat */
.partnership {
    font-style: italic;
    color: #666;
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
}

.partnership a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
    margin-left: 10px;
}

.partnership a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Améliorations pour la hero section */
.hero {
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(190, 30, 45, 0.05) 0%, rgba(255, 255, 255, 0) 50%);
    z-index: 0;
}

/* Styles pour une véritable mise en page à deux colonnes */
.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 80%;
    margin-bottom: 1.5rem;
}

.date-lieu {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-text {
    flex: 3;
    margin-bottom: 0;
}

.hero-partnership {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-left: 1px solid #eee;
    padding-left: 20px;
}

.hero-partnership p.partnership {
    margin-bottom: 15px;
    font-weight: 500;
}

.hero-partnership img {
    height: auto;
    max-width: 100%;
    width: 180px;
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .hero-partnership {
        border-left: none;
        border-top: 1px solid #eee;
        padding-left: 0;
        padding-top: 20px;
        width: 100%;
        align-items: flex-start;
    }
    
    .hero-partnership img {
        width: 150px;
    }
}

/* Styles pour les boutons */
.button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.button:hover {
    background-color: #a51a27;
}

.button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(190, 30, 45, 0.3);
}

/* Styles pour les sections de contenu */
.content-section {
    padding: 60px 0;
}

.content-section h2 {
    margin-bottom: 30px;
    font-size: 32px;
}

.content-section p {
    margin-bottom: 20px;
    line-height: 1.6;
}
