/**
 * Ferry Recycling - Styles spécifiques pour la page Contact
 */

/* Contact Hero Section */
#contact-hero {
    padding: 180px 0 80px;
    background: linear-gradient(to right, rgba(59, 148, 94, 0.8), rgba(26, 101, 158, 0.8)), url('../images/contact-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

#contact-hero h1 {
    color: white;
    margin-bottom: 30px;
}

#contact-hero .lead {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Info Section */
#contact-info {
    padding: 80px 0;
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-card {
    background-color: #F9F9F9;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid #1A659E;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.contact-card .icon {
    font-size: 2.5rem;
    color: #1A659E;
    margin-bottom: 20px;
}

.contact-card h3 {
    margin-bottom: 15px;
    color: #333;
}

/* Contact Form Section */
#contact-form {
    padding: 80px 0;
    background-color: #F9F9F9;
}

.form-container {
    max-width: 900px;
    margin: 0 auto;
}

.form-content {
    background-color: white;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-success {
    background-color: rgba(59, 148, 94, 0.1);
    border-left: 4px solid #3B945E;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    border-radius: 5px;
}

.form-success i {
    color: #3B945E;
    font-size: 1.5rem;
    margin-right: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #1A659E;
}

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

.form-group.has-error input,
.form-group.has-error textarea {
    border-color: #A62639;
}

.error-message {
    color: #A62639;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
}

.form-submit {
    text-align: center;
    margin-top: 30px;
}

.form-submit button {
    background-color: #1A659E;
    color: white;
    border: none;
    padding: 12px 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit button:hover {
    background-color: #145180;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(26, 101, 158, 0.3);
}

/* Map Section */
#map-section {
    padding: 0;
    height: 450px;
}

#map {
    width: 100%;
    height: 100%;
}

/* Quote Request Section */
#devis {
    padding: 80px 0;
    background: linear-gradient(to right, rgba(26, 101, 158, 0.9), rgba(59, 148, 94, 0.9)), url('../images/quote-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

#devis h2 {
    color: white;
    margin-bottom: 30px;
}

#devis p {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

.quote-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .quote-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .form-content {
        padding: 30px 20px;
    }
    
    #contact-hero h1 {
        font-size: 2.2rem;
    }
}
