/* Template Home CSS file */
/* ------------------------------------------------- */

/* Loading Screen */

div#loading-screen-background img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.5;
}

section#loading-screen {
    background: linear-gradient(0deg, rgba(91, 93, 44, 1) 0%, rgba(91, 93, 44, 1) 100%);
    background-blend-mode: multiply;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    transition: all 0.6s ease;
    pointer-events: none;
}

section#loading-screen.active {
    opacity: 1;
    pointer-events: all;
}

div#loading-gif {
    max-width: 256px;
    max-height: 181px;
    width: 100%;
    height: 100%;
    display: flex;
    margin: auto;
}

div#loading-gif img {
    width: 100%;
    height: 100%;
    margin: auto;
    display: flex;
    object-fit: contain;
}

div#loading-logo {
    max-width: 400px;
    max-height: 103px;
    width: 100%;
    height: 100%;
    margin: auto;
}

div#loading-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: flex;
}

/* Banner */
section.banner-section {
    padding: 159px 0 clamp(25px, 5vw, 50px);
}

.banner-image {
    border-radius: 5px;
    box-shadow: 2px 2px 6px 0px rgba(20, 20, 20, 0.25) inset;
    display: flex;
    overflow: hidden;
}

.banner-image img {
    width: 100%;
    height: auto;
    max-height: 820px;
    object-fit: cover;
}

/* Introduction */

section.introduction-section {
    padding: clamp(25px, 5vw, 50px) 0;
}

.introduction-content p {
    max-width: 900px;
}

.introduction-content {
    display: flex;
    flex-direction: column;
    gap: clamp(25px, 5vw, 50px);
}

.introduction-content h1 {
    text-transform: capitalize;
}

/* Services  */
.services-container {
    display: flex;
    flex-direction: row;
    gap: 25px;
    transition: all 0.3s ease; 
    width: 100%;
}

a.service {
    display: grid;
    position: relative;
    max-height: 612px;
    height: 61.2vw;
    transition: all 0.6s ease; 
    overflow: hidden;
    width: 100%;
    border-radius: 5px;
}

section.services-section {
    padding: clamp(25px, 5vw, 50px) 0;
}

a.service p {
    display: none;
}

a.service:hover {
    width: 300%;
}

a.service:hover p {
    display: flex;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
}

.service-content {
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: start;
    margin-top: auto;
    padding: clamp(25px, 5vw, 50px);
    gap: 25px;
}

.service-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 140%;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
}

a.service:before {
    background: linear-gradient(180deg, rgba(80, 81, 38, 0.25) 0%, #505126 85%);
    mix-blend-mode: multiply;
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 0;
}

a.service:hover:after {
    width: 2000px;
    height: 2000px;
    left: -500px;
    bottom: -500px;
}

a.service:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    border-radius: 100%;
    width: 0;
    height: 0;
    transition: linear 0.5s;
    background: var(--black);
    z-index: -1;
    opacity: 0.8;
}

@media (max-width: 1200px) {
    a.service:hover {
        width: 200%;
    }
}

@media (max-width: 960px) {
    .services-container {
        flex-direction: column;
    }

    a.service:hover {
        width: 100%;
    }
}

@media (max-width: 650px) {
    a.service p {
        display: none!important;
    }
}

/* Content */

.content-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.content-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(56px, 11.2vw, 112px);
}

section.content-section {
    padding: clamp(25px, 5vw, 50px) 0;
}

.content-title h2 {
    max-width: 568px;
    margin-left: auto;
}

@media (max-width: 960px) {
    .content-container {
        grid-template-columns: 1fr;
    }

    .content-content .button {
        margin: auto;
    }
}

/* Gallery Slider */
.slider img {
    max-height: 612px;
    height: 61.2vw;
    object-fit: cover;
    width: 100%;
    box-shadow: 2px 2px 6px 0px rgba(20, 20, 20, 0.25) inset;
    border-radius: 5px;
}

section.slider-images {
    padding: clamp(25px, 5vw, 50px) 0 0;
}

section.slider-images .wrap {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.slider-button-area {
    display: grid;
    justify-content: center;
    gap: 25px;
    width: 100%;
    align-items: center;
    grid-template-columns: 1fr auto 1fr;
}

.slider-button-area .line {
    height: 1px;
    background: rgba(239, 226, 203, 0.10);
    width: 100%;
}

.slider-button-area .button {
    margin: auto;
}

@media (max-width: 650px) {
    button.splide__arrow.splide__arrow--prev {
        left: 0;
    }

    button.splide__arrow.splide__arrow--next {
        right: 0;
    }
}