
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

header {
    background-color: #004080;
    color: #fff;
    padding: 10px;
    text-align: center;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.logo {
    margin-bottom: 15px;
}

.tagline {
    font-style: italic;
    margin-top: -10px;
}

nav ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

nav ul li {
    display: inline;
    margin: 0 10px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #aad4ff;
}

#menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
    font-size: 24px;
}


section {
    padding: 20px;
    margin: 20px 0;
}

.section {
    
    background-color: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}


.section-content {
    padding: 20px;
    background-color: rgb(167,89,150);
}

.section-contentc {
    padding: 20px;
    background-color: rgb(165,42,42);
}

.hero {
    background-color: #005fb8;
    color: white;
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    background-image: linear-gradient(rgba(0, 64, 128, 0.8), rgba(0, 64, 128, 0.8)), url('imagens/ima1.jpg');
    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.servicos-lista {
    list-style-position: inside;
    padding: 0;
}

.servicos-lista li {
    margin-bottom: 20px;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.servicos-lista li:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.servicos-lista a {
    text-decoration: none;
    color: inherit;
    display: block;
}


.servico-icon {
    font-size: 2em;
    color: #004080;
    margin-right: 20px;
    width: 60px;
    height: 60px;
    background-color: #f0f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.servico-info {
    flex: 1;
}

.servico-info h3 {
    color: #004080;
    margin-top: 0;
}

.servico-banner {
    height: 300px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 64, 128, 0.7);
}

.banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 20px;
}

.servico-descricao {
    background-color: rgb(167,89,150);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.projetos-galeria {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.projetos-galeria h3 {
    color: #004080;
    margin-top: 0;
    text-align: center;
    margin-bottom: 20px;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.galeria-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    height: 200px;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.galeria-item:hover img {
    transform: scale(1.05);
}

.voltar-link {
    display: inline-block;
    margin: 20px 0;
    color: #004080;
    text-decoration: none;
    font-weight: bold;
}

.voltar-link i {
    margin-right: 5px;
}

.voltar-link:hover {
    text-decoration: underline;
}


footer {

    background-color: #004080;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 20px;
}

.footer-logo, .footer-links {
    margin-bottom: 20px;
    text-align: left;
    color: #aad4ff;
}

.footer-links h4 {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: #aad4ff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    font-size: 0.9em;
}

footer p a {
    color: darkcyan;
    text-decoration: none;
}

.servicos-lista-colunas {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.coluna {
    flex: 1;
    min-width: 300px;
}

.servico-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servico-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/*---Cores dos serviços----*/
.servico-item1 {
    background-color: #b9b0b09d;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
}

.servico-item2 {
    background-color: #6A89CC;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
}

.servico-item3 {
    background-color: #82CCDD;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
}
.servico-item4 {
    background-color: #f89691;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
}
.servico-item5 {
    background-color: #d582dd;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
}

/*---Fim de Cores dos serviços----*/

.servico-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #0066cc; 
}

.servico-info h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.servico-info p {
    color: black;
    line-height: 1.6;
}

.contato-section {
    background-color: #f8f9fa;
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.2rem;
    color: #333;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #0066cc;
}

.contato-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contato-cartoes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.contato-cartao {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: flex-start;
}

.contato-cartao:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.cartao-icon {
    font-size: 2rem;
    color: #0066cc;
    margin-right: 20px;
    padding-top: 5px;
}

.cartao-info {
    flex: 1;
}

.cartao-info h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: #333;
}

.contato-link {
    display: block;
    color: #555;
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.2s ease;
}

.contato-link:hover {
    color: #0066cc;
}

.endereco-item {
    margin-bottom: 10px;
    line-height: 1.5;
    color: #555;
}

.contato-social {
    text-align: center;
    margin-top: 40px;
}

.contato-social h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: #333;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background-color: #0066cc;
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
    background-color: #004d99;
    transform: scale(1.1);
}


@media (max-width: 768px) {
    .contato-cartoes {
        grid-template-columns: 1fr;
    }
    
    .contato-section {
        padding: 50px 20px;
    }

    .container {
        width: 95%;
    }
    
    .menu-icon {
        display: block;
    }
    
    nav ul.menu {
        display: none;
        flex-direction: column;
        width: 100%;
    }
    
    nav ul.menu li {
        display: block;
        margin: 10px 0;
    }
    
    #menu-toggle:checked ~ ul.menu {
        display: flex;
    }
    
    .servico-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .servico-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .galeria-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .servicos-lista-colunas {
        flex-direction: column;
    }
    
    .coluna {
        width: 100%;
    }

}
