/* HOME - Hero */
.home-hero {
    width: 100%;
    height: 600px;
    overflow: hidden;
    position: relative;
    user-select: none;
}

.home-hero video {
    object-fit: cover;
    object-position: right;
    z-index: 1;
}

.home-hero-overlay {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    backdrop-filter: brightness(40%);
}

.home-hero-overlay .dark-blue-line {
    background-color: var(--main-color);
}

.home-hero-overlay > h1 {
    margin: 20px;
    font-size: 6rem;
    font-weight: 600;
}

.home-hero-overlay > * {
    max-width: 90vw;
    text-align: center;
}


/* HOME - Banner */
.home-banner {
    width: 100%;
    height: fit-content;
    padding: 50px 0px;
    background-color: var(--highlight-color);
    text-align: center;
}

.home-banner a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.home-banner .dark-blue-line {
    width: 0;
    transition: width 0.3s ease-in-out;
    background-color: white;
}

.home-banner h1:hover + .dark-blue-line {
    width: 400px;
}


/* HOME - About */
.home-about {
    padding: 100px 0px;
    background-color: #f0f0f0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;
    gap: 50px;
}

.home-about > * {
    max-width: 90vw;
    width: 600px;
    height: fit-content;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0px 0px 13px -10px black;
    transition: box-shadow 0.3s ease-in-out;
}

.home-about > *:hover {
    box-shadow: 0px 0px 20px -10px black;

}

.home-about-content {
    padding: 20px;
    background-color: white;
    width: 560px;
    position: relative;
    max-width: calc(90vw-40px);
    
}

.home-about-content .dark-blue-line {
    margin-left: 0;
    width: 100px;
    text-align: left;
}

.home-about-content .button {
    margin-top: 20px;
    display: block;
    font-size: 2.5rem;
}

.about-text {
    max-width: 100%;
    line-height: 2.25rem;
    font-size: 1.75rem;
}

.home-about-image {
    width: 650px;
    height: 500px;
}

.home-about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
}

/* HOME - Projects */
.home-projects {
    background-image: url("/imageserver/UserMedia/robertjackson/Remodel%202024/map.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    min-height: fit-content;
    user-select: none;
}

.home-projects-overlay {
    width: 100%;
    height: fit-content;
    background-color: #175a805f;
    backdrop-filter: blur(2px);
    padding: 100px 0px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0px 2px 4px black;
}

.home-projects-overlay h2 {
    font-size: 4rem;
    text-align: center;
    max-width: 80vw;
}

.home-projects-overlay h3 {
    max-width: 80vw;
    text-align: center;
    font-size: 3rem;
    line-height: 3rem;
}

.home-projects-overlay .button {
    margin-top: 50px;
    font-size: 3rem;
}

/* HOME - Services */
.home-services { 
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: center;
    padding: 50px 0px;
    column-gap: 150px;
    flex-wrap: wrap;
}

.home-services > * {
    max-width: 65%;
}

.home-windows {
    padding-top: 100px;
}

.home-services hr {
    background-color: var(--main-color);
}

.home-services h2 {
    font-size: 4rem;
}

.services-text {
    font-size: 2rem;
    line-height: 2.5rem;
}

.services-image {
    border-radius: 10px;
    overflow: hidden;
}