/* =========================================================
   AL-YAQEEN
   ARABISCHE SERVICES – NEUER BEREICH
========================================================= */

.yaqeen-ar-services {
    width: 100%;
    padding: 30px 0;
    background: #173b2b;
    direction: rtl;
    box-sizing: border-box;
}

.yaqeen-ar-services *,
.yaqeen-ar-services *::before,
.yaqeen-ar-services *::after {
    box-sizing: border-box;
}


/* =========================================================
   CONTAINER
========================================================= */

.yaqeen-ar-services-container {
    width: 92%;
    max-width: 1450px;
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.yaqeen-ar-services-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 45px;
}

.yaqeen-ar-services-title {
    text-align: right;
}

.yaqeen-ar-services-title span {
    display: block;
    margin-bottom: 8px;
    color: #c89b3c;
    font-size: 16px;
    font-weight: 700;
}

.yaqeen-ar-services-title h2 {
    margin: 0;
    color: #ffffff;
    font-size: 38px;
    font-weight: 800;
    line-height: 1.4;
}


/* =========================================================
   NAVIGATION
========================================================= */

.yaqeen-ar-services-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 28px;
}

.yaqeen-ar-services-nav-link {
    position: relative;
    display: inline-block;

    padding: 8px 0;

    color: #bdbdbd;

    font-size: 16px;
    font-weight: 600;

    line-height: 1.5;

    text-decoration: none;
    white-space: nowrap;

    cursor: pointer;

    transition:
        color 0.25s ease;
}

.yaqeen-ar-services-nav-link::after {
    content: "";

    position: absolute;

    right: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background: #c89b3c;

    transition:
        width 0.25s ease;
}

.yaqeen-ar-services-nav-link:hover,
.yaqeen-ar-services-nav-link.active {
    color: #c89b3c;
}

.yaqeen-ar-services-nav-link:hover::after,
.yaqeen-ar-services-nav-link.active::after {
    width: 100%;
}


/* =========================================================
   ALLE SERVICES
========================================================= */

.yaqeen-ar-services-all {
    display: block;
}


/* =========================================================
   ALLE SERVICES
   1 GROSSES BILD + 6 KLEINE BILDER
========================================================= */

.yaqeen-ar-services-grid {
    display: grid;

    grid-template-columns: 1fr 2fr;

    gap: 22px;

    width: 100%;
}


/* =========================================================
   GROSSES BILD
========================================================= */

.yaqeen-ar-services-feature {
    position: relative;

    min-height: 470px;

    overflow: hidden;

    border-radius: 14px;

    background: #ffffff;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.15);
}

.yaqeen-ar-services-feature-image {
    width: 100%;
    height: 100%;
}

.yaqeen-ar-services-feature-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.4s ease;
}

.yaqeen-ar-services-feature:hover
.yaqeen-ar-services-feature-image img {
    transform: scale(1.04);
}


/* Text auf großem Bild */

.yaqeen-ar-services-feature-content {
    position: absolute;

    right: 0;
    bottom: 0;
    left: 0;

    padding: 35px 25px 25px;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.78),
            rgba(0, 0, 0, 0)
        );

    text-align: right;
}

.yaqeen-ar-services-feature-content h3 {
    margin: 0;

    color: #ffffff;

    font-size: 26px;
    font-weight: 800;

    line-height: 1.5;
}


/* =========================================================
   6 KLEINE BILDER
========================================================= */

.yaqeen-ar-services-small-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    grid-template-rows:
        repeat(2, minmax(0, 1fr));

    gap: 22px;

    min-width: 0;
}


.yaqeen-ar-services-small-card {
    position: relative;

    min-height: 224px;

    overflow: hidden;

    border-radius: 14px;

    background: #ffffff;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.14);
}


.yaqeen-ar-services-small-card img {
    display: block;

    width: 100%;
    height: 100%;

    min-height: 224px;

    object-fit: cover;

    transition:
        transform 0.4s ease;
}


.yaqeen-ar-services-small-card:hover img {
    transform: scale(1.05);
}


/* =========================================================
   TEXT AUF DEN KLEINEN BILDERN
========================================================= */

.yaqeen-ar-services-small-card h3 {
    position: absolute;

    right: 0;
    bottom: 0;
    left: 0;

    margin: 0;

    padding: 30px 15px 15px;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.78),
            rgba(0, 0, 0, 0)
        );

    color: #ffffff;

    font-size: 17px;
    font-weight: 700;

    line-height: 1.5;

    text-align: right;
}

/* =========================================================
   DETAIL BEREICHE
========================================================= */

.yaqeen-ar-services-detail {
    display: none;

    width: 100%;

    margin-top: 20px;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 50px;

    align-items: center;

    direction: ltr;
}


/* =========================================================
   DETAIL IMAGE
========================================================= */

.yaqeen-ar-services-detail-image {
    width: 100%;
    overflow: hidden;

    border-radius: 14px;
}

.yaqeen-ar-services-detail-image img {
    display: block;

    width: 100%;
    height: 430px;

    object-fit: cover;
}


/* =========================================================
   DETAIL CONTENT
========================================================= */

.yaqeen-ar-services-detail-content {
    direction: rtl;

    text-align: right;

    padding: 20px;
}

