/* =========================================================
ICT / FPT Hero

Purpose:
- Style the ICT / FPT service hero.
- Provide responsive two-column layout.
- Prepare the machine showcase for data-driven content.

Dependencies:
- hero.blade.php
========================================================= */


/* =========================================================
Hero
========================================================= */

.ict-fpt-hero {

    position: relative;

    width: 100%;

    min-height: calc(100vh - 80px);

    display: flex;

    align-items: center;

    overflow: hidden;

}


.ict-fpt-hero-inner {

    width: min(
        1400px,
        calc(100% - 80px)
    );

    min-height: calc(100vh - 80px);

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1.1fr);

    align-items: center;

    gap: 70px;

    padding: 60px 0;

}

/* =========================================================
Hero Content
========================================================= */

.ict-fpt-hero-content {

    position: relative;

    z-index: 2;

    max-width: 650px;

}


/* =========================================================
Hero Eyebrow
========================================================= */

.ict-fpt-hero-eyebrow {

    display: flex;

    align-items: center;

    gap: 14px;

    margin-bottom: 28px;

    color: var(--text-soft);

    font-size: .82rem;

    font-weight: 600;

    letter-spacing: .25em;

    text-transform: uppercase;

}


.ict-fpt-hero-eyebrow i {

    color: #21d4fd;

    font-size: 1rem;

}


.ict-fpt-hero-title {

    margin: 0;

    max-width: 760px;

    font-size: clamp(
        2.8rem,
        4vw,
        4.2rem
    );

    line-height: 1.05;

    font-weight: 700;

    letter-spacing: -0.04em;

}


.ict-fpt-hero-title span {

    display: block;

    opacity: 0.65;

}


.ict-fpt-hero-description {

    max-width: 570px;

    margin: 28px 0 0;

    font-size: 1.05rem;

    line-height: 1.75;

    opacity: 0.72;

}


/* =========================================================
Hero Actions
========================================================= */

.ict-fpt-hero-actions {

    display: flex;

    flex-wrap: wrap;

    gap: 14px;

    margin-top: 36px;

}


.ict-fpt-hero-button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 48px;

    padding: 0 24px;

    border: 1px solid transparent;

    border-radius: 999px;

    font-size: 0.9rem;

    font-weight: 600;

    text-decoration: none;

    transition:
        transform 220ms ease,
        background-color 220ms ease,
        border-color 220ms ease,
        opacity 220ms ease;

}


.ict-fpt-hero-button:hover {

    transform: translateY(-2px);

}


.ict-fpt-hero-button.primary {

    background: var(--accent-color, #2563eb);

    color: #fff;

}


.ict-fpt-hero-button.primary:hover {

    opacity: 0.9;

}


.ict-fpt-hero-button.secondary {

    border-color: currentColor;

    background: transparent;

    color: inherit;

    opacity: 0.8;

}


.ict-fpt-hero-button.secondary:hover {

    opacity: 1;

}


/* =========================================================
Machine Showcase
========================================================= */

.ict-fpt-hero-showcase {

    position: relative;

    min-width: 0;

    min-height: 520px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

}


.ict-fpt-hero-machine {

    position: relative;

    width: 100%;

    min-height: 350px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
    radial-gradient(
        circle at center,
        rgba(37, 99, 235, 0.10),
        transparent 68%
    );

}


.ict-fpt-machine-image {

    display: block;

    width: min(
        100%,
        640px
    );

    max-height: 360px;

    object-fit: contain;

    object-position: center;

    filter:
        drop-shadow(
            0 25px 45px
            rgba(0, 0, 0, 0.16)
        );

}


/* =========================================================
Machine Information
========================================================= */

.ict-fpt-hero-machine-info {

    width: min(
        720px,
        100%
    );

    padding: 0 10px;

}


.ict-fpt-machine-brand {

    display: block;

    margin-bottom: 4px;

    font-size: 0.75rem;

    font-weight: 700;

    letter-spacing: 0.18em;

    text-transform: uppercase;

    opacity: 0.55;

}


.ict-fpt-machine-model {

    margin: 0;

    font-size: clamp(
        1.7rem,
        3vw,
        2.5rem
    );

    line-height: 1.1;

    font-weight: 700;

    letter-spacing: -0.025em;

}


.ict-fpt-machine-category {

    margin: 8px 0 0;

    font-size: 0.95rem;

    opacity: 0.65;

}


/* =========================================================
Machine Status
========================================================= */

.ict-fpt-machine-status {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 16px;

}


.ict-fpt-machine-status span {

    display: inline-flex;

    align-items: center;

    min-height: 30px;

    padding: 0 12px;

    border: 1px solid currentColor;

    border-radius: 999px;

    font-size: 0.72rem;

    font-weight: 600;

    opacity: 0.65;

}


/* =========================================================
Responsive — Tablet
========================================================= */

@media (max-width: 1000px) {

    .ict-fpt-hero {

        min-height: auto;

    }


    .ict-fpt-hero-inner {

        grid-template-columns: 1fr;

        gap: 50px;

        padding: 70px 0;

    }


    .ict-fpt-hero-content {

        max-width: 760px;

    }


    .ict-fpt-hero-showcase {

        min-height: 500px;

    }


    .ict-fpt-hero-machine {

        min-height: 360px;

    }

}


/* =========================================================
Responsive — Mobile
========================================================= */

@media (max-width: 600px) {

    .ict-fpt-hero-inner {

        width: min(
            100% - 36px,
            1400px
        );

        gap: 35px;

        padding: 55px 0;

    }


    .ict-fpt-hero-title {

        font-size: clamp(
            2.6rem,
            12vw,
            4rem
        );

    }


    .ict-fpt-hero-description {

        margin-top: 22px;

        font-size: 0.95rem;

        line-height: 1.65;

    }


    .ict-fpt-hero-actions {

        margin-top: 28px;

        flex-direction: column;

        align-items: stretch;

    }


    .ict-fpt-hero-button {

        width: 100%;

    }


    .ict-fpt-hero-showcase {

        min-height: 430px;

        align-items: stretch;

    }


    .ict-fpt-hero-machine {

        min-height: 270px;

    }


    .ict-fpt-machine-image {

        max-height: 280px;

    }


    .ict-fpt-hero-machine-info {

        padding: 0;

    }


    .ict-fpt-machine-model {

        font-size: 1.7rem;

    }

}