﻿/*
*********************************************************************************
HOMEPAGE 
*********************************************************************************
*/

/* Hero */

.homepage {
    min-height: calc(100vh - 3rem);
    display:flex;
    flex-direction:column;
}

    .homepage .background.hero-video video {
        object-fit: cover;
        width: 100%;
        height:100%;
    }
    .homepage.home-carousel .background {
        width: calc(100vw - 3rem);
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        bottom: 3rem;
    }

    .homepage.home-carousel #hero-carousel {
        position: relative;
        --bs-carousel-transition-duration: 2s; /* Adjust value as needed */
    }

        .homepage.home-carousel #hero-carousel .carousel-inner .carousel-item {
            transition-duration: 2s; /* Fallback for fade effect */
        }
        .homepage.home-carousel #hero-carousel .carousel-inner .carousel-item {
            transition-duration: 2s; /* Fallback for fade effect */
        }

    .homepage .background {
        position: relative;
        min-height: 100%;
        height: 100%;
        width: 100%;
        flex: 1;
        display:flex;
        justify-content: start;
        align-items: center;
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }

        .homepage .hero-content {
            position:relative;
            min-height: 100%;
            height: 100%;
            flex:1;
            z-index: 1;
            display: flex; 
            justify-content: start; 
            align-items: start;
        }
        .homepage.home-carousel .hero-content {
            justify-content: start; 
            align-items: center;
        }

            .homepage .hero-content > div {
                flex-basis: 100%;
            }

            .homepage .hero-content h1 {
                font-size: clamp(1.75rem, 1.3673rem + 1.6327vw, 3rem);
                font-weight: 800;
                text-transform: none;
                font-style: normal;
                line-height: 1.2em;
                letter-spacing: 0em;
                word-spacing: 0em;
                color: #FFFFFF;
            }

    .homepage .overlay {
        width: calc(100vw - 3rem);
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        height: 100%;
    }



.section-header .overlay.overlay-gradient {
    background: linear-gradient(to bottom, rgba(0,0,0, .25) 80px, rgba(0,0,0, .15) 220px, rgba(0,0,0, 0) 450px);
}

@media (max-width: 991px) {
    .homepage .background {
        margin-top: 0;
    }
}

@media (min-width: 1200px) {
    /*.homepage .background {        
        justify-content: end;
        align-items: end;
    }*/

    .homepage .hero-content > div {
        flex-basis: 60%;
        /*padding-bottom: 8%;*/
    }
}

@media (min-width: 1600px) {
    .homepage .hero-content {
        flex-basis: 60%;
    }
}

/* Key Figures */

.key-figures .value {
    font-size: clamp(3rem, 2.2959rem + 3.0041vw, 5.3rem);
    color: var(--secondary-color);
    font-weight: 700;
}

.key-figures .desc {
    font-size: 1.25rem;
    color: var(--text-white);
}

.key-figures h2 {
    color: var(--text-white);
}

/* Services */

/*.services {
    border-radius: 2rem 2rem 0 0;
}*/

.services .service img {
    height: 80px;
    margin: 2rem 2rem 0 2rem;
}

/* Brands */

.brand {
    aspect-ratio: 2/1;
}

/*.cta-section {
    min-height: calc(100vh - 72px);
    padding: 10%;
    border-radius: 3rem;
    overflow: hidden;
}*/

    .cta-section .cta-content {
        position:relative;
        z-index: 2;
        max-width: 450px;
    }

        .cta-section .cta-content h2 {
            font-weight: 500;
            line-height: 1.2em;
        }

    .cta-section .cta-icon {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 0;
        padding: 10px;
    }

        .cta-section .cta-icon img {
            object-position:top center;
            height: 60%;
        }

    .cta-section .overlay {
        z-index: 1;
    }

@media (min-width: 576px) {
    
}
@media (min-width: 768px) {
    
        .cta-section .cta-icon img {
            object-position: right;
            height: 460px;
        }
}
@media (min-width: 992px) {
    .cta-section {
        min-height: 500px;
        padding: 100px;
    }
    .cta-section .cta-icon {
        z-index: 1;
        padding: 50px;
    }
        
}
@media (min-width: 1200px) {
    .cta-section .cta-content {
        max-width: 800px;
    }
    .cta-section .cta-icon {
        padding: 50px 100px;
    }
}

/* EAG main page */

.logo-section {
    padding: 1.25rem 0;
    text-align: center;
}

    .logo-section img {
        max-height: 3.75rem;
        width: auto;
    }

.companies-section {
    padding: 0;
}

.company-card {
    height: 100%;
}

.company-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

    .company-background::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
    }

    .company-background .cover-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.company-content {
    position: relative;
    z-index: 2;
    color: var(--text-white);
    padding: 0 10%;
    width: 100%;
}

    .company-content .preheadline {
        color: var(--text-white);
    }

    .company-content .h3 {
        font-weight: 800;
        text-transform: uppercase;
    }

    .company-content p:not(.preheadline) {
        max-width: 85%;
        color: var(--text-white);
    }

    .company-content .btn {

        background-color: var(--secondary-color);
        color: var(--primary-color);
    }

        .company-content .btn-primary:hover {
            opacity: 0.9;
        }


    .contact-section .h2 {
        font-size: 2rem;
        color: var(--primary-color);
        text-transform: uppercase;
    }

.contact-section p {
max-width: 800px;
}




.contact-card {
    text-align: left;
}

.contact-logo {
    margin-bottom: 1.25rem;
}

    .contact-logo img {
        max-height: 90px;
        width: auto;
    }

.phone-numbers {
    margin-top: 1rem;
}



.phone-label {
    font-weight: 700;
    color: var(--text-dark);
    display: block;
}

.phone-number {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
    display: inline-block;
    margin-top: 0.125rem;
}

    .phone-number:hover {
        color: var(--primary-color-dark);
    }
