/* Contact Page Styles */
.contact-hero {
    height: 50vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(18, 18, 18, 0.9), rgba(18, 18, 18, 0.9)),
                url('https://source.unsplash.com/random/1920x1080?communication') no-repeat center center;
    background-size: cover;
    margin-top: 76px;
}

.contact-hero .main-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out forwards;
}

.hero-subtitle {
    color: white;
    font-size: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.contact-section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

/* Effet de fond subtil */
.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 215, 0, 0.03), transparent 70%);
    pointer-events: none;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-top: 2rem;
}

/* Styles des cartes d'information */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card, .social-card, .form-card {
    background: rgba(18, 18, 18, 0.97);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.3);
    transform-origin: center bottom;
}

.card-shine {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 215, 0, 0.3),
        transparent
    );
    animation: shimmerLine 2.5s infinite;
}

.info-card h3, .social-card h3, .form-card h3 {
    color: var(--gold);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.info-card h3::after, .social-card h3::after, .form-card h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.info-card:hover h3::after, .social-card:hover h3::after, .form-card:hover h3::after {
    width: 100%;
}

/* Styles des éléments d'information */
.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item .icon-wrapper {
    width: 50px;
    height: 50px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

.info-item .icon-wrapper i {
    font-size: 1.5rem;
    color: var(--gold);
    transition: transform 0.4s ease, color 0.4s ease;
}

.info-item:hover .icon-wrapper {
    transform: scale(1.2);
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.3);
}

.info-item:hover {
    transform: translateX(5px);
}

.info-content h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.info-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

/* Styles des icônes sociales */
.social-icons {
    display: flex;
    justify-content: space-around;
    margin-top: 1.5rem;
}

.social-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gold);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: -1;
}

.social-icon:hover {
    color: var(--dark);
    transform: translateY(-5px);
    border-color: var(--gold);
}

.social-icon:hover::before {
    transform: translateY(0);
}

/* Styles du formulaire de contact */
.contact-form-container {
    position: relative;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1rem;
}

.form-group {
    position: relative;
    margin-bottom: 0.5rem;
}

.form-group:nth-last-child(2) {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-wrapper i {
    color: var(--gold);
    font-size: 1.2rem;
    padding: 0 1rem;
    transition: all 0.3s ease;
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1rem;
    color: white;
    font-size: 1rem;
    outline: none;
}

.input-wrapper select {
    appearance: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23FFD700' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E") no-repeat;
    background-position: calc(100% - 1rem) center;
    padding-right: 2.5rem;
}

.input-wrapper select option {
    background-color: var(--dark);
}

.textarea-wrapper {
    align-items: flex-start;
}

.textarea-wrapper i {
    padding-top: 1rem;
}

.input-wrapper:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.15);
}

.input-wrapper:focus-within i {
    color: white;
}

.form-group:focus-within label {
    color: var(--gold);
}

/* Bouton d'envoi */
.submit-btn {
    grid-column: 1 / -1;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 1rem 1.5rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1rem;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gold);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
    z-index: -1;
}

.submit-btn:hover {
    color: var(--dark);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 215, 0, 0.2);
}

.submit-btn:hover::before {
    transform: translateX(0);
}

.submit-btn i {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(5px);
}

/* Section de carte */
.map-section {
    padding: 5rem 0;
    background: linear-gradient(rgba(18, 18, 18, 0.98), rgba(18, 18, 18, 0.95));
}

.map-section h2 {
    color: var(--gold);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.map-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50%;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
    left: 50%;
    transform: translateX(-50%);
}

.map-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.1), transparent);
    pointer-events: none;
}

/* Animations et effets */
@keyframes shimmerLine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Particules dorées flottantes */
.particles {
    display: none; /* Désactiver les particules */
}

/* Nouvel effet de lueur subtil */
.info-card::before, .social-card::before, .form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 215, 0, 0.05),
        transparent
    );
    transition: left 0.7s ease;
    pointer-events: none;
    z-index: 1;
}

.info-card:hover::before, .social-card:hover::before, .form-card:hover::before {
    left: 100%;
}

/* Simplifier l'animation de bordure */
.info-card::after, .social-card::after, .form-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.5s ease;
    z-index: 2;
}

.info-card:hover::after, .social-card:hover::after, .form-card:hover::after {
    width: 100%;
}

/* Animation plus subtile pour les icônes */
.info-item .icon-wrapper i, .social-icon i {
    transition: transform 0.4s ease, color 0.4s ease;
}

.info-item:hover .icon-wrapper i {
    transform: scale(1.2);
}

.social-icon:hover i {
    transform: scale(1.2);
}

/* Transition plus douce pour les cartes */
.info-card:hover, .social-card:hover, .form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 215, 0, 0.3);
}

/* Effet de focus plus subtil pour les champs de formulaire */
.input-wrapper {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-wrapper:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-hero .main-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .info-card, .social-card, .form-card {
        padding: 2rem;
    }
    
    .social-icons {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }
    
    .social-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .map-section {
        padding: 3rem 0;
    }
}

/* Style pour les messages de statut */
.status-message {
    max-width: 800px;
    margin: 0 auto 2rem;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.5s ease;
    display: none;
}

.status-message.show {
    transform: translateY(0);
    opacity: 1;
    display: block;
}

.status-message.success {
    background: rgba(25, 135, 84, 0.15);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.status-message.error {
    background: rgba(220, 53, 69, 0.15);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.status-message i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

/* Style pour le conteneur reCAPTCHA */
.recaptcha-container {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

/* Adaptation pour mobile */
@media (max-width: 350px) {
    .g-recaptcha {
        transform: scale(0.85);
        transform-origin: left center;
    }
} 