@import url("/css/templates/secondary-header.css");
.steel-constructs_header{
    background: url('/resources/images/steel-constructs/header.jpg');
    background-position: center;
    background-size: cover;
}
.steel-constructs_about{
    padding: 6rem 5vw;
    background-color: hsl(0, 0%, 95%);
    line-height: 1;
    .wrapper{
        max-width: 1400px;
        margin: 0 auto;
        .title{
            font-size: 2.5em;
            margin-bottom: 1rem;
        }
        .section-desc{
            margin-bottom: 3rem;
        }
        .stages{
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            flex-wrap: wrap;
            gap: 1.5rem;
            align-items: stretch;
            justify-content: center;
            justify-items: center;
            align-content: center;
            .stage{
                display: flex;
                flex-direction: column;
                flex: 0 0 30ch;
                background-color: white;
                box-shadow: 0 2px 5px hsl(0, 0%, 0%, 0.25);
                color: black;
                padding: 4rem 2rem;
                border: 1px solid black;
                .stage-title{
                    font-size: 1.4rem;
                    margin-bottom: 1rem;
                    color: hsl(200, 100%, 35%);
                    font-weight: 600;
                    line-height: 1.3;
                }
                .stage-desc{
                    line-height: 1.7;
                    margin: auto 0;
                }
            }
        }
    }
    @media screen and (max-width: 1200px){
        .wrapper{
            .stages{
                grid-template-columns: repeat(2, 1fr);
            }
        }
    }
    @media screen and (max-width: 800px){
        .wrapper{
            .stages{
                grid-template-columns: repeat(1, 1fr);
            }
        }
    }
}
.steel-constructs_types{
    background-color: hsl(0, 0%, 95%);
    padding: 5rem 5vw;
    line-height: 1;
    .wrapper{
        max-width: 1300px;
        margin: 0 auto;
        .title{
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }
        .desc{
            margin-bottom: 3rem;
            max-width: 60ch;
            line-height: 1.5;
        }
        .grid{
            display: grid;
            gap: 2rem;
            grid-template-columns: repeat(3, 1fr);
            justify-items: center;
            .card{
                max-width: 70ch;
                background-color: white;
                display: flex;
                flex-direction: column-reverse;
                border: 1px solid hsl(0, 0%, 80%);
                box-shadow: 0 2px 3px hsl(0, 0%, 0%, 0.1);
                transition: 0.1s;
                article{
                    padding: 2rem;
                    display: flex;
                    flex-direction: column;
                    height: 100%;
                    h3{
                        font-size: 1.5rem;
                        color: hsl(200, 100%, 20%);
                        font-weight: 600;
                        margin-bottom: 1rem;
                    }
                    p{
                        font-size: 1rem;
                        line-height: 1.6;
                        align-content: center;
                        margin-bottom: 1rem;
                    }
                    .cta{
                        color: white;
                        background-color: hsl(200, 100%, 40%);
                        box-shadow: 0 1px 2px hsl(0, 0%, 0%, 0.3);
                        width: fit-content;
                        padding: 1rem 2rem;
                        margin-top: auto;
                        display: block;
                        transition: 0.1s;
                        text-decoration: none;
                        &.-disabled{
                            background-color: white;
                            color: hsl(0, 0%, 50%);
                            border: 1px solid hsl(0, 0%, 80%);
                            &:hover{
                                background-color: white;
                            }
                        }
                        &:hover{
                            background-color: hsl(200, 100%, 35%);
                        }
                    }
                }
                div.img-container{
                    position: relative;
                    background-color: hsl(0, 0%, 90%);
                    img{
                        height: 100%;
                        width: 100%;
                        object-fit: cover;
                        display: block;
                        aspect-ratio: 3/2;
                    }
                    &::after{
                        content: "";
                        top: 0;
                        left: 0;
                        width: 100%;
                        height: 100%;
                        position: absolute;
                    }
                }
                &:hover{
                    box-shadow: 0 2px 7px hsl(0, 0%, 0%, 0.3);
                }
            }
        }
    }
    @media screen and (max-width: 1300px){
        .wrapper{
            max-width: 900px;
            .grid{
                grid-template-columns: repeat(2, 1fr);
            }
        }
    }
    @media screen and (max-width: 900px){
        .wrapper{
            max-width: 450px;
            .grid{
                grid-template-columns: 1fr;
            }
        }
    }
}
.steel-constructs_cta{
    background-image: url("/resources/images/steel-constructs/cta-bg.jpg");
    background-position: center;
    background-size: cover;
    padding: 6rem 5vw;
    position: relative;
    box-shadow: 0 0 10px hsl(0, 0%, 0%, 0.3) inset;
    div.container{
        max-width: 500px;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        position: relative;
        z-index: 10;
        p.cta-desc{
            text-align: center;
            margin-bottom: 2rem;
            color: white;
            font-size: 1.2rem;
            font-weight: 400;
            text-shadow: 0 0 2px hsl(0, 0%, 0%, 0.3);
        }
        a.cta-button{
            background-color: hsl(200, 90%, 40%);
            color: white;
            text-decoration: none;
            padding: 1.5rem 2rem;
            border-radius: 5px;
            display: block;
            width: fit-content;
            align-self: center;
            transition: 0.2s;
            font-size: 1.2rem;
            box-shadow: 0 2px 5px hsl(0, 0%, 0%, 0.25);
            &:hover{
                background-color: hsl(200, 90%, 30%);
            }
        }
    }
    &::after{
        position: absolute;
        background: linear-gradient(30deg, hsl(200, 50%, 10% , 0.7), hsl(200, 50%, 10% , 0.4));
        content: "";
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: 1;
    }
}