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

.hero-slider {
    position: relative;
    width: 100%;
}

/* Slide
   ========================================================================== */

.hero-slider__slide {
    position: relative;
    min-height: 85vh;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* parallax */
    display: flex;
    align-items: center;
}

.hero-slider__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(43, 51, 56, 0.75) 0%,
        rgba(43, 51, 56, 0.40) 60%,
        rgba(43, 51, 56, 0.15) 100%
    );
    z-index: 1;
}

/* Content & Frosted Glass
   ========================================================================== */

.hero-slider__content {
    position: relative;
    z-index: 2;
    padding: 60px 0 100px;
}

.hero-slider__glass {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 48px 40px;
}

.hero-slider__title-highlight {
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #EE6440;
    line-height: 1.2;
    margin-bottom: 4px;
}

.hero-slider__title-main {
    font-family: 'Roboto', sans-serif;
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.1;
    color: #fff;
    margin: 8px 0;
    letter-spacing: 0.02em;
}

.hero-slider__subtitle {
    font-family: 'Roboto', sans-serif;
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 16px;
    margin-bottom: 0;
    max-width: 520px;
}

/* CTA Button
   ========================================================================== */

.hero-slider__cta {
    margin-top: 32px;
}

.hero-slider__btn {
    display: inline-block;
    font-family: 'Roboto', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    background-color: #EE6440;
    border: 2px solid #EE6440;
    border-radius: 4px;
    padding: 12px 36px;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
    text-decoration: none;
}

.hero-slider__btn:hover,
.hero-slider__btn:focus {
    background-color: #D24825;
    border-color: #D24825;
    color: #fff;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Carousel Controls - Arrows
   ========================================================================== */

.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: 56px;
    opacity: 1;
    z-index: 5;
    top: auto;
    bottom: 100px;
    align-items: flex-end;
}

.hero-slider .carousel-control-prev {
    left: auto;
    right: 80px;
}

.hero-slider .carousel-control-next {
    right: 16px;
}

.hero-slider__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #fff;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.hero-slider__arrow:hover {
    background: rgba(238, 100, 64, 0.6);
    transform: scale(1.08);
}

/* Hide default Bootstrap carousel indicators icon */
.hero-slider .carousel-control-prev-icon,
.hero-slider .carousel-control-next-icon {
    display: none;
}

/* Carousel Controls - Dots
   ========================================================================== */

.hero-slider__indicators {
    position: absolute;
    bottom: 24px;
    left: 0;
    right: 0;
    z-index: 5;
}

/* Carousel Fade Transition Override
   ========================================================================== */

.hero-slider .carousel-fade .carousel-item {
    transition: opacity 0.8s ease-in-out;
}

/* Service Cards Bar
   ========================================================================== */

.hero-slider__services {
    position: relative;
    z-index: 4;
    margin-top: -60px;
}

.hero-slider__service-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 24px;
    background: #2B3338;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 100px;
    height: 100%;
}

a.hero-slider__service-card:hover {
    background: #EE6440;
    color: #fff;
    text-decoration: none;
    transform: translateY(-4px);
}

a.hero-slider__service-card:hover .hero-slider__service-arrow {
    transform: translateX(4px);
}

.hero-slider__service-card--first {
    border-radius: 8px 0 0 8px;
}

.hero-slider__service-card--last {
    border-radius: 0 8px 8px 0;
    border-right: none;
}

.hero-slider__service-text {
    flex: 1;
    min-width: 0;
}

.hero-slider__service-title {
    font-family: 'Roboto', sans-serif;
    font-size: 1.125rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    margin: 0 0 4px 0;
    color: #fff;
    line-height: 1.2;
}

.hero-slider__service-desc {
    font-family: 'Roboto', sans-serif;
    font-size: 0.8125rem;
    font-weight: 300;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

.hero-slider__service-arrow {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.4);
    transition: transform 0.3s ease, color 0.3s ease;
}

a.hero-slider__service-card:hover .hero-slider__service-arrow {
    color: #fff;
}


/*
xs      <576px      col-            smart-phone
sm      >=576px     col-sm
md      >=768px     col-md          ipad
lg      >=992px     col-lg          ipad pro
xl      >=1200px    col-xl          desktop
xxl     >=1400px    col-xxl
*/

/*============================================================
 *
 * XXL  desktop large
 *
 */
@media (min-width: 1400px) {
    .hero-slider__title-main {
        font-size: 4rem;
    }

    .hero-slider__glass {
        padding: 56px 48px;
    }
}

/*============================================================
 *
 * XL   desktop
 *
 */
@media (max-width: 1399px) {

}

/*============================================================
 *
 * LG   small desktop
 *
 */
@media (max-width: 1199px) {
    .hero-slider__slide {
        min-height: 75vh;
        background-attachment: scroll; /* disable parallax on smaller screens */
    }

    .hero-slider__title-main {
        font-size: 3rem;
    }

    .hero-slider__glass {
        padding: 40px 32px;
    }
}

/*============================================================
 *
 * LG   ipadpro
 *
 */
@media (pointer:coarse) and (max-width: 1199px) {
    .hero-slider__slide {
        background-attachment: scroll;
    }
}

/*============================================================
 *
 *  MD  ipad
 *
 */
@media (max-width: 991px) {
    .hero-slider__slide {
        min-height: 70vh;
    }

    .hero-slider__title-main {
        font-size: 2.5rem;
    }

    .hero-slider__title-highlight {
        font-size: 1.25rem;
    }

    .hero-slider__glass {
        padding: 32px 24px;
    }

    .hero-slider__services {
        margin-top: -40px;
    }

    .hero-slider__service-card {
        padding: 20px 16px;
    }
}

/*============================================================
 *
 *  SM smart-phone 576-767
 *  XS 0-567
 */
@media (max-width: 767px) {
    .hero-slider__slide {
        min-height: 65vh;
        background-attachment: scroll;
    }

    .hero-slider__title-main {
        font-size: 2rem;
    }

    .hero-slider__title-highlight {
        font-size: 1.125rem;
    }

    .hero-slider__subtitle {
        font-size: 1rem;
    }

    .hero-slider__glass {
        padding: 28px 20px;
        border-radius: 8px;
    }

    .hero-slider__btn {
        padding: 10px 28px;
        font-size: 0.875rem;
    }

    .hero-slider .carousel-control-prev,
    .hero-slider .carousel-control-next {
        width: 40px;
    }

    .hero-slider__arrow {
        width: 40px;
        height: 40px;
    }

    .hero-slider__services {
        margin-top: 24px;
    }

    .hero-slider__service-card {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 0;
        padding: 20px 16px;
    }

    .hero-slider .carousel-control-prev,
    .hero-slider .carousel-control-next {
        bottom: 16px;
    }

    .hero-slider .carousel-control-prev {
        right: 64px;
    }

    .hero-slider .carousel-control-next {
        right: 12px;
    }

    .hero-slider__service-card--first {
        border-radius: 8px 8px 0 0;
    }

    .hero-slider__service-card--last {
        border-radius: 0 0 8px 8px;
        border-bottom: none;
    }

    .hero-slider__indicators {
        bottom: 16px;
    }
}

/*============================================================
 *
 * XS   smartphone
 *
 */
@media (min-width: 10px) and (max-width: 575px) {
    .hero-slider__title-main {
        font-size: 1.75rem;
    }

    .hero-slider__content {
        padding: 40px 0;
    }
}
