/* Reset e Configurações Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    height: 100%;
    color: #555;
    font-size: 16px;
}
html {
    scroll-behavior: smooth;
}
a {
    text-decoration: none;
}
hr {
    width: 250px;
    height: 2px;
    background-color: #046df6;
    border: 0;
    margin-top: 10px;
    margin-bottom: 20px;
}

/* Header Responsivo */
header {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    color: #fff;
    padding: 35px 5%;
    background: rgba(0, 0, 0, 0.75) url("../img/80qW.gif") no-repeat center;
    background-blend-mode: darken;
    background-attachment: fixed;
    background-size: cover;
}

/* Navegação Responsiva */
header #navegacao {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-between;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    align-items: center;
    padding: 0 5%;
    z-index: 10;
}

#navegacao nav {
    display: flex;
    align-items: center;
    gap: 15px;
}

#navegacao nav a, #navegacao a {
    color: #fff;
    font-size: 16px;
    padding: 5px;
}
#navegacao h2 a {
    color: #fff;
    font-size: 20px;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Seção Inicial */
#inicio {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    width: 100%;
    color: #fff;
    padding: 50px 5%;
}

#inicio img {
    width: 100%;
    max-width: 500px;
}

/* Seções Gerais */
#portfolio, #servicos, #sobre, #contato {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 125px 5%;
}

#portfolio, #sobre {
    background-color: #fff;
}
#sobre p {
    width: 100%;
    font-size: 16px;
    text-align: center  ;
    padding-bottom: 10px;
}
#servicos, #contato {
    background-color: #e6e3e3;
}

/* Grid Responsivo */
#portfolio .grid, #servicos .grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    
}

#portfolio .grid img {
    height: auto;
    width: 100%;
    max-width: 250px;
}

#servicos .grid div {
    flex: 1 1 250px;
    text-align: center;
    max-width: 300px;
}

#servicos .grid img {
    width: 100%;
    max-width: 250px;
}

/* Formulário Responsivo */
#contato form {
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 500px;
    flex-direction: column;
    padding: 50px;
}
#contato p{
    padding-bottom: 10px;
}


/* Footer */
footer {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    background-color: #444;
    padding: 25px 4%;
    text-align: center;
}

footer a {
    color: white;
}

/* Media Queries para Responsividade */
@media (max-width: 768px) {
    #navegacao {
        flex-direction: column;
        height: auto;
        padding: 10px;
    }
    
    #navegacao nav {
        flex-direction: column;
        text-align: center;
        display: block;
    }

    #servicos .grid {
        flex-direction: column;
        align-items: center;
    }

    #sobre p {
        width: 100%;
        font-size: 16px;
        text-align: justify;
        padding-bottom: 10px;
    }
    header {
        width: 100%;
        min-height: 100vh;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        color: #fff;
        padding: 35px 5%;
        background: rgba(0, 0, 0, 0.75) url("../img/80qW.gif") no-repeat center;
        background-blend-mode: darken;
        background-attachment: fixed;
        background-size: cover;
    }
    #contato p{
        text-align: center;
        padding-bottom: 10px;
    }

}