.yaqeen-ar-services-detail-content > span {
    display: block;

    margin-bottom: 10px;

    color: #c89b3c;

    font-size: 16px;
    font-weight: 700;
}

.yaqeen-ar-services-detail-content h2 {
    margin: 0 0 15px;

    color: #ffffff;

    font-size: 42px;
    font-weight: 800;

    line-height: 1.4;
}

.yaqeen-ar-services-detail-line {
    width: 100px;
    height: 3px;

    margin: 0 0 22px auto;

    background: #c89b3c;

    border-radius: 20px;
}

.yaqeen-ar-services-detail-content p {
    margin: 0;

    color: #ffffff;

    font-size: 18px;
    line-height: 2;
}


/* =========================================================
   DETAIL BUTTONS
========================================================= */

.yaqeen-ar-services-detail-buttons {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 12px;

    margin-top: 30px;

    direction: rtl;
}

.yaqeen-ar-services-detail-buttons a {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    min-width: 135px;

    min-height: 46px;

    padding: 10px 18px;

    border: 1px solid #c89b3c;
    border-radius: 6px;

    background: #c89b3c;

    color: #ffffff;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    cursor: pointer;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.yaqeen-ar-services-detail-buttons a:hover {
    background: #a77e2b;
    border-color: #a77e2b;

    transform: translateY(-2px);
}

.yaqeen-ar-services-detail-buttons a span {
    font-size: 18px;
    line-height: 1;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .yaqeen-ar-services-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .yaqeen-ar-services-nav {
        justify-content: flex-start;
    }

      .yaqeen-ar-services-grid {
        grid-template-columns: 1fr 1.5fr;
    }

    .yaqeen-ar-services-feature {
        min-height: 420px;
    }

    .yaqeen-ar-services-small-grid {
        gap: 16px;
    }

    .yaqeen-ar-services-small-card {
        min-height: 200px;
    }

    .yaqeen-ar-services-small-card img {
        min-height: 200px;
    }

    .yaqeen-ar-services-detail {
        gap: 30px;
    }

    .yaqeen-ar-services-detail-content h2 {
        font-size: 36px;
    }

}


/* =========================================================
   TABLET / MOBILE
========================================================= */

@media (max-width: 800px) {

    .yaqeen-ar-services {
        padding: 70px 0;
    }

    .yaqeen-ar-services-container {
        width: 90%;
    }

    @media (max-width: 800px) {

    .yaqeen-ar-services-grid {
        grid-template-columns: 1fr;
    }

    .yaqeen-ar-services-feature {
        min-height: 360px;
    }

    .yaqeen-ar-services-small-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        grid-template-rows: auto;

        gap: 16px;
    }

    .yaqeen-ar-services-small-card {
        min-height: 190px;
    }

    .yaqeen-ar-services-small-card img {
        min-height: 190px;
    }

}

    .yaqeen-ar-services-detail {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .yaqeen-ar-services-detail-image {
        order: 1;
    }

    .yaqeen-ar-services-detail-content {
        order: 2;
    }

    .yaqeen-ar-services-detail-image img {
        height: 320px;
    }

}


/* =========================================================
   HANDY
========================================================= */

@media (max-width: 600px) {

    .yaqeen-ar-services {
        padding: 55px 0;
    }

    .yaqeen-ar-services-container {
        width: 88%;
    }

    .yaqeen-ar-services-header {
        gap: 25px;
        margin-bottom: 30px;
    }

    .yaqeen-ar-services-title {
        width: 100%;
    }

    .yaqeen-ar-services-title span {
        font-size: 14px;
    }

    .yaqeen-ar-services-title h2 {
        font-size: 30px;
    }


    /* -------------------------
       MOBILE NAVIGATION
    ------------------------- */

    .yaqeen-ar-services-nav {
        width: 100%;

        display: flex;

        align-items: center;
        justify-content: flex-start;

        flex-wrap: wrap;

        gap: 10px 22px;
    }

    .yaqeen-ar-services-nav-link {
        padding: 7px 0;

        font-size: 15px;

        touch-action: manipulation;
    }


    /* -------------------------
       MOBILE CARDS
    ------------------------- */

    .yaqeen-ar-services-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .yaqeen-ar-services-card-image {
        height: 220px;
    }


    /* -------------------------
       MOBILE DETAIL
    ------------------------- */

    .yaqeen-ar-services-detail {
        grid-template-columns: 1fr;

        gap: 20px;

        margin-top: 10px;
    }

    .yaqeen-ar-services-detail-image {
        order: 1;
    }

    .yaqeen-ar-services-detail-content {
        order: 2;

        padding: 5px 0;
    }

    .yaqeen-ar-services-detail-image img {
        height: 250px;
    }

    .yaqeen-ar-services-detail-content h2 {
        font-size: 30px;
    }

    .yaqeen-ar-services-detail-content p {
        font-size: 16px;
        line-height: 1.9;
    }


    /* -------------------------
       MOBILE BUTTONS
    ------------------------- */

    .yaqeen-ar-services-detail-buttons {
        width: 100%;

        display: flex;

        flex-direction: column;

        gap: 10px;

        margin-top: 25px;
    }

    .yaqeen-ar-services-detail-buttons a {
        width: 100%;

        min-height: 48px;
    }

}