/* HOME - HERO */
.home-hero {
    position: relative;
    width: 100%;
    height: 700px;
}

.home-hero video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 25% 0;
    position: relative;
    z-index: 0;
}

.home-hero .home-hero-overlay {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 100px 0;
    justify-content: flex-end;
    align-items: center;
    box-sizing: border-box;
}

/* HOME - BANNER */
.home-banner {
    width: 100%;
    padding: 50px 0;
    background-color: var(--main-red);
    text-align: center;
    color: white;
    user-select: none;
    box-sizing: border-box;
}

.home-banner h3 {
    margin: 0 0 10px 0;
    font-size: 4rem;
}

.home-banner p {
    font-size: 2rem;
    font-weight: 500;
}

/* HOME - INTRO */
.home-intro-wrap {
    background-color: white;    
}

.home-intro {
    width: 100%;
    padding: 50px 0 125px 0;
    color: white;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 75px), 50% 100%, 0 calc(100% - 75px), 0 0);
    background-color: var(--main-red-dark);
    display: flex;
    gap: 30px;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
}

.home-intro-image-wrap {
    width: 550px;
    height: 350px;
    position: relative;
    max-width: 90vw;
}

.home-intro-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-intro-image-wrap::before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    width: 60%;
    height: 40%;
    border-top: 6px dotted white;
    border-left: 6px dotted white;
}

.home-intro-image-wrap::after {
    content: "";
    position: absolute;
    right: -10px;
    bottom: -10px;
    width: 60%;
    height: 40%;
    border-bottom: 6px dotted white;
    border-right: 6px dotted white;
}

.home-intro-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    width: 900px;
    max-width: 90vw;
}

.home-intro-content .underline {
    margin: 0;
    background-color: white;
}

.home-intro-content h2 {
    margin: 0;
    font-size: 3.5rem;
    position: relative;
}

