/* Estilos Gerais */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
    background-color: #f4f4f4;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

h1, h2, h3 {
    color: #0056b3; /* Um tom de azul profissional */
}

a {
    text-decoration: none;
    color: #0056b3;
}

a:hover {
    color: #003f7f;
}

/* Header */
header {
    background: #fff;
    padding-top: 30px;
    min-height: 70px;
    border-bottom: #e8491d 3px solid; /* Cor de destaque */
}

header a {
    color: #333;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
}

header ul {
    padding: 0;
    margin: 0;
    list-style: none;
    overflow: hidden;
}

header li {
    float: left;
    display: inline;
    padding: 0 20px 0 20px;
}

header #branding {
    float: left;
}

header #branding h1 {
    margin: 0;
}

header nav {
    float: right;
    margin-top: 10px;
}

/* Hero Section */
#hero {
    min-height: 400px;
    background: url('images/projeto2_thumbnail.jpg') no-repeat center center/cover; /* Substitua por sua imagem */
    text-align: center;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#hero::before { /* Efeito de overlay escuro para melhor legibilidade do texto */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1e3faa;

}

#hero .container {
    position: relative; /* Para o conteúdo ficar acima do overlay */
    z-index: 1;
}


#hero h2 {
    margin-top: 0;
    font-size: 48px;
    color: #fff;
}

#hero p {
    font-size: 20px;
    color: #fff;
}

.cta-button {
    display: inline-block;
    color: #fff;
    background: #e8491d; /* Cor de destaque */
    padding: 10px 20px;
    margin-top: 20px;
    border-radius: 5px;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background: #333;
    color: #fff;
}

/* Seções Gerais */
section {
    padding: 80px 0;
    text-align: center;
}

/* Sobre Section */
#sobre p {
    font-size: 18px;
    max-width: 800px;
    margin: 20px auto;
}

/* Serviços Section */
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.servico-item {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.servico-item img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    filter: invert(30%) sepia(100%) saturate(3000%) hue-rotate(190deg) brightness(90%) contrast(100%); /* Exemplo de coloração */
}

/* Portfólio Section */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.portfolio-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: left;
}

.portfolio-item img {
    width: 100%;
    height: 200px;
    object-fit: cover; /* Garante que a imagem cubra o espaço */
    border-radius: 5px;
    margin-bottom: 15px;
}

.portfolio-item h3 {
    margin-bottom: 10px;
    color: #0056b3;
}

.portfolio-item a {
    display: inline-block;
    margin-top: 10px;
    font-weight: bold;
}

/* Contato Section */
#contato form {
    max-width: 600px;
    margin: 40px auto;
    text-align: left;
}

#contato input[type="text"],
#contato input[type="email"],
#contato input[type="tel"],
#contato textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Para incluir padding e border no width */
}

#contato textarea {
    height: 150px;
}

#contato button {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background: #e8491d; /* Cor de destaque */
    color: #fff;
    border: 0;
    border-radius: 5px;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

#contato button:hover {
    background: #333;
}

/* Footer */
footer {
    background: #1e3faa;
    color: #fff;
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
}

/* Responsividade */
@media (max-width: 768px) {
    header nav, header #branding {
        float: none;
        text-align: center;
        width: 100%;
    }

    header nav ul {
        margin-top: 20px;
    }

    #hero h2 {
        font-size: 36px;
    }

    #hero p {
        font-size: 18px;
    }
}

