@import url('https://fonts.googleapis.com/css2?family=Istok+Web:wght@400;700&display=swap');

:root {
    --primary-color: #252525;
    --secondary-color: #987864;
    --light-color: #DBDBDB;
    --text-color: #252525;
    --home-bg-color: #FCFCFC;
    --accent-color: #e74c3c;
}

section{
    padding-bottom: 0;
}

h2{
    font-size: 50px;
    font-weight: bold;
    text-transform: uppercase;
}

.top-line{
    height: 3px;
    width: 20em;
    margin: 35px 0;
    background-color: var(--secondary-color);
}

.heading-text{
    width: 35em;
    line-height: 1.3;
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 96px;

    b{
        color: var(--secondary-color);
        text-transform: capitalize;
    }
}

.image-container{
    img{
        width: 100%;
    }
}

article{
    display: flex; 
    justify-content: space-between;
    width: 75%;
    margin: auto;
    margin-bottom: 80px;
}

article > *{
    width: 49%;
}

article .image-container{
    height: 20vw;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;

    img{
        height: 100%;
        object-fit: cover;
    }
}

.article-content{
    text-align: left;


    .icon{
        display: inline-flex;
        height: 47px;
        width: 47px;
        border-radius: 50%;
        background-color: var(--secondary-color);
        justify-content: center;
        align-items: center;
        margin-bottom: 10px;
        box-shadow: rgba(17, 17, 26, 0.05) 0px 4px 16px, rgba(17, 17, 26, 0.05) 0px 8px 32px;

        img{
            width: 50%;
        }
    }

    h3{
        text-transform: uppercase;
        font-weight: bold;
        font-size: 20px;
    }

    p{
        line-height: 1.2;
    }

    button{
        padding: 10px;
        text-transform: uppercase;
        font-weight: bold;
        font-size: 12px;
        letter-spacing: 1;
        width: 60%;
        border: none;
        border-radius: 8px;
        box-shadow: rgba(0, 0, 0, 0.20) 0px 3px 10px;
        text-align: left;
        margin-top: 20px;
    }
}

article.left-image{
    .article-content{
        padding-left: 10%;
    }
}

article.right-image{
    .article-content{
        padding-right: 10%;
    }
}

.contacts{
    width: 80%;
    margin: 0 auto 60px;
}

.contact-card{
    width: 100%;
    position: relative;


    .image-container{
        width: 100%;
        
        img{
            width: 100%;
        }
    }

    .contacts-content{
        position: absolute;
        top: 0;
        left:0;
        bottom: 0;
        right: 0;
        display: flex;
        z-index: 2;
        padding: 6%;
    
    }

    .contacts-content > *{
        flex: 1;
    }

    h3{
        font-size: 50px;
        font-weight: bold;
        text-transform: uppercase;
        line-height: 1;
        text-align: left;
    }

    h4{
        font-weight: bold;
        text-transform: uppercase;
        font-size: 24px;
        text-align: left;
    }

    .contacts-info{
        text-align: left;
        margin-top: 50px;
        font-weight: 600;
    }

    .social-links{
        margin-top: 80px;
        display: flex;
        gap: 25px;
        justify-content: center;
        align-items: center;
    }

    .form{
        display: flex;
        flex-direction: column;
        gap: 25px
    }

    input, textarea{
        background-color: rgba(255, 255, 255, 0.7);
        border-radius: 8px;
        padding: 10px 20px;
        resize: none;
        border: none;
        font-size: 12px;
        color: #717171;

    }

    textarea{
        min-height: 160px;
        font-family: 'Istok Web', Arial, sans-serif;
    }

    button{
        width: min-content;
        padding: 15px 40px;
        background-color: var(--primary-color);
        color: var(--light-color);
        border-radius: 8px;
        cursor: pointer;
        margin-left: auto;
    }


}

