/* =========================================================
   ZENTRUM TECHNO SOLUTIONS
   Hero Refresh Override
   File: hero-v2.css

   IMPORTANT:
   Keep your existing assets/css/style.css unchanged.
   Add this file AFTER style.css in <head>:

   <link rel="stylesheet" href="assets/css/style.css">
   <link rel="stylesheet" href="assets/css/hero-v2.css">
   ========================================================= */


/* =========================================================
   HERO — REAL ENGINEERING IMAGE VERSION
   ========================================================= */

.hero {
    position: relative;
    overflow: hidden;
    background-color: var(--zentrum-white);
}

.hero-container {
    width: min(
        calc(100% - (var(--page-padding) * 2)),
        var(--container-width)
    );

    min-height: 680px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: stretch;
}


/* =========================================================
   HERO CONTENT
   ========================================================= */

.hero-content {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    padding: 82px 72px 82px 0;

    text-align: left;
}

.hero-eyebrow {
    margin: 0 0 20px;
    padding: 0;

    color: var(--zentrum-blue);

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.17em;
}

.hero-title {
    max-width: 720px;
    margin: 0;

    color: var(--zentrum-graphite);

    font-size: clamp(50px, 4.8vw, 72px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.035em;
}

.hero-title-line {
    display: block;
}

.hero-highlight-red {
    color: var(--zentrum-red);
}

.hero-highlight-blue {
    color: var(--zentrum-blue);
}

.hero-descriptor {
    max-width: 610px;
    margin-top: 28px;

    color: var(--zentrum-blue-dark);

    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.hero-description {
    max-width: 625px;
    margin-top: 17px;

    color: var(--zentrum-steel);

    font-size: 16px;
    line-height: 1.75;
}


/* =========================================================
   HERO ACTIONS
   Uses the existing global .button styles from style.css
   ========================================================= */

.hero-actions {
    margin-top: 32px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 14px;
}


/* =========================================================
   HERO VISUAL
   Transparent conveyor PNG
   ========================================================= */

.hero-visual {
    position: relative;

    min-height: 680px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            #f8fafb 0%,
            #edf2f5 55%,
            #e4ebef 100%
        );
}


/* Technical grid */
.hero-visual::before {
    content: "";

    position: absolute;
    inset: 0;

    opacity: 0.48;

    background-image:
        linear-gradient(
            rgba(0, 85, 140, 0.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(0, 85, 140, 0.08) 1px,
            transparent 1px
        );

    background-size: 54px 54px;

    pointer-events: none;
}


/* Controlled red engineering accent */
.hero-visual::after {
    content: "";

    position: absolute;

    top: 0;
    right: 0;

    width: 125px;
    height: 5px;

    background-color: var(--zentrum-red);
}


/*
   This rule supports either:
   <img class="hero-machine" ...>
   OR your existing .hero-visual-background element
   if you temporarily apply the image through CSS.
*/
.hero-machine {
    position: relative;
    z-index: 2;

    width: min(96%, 760px);
    max-height: 560px;

    object-fit: contain;

    filter: drop-shadow(0 24px 30px rgba(37, 42, 48, 0.16));

    transform: translateY(8px);

    transition: transform var(--transition-standard);
}

.hero-visual:hover .hero-machine {
    transform: translateY(3px);
}


/* Remove old blue-panel content if old HTML remains temporarily */
.hero-visual-background,
.hero-visual-content,
.movement-lines {
    display: none;
}


/* =========================================================
   OPTIONAL HERO ENGINEERING LABEL
   ========================================================= */

.hero-engineering-label {
    position: absolute;

    z-index: 3;

    left: 34px;
    bottom: 32px;

    display: flex;
    align-items: center;

    gap: 12px;

    color: var(--zentrum-blue-dark);

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.14em;
}

.hero-engineering-line {
    width: 36px;
    height: 2px;

    background-color: var(--zentrum-red);
}

.hero-technical-reference {
    position: absolute;

    z-index: 3;

    top: 30px;
    left: 34px;

    color: rgba(37, 42, 48, 0.48);

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.15em;
}


/* =========================================================
   HERO BOTTOM BAR
   ========================================================= */

.hero-bottom {
    border-top: 1px solid var(--zentrum-silver);
    background-color: var(--zentrum-light);
}

.hero-bottom-container {
    width: min(
        calc(100% - (var(--page-padding) * 2)),
        var(--container-width)
    );

    min-height: 70px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;
}

.hero-bottom-container p {
    color: var(--zentrum-steel);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.11em;
}

.hero-bottom-container > span {
    width: 4px;
    height: 4px;

    flex-shrink: 0;

    border-radius: 50%;

    background-color: var(--zentrum-red);
}


/* =========================================================
   TABLET / SMALL DESKTOP
   ========================================================= */

@media (max-width: 1180px) {

    .hero-container {
        min-height: auto;
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding: 72px 0 62px;
    }

    .hero-visual {
        min-height: 500px;
    }

    .hero-machine {
        width: min(92%, 720px);
        max-height: 440px;
    }

    .hero-bottom-container {
        flex-wrap: wrap;
        justify-content: center;

        padding-top: 22px;
        padding-bottom: 22px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .hero-content {
        padding: 54px 0 48px;
    }

    .hero-eyebrow {
        margin-bottom: 15px;

        font-size: 10px;
        letter-spacing: 0.14em;
    }

    .hero-title {
        font-size: clamp(40px, 12vw, 48px);
    }

    .hero-descriptor {
        margin-top: 22px;
        font-size: 18px;
    }

    .hero-description {
        font-size: 15px;
        line-height: 1.7;
    }

    .hero-actions {
        width: 100%;

        align-items: stretch;
        flex-direction: column;

        margin-top: 28px;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-visual {
        min-height: 360px;
    }

    .hero-machine {
        width: 96%;
        max-height: 315px;

        transform: none;
    }

    .hero-visual:hover .hero-machine {
        transform: none;
    }

    .hero-technical-reference {
        top: 20px;
        left: 20px;
    }

    .hero-engineering-label {
        left: 20px;
        bottom: 20px;
    }

    .hero-bottom-container {
        align-items: flex-start;
        flex-direction: column;

        gap: 11px;

        padding-top: 19px;
        padding-bottom: 19px;
    }

    .hero-bottom-container > span {
        display: none;
    }
}