.home-intro-content h2 span {
    font-style: italic;
    position: relative;
    background: -webkit-linear-gradient(left, var(--gold), white);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.home-intro-content h3 {
    margin: 5px 0;
    font-size: 2.5rem;
    font-weight: 300;
}

.home-intro-content h3 span{
    color: var(--gold);
}

.home-intro-content p {
    margin: 10px 0 20px 0;
    font-weight: 300;
    font-size: 1.75rem;
    width: 800px;
    max-width: 100%;
}

/* HOME - SERVICES */
.home-services-wrap {
    background: linear-gradient(white, #e7e7e7);
    padding: 50px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    border-bottom: groove 10px var(--main-red-dark);
    overflow: hidden;
}

.home-services-accent-line {
    position: absolute;
    bottom: 0;
    left: -300px;
    width: 1000px;
    height: 20%;
    background-color: var(--main-red-dark);
    transform-origin: center;
    transform: rotate(45deg);
    content: "";
    display: block;
    z-index: 0;
}

.home-services-wrap h2 {
    font-size: 4rem;
    margin: 20px 0 50px 0;
    font-weight: 500;
    text-align: center;
}

.home-services-wrap h2 .h2-accent {
    color: var(--main-red);
    font-style: italic;
    position: relative;
}

.home-services-wrap h2 .h2-accent::after {
    content: "";
    width: 80%;
    height: 3px;
    position: absolute;
    bottom: 0;
    left: 10%;
    border-radius: 5px;
    background-color: var(--main-red);
    display: block;
}


.home-services {
    width: 90%;
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 20px;
}

.home-services .home-services-item {
    width: 90%;
    min-height: 300px;
    background: white;
    border-radius: 10px 30px 30px 10px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    padding: 20px 10px;
}

.home-services-item .home-service-item-right-line {
    width: 100%;
    height: 10px;
    position: absolute;
    right: 0;
    bottom: 0;
    content: "";
    background-color: var(--main-red-dark);
    z-index: 0;
    transition: height 0.1s linear;
}

.home-services-item:hover .home-service-item-right-line {
    height: 5px;
}

.home-services-item-image {
    width: 200px;
    height: 200px;
    position: relative;
    transition: transform 0.3s linear;
}

.home-services-item:hover .home-services-item-image {
    transform: scale(1.05);
}

.home-services-item-image::before {
    content: "";
    position: absolute;
    height: 110%;
    width: 110%;
    border: 10px solid transparent;
    border-bottom-color: var(--main-red-dark);
    top: -15px;
    left: -15px;
    border-radius: 50%;
    transform: rotate(135deg);
    transition: all 0.2s ease-in-out;
}

.home-services-item-image::after {
    content: "";
    position: absolute;
    height: 110%;
    width: 110%;
    border: 10px solid transparent;
    border-bottom-color: var(--main-red-dark);
    bottom: -15px;
    right: -15px;
    border-radius: 50%;
    transform: rotate(-45deg);
    transition: all 0.2s ease-in-out;
    transform-origin: center;
}

.home-services-item:hover .home-services-item-image::before {
    transform: rotate(45deg);
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    border-left-color: var(--main-red-dark);
}

.home-services-item:hover .home-services-item-image::after {
    transform: rotate(-135deg);
    width: 100%;
    height: 100%;
    right: 0px;
    bottom: 0px;
    border-left-color: var(--main-red-dark);
}

.home-services-item-image img {
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    width: 100%;
    height: 100%;
}

.home-services-item-content {
    /* border: solid 1px black; */
    box-sizing: border-box;
    width: 400px;
    max-width: 90%;
    color: #515151;
    transition: color 0.2s linear;
}

.home-services-item-content h3 {
    font-weight: 500;
    font-size: 3rem;
    margin: 0 0 5px 0;
}

.home-services-item-content .underline {
    margin: 0;
    width: 75px;
}

.home-services-item:hover .home-services-item-content {
    color: black;
}

.home-services-item-content p {
    margin: 5px 0 20px 0;
    font-size: 1.5rem;
}

.home-services-item-content .site-button {
    padding: 10px 15px;
    font-size: 2rem;
}

.home-services-item:hover .site-button {
    letter-spacing: .1rem;
}

@media (max-width: 1200px) {
    .home-services {
        grid-template-columns: 1fr;
    }

    .home-services .home-services-item {
        justify-self: center;
        height: fit-content;
        padding: 30px 0;
    }
}

/* HOME - CERTS */
.home-certs-wrap {
    background-image: url('/imageserver/UserMedia/amcraftsmen/background.jpeg');
    background-size: cover;
    border-bottom: ridge 10px var(--main-red-dark);
}
.home-certs {
    padding: 50px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #6a6a6aa2;
    user-select: none;
}

.home-certs-content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.home-certs h2 {
    font-weight: 500;
    font-size: 4rem;
    margin: 0 0 10px 0;
    color: white;
    text-align: center;
    width: 90%;
}

.home-certs h2 span {
    font-style: italic;
    position: relative;
    background: -webkit-linear-gradient(left, var(--gold), white);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-wrap: wrap;
}

.home-certs img {
    height: auto;
    width: 300px;
    max-width: 90%;
}

.home-certs-content ul {
    list-style: none;
    padding: 0;
}

.home-certs-content ul li svg {
    width: 40px;
    height: 40px;
}

.home-certs-content ul li {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    column-gap: 10px;
    margin: 15px 0;
}

.home-certs-content ul li span {
    color: var(--gold);
    font-size: 2.25rem;
    transition: font-size 0.2s linear;
}

.home-certs-content ul li span:hover {
    font-size: 2.5rem;
}

.home-certs-content p {
    margin: 0 0 0 0;
    color: white;
    font-size: 2rem;
}

/* HOME - REVIEWS */
.home-reviews {
    padding: 50px 0;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.home-reviews-accent-circle {
    position: absolute;
    right: -250px;
    top: -250px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background-color: transparent;
    border-bottom: dotted 10px var(--main-red-dark);
    transform-origin: center;
    content: "";
    display: block;
    z-index: 0;
}

.home-reviews h2 {
    font-weight: 500;
    text-align: center;
    font-size: 4rem;
    user-select: none;
    margin: 20px 0 40px 0;
}

.home-reviews h2 span {
    font-style: italic;
    color: var(--gold);
}

.home-review-row {
    display: grid;
    grid-template-columns: repeat(4, 20%);
    gap: 30px;
    justify-content: center;
}

.home-review-card {
    width: 100%;
    min-height: 200px;
    position: relative;
    background: linear-gradient(to bottom, rgb(248, 248, 248), rgb(225, 225, 225));
    padding: 10px;
    box-sizing: border-box;
    border-radius: 20px;
    overflow: hidden;
    border-top: solid 6px var(--main-red);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 5px 20px -10px black;
}

.home-review-card p {
    font-size: 1.5rem;
    margin: 10px 0;
}

.home-review-card h6 {
    font-size: 2.5rem;
    margin: 0;
    font-weight: 500;
    text-align: center;
}

.home-review-card-stars {
    display: flex;
    align-items: center;
    column-gap: 10px;
}

.home-review-star {
    content: "";
    background: url('/imageserver/UserMedia/amcraftsmen/star.svg');
    display: inline-block;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-size: contain;
}

.home-review-cta {
    font-size: 3rem;
    text-align: center;
    margin: 50px 0 30px 0;
}

.home-reviews .site-button {
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .home-review-row {
        grid-template-columns: repeat(2, 40%);
    }
}

@media (max-width: 700px) {
    .home-review-row {
        grid-template-columns: 70%;
    }
}

/* HOME - ABOUT */
.home-about {
    padding: 50px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(#f9f9f9 0%, #e7e7e7 50% ,white 100%);
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
}

.home-about-accent-line {
    position: absolute;
    width: 120%;
    height: 100%;
    top: 50%;
    left: -10%;
    border-top: dotted 10px var(--main-red-dark);
    z-index: 0;
    border-radius: 50%;
    background-color: transparent;
    content: "";
    display: block;
}

.home-about img {
    width: 500px;
    max-width: 90vw;
    z-index: 1;
}

.home-about-content {
    padding: 20px 10px;
    background-color: rgba(239, 239, 239, 0.951);
    border-radius: 10px;
    width: 700px;
    max-width: 90vw;
    z-index: 1;
}

.home-about-content h3 {
    font-weight: 500;
    font-size: 3rem;
    margin: 0 0 10px 0;
}

.home-about-content h3 span {
    color: var(--gold);
    font-style: italic;
}

.home-about-content .underline {
    margin: 0;
    width: 75px;
}

.home-about-content p {
    margin: 10px 0 30px 0;
    font-size: 1.75rem;
}