/* Contact Page Specific Styles */

/* Contact Hero Section */
.contact-hero {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    background-image: url('../images/gallery/9-1024x768.jpg');
    background-size: cover;
    background-position: center;
    margin-bottom: 0;
    text-align: center;
}
.disabled-gray {
        background-color: #e9ecef !important;
        color: #6c757d !important;
        border-color: #ced4da !important;
        cursor: not-allowed;
    }
.contact-hero .hero-overlay {
    background-color: rgba(0, 0, 0, 0.5);
}

.contact-hero .hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 800px;
}

.contact-hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 700;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-info-container,
.contact-form-container {
    background-color: var(--light-gray);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-info-container h3,
.contact-form-container h3 {
    color: var(--dark-green);
    font-size: 24px;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.contact-info-container h3::after,
.contact-form-container h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--soft-orange);
}

/* Contact Info Items */
.contact-info-item {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(14, 110, 62, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 20px;
    color: var(--dark-green);
}

.contact-details h4 {
    color: var(--dark-green);
    font-size: 16px;
    margin-bottom: 5px;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
}

.contact-details p {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
}

.contact-details a {
    color: var(--medium-green);
    transition: all 0.3s ease;
}

.contact-details a:hover {
    color: var(--dark-green);
}

/* Gestion 1984 Information */
.gestion-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    text-align: center;
}

.gestion-logo {
    max-width: 100px;
    height: auto;
    margin-bottom: 15px;
}

.gestion-details p {
    margin-bottom: 5px;
    color: var(--text-dark);
}

/* Contact Form */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: var(--white);
    font-family: 'Raleway', sans-serif;
    font-size: 16px;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--medium-green);
    outline: none;
    box-shadow: 0 0 0 3px rgba(45, 154, 101, 0.2);
}

.contact-form-container .btn {
    width: 100%;
    margin-top: 10px;
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background-color: var(--light-green);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    height: 450px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.success-message {
    padding: 15px;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 6px;
    margin-bottom: 20px;
    animation: fadeIn 0.6s ease-in-out;
}

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

/* Media Queries */
@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .contact-info-container,
    .contact-form-container {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 36px;
    }
    
    .contact-hero {
        min-height: 350px;
    }
    
    .contact-section,
    .map-section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .contact-hero h1 {
        font-size: 28px;
    }
    
    .contact-info-item {
        flex-direction: column;
    }
    
    .contact-icon {
        margin-bottom: 15px;
        margin-right: 0;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px;
    }
}