/* =========================================================
General SMT Trading
Spare Parts Hero
========================================================= */

.smt-hero {

    position: relative;

    min-height: 100vh;

    display: flex;

    align-items: center;

    padding: 90px 0 40px;

    overflow: hidden;

}


/* =========================================================
Hero Wrapper
========================================================= */

.smt-hero-wrapper {

    width: min(1400px, 92%);

    margin: auto;

    display: grid;

    grid-template-columns: 55% 45%;

    gap: 55px;

    align-items: center;

}


/* =========================================================
Hero Content
========================================================= */

.smt-hero-left {

    display: flex;

    flex-direction: column;

    justify-content: center;

}


/* =========================================================
Hero Badge
========================================================= */

.smt-hero-badge {

    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;

}

.smt-hero-badge i {

    color: #21d4fd;

    font-size: 1rem;

}


/* =========================================================
Hero Title
========================================================= */

.smt-hero-title {

    display: flex;

    flex-direction: column;

    gap: 8px;

    margin: 0;

    max-width: 780px;

}

.smt-hero-title .line {

    display: block;

    font-size: clamp(3.8rem, 5.5vw, 5.4rem);

    font-weight: 800;

    line-height: .94;

    letter-spacing: -3px;

    color: var(--text);

}

.smt-hero-title .line.white {

    color: var(--text);

}

.smt-hero-title .gradient {

    background: var(--accent-gradient);

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

    background-clip: text;

}


/* =========================================================
Hero Description
========================================================= */

.smt-hero-description {

    max-width: 560px;

    margin-top: 30px;

    font-size: 1.22rem;

    line-height: 1.7;

    color: var(--text-soft);

}


/* =========================================================
Hero Buttons
========================================================= */

.smt-hero-buttons {

    display: flex;

    align-items: center;

    gap: 22px;

    margin-top: 42px;

}

.smt-hero-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    height: 62px;

    min-width: 240px;

    padding: 0 34px;

    border-radius: 20px;

    font-size: 1rem;

    font-weight: 700;

    text-decoration: none;

    transition: .35s ease;

    cursor: pointer;

}

.smt-hero-btn i {

    transition: .35s ease;

}


/* =========================================================
Primary Button
========================================================= */

.smt-hero-btn-primary {

    color: white;

    background: var(--accent-gradient);

    box-shadow:
        0 12px 35px rgba(55, 140, 255, .28);

}

.smt-hero-btn-primary:hover {

    transform: translateY(-3px);

    box-shadow:
        0 18px 45px rgba(55, 140, 255, .38);

}


/* =========================================================
Secondary Button
========================================================= */

.smt-hero-btn-secondary {

    color: var(--text);

    border: 1px solid var(--border);

    background: var(--glass-background);

    backdrop-filter: blur(18px);

}

.smt-hero-btn-secondary:hover {

    background: var(--card-color);

    transform: translateY(-3px);

}

.smt-hero-btn-secondary:hover i {

    transform: translateX(5px);

}


/* =========================================================
Hero Statistics
========================================================= */

.smt-hero-stat-panel {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 28px;

    margin-top: 38px;

    padding: 28px 34px;

    border-radius: 24px;

    border: 1px solid var(--card-border);

    background: var(--glass-background);

    backdrop-filter: blur(20px);

    -webkit-backdrop-filter: blur(20px);

}

.smt-hero-stat {

    display: flex;

    flex-direction: column;

    gap: 8px;

}

.smt-hero-stat h3 {

    margin: 0;

    font-size: 2rem;

    font-weight: 800;

    color: var(--text);

}

.smt-hero-stat span {

    margin: 0;

    font-size: 1rem;

    line-height: 1.5;

    color: var(--text-soft);

}


/* =========================================================
Hero Spare Part Area
========================================================= */

.smt-hero-sparepart-area {

    position: relative;

    width: 100%;

    height: 650px;

    display: flex;

    justify-content: center;

    align-items: center;

}


/* =========================================================
Hero Glow
========================================================= */

