/* ==================================================
   TAKE MILLION — CONSTRUCTION PAGE
================================================== */

.construction-hero,
.construction-services {
    --construction-primary: #c99700;
    --construction-light: #ffd54a;
    --construction-border: rgba(201, 151, 0, 0.5);
    --construction-bg: #110d03;
}

/* ==============================
   HERO
============================== */

.construction-hero {
    
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    min-height: 62vh;
    min-height: 62svh;
    padding: 120px 0 14px;
    overflow: hidden;
    background: var(--construction-bg);
}

.construction-hero .hero-bg {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.construction-hero .hero-overlay {
    position: absolute;
    z-index: -1;
    inset: 0;
   background:
        radial-gradient(circle at 85% 12%, rgba(255, 255, 255, 0.014), transparent 35%),
        radial-gradient(circle at 10% 86%, rgba(255, 255, 255, 0), transparent 28%),
        linear-gradient(135deg, rgba(5, 3, 2, 0.185), rgba(8, 6, 4, 0));

}

.construction-hero .container,
.construction-services .container {
    width: min(1500px, calc(100% - 40px));
    margin-inline: auto;
}

.construction-hero .hero-content {
    width: 100%;
    max-width: 900px;
    margin-inline: auto;
    text-align: center;
}

.construction-hero .hero-content h1 {
    margin: 0 0 20px;
    color: #fff;
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 900;
    line-height: 1.2;
}

.construction-hero .hero-content h2 {
    margin: 0 0 25px;
    color: var(--construction-light);
    font-size: clamp(1.4rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.45;
}

.construction-hero .hero-content p {
    max-width: 850px;
    margin: 0 auto 32px;
    color: #efe4cb;
    font-size: 1.15rem;
    line-height: 1.9;
}

/* زر الهيرو */

.construction-hero .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 15px 35px;
    margin: 0;
    border: 0;
    border-radius: 50px;
    color: #fff;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
    background: linear-gradient(135deg, #bd911b, #d8a20a);
    box-shadow: 0 10px 35px rgba(201, 151, 0, 0.32);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.construction-hero .btn-primary:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 4px;
}

@media (hover: hover) and (pointer: fine) {
    .construction-hero .btn-primary:hover {
        transform: translateY(-5px);
        color: #fff;
        box-shadow: 0 20px 50px rgba(201, 151, 0, 0.52);
    }
}

/* ==============================
   SERVICES CARDS
============================== */

.construction-services {
    padding: 0 0 28px;
    overflow: hidden;
    background:
        radial-gradient(circle at 92% 0%, rgba(201, 151, 0, 0.1), transparent 24%),
        linear-gradient(135deg, #0c0902, #171103);
}

.construction-services .services-row-container {
    overflow: visible;
}

.construction-services .services-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    align-items: stretch;
}

.construction-services .service-card.construction-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--construction-border);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    backdrop-filter: none;
    transition:
        transform 0.4s ease,
        background 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}

.construction-services .service-card.construction-card::before {
    position: absolute;
    z-index: 2;
    top: 0;
    inset-inline: 0;
    height: 3px;
    content: "";
    background: linear-gradient(
        90deg,
        transparent,
        var(--construction-primary),
        var(--construction-light),
        transparent
    );
}

.construction-services .service-image {
    position: relative;
    height: clamp(120px, 9vw, 145px);
    overflow: hidden;
    isolation: isolate;
}

.construction-services .service-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.construction-services .service-overlay {
    background: linear-gradient(to top, rgba(28, 20, 2, 0.88), transparent);
}

/* نظام الأيقونات المطابق للرئيسية */

