/* Contact Us Page Specific Styles */

/* Main container */
.contact-us-main {
    padding: 0 5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-us-section {
    padding: 2rem 0;
}

.contact-us-title {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-hard);
}

.contact-us-content {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* Map section */
.contact-map-section {
    padding: 2rem;
    background: #f8f9fa;
}

.contact-map-container {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

/* Form section */
.contact-form-section {
    padding: 2rem;
    background: #fff;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
}

.contact-form-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-hard);
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-form-group {
    flex: 1;
    margin-bottom: 0;
}

.contact-form-group label {
    display: block;
    font-weight: 600;
    color: var(--secondary-hard);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.contact-form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}

.contact-form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.1);
}

.contact-form-control::placeholder {
    color: #6c757d;
    font-size: 0.9rem;
}

.contact-textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-submit-btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: var(--primary-soft);
    color: var(--primary-color);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.contact-submit-btn:hover {
    background: var(--primary-color-onhover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(var(--primary-color-rgb), 0.3);
}

.contact-submit-btn:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1199px) {
    .contact-us-main {
        padding: 1.5rem 1rem;
    }
    
    .contact-us-title {
        font-size: 2rem;
    }
    
    /* Force stacked layout on tablet - same as mobile */
    .row.g-0 {
        flex-direction: column;
    }
    
    .col-lg-7,
    .col-lg-5 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    
    .contact-map-container {
        height: 300px;
    }
    
    .contact-form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .contact-form-group {
        margin-bottom: 1rem;
    }
}

@media (max-width: 768px) {
    .contact-us-main {
        padding: 1rem 0.5rem;
    }
    
    .contact-us-section {
        padding: 1rem 0;
    }
    
    .contact-us-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-us-content {
        border-radius: 8px;
    }
    
    .contact-map-section {
        padding: 1.5rem;
    }
    
    .contact-map-container {
        height: 300px;
    }
    
    .contact-form-section {
        padding: 1.5rem;
    }
    
    .contact-form-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .contact-form-control {
        padding: 0.625rem 0.875rem;
        font-size: 0.9rem;
    }
    
    .contact-submit-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .contact-us-main {
        padding: 0.75rem 0.25rem;
    }
    
    .contact-us-title {
        font-size: 1.5rem;
    }
    
    .contact-map-section {
        padding: 1rem;
    }
    
    .contact-map-container {
        height: 250px;
    }
    
    .contact-form-section {
        padding: 1rem;
    }
    
    .contact-form-title {
        font-size: 1.1rem;
    }
    
    .contact-form-control {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
    
    .contact-textarea {
        min-height: 100px;
    }
    
    .contact-submit-btn {
        padding: 0.625rem 1rem;
        font-size: 0.85rem;
    }
}

/* Form validation styles */
.contact-form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.contact-form-control.is-valid {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

/* Loading state */
.contact-submit-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

.contact-submit-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Success/Error messages */
.contact-message {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.contact-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.contact-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
