/* ===================================
   CONTACT PAGE STYLES
   =================================== */

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1E40AF 100%);
    color: var(--white);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.page-hero p {
    font-size: var(--font-size-large);
    opacity: 0.9;
}

/* Contact Section */
.contact-section {
    padding: var(--spacing-xl) 0;
}

.contact-grid {
    display: grid;
    gap: var(--spacing-xl);
}

/* Contact Info */
.contact-info h2 {
    margin-bottom: var(--spacing-md);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin: var(--spacing-lg) 0;
}

.contact-item {
    display: flex;
    gap: var(--spacing-sm);
}

.contact-icon {
    font-size: 2rem;
    min-width: 48px;
}

.contact-item h3 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-xs);
    font-size: 1.125rem;
}

.contact-item p {
    margin: 0;
    color: var(--dark-gray);
}

.contact-item a {
    color: var(--dark-gray);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--accent-orange);
}

.directions-link {
    display: inline-block;
    color: var(--accent-orange);
    font-weight: 600;
    margin-top: var(--spacing-xs);
}

.service-area {
    background-color: var(--light-gray);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    margin-top: var(--spacing-lg);
}

.service-area h3 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-xs);
}

.service-area p {
    margin: 0;
}

/* Contact Form */
.contact-form-container {
    background-color: var(--light-gray);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
}

.contact-form-container h2 {
    margin-bottom: var(--spacing-sm);
}

.contact-form-container > p {
    color: #6B7280;
    margin-bottom: var(--spacing-lg);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--dark-gray);
}

.required {
    color: #EF4444;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px;
    border: 2px solid #D1D5DB;
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    font-family: var(--font-primary);
    transition: var(--transition);
    background-color: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-orange);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

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

.form-note {
    text-align: center;
    font-size: var(--font-size-small);
    color: #6B7280;
    margin-top: var(--spacing-sm);
}

.form-note a {
    color: var(--accent-orange);
    font-weight: 600;
}

/* Form Messages */
.form-message {
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-md);
    font-weight: 500;
}

.form-message-success {
    background-color: #D1FAE5;
    color: #065F46;
    border: 2px solid #10B981;
}

.form-message-error {
    background-color: #FEE2E2;
    color: #991B1B;
    border: 2px solid #EF4444;
}

/* Map Section */
.map-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--light-gray);
}

.map-section h2 {
    text-align: center;
    margin-bottom: var(--spacing-sm);
}

.map-section > .container > p {
    text-align: center;
    color: #6B7280;
    margin-bottom: var(--spacing-lg);
}

.map-container {
    width: 100%;
    margin: var(--spacing-lg) 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.map-container iframe {
    display: block;
    width: 100%;
}

.directions-info {
    background-color: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    max-width: 800px;
    margin: 0 auto;
}

.directions-info h3 {
    color: var(--primary-blue);
    margin-bottom: var(--spacing-md);
}

.directions-info ul {
    list-style: none;
    padding: 0;
}

.directions-info li {
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--light-gray);
}

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

/* FAQ Section */
.faq-section {
    padding: var(--spacing-xl) 0;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.faq-grid {
    display: grid;
    gap: var(--spacing-md);
}

.faq-item {
    background-color: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
}

.faq-item h3 {
    color: var(--primary-blue);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-sm);
}

.faq-item p {
    color: #6B7280;
    margin: 0;
}

/* Responsive - Tablet */
@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
    
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Responsive - Desktop */
@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 2fr 3fr;
    }
    
    .faq-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Form Validation Styles */
.form-group input:invalid:not(:placeholder-shown),
.form-group textarea:invalid:not(:placeholder-shown) {
    border-color: #EF4444;
}

.form-group input:valid:not(:placeholder-shown),
.form-group textarea:valid:not(:placeholder-shown) {
    border-color: #10B981;
}

/* Loading State for Submit Button */
.btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}
