/* File: styles/contact-section.css */

.contact-section {
    padding: 4rem 2rem;
    background-color: #FDF0E9; /* Light background */
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    /* gap: 2rem; */
    max-width: 1200px;
    width: 100%;
}

.contact-form {
    flex: 1;
    max-width: 400px;
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
}

.form-title {
    margin-bottom: 1rem;
    font-size: 1.8rem;
    color: #391400; 
    font-weight: bold;
}

.form-group {
    margin-bottom: 1rem;
}

input, select, textarea {
    width: 100%;
    padding: 0.75rem;
    margin-top: 0.5rem;
    border: 1px solid #d1b3a2; 
    border-radius: 4px;
    font-size: 1rem;
}

input::placeholder, textarea::placeholder {
    color: #c0a89b; 
}

.submit-button {
    padding: 0.75rem 1.5rem;
    background-color: #0074d9; 
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    margin-top: 1rem;
}

.submit-button:hover {
    background-color: #005bb5;
}

.contact-map {
    flex: 1;
    max-width: 700px;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
}

/* File: styles/contact-section.css */

/* Media query for smaller screens */
@media (max-width: 950px) {
    .contact-container {
        flex-direction: column; /* Stacks the form and map vertically */
        align-items: center; /* Centers the content */
    }

    .contact-form,
    .contact-map {
        max-width: 100%; /* Allows both sections to use full width */
        flex: none; /* Removes flex-grow/shrink behavior */
        margin-bottom: 2rem; /* Adds spacing between the form and the map */
    }

    .contact-map {
        height: 300px; 
        width: 500px;
    }
}
