﻿/* ============================================================
   CONTACT.CSS - Page Contactez-nous
   Thème harmonisé avec le site MeetGay
   ============================================================ */

/* Variables de couleurs (même thème que le chat) */
:root {
    --primary-color: #ff6b9d;
    --primary-dark: #e8557e;
    --secondary-color: #6c5ce7;
    --dark-bg: #1a1a2e;
    --light-bg: #f8f9fa;
    --text-dark: #2d3436;
    --text-light: #ffffff;
    --border-color: #e1e8ed;
    --success-color: #00b894;
    --error-color: #d63031;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Reset spécifique pour la page contact */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: var(--text-dark);
    padding: 20px;
}

/* Conteneur principal */
.contact-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-hover);
    overflow: hidden;
    animation: fadeInUp 0.5s ease-out;
}

/* Animation d'entrée */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* En-tête */
.contact-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 40px 30px;
    text-align: center;
    position: relative;
}

.back-home {
    position: absolute;
    top: 20px;
    left: 25px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.back-home:hover {
    opacity: 1;
    text-decoration: underline;
}

.contact-header h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-header p {
    font-size: 1rem;
    opacity: 0.95;
}

/* Formulaire */
.contact-form {
    padding: 40px 35px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: inherit;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.1);
}

.form-group small {
    display: block;
    margin-top: 5px;
    font-size: 0.75rem;
    color: #7f8c8d;
}

/* Checkbox */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: normal !important;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* Bouton d'envoi */
.submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Message de statut */
.status-message {
    margin: 20px 35px 0 35px;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.status-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Alternatives de contact */
.contact-alternatives {
    background: #f8f9fa;
    padding: 30px 35px;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.contact-alternatives h3 {
    margin-bottom: 15px;
    color: var(--text-dark);
    font-size: 1.2rem;
}

.contact-alternatives p {
    margin: 8px 0;
    color: #555;
}

.contact-alternatives a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-alternatives a:hover {
    text-decoration: underline;
}

/* Footer */
.contact-footer {
    background: white;
    padding: 20px 35px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.contact-footer a {
    color: #7f8c8d;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

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

/* Responsive */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    .contact-container {
        border-radius: 15px;
    }

    .contact-header {
        padding: 30px 20px;
    }

    .contact-header h1 {
        font-size: 1.6rem;
    }

    .contact-form {
        padding: 25px 20px;
    }

    .contact-alternatives {
        padding: 25px 20px;
    }

    .contact-footer {
        padding: 15px 20px;
        gap: 15px;
    }

    .back-home {
        top: 15px;
        left: 15px;
        font-size: 12px;
    }
}

/* Scrollbar personnalisée */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}