/* ================================ */
/* ملف التنسيق الكامل للمشروع الجديد */
/* ================================ */

/* استدعاء الخط المحلي */

@font-face {

    font-family: 'Almarai';

    src: url('../font/Almarai-Light.ttf') format('truetype');

    font-weight: 400; /* الوزن العادي */

    font-style: normal;

}

@font-face {

    font-family: 'Almarai';

    src: url('../font/Almarai-Light.ttf') format('truetype');

    font-weight: 700; /* الوزن العريض */

    font-style: normal;

}

/* 2. تعريف متغيرات الألوان الجديدة */
:root {
    --brand-primary: #8F212F;
    --brand-accent: #ffa856;
    --bs-primary: var(--brand-primary);
    --bs-primary-rgb: 143, 33, 47;
    --bs-warning: var(--brand-accent);
    --bs-warning-rgb: 247, 185, 127;
    --bs-warning-text: #533112;
}

/* 3. تطبيق الخط الأساسي على الموقع */
body {
    font-family: 'Almarai', sans-serif;
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6,
.fw-bold {
    font-weight: 700 !important;
}

/* 4. تنسيق كلاس الأيقونات SVG */
.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    stroke-width: 0;
    stroke: currentColor;
    fill: currentColor;
    vertical-align: -0.125em;
}

/* 5. تصميم الفوتر */
.main-footer {
    background-color: #212529;
    color: #adb5bd;
}

.main-footer .footer-title {
    color: var(--brand-accent);


}

.main-footer .footer-links a {
    color: #adb5bd;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.main-footer .footer-links a:hover {
    color: #fff;
    transform: translateX(-5px);
}

.main-footer .footer-contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    text-align: right;
}

.main-footer .footer-contact-info .icon-wrapper {
    font-size: 1.2rem;
    color: var(--brand-accent);
    margin-left: 10px;
    margin-top: 3px;
}

.main-footer bdi {
    direction: ltr;
    display: inline-block;
}

/* 6. تصميم بطاقات الخدمات */
.service-card {
    border: 1px solid #e9ecef;
    border-radius: 1rem;
    transition: all 0.3s ease-in-out;
    background-color: #fff;
    padding: 1rem;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
    border-color: var(--brand-accent);
}

.service-card .service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--brand-primary);
    color: #fff;
    font-size: 2.2rem;
    transition: all 0.3s ease-in-out;
}

.service-card:hover .service-icon {
    background-color: var(--brand-accent);
    color: var(--brand-primary);
}

/* 7. تصميم قسم "لماذا تختارنا؟" */
.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background-color: var(--bs-light);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background-color: #fff;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.075);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2rem;
    color: var(--brand-primary);
}

