/* =================================================================
   VIAMINGLE: CUSTOM STYLES FOR EXTRA SERVICES SECTION
   Added to custom.css for high priority
   ================================================================= */

/* 1. Main Section Wrapper */
.viamingle-services-wrapper {
    background-color: #07074b; /* Your primary dark blue from colors.css */
    border-radius: 12px;
    padding: 30px;
    margin-top: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    border: none;
}

/* 2. Section Title (Legend) */
.viamingle-services-wrapper legend {
    color: #ffa200; /* Your primary orange/gold accent */
    font-size: 50px;
    font-weight: bold;
    text-align: center;
    width: 100%;
    padding-bottom: 15px;
    margin-bottom: 25px;
    border-bottom: 2px solid rgba(255, 162, 0, 0.5); /* Semi-transparent accent line */
}

/* 3. The Individual Service Card (styling the .row.form-group) */
.viamingle-services-wrapper .row.form-group {
    background: #092049; /* The slightly lighter blue from your header */
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 5px solid #5191FA; /* Your theme's link color as an accent */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
}

/* 4. Hover & Interaction Effect */
.viamingle-services-wrapper .row.form-group:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* 5. Text Styling inside the Card */
.viamingle-services-wrapper .row.form-group label {
    color: #FFFFFF;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 0;
}

.viamingle-services-wrapper .row.form-group label small {
    color: #bdc3c7; /* Light grey for readability */
    font-size: 13px;
    font-weight: 300;
    display: block;
    margin-top: 5px;
}

/* 6. Price Display */
.viamingle-services-wrapper .row.form-group .text-right {
    color: #FFFFFF;
    font-size: 18px;
    font-weight: bold;
    margin-left: auto; /* Push price to the right */
}








/************************************************************/
/**********  (الحل النهائي) صلاح العرض على الشاشات الكبيرة   **********/
/************************************************************/

/* 
 *  هذه الاعدة تعمل فقط على الشاشات التي يزي عرضها عن 1400 بكسل
 *  وهي تستهدف الحوية الرئيسية في الصفحة الرئيسية فقط (التي لها id="page-1")
*/
@media (min-width: 1401px) {
    
    body#page-1 .container {
        width: 1380px !important;
        max-width: 1380px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

}



/************************************************************/
/**********  (الحل النهائي) إصلاح شامل لصور البطقات   **********/
/************************************************************/

/* 
 *  نستهدف كل أنواع اويات الصور في البطاقات
 *  (لصفحة الفنادق، الوجهات، والأنشطة)
*/
.isotopeItem .img-container,
.booking-result .img-container,
article .img-container {
    display: block;
    position: relative; /* ضروري للخطوات التالية */
    overflow: hidden;   /* لإخفاء أي أجزاء تخرج عن الإطار */
    
    /* الخطوة 1: تحديد نسبة العرض إلى الارتفاع (Aspect Ratio) */
    /* هذا سيضن أن كل الحاويات ها نفس الشكل */
    height: 0;
    padding-bottom: 65%; /* نسبة 4:3 تقريبً. يمكنك تغييرها لى 75% لنسبة 3:4 */
    
    background-color: #e9e9e9; /* لون خلفية يظهر أثناء التحميل */
    border-radius: 6px; /* لجع حواف الصورة دائرية */
}

/* 
 *  الخطة 2: جعل الصورة تمأ الحاوية بشكل صحيح
*/
.isotopeItem .img-container img,
.booking-result .img-container img,
article .img-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* الخاصية السحرية: تملأ الحاوية بدو تشويه */
    object-position: center;
    transition: transform 0.4s ease;
}

/* 
 *  الخطوة 3: إخفاء مؤشر التحميل القديم
 *  هذا يستهدف المربعات الزرقاء ويخفيها
*/
.isotopeItem .img-container .more-action,
.booking-result .img-container .more-action,
article .img-container .more-action {
    display: none !important;
}

/* (اختياري) إضافة تأثير جميل عند مرور الماس */
.isotopeItem:hover img,
.booking-result:hover img,
article:hover img {
    transform: scale(1.05);
}








