/* قسم التواصل - تصميم فخم Glass Morphism */

/* القسم الرئيسي */
.contact-luxury {
    position: relative;
    min-height: 100vh;
    padding: 120px 0;
    background: linear-gradient(135deg, #0f3460 0%, #16213e 50%, #1a1a2e 100%);
    overflow: hidden;
}

.contact-luxury::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(52, 152, 219, 0.06) 0%, transparent 50%);
    animation: bgMove 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes bgMove {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}

/* رأس القسم */
.contact-luxury .section-header {
    text-align: center;
    margin-bottom: 80px;
}

.contact-luxury .section-title {
    font-size: 4.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #d4af37 0%, #ffffff 50%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 5px 30px rgba(212, 175, 55, 0.3);
    margin-bottom: 20px;
    letter-spacing: 2px;
    animation: titlePulse 4s ease-in-out infinite;
}

@keyframes titlePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.02); }
}

.contact-luxury .section-description {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* المحتوى */
.contact-content-enhanced {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* بطاقات معلومات التواصل */
.contact-info-enhanced {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.contact-card-enhanced {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 25px;
    padding: 35px;
    display: flex;
    align-items: center;
    gap: 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    cursor: pointer;
}

.contact-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact-card-enhanced:hover {
    transform: translateX(-10px);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 
        0 20px 50px rgba(212, 175, 55, 0.2),
        0 0 40px rgba(212, 175, 55, 0.1);
}

.contact-card-enhanced:hover::before {
    opacity: 1;
}

/* أيقونة التواصل */
.contact-icon-enhanced {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.contact-card-enhanced:hover .contact-icon-enhanced {
    transform: rotate(360deg) scale(1.1);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.6);
}

.contact-icon-enhanced i {
    font-size: 2.2rem;
    color: #1a1a2e;
}

/* تفاصيل التواصل */
.contact-details {
    flex: 1;
    position: relative;
    z-index: 1;
}

.contact-details h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #d4af37;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

.contact-details p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 8px;
    line-height: 1.8;
}

.contact-details a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.contact-details a:hover {
    color: #d4af37;
    transform: translateX(5px);
}

.contact-details a i {
    font-size: 1.1rem;
    color: #d4af37;
}

/* نموذج التواصل */
.contact-form-enhanced {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(25px);
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 30px;
    padding: 50px;
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.contact-form-enhanced:hover {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 
        0 40px 100px rgba(212, 175, 55, 0.2),
        0 0 60px rgba(212, 175, 55, 0.1),
        inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.form-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #d4af37;
    margin-bottom: 15px;
    text-shadow: 0 3px 15px rgba(212, 175, 55, 0.4);
}

.form-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 40px;
}

/* مجموعة الحقول */
.form-group-enhanced {
    position: relative;
    margin-bottom: 30px;
}

.form-label {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: #d4af37;
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(212, 175, 55, 0.2);
}

/* حقول الإدخال */
.form-input-enhanced {
    width: 100%;
    padding: 18px 25px 18px 60px;
    font-size: 1.2rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(212, 175, 55, 0.2);
    border-radius: 15px;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
}

.form-input-enhanced::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-input-enhanced:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #d4af37;
    box-shadow: 
        0 0 25px rgba(212, 175, 55, 0.3),
        inset 0 2px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.form-input-enhanced.textarea {
    min-height: 150px;
    resize: vertical;
    padding-top: 20px;
}

/* أيقونة الحقل */
.input-icon {
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #d4af37;
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group-enhanced:focus-within .input-icon {
    color: #f4d03f;
    transform: translateY(-50%) scale(1.2);
}

/* زر الإرسال */
.submit-btn-enhanced {
    width: 100%;
    padding: 22px 40px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
    position: relative;
    overflow: hidden;
    margin-top: 30px;
}

.submit-btn-enhanced::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.submit-btn-enhanced:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 25px 60px rgba(212, 175, 55, 0.6),
        0 0 50px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #f4d03f 0%, #d4af37 100%);
}

.submit-btn-enhanced:hover::before {
    opacity: 1;
    animation: ripple 1.5s ease-in-out infinite;
}

@keyframes ripple {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

.submit-btn-enhanced:active {
    transform: translateY(-2px) scale(0.98);
}

.submit-btn-enhanced i {
    transition: transform 0.3s ease;
}

.submit-btn-enhanced:hover i {
    transform: translateX(-5px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-content-enhanced {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-luxury .section-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .contact-luxury {
        padding: 80px 0;
    }
    
    .contact-luxury .section-title {
        font-size: 2.8rem;
    }
    
    .contact-luxury .section-description {
        font-size: 1.3rem;
    }
    
    .contact-form-enhanced {
        padding: 35px 25px;
    }
    
    .form-title {
        font-size: 2rem;
    }
    
    .contact-card-enhanced {
        padding: 25px;
        gap: 20px;
    }
    
    .contact-icon-enhanced {
        width: 65px;
        height: 65px;
    }
    
    .contact-icon-enhanced i {
        font-size: 1.8rem;
    }
    
    .contact-details h3 {
        font-size: 1.5rem;
    }
    
    .contact-details p,
    .contact-details a {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .contact-luxury .section-title {
        font-size: 2.2rem;
    }
    
    .contact-card-enhanced {
        flex-direction: column;
        text-align: center;
    }
    
    .form-input-enhanced {
        padding: 15px 20px 15px 50px;
    }
    
    .submit-btn-enhanced {
        padding: 18px 30px;
        font-size: 1.3rem;
    }
}

/* تأثير تحميل النموذج */
.contact-form-enhanced.loading {
    pointer-events: none;
    opacity: 0.6;
}

.contact-form-enhanced.loading .submit-btn-enhanced::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 3px solid #1a1a2e;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* رسالة النجاح */
.success-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: rgba(212, 175, 55, 0.95);
    backdrop-filter: blur(20px);
    padding: 40px 60px;
    border-radius: 25px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.success-message.show {
    transform: translate(-50%, -50%) scale(1);
}

.success-message i {
    font-size: 4rem;
    color: #1a1a2e;
    margin-bottom: 20px;
}

.success-message p {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a2e;
}
