/* ======== إعدادات عامة ======== */

body {
    font-family: 'Cairo', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f7f6;
    color: #333;
    direction: rtl;
}

.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
}

/* ======== تصميم القائمة العلوية ======== */
.main-header {
    background-color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 10px 20px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5em;
    font-weight: 700;
    color: #007BFF;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    padding: 10px 15px;
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: #0056b3;
}

/* ======== تصميم قسم العروض ======== */
#offers-section h1 {
    text-align: center;
    color: #007BFF;
    margin-bottom: 10px;
}

#offers-section p {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* ======== تصميم بطاقة العرض ======== */
.offer-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.offer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.offer-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.offer-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* لجعل المحتوى يملأ المساحة المتاحة */
}

.offer-tag {
    align-self: flex-start;
    padding: 5px 12px;
    border-radius: 20px;
    color: #fff;
    font-size: 0.8em;
    font-weight: bold;
    margin-bottom: 10px;
}

.umrah-tag { background-color: #28a745; }
.tourism-tag { background-color: #17a2b8; }
.hajj-tag { background-color: #dc3545; }

.offer-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #003366;
}

.offer-duration {
    font-size: 0.9em;
    color: #888;
    margin-bottom: 15px;
}

.offer-details {
    flex-grow: 1; /* يدفع التذييل للأسفل */
    color: #555;
    line-height: 1.6;
}

.offer-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.offer-price {
    font-size: 1.4em;
    font-weight: 700;
    color: #007BFF;
}

.details-button {
    background-color: #266f76;
    color: #fff;
    padding: 8px 18px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.details-button:hover {
    background-color: #266f76;
}

/* ======== تصميم التذييل ======== */
.main-footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: #fff;
    margin-top: 40px;
}/*
========================================
 أكواد تصميم صفحة "اتصل بنا"
========================================
*/

.contact-section {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-header h1 {
    color: #007BFF;
    margin-bottom: 10px;
}

.contact-header p {
    color: #666;
    font-size: 1.1em;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

/* ======== تصميم نموذج الإدخال ======== */
.contact-form {
    flex: 2; /* يأخذ مساحة أكبر */
    min-width: 300px;
}

.contact-form h2, .contact-info h2 {
    color: #003366;
    border-bottom: 2px solid #007BFF;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: 'Cairo', sans-serif;
    font-size: 1em;
    box-sizing: border-box; /* يمنع تغيير حجم العنصر عند إضافة padding */
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007BFF;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.submit-button {
    background-color: #007BFF;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background-color: #0056b3;
}

/* ======== تصميم معلومات التواصل ======== */
.contact-info {
    flex: 1; /* يأخذ مساحة أصغر */
    min-width: 300px;
}

.contact-info p {
    line-height: 1.7;
    color: #555;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.info-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1em;
}

.info-list li i {
    color: #007BFF;
    font-size: 1.4em;
    width: 30px; /* لتنسيق الأيقونات */
    margin-left: 15px;
}

.info-list li a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.info-list li a:hover {
    color: #007BFF;
}

.map-container {
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #ddd;
}

/* ======== تصميم متجاوب مع الشاشات الصغيرة ======== */
@media (max-width: 768px) {
    .contact-content {
        flex-direction: column;
    }
    .contact-section {
        padding: 20px;
    }
}