.smt-hero-glow {

    position: absolute;

    width: 560px;

    height: 560px;

    border-radius: 50%;

    background: var(--hero-glow);

    filter: blur(40px);

    z-index: 0;

    animation:
        smtHeroGlowPulse
        6s ease-in-out infinite;

}

@keyframes smtHeroGlowPulse {

    0% {

        transform: scale(.96);

        opacity: .70;

    }

    50% {

        transform: scale(1.05);

        opacity: 1;

    }

    100% {

        transform: scale(.96);

        opacity: .70;

    }

}


/* =========================================================
Hero Spare Part Carousel
========================================================= */

.smt-sparepart-carousel {

    position: relative;

    width: 100%;

    height: 650px;

    display: flex;

    align-items: center;

    justify-content: center;

    z-index: 2;

}


/* =========================================================
Carousel Stage

Only the active spare part is visible.
========================================================= */

.smt-sparepart-carousel-stage {

    position: relative;

    width: 100%;

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

}


/* =========================================================
Spare Part Slide
========================================================= */

.smt-sparepart-slide {

    position: absolute;

    inset: 0;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    opacity: 1;

    transform: translateX(0);

    transition:
        opacity .55s ease,
        transform .55s ease;

}


/* =========================================================
Spare Part Image
========================================================= */

.smt-sparepart-image {

    display: block;

    width: min(560px, 90%);

    max-height: 430px;

    height: auto;

    object-fit: contain;

    position: relative;

    z-index: 2;

    filter:
        drop-shadow(
            0 30px 55px rgba(0, 0, 0, .45)
        );

}


/* =========================================================
Spare Part Information
========================================================= */

.smt-sparepart-info {

    position: relative;

    margin-top: 24px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 6px;

    z-index: 3;

}


/* =========================================================
Spare Part Category
========================================================= */

.smt-sparepart-category {

    font-size: .72rem;

    font-weight: 700;

    letter-spacing: .20em;

    text-transform: uppercase;

    color: var(--text-soft);

}


/* =========================================================
Spare Part Name
========================================================= */

.smt-sparepart-name {

    margin: 0;

    font-size: 1.8rem;

    font-weight: 800;

    line-height: 1.1;

    color: var(--text);

}


/* =========================================================
Carousel Animation States
========================================================= */

.smt-sparepart-slide.is-entering {

    opacity: 0;

    transform: translateX(30px);

}

.smt-sparepart-slide.is-active {

    opacity: 1;

    transform: translateX(0);

}

.smt-sparepart-slide.is-exiting {

    opacity: 0;

    transform: translateX(-30px);

}


/* =========================================================
Responsive
========================================================= */

@media (max-width: 1100px) {

    .smt-hero-wrapper {

        grid-template-columns: 1fr;

        gap: 40px;

    }

    .smt-hero-left {

        text-align: center;

        align-items: center;

    }

    .smt-hero-description {

        margin-left: auto;

        margin-right: auto;

    }

    .smt-hero-buttons {

        justify-content: center;

    }

    .smt-hero-sparepart-area {

        height: 560px;

    }

    .smt-sparepart-carousel {

        height: 560px;

    }

}


@media (max-width: 700px) {

    .smt-hero {

        padding:
            80px 0 50px;

    }

    .smt-hero-wrapper {

        width: 90%;

        gap: 20px;

    }

    .smt-hero-title .line {

        font-size:
            clamp(2.8rem, 12vw, 4rem);

        letter-spacing: -2px;

    }

    .smt-hero-description {

        font-size: 1rem;

        line-height: 1.6;

    }

    .smt-hero-buttons {

        width: 100%;

        flex-direction: column;

        gap: 14px;

    }

    .smt-hero-btn {

        width: 100%;

        min-width: 0;

    }

    .smt-hero-stat-panel {

        width: 100%;

        grid-template-columns: 1fr;

        gap: 20px;

        padding: 24px;

        text-align: left;

        box-sizing: border-box;

    }

    .smt-hero-sparepart-area {

        height: 430px;

    }

    .smt-sparepart-carousel {

        height: 430px;

    }

    .smt-sparepart-image {

        width: min(420px, 90%);

        max-height: 300px;

    }

    .smt-sparepart-name {

        font-size: 1.4rem;

    }

}