/* HEADER */

#header-row {
    background-color: var(--nectar-extra-color-1);
    padding-top: 50px !important;
    padding-bottom: 150px !important;
}


@media (min-width: 1000px) {
    #header-row {
        height: 100svh;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}

#header-row .header-video-mask::after {
    background-image: linear-gradient(to top, var(--nectar-extra-color-1) 30%, transparent);
}

#header-row .header-video-mask .title {
    color: white;
}

/* HOVER SECTION */

#hover-row .row-bg-wrap {
    background-color: var(--nectar-accent-color);
}

#hover-row .column_container {
    padding: 0 !important;
}

#hover-row {
    padding-bottom: 150px !important;
}

.row:has(#hover-row) {
    padding-bottom: 0;
}


#hover-row .section {
    display: flex;
    height: 1000px;
    width: 100%;
    position: relative;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#hover-row .section::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 257.34 141.16"><path fill="%231d1e1b" d="M257.34,141.16V0H0c29.7,0,58.68,8.7,83.21,25.09l174.13,116.07Z"/></svg>');
    background-position: right top;
    background-repeat: no-repeat;
    background-size: auto 80px;
    position: absolute;
    top: 0;
    right: 0;
    width: 140px;
    height: 80px;
    content: "";
    z-index: 1;
}

#hover-row .section::after {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 257.34 141.16"><path fill="%23ffa500" d="M0,0v141.16h257.34c-29.7,0-58.68-8.7-83.21-25.09L0,0Z"/></svg>');
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: auto 80px;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 140px;
    height: 80px;
    content: "";
}

#hover-row .section .hover-child {
    flex-basis: calc(100%/3);
    height: calc(100%/3);
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

#hover-row .section .hover-child .content {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 36px;
    width: 0%;
    height: 100%;
    padding: 40px;
    justify-content: center;
    align-items: center;
    color: white;
    background-color: rgba(0,0,0, 0.7);
    opacity: 0;
    transition: opacity 0.3s ease, width 0.3s ease;
}

#hover-row .section .hover-child .content .title {
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: 36px;
}

#hover-row .section .hover-child .content .description {
    font-size: 20px;
    font-weight: 300;
}

#hover-row .section .hover-child {
    width: 100%;
}

#hover-row .section .hover-child:nth-child(1) {
    background-image: url('https://www.autohaus-yspertal.at/wp-content/uploads/2025/02/PHOTO-2025-01-23-10-20-18.jpg');
	background-position: center;
}

#hover-row .section .hover-child:nth-child(2) {
    background-image: url('https://www.autohaus-yspertal.at/wp-content/uploads/2025/02/image7-min-scaled.jpeg');
	background-position: center;
}

#hover-row .section .hover-child:nth-child(3) {
    background-image: url('https://www.autohaus-yspertal.at/wp-content/uploads/2025/02/image5-min-scaled.jpeg');
	background-position: center;
}

#hover-row .section .hover-child:hover .content {
    opacity: 1;
    width: 100%;
    height: 100%;
}

@media (min-width: 768px) {

    #hover-row .section {
        height: 1400px;
    }

}

@media (min-width: 1000px) {

    #hover-row {
        padding-bottom: 300px !important;
    }

    #hover-row .section {
        flex-direction: row;
        height: 600px;
    }

    #hover-row .section .hover-child {
        width: auto;
        height: 100%;
    }

}

/* #hover-row .section .hover-child:hover .content {
    opacity: 1;
    width: 100%;
} */

/* MAIN ROW */

#main-row .row-bg-wrap {
    background-color: var(--nectar-accent-color);
}

#main-row .column_container {
    padding: 0 !important;
}

#main-row {
    padding-bottom: 150px !important;
}

.row:has(#main-row) {
    padding-bottom: 0;
}

#main-row .content {
    display: flex;
    align-items: flex-end;
    justify-content: end;
    color: var(--nectar-extra-color-1);
    flex-wrap: wrap;
    gap: 150px;
    flex-direction: column;
}

#main-row .image {
    position: relative;
    flex: 1;
    width: 100%;
}

#main-row .image::before {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 257.34 141.16"><path fill="%23ffa500" d="M257.34,141.16V0H0c29.7,0,58.68,8.7,83.21,25.09l174.13,116.07Z"/></svg>');
    background-position: right top;
    background-repeat: no-repeat;
    background-size: auto 50px;
    position: absolute;
    inset: 0;
    content: "";
    z-index: 1;
}

#main-row .image::after {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 257.34 141.16"><path fill="%23ffa500" d="M0,0v141.16h257.34c-29.7,0-58.68-8.7-83.21-25.09L0,0Z"/></svg>');
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: auto 50px;
    position: absolute;
    inset: 0;
    content: "";
    z-index: 1;
}

#main-row .image img {
    aspect-ratio: 1/1 !important;
    object-fit: cover;
    margin: 0 !important;
    width: 100%;
}

#main-row .title-wrapper {
    flex: 1;
    width: 100%;
}

#main-row .subtitle-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-bottom: 15px;
}

#main-row .line {
    width: 40px;
    height: 1px;
    margin: 0 15px;
    background-color: var(--nectar-extra-color-1);;
}

#main-row .subtitle {
    font-size: 20px;
    font-style: italic;
    letter-spacing: 2px;
    text-transform: uppercase;
}

#main-row .title-wrapper .title {
    font-size: 36px;
    letter-spacing: 4px;
    font-weight: bold;
    padding-bottom: 25px;
    text-transform: uppercase;
    font-weight: 400;
    color: var(--nectar-extra-color-1);;
}

#main-row .description {
    font-weight: 300;
    font-size: 20px;
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}


@media (min-width: 1000px) {

    #main-row {
        padding-bottom: 300px !important;
    }

    #main-row .content {
        gap: 100px;
        flex-direction: row;
    }

    #main-row .subtitle-wrapper {
        justify-content: center;
    }

    #main-row .title-wrapper .title {
        text-align: center;
    }

    #main-row .title-wrapper {
        flex: 2;
    }

    #main-row .image {
        flex: 1;
    }

}

/* SERVICE */

#service-row .row-bg-wrap {
    background-color: var(--nectar-accent-color);
}

#service-row .column_container {
    padding: 0 !important;
}

#service-row {
    padding-bottom: 150px !important;
}

.row:has(#service-row) {
    padding-bottom: 0;
}

#service-row .service-container * {
    color: var(--nectar-extra-color-1) !important;
    font-size: 20px;
}

#service-row .service-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    max-width: 1200px;
}

#service-row .service-item {
    flex: 1 1 100%;
    max-width: 100%;
}

#service-row .service-item h2 {
    margin-top: 20px;
    line-height: 1.1;
    text-transform: uppercase;
}

#service-row .service-item p {
    font-size: 20px;
    color: var(--nectar-extra-color-1);
}

#service-row .icon img {
    width: 110px;
    height: 110px;
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    #service-row .service-item {
        flex: 1 1 calc(50% - 40px);
        max-width: calc(50% - 40px);
    }
}

@media (min-width: 1000px) {
    #service-row .service-item {
        flex: 1 1 calc(25% - 40px);
        max-width: calc(25% - 40px);
    }

    #service-row {
        padding-bottom: 300px !important;
    }

}



#service-row .row-bg-wrap {
    background-color: var(--nectar-accent-color);
}