﻿/* Page-specific styles for Contact page */

.alert {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid;
    border-radius: 0; /* Flat design: sharp edges */
}

.alert-success {
    background-color: #d4edda;
    border-color: #28a745;
    color: #155724;
}

.alert-error {
    background-color: #f8d7da;
    border-color: #dc3545;
    color: #721c24;
}

#contact-quote {
    margin: 2rem 0;
    padding: 0;
}

#navbar {
    background-color: #0a0a0a!important;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-field {
    flex: 1;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-field label {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-color);
}

.form-field input,
.form-field textarea {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 0; /* Flat design: sharp edges */
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.validation-error {
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.disclaimer {
    background-color: var(--border-color);
    border-left: 4px solid var(--primary-color);
    padding: 1rem;
    margin: 1rem 0;
}

.disclaimer p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-color);
}

.submit-button {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 1rem 2rem;
    border: none;
    border-radius: 0; /* Flat design: sharp edges */
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    align-self: flex-start;
}

.submit-button:hover {
    background-color: var(--secondary-color);
}

/* Responsive design */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
    
    .submit-button {
        width: 100%;
    }
}

@media (max-width: 1200px) {
    ::placeholder {
        font-size: .65rem;
    }
}
