/* 
 * تنسيقات صفحة الاتصال - نادي الصقور للتنمية
 * تم إنشاؤه في: 30 يوليو 2025
 */

:root {
    --primary-color: #1c4f82;
    --secondary-color: #e6b400;
    --dark-color: #0a2240;
    --light-color: #f8f9fa;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --primary-rgb: 28, 79, 130;
    --secondary-rgb: 230, 180, 0;
}

/* تنسيقات عامة للصفحة */
.contact-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

/* تنسيقات العنوان الرئيسي */
.page-title-section {
    background-color: var(--primary-color);
    color: #fff;
    padding: 60px 0;
    position: relative;
    margin-bottom: 30px;
}

.page-title-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/patterns/pattern-light.png');
    background-repeat: repeat;
    opacity: 0.1;
}

.section-divider {
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 0 auto;
}

/* تنسيقات البريدكرمب */
.breadcrumb-container {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 30px;
    margin-top: 15px;
}

.breadcrumb {
    margin-bottom: 0;
    padding: 0;
    background-color: transparent;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--secondary-color);
}

.breadcrumb-item.active {
    color: var(--secondary-color);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* تنسيقات نموذج الاتصال */
.contact-form {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.contact-form:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.contact-form label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.contact-form .form-control {
    border: 2px solid #e9ecef;
    padding: 14px 18px;
    height: auto;
    border-radius: 10px;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    font-size: 16px;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.15);
    background-color: #fff;
    transform: translateY(-2px);
}

.contact-form .form-select {
    border: 2px solid #e9ecef;
    padding: 14px 18px;
    height: auto;
    border-radius: 10px;
    background-color: #f8f9fa;
    font-size: 16px;
    transition: all 0.3s ease;
}

.contact-form .form-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.15);
    background-color: #fff;
    transform: translateY(-2px);
}

.contact-form textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.contact-form .btn-primary {
    padding: 14px 28px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-form .btn-primary:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    z-index: -1;
}

.contact-form .btn-primary:hover {
    background-color: var(--dark-color);
    border-color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.4);
}

.contact-form .btn-primary:hover:before {
    width: 100%;
}

.pagination .page-item .page-link:hover {
    background-color: #f8f9fa;
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: scale(1.1);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.5);
}

/* تنسيقات الخريطة */
.map-container {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    border-top: 4px solid var(--primary-color);
    background-color: #ffffff;
}

.map-container:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.map-container iframe {
    flex-grow: 1;
    border-radius: 15px;
}

.map-container small {
    padding: 10px;
    text-align: center;
    background-color: #f8f9fa;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

.map-container small a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.map-container small a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* تنسيقات معلومات الاتصال */
.contact-info {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
    border-top: 4px solid #007bff;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(var(--primary-rgb), 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    color: var(--primary-color);
    font-size: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.2);
}

.contact-info-item:hover .contact-info-icon {
    transform: scale(1.1) rotate(5deg);
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.4);
}

.contact-info-content h5 {
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.contact-info-content p {
    color: #6c757d;
    margin-bottom: 0;
}

/* تنسيقات متجاوبة */
@media (max-width: 991px) {
    .map-container {
        margin-top: 30px;
        min-height: 350px;
    }
    
    .contact-info-item {
        margin-bottom: 15px;
    }
}

@media (max-width: 767px) {
    .contact-form {
        padding: 20px;
    }
    
    .contact-section {
        padding: 40px 0;
    }
    
    .about-hero-section {
        padding: 60px 0 30px;
    }
    
    .contact-form .form-control,
    .contact-form .form-select {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .contact-form .btn-primary {
        padding: 12px 20px;
    }
}

/* تأثيرات حركية */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.contact-form {
    animation: slideInRight 0.8s ease-out forwards;
}

.map-container {
    animation: slideInLeft 0.8s ease-out forwards;
}

.contact-info-item {
    animation: fadeIn 0.8s ease-out forwards;
}

.contact-info-item:nth-child(1) {
    animation-delay: 0.1s;
}

.contact-info-item:nth-child(2) {
    animation-delay: 0.3s;
}

.contact-info-item:nth-child(3) {
    animation-delay: 0.5s;
}

/* تنسيقات رسائل التنبيه */
.alert {
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 20px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-right: 4px solid #28a745;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-right: 4px solid #dc3545;
}