/* 8. الأزرار العائمة */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1030;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.floating-buttons a {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
    text-decoration: none;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.floating-buttons a:hover {
    transform: scale(1.1);
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-whatsapp-float {
    background-color: #25D366;
}

.btn-phone-float {
    background-color: #007bff;
}

/* ================================ */
/* 9. Custom Navbar Brand Styling   */
/* ================================ */

.navbar-brand .brand-name {
    display: block;
    font-size: 1.25rem;
    /* يمكنك تعديل الحجم حسب رغبتك */
    font-weight: 700;
    color: var(--brand-primary);
    /* اللون البيج/المشمشي من هويتنا البصرية */
    line-height: 1.1;
}

.navbar-brand .brand-phone {
    display: block;
    font-size: 1rem;
    letter-spacing: 1.9px;
    /* حجم أصغر للرقم */
    font-weight: 400;
    color: var(--brand-primary);
    /* اللون العنابي من هويتنا البصرية */
    direction: ltr;
    /* لعرض الرقم بشكل صحيح من اليسار لليمين */
}

.navbar-brand img {
    width: 70px;
}

/* ================================ */
/* 10. Hero Section Slider          */
/* ================================ */
.hero-slider-image {
    aspect-ratio: 4 / 3;
    /* لتوحيد أبعاد الصور في السلايدر */
    object-fit: cover;
    /* لضمان ملء الصورة للمساحة بدون تشويه */
    width: 100%;
}

/* ================================ */
/* 11. Mini Gallery Uniform Size    */
/* ================================ */
.mini-gallery-item {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    /* نفس النسبة لتوحيد الحجم */
    transition: transform 0.3s ease;
}

.mini-gallery-item:hover {
    transform: scale(1.05);
}

.mini-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* =================================== */
/* Styles for Portfolio Page           */
/* =================================== */

/* 12. Page Header */
/* ================================ */
/* 12. Page Header (Updated Design) */
/* ================================ */

.page-header {
    position: relative;
    /* ضروري لوضع الطبقة اللونية */
    background-size: cover;
    background-position: center center;
    color: #fff;
    height: 60vh;
    /* لون النص الافتراضي أبيض */
}

/* الطبقة اللونية شبه الشفافة */
.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* استخدام اللون العنابي الأساسي مع شفافية 85% */
    background-color: rgba(0, 0, 0, 0.701);
    z-index: 1;
    /* للتأكد أنها تحت النص */
}

/* تعديل لون النص الفرعي ليكون أوضح */
.page-header .lead {
    color: rgba(255, 255, 255, 0.75) !important;

    /* لون أبيض بشفافية أقل */
}

.page-header h1 {
    /* 1. نضع الخلفية التي نريدها (الصورة أو التدرج) */
    background-image: url('../images/orange-gradient.png');
    background-size: cover;
    /* لجعل الخلفية تملأ النص بالكامل */
    background-position: center;
    /* لتوسيط الخلفية */
    background-repeat: no-repeat;

    /* 2. هذا هو السطر الأهم: "نقص" الخلفية لتأخذ شكل النص فقط */
    -webkit-background-clip: text;
    background-clip: text;

    /* 3. نجعل لون النص "شفافًا" لتظهر الخلفية من خلاله */
    color: transparent;

    /* 4. (اختياري ولكن يُفضل) لضمان أن الخلفية لا تمتد لأبعد من النص */
    display: inline-block;

    /* 5. الحشوة التي أضفتها */
    padding: 8px;
}

/* 13. Service Highlight Cards */
.service-highlight-card {
    border: 1px solid var(--bs-border-color);
    border-radius: var(--bs-border-radius-xl);
    transition: all 0.3s ease;
}

.service-highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--bs-box-shadow-lg);
    border-color: var(--brand-accent);
}

.service-highlight-card .icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--brand-primary);
    color: #fff;
    font-size: 2.5rem;
    margin: 0 auto;
    transition: background-color 0.3s ease;
}

.service-highlight-card:hover .icon-circle {
    background-color: var(--brand-accent);
}


/* 14. Book Now Section */
.booking-card {
    border-radius: var(--bs-border-radius-xl);

    box-shadow: var(--bs-box-shadow-lg);
    margin-bottom: 4rem;
}

.booking-img-wrapper {
    position: relative;
    border-radius: var(--bs-border-radius-xl);
    height: 500px;
    display: flex;
    overflow: hidden;


}

.booking-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: auto;
}

.booking-content-box {
    position: absolute;
    bottom: -90px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    background-color: hsl(rgba(14, 5, 5, 0.714)/ .6);
    backdrop-filter: blur(12px);
    padding: 1rem;
    border-radius: var(--bs-border-radius-lg);
    text-align: center;
    z-index: 3;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 767.98px) {
    .booking-content-box {
        position: absolute;
        bottom: -90;
        text-align: center;
        padding: 0.5rem;
        width: 70%;
        left: 50%;
        transform: translateX(-50%);
        background-color: hsl(rgba(14, 5, 5, 0.714)/ .6);
        backdrop-filter: blur(12px);
        border-radius: var(--bs-border-radius-xl) var(--bs-border-radius-xl);
        box-shadow: none;
        border-top: 1px solid var(--bs-border-color);
    }

    .book-now-section .booking-card {
        border-radius: var(--bs-border-radius-lg);
    }
}


/* 15. Full Gallery Section */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--bs-border-radius-lg);
    box-shadow: var(--bs-box-shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 4 / 3;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--bs-box-shadow-lg);
    z-index: 10;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item .name-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: rgba(143, 33, 47, 0.9);
    /* اللون العنابي */
    backdrop-filter: blur(5px);
    padding: 0.3rem 0.85rem;
    border-radius: var(--bs-border-radius-pill);
    font-size: 0.8rem;
    font-weight: bold;
    color: #fff;
    /* نص أبيض */
    pointer-events: none;
}

