/* =========================================
   A1 CONSTRUCTIONS
   CONTINUOUS IMAGE SLIDER
========================================= */

.project-slider {
    width: 100%;
    overflow: hidden;
    background: #111111;
    padding: 20px 0;
}


/* =========================================
   SLIDER TRACK
========================================= */

.slider-track {
    display: flex;
    align-items: center;
    gap: 20px;
    width: max-content;

    animation: sliderMove 40s linear infinite;
}


/* =========================================
   INDIVIDUAL SLIDER ITEM
========================================= */

.slider-item {
    position: relative;

    width: 360px;
    height: 330px;

    flex-shrink: 0;

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #111111;
}


/* =========================================
   BLURRED BACKGROUND
========================================= */

.slider-background {
    position: absolute;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    filter: blur(18px);

    transform: scale(1.12);

    opacity: 0.8;
}


/* =========================================
   FULL MAIN IMAGE
========================================= */

.slider-main {
    position: relative;

    z-index: 2;

    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center;

    display: block;
}


/* =========================================
   CONTINUOUS ANIMATION
========================================= */

@keyframes sliderMove {

    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 10px));
    }

}


/* =========================================
   TABLET
========================================= */

@media (max-width: 768px) {

    .project-slider {
        padding: 15px 0;
    }

    .slider-track {
        gap: 15px;

        animation-duration: 32s;
    }

    .slider-item {
        width: 280px;
        height: 270px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 480px) {

    .project-slider {
        padding: 12px 0;
    }

    .slider-track {
        gap: 12px;

        animation-duration: 28s;
    }

    .slider-item {
        width: 240px;
        height: 235px;
    }

}




























/* =========================================================
   WORK PROCESS
========================================================= */

.work-process {
    width: 100%;
    padding: 100px 20px;
    background: #ffffff;
}

.work-process .container {
    width: min(1300px, 92%);
    margin: 0 auto;
}


/* =========================================================
   PROCESS WRAPPER
========================================================= */

.process-wrapper {
    position: relative;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 90px 45px;

    margin-top: 80px;
}


/* =========================================================
   PROCESS LINE
========================================================= */

.process-line {
    position: absolute;

    top: 34px;
    left: 8%;

    width: 84%;
    height: 2px;

    background: #e5e5e5;

    z-index: 0;
}

.line-fill {
    display: block;

    width: 0;
    height: 100%;

    background: var(--gold);

    transition: width 1.8s ease;
}


/* =========================================================
   PROCESS CARD
========================================================= */

.process-card {
    position: relative;

    z-index: 2;

    padding: 0 15px;

    text-align: center;

    opacity: 0;

    transition:
        opacity 0.8s ease,
        transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}


/* LEFT → RIGHT REVEAL */

.process-left {
    transform: translateX(-90px);
}


/* RIGHT → LEFT REVEAL */

.process-right {
    transform: translateX(90px);
}


/* ACTIVE STATE */

.process-card.show {
    opacity: 1;

    transform: translateX(0);
}


/* =========================================================
   PROCESS NUMBER
========================================================= */

.process-number {
    width: 68px;
    height: 68px;

    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #111111;

    border: 5px solid #ffffff;

    outline: 1px solid #d8d8d8;

    color: #ffffff;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 1px;

    transition:
        background 0.4s ease,
        color 0.4s ease,
        transform 0.4s ease,
        outline-color 0.4s ease;
}


/* =========================================================
   ICON
========================================================= */

.process-icon {
    width: 48px;
    height: 48px;

    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f6f6f6;

    color: var(--gold);

    font-size: 18px;

    transition:
        background 0.4s ease,
        color 0.4s ease,
        transform 0.4s ease;
}


/* =========================================================
   CARD HOVER
========================================================= */

.process-card:hover .process-number {
    background: var(--gold);

    color: #111111;

    outline-color: var(--gold);

    transform: scale(1.08);
}


.process-card:hover .process-icon {
    background: #111111;

    color: var(--gold);

    transform: translateY(-4px);
}


/* =========================================================
   TITLE
========================================================= */

.process-card h3 {
    margin-bottom: 10px;

    color: #111111;

    font-family: "Montserrat", Arial, sans-serif;

    font-size: 19px;

    font-weight: 800;

    line-height: 1.3;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.process-card p {
    max-width: 280px;

    margin: 0 auto;

    color: #666666;

    font-size: 14px;

    line-height: 1.75;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .work-process {
        padding: 80px 20px;
    }

    .process-wrapper {
        grid-template-columns: repeat(2, 1fr);

        gap: 70px 30px;

        margin-top: 60px;
    }

    .process-line {
        display: none;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .work-process {
        padding: 65px 15px;
    }

    .work-process .container {
        width: 94%;
    }

    .process-wrapper {
        grid-template-columns: 1fr;

        gap: 45px;

        margin-top: 45px;
    }

    .process-card {
        padding: 0 10px;
    }

    .process-line {
        display: block;

        top: 0;
        left: 50%;

        width: 2px;
        height: 100%;

        transform: translateX(-50%);

        background: #e5e5e5;
    }

    .line-fill {
        width: 100%;
        height: 0;

        transition: height 2s ease;
    }

    .process-left,
    .process-right {
        transform: translateY(70px);
    }

    .process-card.show {
        transform: translateY(0);
    }

    .process-number {
        width: 60px;
        height: 60px;

        margin-bottom: 16px;
    }

    .process-icon {
        width: 44px;
        height: 44px;

        margin-bottom: 15px;
    }

    .process-card h3 {
        font-size: 18px;
    }

    .process-card p {
        font-size: 13px;
    }

}