/* Contact Page Styles - Uphill Attorneys */

/* Hero Section */
.contact-hero {
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.contact-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

/* Contact Form Container */
.contact-form-container {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
}

.contact-form-container h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 0.5rem;
}

.contact-form-container > p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

/* Form Styling */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-form .form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.contact-form .form-control,
.contact-form .form-select {
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: #1e3a8a;
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.1);
    outline: none;
}

/* Urgency Radio Buttons */
.urgency-options {
    display: flex;
    gap: 1rem;
}

.urgency-options .form-check {
    flex: 1;
}

.urgency-options .form-check-input:checked {
    background-color: #1e3a8a;
    border-color: #1e3a8a;
}

/* Contact Info Sidebar */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Office Info Card */
.office-info-card {
    background-color: #f9fafb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
}

.office-info-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 1.5rem;
}

.office-info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.office-info-item:last-child {
    margin-bottom: 0;
}

.office-info-item i {
    color: #d97706;
    font-size: 1.125rem;
    margin-top: 0.25rem;
    width: 20px;
    flex-shrink: 0;
}

.office-info-item .info-content {
    flex: 1;
}

.office-info-item .info-content p {
    margin: 0;
}

.office-info-item .info-content .info-label {
    font-weight: 500;
    margin-bottom: 0.125rem;
}

.office-info-item .info-content .info-detail {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Office Hours Card */
.office-hours-card {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
}

.office-hours-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 1.5rem;
}

.office-hours-card h3 i {
    color: #d97706;
    margin-right: 0.5rem;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hours-item .day {
    color: #6b7280;
}

.hours-item .time {
    font-weight: 500;
}

.emergency-note {
    border-top: 1px solid #e5e7eb;
    padding-top: 0.75rem;
    margin-top: 0.5rem;
}

.emergency-note p {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

.emergency-note i {
    color: #d97706;
    margin-right: 0.25rem;
}

/* Quick Actions */
.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.quick-actions .btn {
    width: 100%;
    padding: 0.75rem;
    font-weight: 600;
}

/* Contact Methods Grid */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.contact-method-card {
    background-color: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-method-card:hover {
    border-color: #1e3a8a;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.contact-method-card i {
    font-size: 2rem;
    color: #d97706;
    margin-bottom: 0.75rem;
}

.contact-method-card p {
    font-weight: 500;
    color: #1e3a8a;
    margin: 0;
}

/* Map Section */
.map-section {
    background-color: #f9fafb;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    border: 1px solid #e5e7eb;
}

.map-section i {
    font-size: 1rem;
    color: #d97706;
    margin-bottom: 0.75rem;
    margin-top: 0.75rem;
}

.map-section .map-title {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.map-section .map-address {
    color: #6b7280;
    margin-bottom: 1rem;
}

/* Form Buttons */
.form-actions {
    display: flex;
    gap: 0.75rem;
}

.form-actions .btn {
    flex: 1;
    padding: 0.75rem;
    font-weight: 600;
}

/* Consent Checkbox */
.consent-check {
    background-color: #f9fafb;
    padding: 0.75rem;
    border-radius: 0.375rem;
}

.consent-check .form-check-label {
    font-size: 0.875rem;
    color: #6b7280;
}

/* Responsive Design */
@media (max-width: 991px) {
    .contact-hero {
        min-height: 300px;
        padding: 3rem 1rem;
    }

    .contact-form-container {
        margin-bottom: 2rem;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .contact-hero {
        min-height: 250px;
    }

    .form-actions {
        flex-direction: column;
    }

    .urgency-options {
        flex-direction: column;
    }

    .office-info-card,
    .office-hours-card {
        padding: 1rem;
    }
}

@media (max-width: 575px) {
    .contact-form-container {
        padding: 1rem;
    }

    .contact-method-card {
        padding: 1rem;
    }

    .contact-method-card i {
        font-size: 1.5rem;
    }
}