.gallery-item .logo-watermark-gallery {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background-color: rgba(222, 222, 222, 0.9);
    padding: 0.3rem 0.5rem;
    backdrop-filter: blur(10px);


    /* background-image: url(../images/orange-gradient.png); */
    background-position: right center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: var(--bs-border-radius-sm);
    opacity: 1;
    pointer-events: none;
}

.gallery-item .logo-watermark-gallery img {
    height: 20px;
    width: auto;
}

/* ================================ */
/* 12. Statistics Section Styling   */
/* ================================ */

.stats-section {
    background-color: #fff;
    /* خلفية بيضاء للقسم */
}

.stat-item {
    padding: 2rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background-color: var(--bs-light);
    box-shadow: 1px 1px 5px 0 rgba(88, 76, 76, 0.353);
    /* تغيير بسيط للخلفية عند المرور */
}

.stat-icon {
    font-size: 3rem;
    /* حجم الأيقونة */
    color: var(--brand-primary);
    /* اللون العنابي للأيقونة */
}

.stat-number {
    font-size: 2.5rem;
    /* حجم الرقم */
    color: var(--brand-accent);
    /* اللون البيج للرقم */
    margin-bottom: 0.5rem;
}

/* ================================ */
/* 13. Category Cards Styling       */
/* ================================ */
.category-card {
    border: none;
    /* إزالة الإطار الافتراضي */
    transition: all 0.3s ease;
    overflow: hidden;
    /* مهم لتأثير الصورة */
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--bs-box-shadow-lg) !important;
}

.category-card .card-img-top {
    aspect-ratio: 16 / 9;
    /* نسبة عرض إلى ارتفاع للصورة */
    object-fit: cover;
    transition: transform 0.4s ease;
}

.category-card:hover .card-img-top {
    transform: scale(1.05);
    /* تكبير بسيط للصورة عند المرور */
}

.category-card .card-body {
    background-color: #fff;
    /* خلفية بيضاء للجزء السفلي */
}

/* ================================ */
/* 14. Category Page Content        */
/* ================================ */
.category-content-section ul {
    list-style: none;
    padding-right: 0;
    /* إزالة الحشوة الافتراضية للقائمة */
}

.category-content-section ul li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.category-content-section ul li::before {
    content: '\F26A';
    /* رمز Bootstrap Icons للصح */
    font-family: bootstrap-icons !important;
    color: var(--brand-accent);
    /* لون البيج */
    margin-left: 0.5rem;
    /* مسافة بين الأيقونة والنص */
    font-size: 1.2rem;
}

/* ================================ */
/* 14. Category Page Content        */
/* ================================ */
.category-content-section ul {
    list-style: none;
    padding-right: 0;
}

.category-content-section ul li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

/* 👇 هذا الجزء هو المسؤول عن إضافة الأيقونة 👇 */
.category-content-section ul li::before {
    content: '\F26A';
    /* رمز Bootstrap Icons للصح (Checkmark) */
    font-family: bootstrap-icons !important;
    /* للتأكد من استخدام خط الأيقونات */
    color: var(--brand-accent);
    /* لون البيج */
    margin-left: 0.5rem;
    /* مسافة بين الأيقونة والنص */
    font-size: 1.2rem;
}


/* =================================== */
/* Styles for About & Contact Page   */
/* =================================== */

/* 16. Contact Details List Styling */
.contact-details-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.contact-details-list .icon-wrapper {
    font-size: 1.5rem;
    /* حجم أكبر للأيقونة */
    color: var(--brand-accent);
    /* اللون البيج */
    margin-left: 1rem;
    /* مسافة لليمين (لأننا RTL) */
    margin-top: 5px;
    flex-shrink: 0;
    /* لمنع الأيقونة من التقلص */
}

.contact-details-list strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--brand-primary);
    /* اللون العنابي للعنوان الفرعي */
}

.contact-details-list p {
    margin: 0;
    color: var(--bs-gray-700);
    /* لون أغمق قليلاً للنص */
}

/* لتنسيق الأرقام والهواتف بشكل صحيح LTR */
.contact-details-list bdi {
    direction: ltr;
    display: inline-block;
}