﻿/* ================================ */
/* ظ…ظ„ظپ ط§ظ„طھظ†ط³ظٹظ‚ ط§ظ„ظƒط§ظ…ظ„ ظ„ظ„ظ…ط´ط±ظˆط¹ ط§ظ„ط¬ط¯ظٹط¯ */
/* ================================ */

/* ط§ط³طھط¯ط¹ط§ط، ط§ظ„ط®ط· ط§ظ„ظ…ط­ظ„ظٹ */

/* 1. طھط¹ط±ظٹظپ ط§ظ„ظ…طھط؛ظٹط±ط§طھ ظˆط§ظ„ط£ظ„ظˆط§ظ† */
: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;
    --font-family: 'Almarai', sans-serif;
}

/* 2. ط§ظ„ط®ط· ط§ظ„ط£ط³ط§ط³ظٹ ظˆطھظ†ط³ظٹظ‚ ط§ظ„ط¹ظ†ط§ظˆظٹظ† */
body {
    font-family: var(--font-family);
    font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6,
.fw-bold {
    font-family: var(--font-family);
    font-weight: 800 !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%);
    background-color: rgba(14, 5, 5, 0.6);
    -webkit-backdrop-filter: blur(12px);
    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);
        -webkit-backdrop-filter: blur(12px);
        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);
    /* ط§ظ„ظ„ظˆظ† ط§ظ„ط¹ظ†ط§ط¨ظٹ */
    -webkit-backdrop-filter: blur(5px);
    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;
    -webkit-backdrop-filter: blur(10px);
    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;
}
/* =================================== */
/* 15. تنسيق محتوى المقالات (Article Content) */
/* =================================== */
article img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2rem auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

article img:hover {
    transform: scale(1.02);
}

article h2, article h3 {
    color: var(--brand-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

article p {
    line-height: 1.8;
    color: #444;
    margin-bottom: 1.5rem;
}


/* --- %9/'/'* DH-) 'D*-CE --- */
.card-header-label {
    font-size: 0.9rem;
    font-weight: bold;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.card-header-label::after {
    content: \
\;
    flex-grow: 1;
    height: 1px;
    background: #eee;
}
.advanced-settings {
    display: none;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border: 1px dashed #ddd;
}
#editor-container {
    height: 400px;
    background: white;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    font-family: 'Almarai', sans-serif;
}
@media (max-width: 768px) {
    #editor-container { height: 300px; }
    .ql-toolbar button { margin-right: 0 !important; }
}
.ql-toolbar {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background: #f1f1f1;
}
.ql-editor {
    font-size: 1.1rem;
    text-align: right;
    direction: rtl;
}
.ql-editor img {
    width: auto;
    height: 150px;
    border: 2px dashed #ccc;
    border-radius: 8px;
    margin: 10px 0;
    display: block;
    cursor: pointer;
}


/* 15. Article Cards on Homepage */
.article-card {
    transition: transform 0.3s ease, shadow 0.3s ease;
    border-radius: 12px !important;
    overflow: hidden;
}
.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}
.article-card .card-title a {
    transition: color 0.3s ease;
}
.article-card .card-title a:hover {
    color: var(--brand-accent) !important;
}

/* SEO & Performance Optimization */
img {
    max-width: 100%;
    height: auto;
    content-visibility: auto; /* Improve rendering performance */
}
.page-header {
    background-size: cover;
    background-position: center;
    background-color: var(--brand-primary); /* Fallback for CLS */
}


/* Breadcrumbs Enhancement */
.breadcrumb-item + .breadcrumb-item::before {
    content: '\2039'; /* Arabic-friendly separator */
    color: var(--brand-primary);
    font-weight: bold;
}
.breadcrumb {
    background: rgba(255, 255, 255, 0.8);
    padding: 10px 20px;
    border-radius: 50px;
    display: inline-flex;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.breadcrumb-item a {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 500;
}
.breadcrumb-item.active {
    color: var(--brand-secondary);
    font-weight: bold;
}



/* Social Share Bar */
.share-bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    z-index: 10;
    margin-top: 20px;
}
.share-label {
    font-weight: bold;
    color: var(--brand-primary);
    margin: 0;
    font-size: 0.9rem;
}
.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    text-decoration: none !important;
}
.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 12px rgba(0,0,0,0.15);
}
.share-whatsapp { background-color: #25D366; }
.share-twitter { background-color: #000000; }
.share-facebook { background-color: #4267B2; }

@media (max-width: 768px) {
    .share-bar {
        justify-content: center;
    }
}

