/**
 * Styles spécifiques pour la page Contact
 * Paysagiste Français
 */

/* Hero Section */
.hero-contact {
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.9) 0%, rgba(46, 125, 50, 0.8) 100%);
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.9) 0%, rgba(46, 125, 50, 0.8) 100%);
}

.hero-contact .container {
    position: relative;
    z-index: 2;
}

/* Hero Features */
.hero-features {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    color: white;
    font-weight: 500;
}

.feature-badge i {
    font-size: 1.2rem;
}

/* Hero CTA */
.hero-cta {
    margin-top: 2rem;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 0.8s ease-out 0.2s both;
}

.animate-slide-up {
    animation: slideUp 0.6s ease-out 0.4s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Formulaire de contact */
.contact-form-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form-card h2 {
    color: #333;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid #4caf50;
}

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

.form-control, .form-select {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #4caf50;
    box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25);
}

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

/* Options d'urgence */
.urgence-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.urgence-options .form-check {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 150px;
}

.urgence-options .form-check:hover {
    border-color: #4caf50;
    background: #e8f5e9;
}

.urgence-options .form-check-input:checked ~ .form-check-label {
    color: #2e7d32;
    font-weight: 600;
}

.urgence-options .form-check-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    margin: 0;
}

.urgence-options .form-check-label i {
    font-size: 1.25rem;
}

/* Carte d'informations */
.contact-info-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-info-card h3 {
    color: #333;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contact-info-card h3 i {
    color: #4caf50;
}

.info-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #2e7d32;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-item strong {
    display: block;
    color: #333;
    margin-bottom: 0.25rem;
}

.info-item p {
    color: #666;
    margin: 0;
}

/* Carte réseaux sociaux */
.social-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.social-card h4 {
    color: #333;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

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

.social-link.facebook {
    background: #1877f2;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link.linkedin {
    background: #0077b5;
}

.social-link.youtube {
    background: #ff0000;
}

/* Carte urgence */
.urgence-card {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    border: 2px solid #f44336;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
}

.urgence-card h4 {
    color: #c62828;
    margin-bottom: 1rem;
}

.urgence-card h4 i {
    color: #f44336;
    margin-right: 0.5rem;
}

.urgence-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

/* FAQ Accordion */
.accordion-button {
    background: white;
    color: #333;
    font-weight: 600;
    padding: 1.25rem;
    border: none;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background: #e8f5e9;
    color: #2e7d32;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #4caf50;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%234caf50'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    background: #fafafa;
    color: #666;
    line-height: 1.8;
    padding: 1.5rem;
}

.accordion-item {
    border: 1px solid #e0e0e0;
    margin-bottom: 1rem;
    border-radius: 8px !important;
    overflow: hidden;
}

/* Section Map */
.map-section {
    position: relative;
}

.map-container {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.map-container iframe {
    filter: grayscale(20%);
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
    pointer-events: none;
}

.map-info {
    position: absolute;
    top: 50%;
    left: 50px;
    transform: translateY(-50%);
    color: white;
    pointer-events: all;
}

.map-info h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.map-info p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Bouton submit */
.btn-success.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
    border: none;
    transition: all 0.3s ease;
}

.btn-success.btn-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.4);
}

/* Validation styles */
.was-validated .form-control:valid,
.was-validated .form-select:valid {
    border-color: #4caf50;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%234caf50' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.was-validated .form-control:invalid,
.was-validated .form-select:invalid {
    border-color: #f44336;
}

/* Responsive */
@media (max-width: 992px) {
    .urgence-options {
        flex-direction: column;
    }
    
    .urgence-options .form-check {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-contact {
        padding: 80px 0 60px;
    }
    
    .contact-form-card {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .map-info {
        left: 20px;
        right: 20px;
        text-align: center;
    }
    
    .map-overlay {
        background: rgba(0, 0, 0, 0.7);
    }
    
    .social-links {
        justify-content: space-around;
    }
}