/* css/base.css */

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
}

header {
    background-color: #0654A3;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    margin-right: 50px;
}

.logo a img {
    height: 50px;
    margin-left: 160px;
}

.menu-items {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.menu-items li {
    margin-left: 20px;
}

.menu-items a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    position: relative;
    padding: 10px;
    transition: color 0.3s;
}

.menu-items a::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: white;
    visibility: hidden;
    transform: scaleX(0);
    transition: all 0.3s ease-in-out;
}

.menu-items a:hover::before {
    visibility: visible;
    transform: scaleX(1);
}

.menu-items a:hover {
    color: #FFD700;
}

.menu-icon {
    display: none;
    font-size: 28px;
    cursor: pointer;
}
/* mobile */
@media (max-width: 768px) {
    .menu-items {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #0654A3;
        position: absolute;
        top: 60px;
        left: 0;
        padding: 10px 0;
    }

    .menu-items li {
        margin-left: 0;
        margin-bottom: 10px;
    }

    .menu-icon {
        display: block;
    }
}

/* container e seções */

.container, h2, p{
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px;
    text-align: center;
    
}
.container span, p{
    color: #ffffff;
}

.section {
    padding: 20px 0;
    text-align: center;
}

/* Seção Intro */
.intro-section {
    background-color: #0654A3; /* Ajuste a cor de fundo conforme necessário */
    padding: 0; /* Remover preenchimento interno */
    margin: 0; /* Remover margem */
    width: 100%; /* Garantir que ocupe toda a largura da tela */
}

.intro-section .container {
    max-width: none; /* Remover largura máxima da container para ocupar toda a largura */
    padding: 20px; /* Adicionar algum preenchimento interno se necessário */
    box-sizing: border-box; /* Garantir que o preenchimento esteja incluído na largura total */
}

.btn {
    background-color: #0654A3;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

.btn:hover {
    background-color: #003d7a;
}

.contact-section input, .contact-section textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
}

.contact-section button {
    background-color: #0654A3;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.contact-section button:hover {
    background-color: #003d7a;
}

/* Seção de Serviços */
.services-section {
    background-color: #fff;
    padding: 0px;
   
}

.services-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.service-item {
    position: relative;
    flex: 1 1 30%;
    max-width: 50%;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s;
    margin-top: 10px;
}

.service-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s;
    margin-top: 30px;
}

.service-description {
    position: absolute;
    top: 280px;
    left: 0;
    width: 100%;
    height: 20%;
    background: rgba(0, 0, 0, 0.6); /* preto transparente */
    color: #fff;
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: opacity 0.3s;
    padding: 10px;
    box-sizing: border-box;
   
}

.service-item:hover .service-description {
    opacity: 1;
}

.service-item:hover img {
    opacity: 0.3;
}

.service-item h3 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
}

.service-item p {
    margin: 10px 0 0;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .service-item {
        flex: 1 1 100%;
        max-width: 100%;
    }
}
