/* Contact Page Specific Styles */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    color: white;
    padding: 6rem 0 3rem;
    text-align: center;
    margin-top: 70px;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Contact Information */
.contact-info {
    padding: 4rem 0;
    background: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-card {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    border-top: 4px solid #d32f2f;
    transition: all 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    background: white;
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: #d32f2f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.contact-icon i {
    font-size: 2rem;
    color: white;
}

.contact-card h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-card p {
    color: #666;
    margin-bottom: 1rem;
}

.contact-link {
    color: #d32f2f;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
    margin-bottom: 1rem;
    transition: color 0.3s;
}

.contact-link:hover {
    color: #b71c1c;
}

.contact-address {
    color: #666;
    font-style: normal;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-hours {
    text-align: left;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #d32f2f;
}

.contact-hours p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.contact-hours p:last-child {
    margin-bottom: 0;
}

.response-time {
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
    margin: 0;
}

/* Accessibility Notice */
.accessibility-notice {
    padding: 3rem 0;
    background: #e8f5e8;
    border-top: 3px solid #4caf50;
    border-bottom: 3px solid #4caf50;
}

.accessibility-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.accessibility-icon {
    width: 80px;
    height: 80px;
    background: #4caf50;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.accessibility-icon i {
    font-size: 2rem;
    color: white;
}

.accessibility-text h3 {
    color: #2e7d32;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.accessibility-text p {
    color: #388e3c;
    margin: 0;
    line-height: 1.6;
}

/* Contact Form & Map */
.contact-form-map {
    padding: 4rem 0;
    background: #f8f9fa;
}

.form-map-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form-section h2 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-form-section p {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d32f2f;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    margin-bottom: 2rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    accent-color: #d32f2f;
}

.submit-btn {
    width: 100%;
    padding: 15px 30px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Map Section */
.map-section h2 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.map-container {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.map-placeholder {
    height: 300px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.map-placeholder i {
    font-size: 3rem;
    color: #d32f2f;
    margin-bottom: 1rem;
}

.map-placeholder h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.map-placeholder p {
    color: #666;
    margin-bottom: 1.5rem;
}

.map-info {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.map-info h3 {
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.map-info ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.map-info li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: #666;
}

.map-info li i {
    color: #d32f2f;
    width: 20px;
    text-align: center;
}

/* Business Hours */
.business-hours {
    padding: 4rem 0;
    background: white;
}

.business-hours h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.hours-card {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    border-top: 4px solid #d32f2f;
    transition: all 0.3s;
}

.hours-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: white;
}

.hours-card.closed {
    border-top-color: #666;
    opacity: 0.7;
}

.hours-card h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hours-time {
    font-size: 1.5rem;
    font-weight: 700;
    color: #d32f2f;
    margin-bottom: 0.5rem;
}

.hours-card.closed .hours-time {
    color: #666;
}

.hours-card p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

.hours-note {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #d32f2f;
    max-width: 800px;
    margin: 0 auto;
}

.hours-note p {
    color: #666;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
}

.hours-note i {
    color: #d32f2f;
}

/* Emergency Contact */
.emergency-contact {
    padding: 4rem 0;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
}

.emergency-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.emergency-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.emergency-icon i {
    font-size: 2rem;
    color: white;
}

.emergency-text h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.emergency-text p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.emergency-btn {
    background: white;
    color: #ff6b35;
    border: none;
}

.emergency-btn:hover {
    background: #f8f9fa;
    color: #e55a2b;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .form-map-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .accessibility-content,
    .emergency-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .contact-form-section h2,
    .map-section h2,
    .business-hours h2 {
        font-size: 1.8rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .hours-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .hours-note p {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .contact-card,
    .hours-card {
        padding: 1.5rem;
    }
    
    .contact-icon,
    .accessibility-icon,
    .emergency-icon {
        width: 60px;
        height: 60px;
    }
    
    .contact-icon i,
    .accessibility-icon i,
    .emergency-icon i {
        font-size: 1.5rem;
    }
    
    .map-placeholder {
        height: 250px;
        padding: 1rem;
    }
    
    .map-placeholder i {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 1rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #d32f2f;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Form Validation Styles */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #dc3545;
}

.form-group .error-message {
    color: #dc3545;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: block;
}

.form-group input.success,
.form-group select.success,
.form-group textarea.success {
    border-color: #28a745;
}

/* Success Message */
.success-message {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #c3e6cb;
    margin-bottom: 1rem;
    display: none;
}

.success-message.show {
    display: block;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Error Message */
.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #f5c6cb;
    margin-bottom: 1rem;
    display: none;
}

.error-message.show {
    display: block;
    animation: slideIn 0.3s ease;
}