.construction-services .service-icon {
    position: absolute;
    z-index: 2;
    right: auto;
    inset-inline-end: 15px;
    bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    color: #050505;
    font-size: 22px;
    background: linear-gradient(
        135deg,
        var(--construction-primary),
        var(--construction-light)
    );
    box-shadow: 0 0 35px rgba(201, 151, 0, 0.7);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.construction-services .service-body {
    position: relative;
    z-index: 1;
    flex: 1;
    padding: 16px 12px 18px;
    text-align: center;
}

.construction-services .service-body h3 {
    min-height: 2.9em;
    margin: 0 0 8px;
    color: var(--construction-light);
    font-size: 1rem;
    line-height: 1.45;
}

.construction-services .service-body p {
    display: -webkit-box;
    max-block-size: 5.25em;
    margin: 0;
    overflow: hidden;
    color: #e8dfcb;
    font-size: 0.83rem;
    line-height: 1.75;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

@media (hover: hover) and (pointer: fine) {
    .construction-services .service-card.construction-card:hover {
        transform: translateY(-8px);
        border-color: var(--construction-light);
        background: linear-gradient(145deg, #b88600, #c99700, #ffd54a);
        box-shadow: 0 19px 45px rgba(201, 151, 0, 0.38);
    }

    .construction-services .service-card.construction-card:hover .service-image img {
        transform: scale(1.1);
    }

    .construction-services .service-card.construction-card:hover .service-icon {
        transform: scale(1.12) rotate(8deg);
        box-shadow: 0 0 38px rgba(255, 255, 255, 0.5);
    }

    .construction-services .service-card.construction-card:hover h3,
    .construction-services .service-card.construction-card:hover p {
        color: #050505;
    }
}

/* ==============================
   TABLET — خمس بطاقات في صف واحد
============================== */

@media (min-width: 769px) and (max-width: 1100px) {
    .construction-services .services-row {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 10px;
    }

    .construction-services .service-image {
        height: 125px;
    }

    .construction-services .service-body {
        padding: 12px 8px 14px;
    }

    .construction-services .service-body h3 {
        font-size: 0.9rem;
    }

    .construction-services .service-body p {
        font-size: 0.76rem;
    }
}

/* ==============================
   MOBILE
============================== */

@media (max-width: 768px) {
    .construction-hero {
        min-height: 560px;
        padding: 110px 0 12px;
    }

    .construction-hero .container,
    .construction-services .container {
        width: min(100% - 32px, 1500px);
    }

    .construction-hero .hero-content p {
        font-size: 1rem;
    }

    .construction-services {
        padding: 0 0 24px;
    }

    .construction-services .services-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .construction-services .service-image {
        height: 155px;
    }
}

@media (max-width: 540px) {
    .construction-services .services-row {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .construction-services .service-image {
        height: 210px;
    }

    .construction-services .service-body {
        padding: 20px;
    }

    .construction-services .service-body h3 {
        min-height: auto;
        font-size: 1.15rem;
    }

    .construction-services .service-body p {
        font-size: 0.92rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .construction-hero *,
    .construction-hero *::before,
    .construction-hero *::after,
    .construction-services *,
    .construction-services *::before,
    .construction-services *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}/*==================================================
   CONSTRUCTION HERO
   WIDE PREMIUM GLASS
==================================================*/

.construction-glass{

    position:relative;

    z-index:10;

    width:96%;

    max-width:1350px;

    margin:0 auto;

    padding:62px 100px;

    text-align:center;

    /*==============================================
       GLASS
    ==============================================*/

    background:

        linear-gradient(
            135deg,
            rgba(255,255,255,.12),
            rgba(255,255,255,.07),
            rgba(255,215,0,.055),
            rgba(255,255,255,.09)
        );

    border:1px solid rgba(255,255,255,.32);

    border-top-color:rgba(255,215,0,.55);

    border-bottom-color:rgba(255,215,0,.22);

    border-radius:30px;

    backdrop-filter:blur(15px) saturate(135%);

    -webkit-backdrop-filter:blur(15px) saturate(135%);

    /*==============================================
       PREMIUM SHADOW
    ==============================================*/

    box-shadow:

        0 25px 75px rgba(0,0,0,.38),

        0 0 45px rgba(255,215,0,.10),

        inset 0 1px 0 rgba(255,255,255,.38),

        inset 0 -1px 0 rgba(255,215,0,.12);

    overflow:hidden;

}


/*==================================================
   GOLD TOP LINE
==================================================*/

.construction-glass::before{

    content:"";

    position:absolute;

    top:0;

    left:8%;

    width:84%;

    height:2px;

    background:

        linear-gradient(
            90deg,
            transparent,
            #ffd000,
            #fff5ad,
            #ffd000,
            transparent
        );

    box-shadow:

        0 0 15px rgba(255,208,0,.65);

}


/*==================================================
   GLASS LIGHT
==================================================*/

.construction-glass-shine{

    position:absolute;

    top:-130%;

    left:-50%;

    width:32%;

    height:360%;

    background:

        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.20),
            rgba(255,215,0,.12),
            transparent
        );

    transform:rotate(20deg);

    pointer-events:none;

    animation:

        constructionGlassShine 9s ease-in-out infinite;

}


@keyframes constructionGlassShine{

    0%{

        left:-50%;

        opacity:0;

    }

    20%{

        opacity:.4;

    }

    50%{

        opacity:.75;

    }

    80%{

        opacity:.35;

    }

    100%{

        left:135%;

        opacity:0;

    }

}


/*==================================================
   TITLE
==================================================*/

.construction-glass h1{

    position:relative;

    z-index:3;

    max-width:1150px;

    margin:0 auto 20px;

    color:#ffffff;

    font-size:clamp(40px,5.5vw,74px);

    font-weight:900;

    line-height:1.25;

    text-align:center;

    letter-spacing:0;

    text-shadow:

        0 4px 9px rgba(0,0,0,.95),

        0 0 20px rgba(0,0,0,.85),

        0 0 38px rgba(255,255,255,.12);

}


/*==================================================
   SUBTITLE
==================================================*/

.construction-glass h2{

    position:relative;

    z-index:3;

    max-width:1100px;

    margin:0 auto 23px;

    color:#ffd000;

    font-size:clamp(22px,3vw,38px);

    font-weight:800;

    line-height:1.55;

    text-align:center;

    text-shadow:

        0 3px 8px rgba(0,0,0,.95),

        0 0 20px rgba(0,0,0,.85),

        0 0 28px rgba(255,208,0,.35);

}


/*==================================================
   DESCRIPTION
==================================================*/

.construction-glass p{

    position:relative;

    z-index:3;

    max-width:1120px;

    margin:0 auto;

    color:#ffffff;

    font-size:clamp(16px,1.5vw,21px);

    font-weight:500;

    line-height:2.05;

    text-align:center;

    text-shadow:

        0 3px 8px rgba(0,0,0,1),

        0 0 16px rgba(0,0,0,.90);

}


/*==================================================
   GOLD DIVIDER
==================================================*/

.construction-glass p::after{

    content:"";

    display:block;

    width:120px;

    height:3px;

    margin:25px auto 0;

    border-radius:50px;

    background:

        linear-gradient(
            90deg,
            transparent,
            #ffd000,
            #fff5a8,
            #ffd000,
            transparent
        );

    box-shadow:

        0 0 14px rgba(255,208,0,.60);

}


/*==================================================
   LARGE DESKTOP
==================================================*/

@media (min-width:1400px){

    .construction-glass{

        max-width:1350px;

        padding:65px 110px;

    }

}


/*==================================================
   DESKTOP
==================================================*/

@media (max-width:1200px){

    .construction-glass{

        width:94%;

        max-width:1200px;

        padding:55px 70px;

    }

}


/*==================================================
   TABLET
==================================================*/

@media (max-width:992px){

    .construction-glass{

        width:94%;

        padding:45px 45px;

        border-radius:25px;

        backdrop-filter:blur(12px);

        -webkit-backdrop-filter:blur(12px);

    }


    .construction-glass h1{

        font-size:clamp(35px,6vw,58px);

    }


    .construction-glass h2{

        font-size:clamp(20px,4vw,30px);

    }

}


/*==================================================
   MOBILE
==================================================*/

@media (max-width:768px){

    .construction-glass{

        width:94%;

        padding:36px 25px;

        border-radius:21px;

        background:

            linear-gradient(
                135deg,
                rgba(255,255,255,.11),
                rgba(255,255,255,.06),
                rgba(255,215,0,.045)
            );

        backdrop-filter:blur(9px);

        -webkit-backdrop-filter:blur(9px);

    }


    .construction-glass h1{

        font-size:clamp(30px,8vw,50px);

        line-height:1.3;

        margin-bottom:15px;

    }


    .construction-glass h2{

        font-size:clamp(18px,5vw,27px);

        line-height:1.65;

        margin-bottom:17px;

    }


    .construction-glass p{

        font-size:15px;

        line-height:1.95;

    }


    .construction-glass p::after{

        margin-top:20px;

    }

}


/*==================================================
   SMALL MOBILE
==================================================*/

@media (max-width:480px){

    .construction-glass{

        width:95%;

        padding:29px 18px;

        border-radius:18px;

    }


    .construction-glass h1{

        font-size:30px;

    }


    .construction-glass h2{

        font-size:18px;

    }


    .construction-glass p{

        font-size:14px;

        line-height:1.9;

    }


    .construction-glass p::after{

        width:85px;

        height:2px;

        margin-top:18px;

    }

}


/*==================================================
   EXTRA SMALL
==================================================*/

@media (max-width:360px){

    .construction-glass{

        width:96%;

        padding:25px 14px;

    }


    .construction-glass h1{

        font-size:27px;

    }


    .construction-glass h2{

        font-size:17px;

    }


    .construction-glass p{

        font-size:13px;

    }

}


/*==================================================
   ACCESSIBILITY
==================================================*/

@media (prefers-reduced-motion:reduce){

    .construction-glass-shine{

        animation:none;

    }

}