/* 
 * Fichier : contact.css
 * Description : Styles pour la page contact BookConnect
 * Projet : BookConnect
 */

.contact-hero {
    background: linear-gradient(135deg, #DC2626 0%, #991B1B 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.contact-hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.contact-channels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.channel-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #DC2626;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.channel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.channel-icon {
    width: 60px;
    height: 60px;
    background: #DC2626;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.channel-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.channel-subtitle {
    color: #6b7280;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.channel-info {
    margin: 1rem 0;
}

.channel-info strong {
    color: #DC2626;
}

.response-time {
    background: #fef2f2;
    color: #DC2626;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
}

.contact-form-section {
    background: #f8fafc;
    padding: 4rem 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: #DC2626;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.priority-selector {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.priority-option {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.priority-option.urgent {
    border-color: #ef4444;
    background: #fef2f2;
}

.priority-option.normal {
    border-color: #f59e0b;
    background: #fffbeb;
}

.priority-option.low {
    border-color: #10b981;
    background: #f0fdf4;
}

.priority-option.selected {
    background: #DC2626;
    color: white;
    border-color: #DC2626;
}

.submit-btn {
    background: #DC2626;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: #991B1B;
}

.faq-section {
    padding: 4rem 0;
}

.faq-item {
    background: white;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: #6b7280;
    display: none;
}

.faq-answer.active {
    display: block;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: #DC2626;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1);
}

.live-chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #DC2626;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 2rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
    z-index: 1000;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3); }
    50% { box-shadow: 0 4px 20px rgba(220, 38, 38, 0.5); }
    100% { box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3); }
}

.office-hours {
    background: #f0fdf4;
    border: 1px solid #10b981;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1rem;
}

.office-hours h4 {
    color: #10b981;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .priority-selector {
        flex-direction: column;
    }
    
    .contact-channels {
        grid-template-columns: 1fr;
    }
}
