@import 'init';

.banner {
    display: none !important;
    &.active {
        display: flex !important;
    }
    /*.carousel-caption {
        top: 50%;
        bottom: unset;
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .title {
        margin-left: auto;
        margin-right: auto;
    }*/
}

.carousel-control-prev,
.carousel-control-next {
    opacity: 1;
}
@icon-size: 24px;
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-image: unset;
    width: @icon-size;
    height: @icon-size;
    &::before {
        font-family: 'Font Awesome 5 Free';
        font-weight: 700;
        font-size: @icon-size;
        color: white;
    }
}
.carousel-control-prev-icon::before {
/*    content: '\f0a8';*/
    content: '\f060';
}
.carousel-control-next-icon::before {
/*    content: '\f0a9';*/
    content: '\f061';
}
/*.carousel-indicators {
    margin-bottom: 6rem;
}*/
.carousel-indicators [data-bs-target] {
    color: white;
    background: transparent;
    border: 2px solid white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    opacity: 0.5;
    text-indent: 0;
    margin-left: 7px;
    margin-right: 7px;
    &.active {
        background-color: white;
        opacity: 1;
    }
}
@header-height: 139px;
.carousel-item {
    img {
        object-fit: cover;
        width: 100%;
/*        height: ~'calc(100vh - 112px)';*/
        height: ~'calc(100vh - @{header-height})';
    }
    .overlay {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to right, #000, #0000 90%);
        opacity: 0.58;
    }
}
.carousel-caption {
    bottom: unset;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
/*@media only screen and (max-width: 991px) {
    .carousel-item img {
        height: 500px;
    }
}*/
@media only screen and (max-width: 767px) {
    /*.banner {
        padding-top: 0;
        padding-bottom: 0;
    }*/
    .carousel-indicators {
        display: none;
    }
    @icon-size: 18px;
    .carousel-control-prev-icon, 
    .carousel-control-next-icon {
        width: @icon-size;
        height: @icon-size;
        &::before {
            font-size: @icon-size;
        }
    }
    
    /*.carousel-item img {
        height: ~'calc(100vh - 102px)';
    }*/
}

@media only screen and (max-width: 991px) {
    .carousel-indicators {
        display: none;
    }
}

/*new style*/
@slider-left-padding: 4rem;
.carousel-item {
    /*.slider-left {
        width: 400px;
        height: 665px;
        background-color: @main-color;
        color: white;
        padding-top: 4.5rem;
        padding-left: @slider-left-padding;
        padding-right: @slider-left-padding;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: baseline;
    }
    .slider-right {
        width: ~'calc(100% - 400px)';
        height: 665px;
        background-size: cover;
        position: relative;
        .overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: linear-gradient(to right, rgba(0,0,0,0.5), transparent 30%);
        }
    }*/
    .sup-title, .title {
/*        text-transform: uppercase;*/
    }
    /*.sup-title {
        font-size: 3.33em;
        font-weight: 800;
        width: 510px;
        z-index: 1;
        position: relative;
        line-height: 0.9;
    }*/
    .title {
        font-size: 4em;
        line-height: 1;
/*        padding: 0.1rem 1rem 0.3rem;*/
        color: white;
        -webkit-text-stroke: 1px white;
/*        background-color: rgba(255,255,255,0.3);*/
        width: fit-content;
/*        margin: 1.25rem;*/
    }
    .banner-info {
        display: flex;
        align-items: flex-start;
        gap: 2.5rem;
    }
    .content {
        max-width: 540px;
    }
    /*.btn-slider {
        color: @main-color;
        background-color: white;
        border-color: white;
        &:hover {
            color: white;
            background-color: @main-color;
        }
    }*/
}
.carousel-control-next, .carousel-control-prev {
    top: unset;
    bottom: 2rem;
    width: unset;
    z-index: 1;
}
.carousel-control-prev {
    right: unset;
    left: ~'calc(50% - 120px)';
    transform: translateX(-50%);
}
.carousel-control-next {
    right: unset;
    right: ~'calc(50% - 144px)';
    transform: translateX(-50%);
}
.carousel-indicators {
    margin: unset;
    margin-bottom: 2rem;
    width: 190px;
    left: 50%;
    transform: translateX(-50%);
}
@media only screen and (max-width: 1199px) {
    .carousel-item {
        .title {
            font-size: 3em;
        }
        img {
            height: ~'calc(100vh - 100px)';
        }
    }
}
@media only screen and (max-width: 991px) {
    #banners .slick-dots {
        padding: 0.5rem;
        bottom: 1rem;
    }
    .carousel-item {
        .overlay {
            background: rgba(0,0,0,0.7);
        }
        img {
            height: 400px;
        }
        .banner-info {
            gap: 2rem;
        }
    }
}
@media only screen and (max-width: 767px) {
    .banner .container {
        padding-top: 1rem;
        padding-bottom: 5rem;
    }
    .carousel-item {
        .title {
            font-size: 2em;
        }
        img {
            height: 300px;
        }
        .banner-info {
            gap: 1rem;
        }
    }
}

