/* Page de contact */
.contact-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a1a2e 0%, #4a148c 50%, #0d47a1 100%);
    padding: 120px 20px 60px;
    position: relative;
    overflow: hidden;
}

/* Éléments décoratifs */
.contact-page::before,
.contact-page::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: 
        linear-gradient(45deg, rgba(0, 255, 255, 0.1) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255, 0, 255, 0.1) 25%, transparent 25%);
    background-size: 200px 200px;
    animation: backgroundMove 20s linear infinite;
    pointer-events: none;
}

@keyframes backgroundMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 200px 200px;
    }
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-container h1 {
    font-size: 3em;
    text-align: center;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.contact-intro {
    text-align: center;
    color: #ffffff;
    margin-bottom: 40px;
    font-size: 1.1em;
}

/* Formulaire */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    flex: 1;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1em;
    transition: all 0.3s ease;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.submit-btn {
    align-self: flex-end;
    padding: 12px 40px;
    border: none;
    border-radius: 25px;
    background: linear-gradient(45deg, #3498db, #9b59b6);
    color: white;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Style du menu déroulant */
.form-group select {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1em;
    transition: all 0.3s ease;
    appearance: none; /* Supprime le style par défaut du navigateur */
    -webkit-appearance: none; /* Pour Safari */
    -moz-appearance: none; /* Pour Firefox */
    background-image: linear-gradient(45deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 255, 0.1));
    background-size: 200px 200px;
    cursor: pointer;
}

/* Flèche personnalisée pour le menu déroulant */
.form-group select::after {
    content: '▼';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: rgba(255, 255, 255, 0.6);
}

/* Effet au survol et focus */
.form-group select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

/* Style du menu déroulant */
.form-group select {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1em;
    transition: all 0.3s ease;
    appearance: none; /* Supprime le style par défaut du navigateur */
    -webkit-appearance: none; /* Pour Safari */
    -moz-appearance: none; /* Pour Firefox */
    background-image: linear-gradient(45deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 255, 0.1));
    background-size: 200px 200px;
    cursor: pointer;
}

/* Flèche personnalisée pour le menu déroulant */
.form-group select::after {
    content: '▼';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: rgba(255, 255, 255, 0.6);
}

/* Effet au survol et focus */
.form-group select:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.form-group select option {
    background: #1a1a2e;
    color: #fff;
    padding: 10px;
}


/* Media Queries */
@media (max-width: 768px) {
    .contact-container {
        padding: 20px;
    }

    .form-row {
        flex-direction: column;
    }

    .contact-container h1 {
        font-size: 2em;
    }

    .submit-btn {
        width: 100%;
    }
}