/* ========================================
   Contact Page Specific Styles
   ======================================== */

.page-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: var(--white);
    padding: 5rem 0 3rem;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
}

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

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

/* Contact Information */
.contact-info {
    position: sticky;
    top: 100px;
}

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

.contact-info p {
    margin-bottom: var(--spacing-xl);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: var(--spacing-xl);
}

.contact-method {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background-color: var(--light-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
}

.contact-method:hover {
    transform: translateX(-5px);
    box-shadow: var(--shadow-md);
}

.method-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.whatsapp-icon {
    background-color: var(--success-color);
}

.method-content h3 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.method-content a {
    font-size: 1.125rem;
    font-weight: 500;
    display: block;
    margin-bottom: 0.25rem;
}

.method-content p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
}

/* Business Hours */
.business-hours {
    background-color: var(--light-color);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
}

.business-hours h3 {
    margin-bottom: var(--spacing-md);
}

.business-hours ul {
    list-style: none;
}

.business-hours li {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.business-hours li:last-child {
    border-bottom: none;
}

/* Contact Form Container */
.contact-form-container {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

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

.contact-form-container > p {
    margin-bottom: var(--spacing-xl);
    color: var(--text-light);
}

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

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

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

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

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: #dc3545;
}

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

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.form-note {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.contact-form button[type="submit"] {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Form Messages */
.form-message {
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.form-message i {
    font-size: 1.5rem;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Map Section */
.map-section {
    background-color: var(--light-color);
    padding: var(--spacing-xxl) 0;
    text-align: center;
}

.map-section h2 {
    margin-bottom: 0.5rem;
}

.map-section p {
    margin-bottom: var(--spacing-xl);
}

.map-placeholder {
    max-width: 800px;
    margin: 0 auto;
    padding: 5rem 2rem;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--border-color);
}

.map-placeholder i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.map-placeholder p {
    color: var(--text-light);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 3rem 0 2rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
    }
    
    .method-icon {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .contact-form-container {
        padding: 1.25rem;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.75rem;
    }
}

/* RTL Adjustments */
[dir="rtl"] .contact-method:hover {
    transform: translateX(5px);
}

[dir="rtl"] .method-icon {
    margin-right: auto;
    margin-left: 0;
}

[dir="rtl"] .form-message {
    flex-direction: row-reverse;
}