#quick-links {
    padding-block: 0;
    margin-top: -6rem;
    position: relative;
    z-index: 1;
}
#home-about {
    @about-gap: 97px;
    .container {
        display: flex;
        gap: @about-gap;
    }
    .left {
        width: ~'calc(100% - 400px - @{about-gap})';
    }
    .right {
        width: 400px;
        img {
            border-top-left-radius: 40px;
            overflow: hidden;
        }
    }
}
.services-wrapper {
    display: flex;
    gap: 44px 25px;
    flex-wrap: wrap;
}
.service-wrapper {
    width: calc(33.3% - 17px);
    min-height: 372px;
    display: flex;
    flex-direction: column;
    position: relative;
    background-color: white;
    box-shadow: 0 3px 10px rgba(0,0,0, 0.16);
    .image {
        height: 183px;
        background-size: cover;
        background-position: center;
    }
    .no-image {
        background-color: @bg-gray;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0.7;    
    }
    .info {
        padding: 26px 44px;
    }
    .category {
        font-size: 0.89em;
        color: @main-color;
        margin-bottom: 4px;
    }
    .sm-title {
        line-height: 1;
    }
    .btn {
        position: absolute;
        left: 0;
        bottom: 0;
        padding: 10px 3rem;
    }
}

@media only screen and (max-width: 1599px) {
    #quick-links {
        margin-top: -5.2rem;
    }
}
@media only screen and (max-width: 1199px) {
    #quick-links {
        margin-top: -4.7rem;
    }
    .service-wrapper .info {
        padding: 20px 24px;
    }
    .service-wrapper {
        min-height:  340px;
    }
}
@media only screen and (max-width: 991px) {
    #quick-links {
        margin-top: 0;
        padding-top: 2rem;
    }
    #home-about {
        .left { 
            width: 100%;
        }
        .right {
            display: none;
        }
    }
    .services-wrapper {
        gap: 16px;
    }
    .service-wrapper {
        width: ~'calc(50% - 8px)';
        min-height: 310px;
        .image {
            height: 144px;
        }
    }
}
@media only screen and (max-width: 767px) {
    #quick-links {
        padding-top: 1rem;
    }
    .service-wrapper {
        width: 100%;
        min-height: unset;
        .info {
            padding: 1rem;
            padding-bottom: 4rem;
        }
    }
    
}
/* modal */
/*.modal-content {
    border-radius: 19px;
}
@close-button-size: 32px;
.modal-header {
    position: absolute;
    z-index: 1;
    width: 100%;
    border: unset;
}
.modal-body {
    padding: 0.5rem;
}
#body-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    background-image: url('/images/layout/PopUp_BG.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    font-size: 1em;
    padding: 4.5rem;
    border-radius: 19px;
    .title {
        line-height: 1;
        margin-bottom: 1.5rem;
        font-size: 40px;
        text-transform: uppercase;
    }
    p {
        margin-bottom: 1.5rem;
    }
    .btn {
        width: fit-content;
        background-color: @main-color;
        color: white;
        border: 2px solid @main-color;
        &:hover {
            color: @main-color;
            background-color: white;
            border-color: white;
        }
    }
}
@media only screen and (max-width: 991px) {
    #body-wrapper {
        padding: 2rem;
        .title {
            font-size: 28px;
        }
    }
    
}
@media only screen and (max-width: 767px) {
    #body-wrapper {
        padding: 1rem;
        .title {
            font-size: 22px;
        }
        .title, p {
            margin-bottom: 1rem;
        }
    }
}*/