/* asp - HERO */
.asp-hero {
    width: 100%;
    height: 500px;
    position: relative;
}

.asp-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.asp-hero-overlay {
    width: 100%;
    height: 100%;
    z-index: 2;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: rgba(38, 38, 38, 0.747);
    padding: 20px 0 20px 5vw;
    box-sizing: border-box;
}

.asp-hero-overlay h1 {
    color: white;
    margin: 0 0 10px 0;
    width: 600px;
    max-width: 90vw;
    position: relative;
    font-size: 50px;
}

.asp-hero-overlay h1::after {
    width: 50px;
    height: 4px;
    content: "";
    background-color: var(--main-color-light);
    display: block;
    position: absolute;
    bottom: -5px;
}

.asp-hero-overlay p {
    color: white;
    margin: 0 0 30px 0;
    width: 600px;
    max-width: 90vw;
    font-size: 25px;
}

@media (max-width: 800px) {
    .asp-hero-overlay h1 {
        font-size: 30px;
    }

    .asp-hero-overlay p {
        font-size: 18px;
    }
}

.asp-hero-overlay .site-button {
    color: white;
    background-color: rgba(255, 255, 255, 0.207);
}

.asp-hero-overlay .site-button:hover {
    background-color: var(--main-color);
}

/* asp - BANNER */
.asp-banner {
    padding: 50px 0;
    text-align: center;
    color: white;
    background-color: var(--main-color);
    border-bottom: solid 8px var(--main-color-light);
}

.asp-banner h2 {
    margin: 0;
    font-size: 40px;
    text-align: center;
}

@media (max-width: 800px) {
    .asp-banner h2 {
        font-size: 30px;
    }
}


/* asp - INTRO */
.asp-intro {
    padding: 50px 0;
    background-color: #f1f1f1;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap-reverse;
    row-gap: 30px;
}

.asp-intro-content {
    width: 800px;
    max-width: 85vw;
}

.asp-intro-image-wrap {
    width: 500px;
    height: 350px;
    max-width: 85vw;
    max-height: calc(0.7 * 85vw);
    position: relative;
    margin: 0 10px;
}

.asp-intro-image-wrap::before {
    display: block;
    position: absolute;
    width: 40%;
    height: 60%;
    content: '';
    top: -10px;
    left: -10px;
    border-top: double 8px var(--main-color-light);
    border-left: double 8px var(--main-color-light);
    border-radius: 30px 0 0 0;
}

.asp-intro-image-wrap::after {
    display: block;
    position: absolute;
    width: 40%;
    height: 60%;
    content: '';
    bottom: -10px;
    right: -10px;
    border-bottom: double 8px var(--main-color);
    border-right: double 8px var(--main-color);
    border-radius: 0 0 30px 0;
}

.asp-intro-image-wrap img{
    border-radius: 20px;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.asp-intro-content h2 {
    margin: 0 0 5px 0;
    font-size: 30px;
    color: var(--main-color);
}

.asp-intro-content h3 {
    margin: 0 0 10px 0;
    font-size: 22px;
    position: relative;
    width: fit-content;
    color: var(--main-color-light);
}

.asp-intro-content h3::after {
    width: 75px;
    position: absolute;
    height: 4px;
    bottom: -5px;
    left: 0;
    content: '';
    display: block;
    background-color: var(--main-color);
}

/* asp - BRANDS */
.asp-brands-wrap {
    background: url(/imageserver/UserMedia/bestroofingandgutters/background.jpeg);
    background-position: center;
    background-size: cover;
}

.asp-brands {
    width: 100%;
    padding: 50px 0;
    background-color: #fafafa55;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-top: solid 8px var(--main-color);
}

.asp-brands h2 {
    width: fit-content;
    max-width: 90vw;
    text-align: center;
    color: var(--main-color);
    font-size: 30px;
    position: relative;
}

.asp-brands h2::before {
    width: 100px;
    height: 4px;
    background-color: var(--main-color-light);
    position: absolute;
    top: -5px;
    left: calc(50% - 50px);
    content: '';
}

.asp-brands h2::after {
    width: 100px;
    height: 4px;
    background-color: var(--main-color-light);
    position: absolute;
    bottom: -5px;
    left: calc(50% - 50px);
    content: '';
}

.asp-brands > p {
    width: 800px;
    text-align: center;
    font-size: 18px;
    color: var(--main-color-light);
    max-width: 90vw;
}

.asp-brands-row {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    column-gap: 50px;
    row-gap: 30px;
    flex-wrap: wrap;
    padding: 20px 0 10px 0;
}

.asp-brands-card {
    width: 300px;
    max-width: 90vw;
    height: 200px;
    box-shadow: 0px 0px 4px -1px black;
    border-radius: 5px;
    transition: transform 0.2s linear;
    border-top: solid 4px var(--main-color);
    border-bottom: solid 4px var(--main-color);
    display: grid;
    grid-template-rows: 60% 40%;
    padding: 10px 0;
    justify-content: center;
    align-items: center;
    background-color: #f1f1f1;
}

.asp-brands-card:hover {
    transform: translateY(-10px);
}

.asp-brands-card img {
    width: 90%;
    justify-self: center;
}

.asp-brands-card .site-button {
    justify-self: center;
}

/* asp-cert */
.asp-cert-wrap {
    background: url(/imageserver/UserMedia/bestroofingandgutters/background-2.jpeg);
    background-position: center;
    background-size: cover;
}

.asp-cert {
    padding: 30px 0;
    border-top: solid 8px var(--main-color);
    border-bottom: solid 8px var(--main-color);
    background-color: #00053abe;
}

.asp-cert {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.asp-cert-image-wrap {
    width: 200px;
    height: auto;
    max-width: 80vw;
    position: relative;
}

.asp-cert-image-wrap img {
    width: 100%;
    height: auto;
}

.asp-cert-image-wrap::before {
    content: '';
    display: block;
    position: absolute;
    top: calc(50% - 2px);
    left: -75px;
    width: 50px;
    background-color: #7e83ba;
    height: 4px;
    border-radius: 5px 0 0 5px;
}

.asp-cert-image-wrap::after {
    content: '';
    display: block;
    position: absolute;
    top: calc(50% - 2px);
    right: -75px;
    width: 50px;
    background-color: #7e83ba;
    height: 4px;
    border-radius: 0 5px 5px 0;
}

.asp-cert h2 {
    color: white;
    font-size: 30px;
    margin: 10px 0 10px 0;
}

.asp-cert h2 span {
    color: gold;
    position: relative;
    font-style: italic;
    text-align: center;
    max-width: 90vw;
}

.asp-cert p {
    text-align: center;
    color: white;
    max-width: 90vw;
    width: 800px;
    font-size: 20px;
}