/* الألوان الأساسية: #343a40 (رمادي غامق/رئيسي) و #FFC107 (ذهبي/أصفر) */

/* تنسيق عام للموقع */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    background-color: #F8F8F8; 
    color: #333333;
    line-height: 1.7;
    direction: rtl;
    text-align: center;
}
/* ---------------------------------------------------------------------- */
/* تنسيق الهيدر والشعار (صورة خلفية بدلاً من اللون) */
/* ---------------------------------------------------------------------- */
.agency-header {
    /* تغيير الخلفية من اللون إلى الصورة */
    background-image: url('images/china_skyline_background.jpg'); /* **يجب عليك إضافة هذه الصورة إلى مجلد images** */
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
    padding: 30px 5%;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
}

/* إضافة طبقة تظليل (Overlay) لضمان وضوح النص فوق الصورة */
.agency-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* تظليل رمادي غامق/أسود بنسبة شفافيه 50% */
    background-color: rgba(52, 58, 64, 0.5); 
    z-index: 1;
}

/* رفع مستوى ظهور جميع محتويات الهيدر فوق طبقة التظليل */
.logo-container, .header-content {
    position: relative;
    z-index: 2;
}

.logo-container {
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
}

/* تنسيق صورة الشعار */
.logo-img {
    width: 130px; 
    height: auto; 
    object-fit: contain;
    margin-bottom: 10px;
    border-radius: 0; 
    border: none; 
    box-shadow: none; 
}

.logo-text {
    font-size: 2.2em;
    font-weight: 900;
    color: #FFC107; /* لون ذهبي */
    margin-bottom: 5px;
}

.icon-gold {
    color: #FFC107;
    margin-left: 5px;
}

/* زر المشاركة (يبقى لونه ذهبيًا ليتناسب مع الخلفية الداكنة) */
.share-button {
    background-color: #FFC107; 
    color: #343a40; 
    border: none;
    padding: 15px 30px;
    font-size: 1.2em;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
}


/* ---------------------------------------------------------------------- */
/* تنسيق بطاقات الرحلة (صورة بالاعلى، محتوى بالاسفل) */
/* ---------------------------------------------------------------------- */
.itinerary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 35px;
    padding: 20px 5%;
}

.day-card {
    background-color: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s, box-shadow 0.5s;
    border: 3px solid #FFC107; 
    opacity: 0; 
    animation: fadeInSlide 1s ease-out forwards;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.day-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

/* تنسيق غلاف الصورة */
.card-image-wrapper {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

/* التظليل لاسم الرحلة */
.card-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.1) 100%);
}

/* عنوان الرحلة على الصورة */
.card-title-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 15px;
    color: white;
    font-size: 1.5em;
    font-weight: 700;
    z-index: 10;
}

/* محتوى البطاقة (النص) في الأسفل */
.card-content {
    padding: 20px;
    color: #333; 
}

.card-content h2 {
    font-size: 1.6em;
    color: #343a40; 
    border-bottom: 2px solid #FFC107;
    padding-bottom: 8px;
    margin-bottom: 15px;
}

.highlight-point {
    border-right: 3px solid #FFC107;
    padding-right: 10px;
    color: #555;
    font-size: 0.95em;
    margin-bottom: 10px;
}

/* تنسيق الطقس */
.weather {
    font-weight: bold;
    color: #343a40; 
    font-size: 1em;
    margin-top: 15px;
    padding-top: 5px;
    border-top: 1px solid #eee;
}

.weather .fas {
    color: #17a2b8; 
    margin-left: 5px;
}


/* ---------------------------------------------------------------------- */
/* تنسيق نموذج المشاركة والحجز (تم تبسيطه وإصلاح شكله) */
/* ---------------------------------------------------------------------- */
.booking-section {
    max-width: 700px;
    margin: 50px auto;
    padding: 40px;
    background-color: white;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-top: 5px solid #FFC107; 
    text-align: center;
}

.booking-section h2 {
    color: #343a40; 
    margin-bottom: 20px;
}

.booking-form {
    text-align: right;
    /* إزالة تنسيقات الـ grid والـ flex هنا لضمان الثبات */
}

.form-group {
    margin-bottom: 25px;
    text-align: right;
}

.form-group label {
    align-items: center;
    justify-content: flex-end; /* المحاذاة لليمين */
    font-weight: 700;
    margin-bottom: 5px;
    color: #333;
    text-align: right;
}
}

.form-group label .fas {
    order: 2; /* وضع الأيقونة يسار النص */
    margin-left: 8px;
    margin-right: 0;
}



.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-top: 5px; /* مسافة بين التسمية والحقل */
}

.form-group input:focus {
    border-color: #FFC107; 
    box-shadow: 0 0 5px rgba(255, 193, 7, 0.5);
}



.radio-group label {
    font-weight: 400; /* تخفيف وزن الخط للخيار */
}

.radio-group input[type="radio"] {
    accent-color: #FFC107; 
    margin-left: 5px; 
}


.radio-container {
    text-align: right; /* ضمان أن يكون السؤال لليمين */
}
/* إصلاح الخط الأخضر الذي يظهر تحت حقل أزرار الراديو */
.form-group:last-of-type {
    border-bottom: none; 
}

/* تنسيق أزرار الراديو (نعم/لا) */
.radio-group {
    display: flex;
    justify-content: flex-end; 
    gap: 30px;
    margin-top: 10px;
    padding-bottom: 10px;
}


.radio-group {
    display: flex;
    justify-content: flex-end; 
    gap: 30px;
    margin-top: 10px;
}

.radio-group input[type="radio"] {
    accent-color: #FFC107; 
    margin-left: 5px; 
}

.submit-button {
    background-color: #FFC107;
    color: #343a40; 
    width: 100%;
    margin-top: 20px;
    padding: 15px 40px;
    font-size: 1.2em;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    cursor: pointer;
}

/* ---------------------------------------------------------------------- */
/* تنسيق رسالة النجاح والتذييل */
/* ---------------------------------------------------------------------- */
.submission-status {
   /*  border: 2px solid #28a745; 
    background-color: #e6ffe6; 
    color: #28a745;
    padding: 30px; */
    border-radius: 12px;
    margin-top: 30px;
    text-align: center;
}

footer {
    background-color: #343a40; 
    color: white;
    padding: 30px 20px;
    margin-top: 40px;
}