/* Contact Section Styles */
.contact-section {
    padding: 80px 0;
    background-color: #0f0f0f;
    color: #f1f5f9;
    font-family: 'Inter', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

.section-description {
    color: #d1d5db;
    font-size: 18px;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* Main Column (Left) */
.contact-main {
    display: flex;
    flex-direction: column;
}

.contact-form {
    background-color: #181818;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    background-color: #2d2d2d;
    border: 1px solid #3d3d3d;
    border-radius: 8px;
    color: #ffffff;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6b6b;
    box-shadow: 0 0 0 2px rgba(255, 107, 107, 0.2);
}

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

.btn-primary {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Poppins', sans-serif;
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

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

/* Styles pour les messages de formulaire */
.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 6px;
    font-size: 0.95rem;
}

.form-message.success {
    background-color: #14532d;
    color: #a7f3d0;
}

.form-message.error {
    background-color: #450a0a;
    color: #fecaca;
}

.hidden {
    display: none;
}

/* Cloudflare Turnstile container */
.cf-turnstile {
    margin: 15px 0;
    display: flex;
    justify-content: center;
}

/* Sidebar Column (Right) */
.contact-sidebar {
    display: flex;
    flex-direction: column;
}

.map-container {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 30px;
    position: relative;
}

#map, .google-map {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    background-color: #181818;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.icon-wrapper {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(255, 107, 107, 0.2), rgba(78, 205, 196, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card i {
    font-size: 20px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-details {
    flex-grow: 1;
}

.contact-details h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
}

.contact-details p {
    color: #d1d5db;
    font-size: 15px;
    line-height: 1.4;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .contact-wrapper {
        gap: 20px;
    }
    
    .map-container {
        height: 350px;
    }
}

@media screen and (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        height: 300px;
    }
    
    .contact-sidebar {
        margin-top: 30px;
    }
}

@media screen and (max-width: 480px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-header h2 {
        font-size: 28px;
    }
    
    .section-description {
        font-size: 16px;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .map-container {
        height: 250px;
    }
}